Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
>
PDFlib-Lite
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 18
[-]
[+]
Changed
PDFlib-Lite.spec
@@ -55,7 +55,6 @@ ###################################################################### -%if 0%{?suse_version} %package tcl Summary: %{name} for TCL Group: Development/Libraries @@ -64,9 +63,7 @@ %description tcl %{name} TCL Extension -%endif ###################################################################### -%if 0%{?suse_version} %package python Summary: %{name} for Python Group: Development/Libraries @@ -75,7 +72,6 @@ %description python %{name} Python Extension -%endif ###################################################################### # %package ruby # Summary: %{name} for Ruby @@ -92,7 +88,12 @@ %setup -q %patch -p1 %patch1 -p1 -%configure --enable-cxx \ + + +%build +. %{_libdir}/tclConfig.sh +export +./configure --enable-cxx \ --with-perl=%{_bindir}/perl \ --with-py=%{_bindir} \ --with-pyincl=%{_prefix}/include/python \ @@ -108,11 +109,11 @@ %endif --enable-large_files -%__make +%{__make} %install -make DESTDIR=$RPM_BUILD_ROOT install +%{__make} DESTDIR=$RPM_BUILD_ROOT install %perl_process_packlist %clean @@ -140,13 +141,11 @@ %{perl_sitelib}/pdflib_pl.so* %{perl_sitearch} -%if 0%{?suse_version} %files python %defattr(-,root,root,-) %{py_libdir}/pdflib_py.a %{py_libdir}/pdflib_py.la %{py_libdir}/pdflib_py.so* -%endif # %file ruby # %defattr(-,root,root,-) @@ -165,7 +164,7 @@ %endif -%if 0%{?suse_version} > 930 +%if 0%{?suse_version} > 930 || 0%{?centos_version} || 0%{?fedora_version} %files tcl %defattr(-,root,root,-) %dir %{_prefix}/share/tcl/tcl%{tcl_version}/pdflib