Changes of Revision 63
[-] | Changed | PDFlib-Lite.spec |
x 1
2 3 %files perl 4 %defattr(-,root,root,-) 5 -%{perl_vendorlib}/pdflib_pl.so* 6 -%{perl_vendorlib}/pdflib_pl.pm 7 +##%{perl_vendorlib}/pdflib_pl.so* 8 +##%{perl_vendorlib}/pdflib_pl.pm 9 10 11 ###################################################################### 12
13 14 %files perl-devel 15 %defattr(-,root,root,-) 16 -%{perl_vendorlib}/pdflib_pl.a 17 -%{perl_vendorlib}/pdflib_pl.la 18 +##%{perl_vendorlib}/pdflib_pl.a 19 +##%{perl_vendorlib}/pdflib_pl.la 20 21 22 ###################################################################### 23
24 %files tcl 25 %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} 26 %defattr(-,root,root,-) 27 -%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.so 28 -%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0 29 -%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0.0.0 30 -%{_prefix}/share/tcl%{tcl_version}/pdflib/pkgIndex.tcl 31 +##%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.so 32 +##%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0 33 +##%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0.0.0 34 +##%{_prefix}/share/tcl%{tcl_version}/pdflib/pkgIndex.tcl 35 %endif 36 37 %if 0%{?suse_version} == 930 || 0%{?sles_version} == 9 38 %defattr(-,root,root,-) 39 %dir %{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib 40 -%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.so 41 -%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0 42 -%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0.0.0 43 -%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pkgIndex.tcl 44 +##%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.so 45 +##%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0 46 +##%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0.0.0 47 +##%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pkgIndex.tcl 48 %endif 49 50 %if 0%{?suse_version} > 930 && 0%{?suse_version} <= 1030 51 %defattr(-,root,root,-) 52 %dir %{_prefix}/share/tcl/tcl%{tcl_version}/pdflib 53 -%{_prefix}/share/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.so* 54 -%{_prefix}/share/tcl/tcl%{tcl_version}/pdflib/pkgIndex.tcl 55 +##%{_prefix}/share/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.so* 56 +##%{_prefix}/share/tcl/tcl%{tcl_version}/pdflib/pkgIndex.tcl 57 %endif 58 59 %if 0%{?suse_version} >= 1100 60 %defattr(-,root,root,-) 61 %dir %{_libdir}/tcl/tcl%{tcl_version}/pdflib 62 -%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.so 63 -%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0 64 -%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0.0.0 65 -%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pkgIndex.tcl 66 +##%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.so 67 +##%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0 68 +##%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.so.0.0.0 69 +##%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pkgIndex.tcl 70 %endif 71 72 73
74 %files tcl-devel 75 %if 0%{?centos_version} || 0%{?fedora_version} || 0%{?rhel_version} 76 %defattr(-,root,root,-) 77 -%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.a 78 -%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.la 79 +##%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.a 80 +##%{_prefix}/share/tcl%{tcl_version}/pdflib/pdflib_tcl.la 81 %endif 82 83 %if 0%{?suse_version} == 930 || 0%{?sles_version} == 9 84 %defattr(-,root,root,-) 85 -%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.a 86 -%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.la 87 +##%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.a 88 +##%{_prefix}/%{_lib}/tcl%{tcl_version}/pdflib/pdflib_tcl.la 89 %endif 90 91 %if 0%{?suse_version} > 930 && 0%{?suse_version} <= 1030 92 %defattr(-,root,root,-) 93 -%{_prefix}/share/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.a 94 -%{_prefix}/share/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.la 95 +##%{_prefix}/share/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.a 96 +##%{_prefix}/share/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.la 97 %endif 98 99 %if 0%{?suse_version} >= 1100 100 %defattr(-,root,root,-) 101 -%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.a 102 -%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.la 103 +##%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.a 104 +##%{_libdir}/tcl/tcl%{tcl_version}/pdflib/pdflib_tcl.la 105 %endif 106 107 108
109 110 %files python 111 %defattr(-,root,root,-) 112 -%{py_libdir}/pdflib_py.so* 113 +##%{py_libdir}/pdflib_py.so* 114 115 116 ###################################################################### 117
118 119 %files python-devel 120 %defattr(-,root,root,-) 121 -%{py_libdir}/pdflib_py.a 122 -%{py_libdir}/pdflib_py.la 123 +##%{py_libdir}/pdflib_py.a 124 +##%{py_libdir}/pdflib_py.la 125 126 ###################################################################### 127 # %package ruby 128 |
||
[+] | Changed | PDFlib-Lite-7.0.5_perlvendor.diff ^ |
@@ -1,6 +1,6 @@ ---- configure.orig 2008-07-18 22:49:02.000000000 +0200 -+++ configure 2008-07-18 22:49:12.000000000 +0200 -@@ -8513,7 +8513,7 @@ +--- configure.orig 2010-04-29 15:50:03.000000000 +0200 ++++ configure 2010-05-05 22:57:49.261029566 +0200 +@@ -19678,7 +19678,7 @@ WITH_PERL=no fi @@ -9,3 +9,44 @@ if test -z "$PERLLIBDIR" -o ! -d "$PERLLIBDIR"; then echo "$as_me:$LINENO: result: unable to determine perl shared library directory" >&5 echo "${ECHO_T}unable to determine perl shared library directory" >&6 +@@ -21422,6 +21422,40 @@ + TETBINDINGS="$TETBINDINGS java" + PCOSBINDINGS="$PCOSBINDINGS java" + fi ++if test "$WITH_PERL" = "yes" ; then ++ # don't add perl to bindings if compiler is not gcc on Solaris ++ # it won't build ++ SKIP_PERLBINDING="no" ++ case $ac_sys_system in ++ SunOS) ++ if test "$GCC" = ""; then ++ SKIP_PERLBINDING="yes" ++ fi; ++ esac ++ if test "$SKIP_PERLBINDING" = "no"; then ++ BINDINGS="$BINDINGS perl" ++ PLOPBINDINGS="$PLOPBINDINGS perl" ++ TETBINDINGS="$TETBINDINGS perl" ++ fi ++fi ++if test "$WITH_PYTHON" = "yes" ; then ++ BINDINGS="$BINDINGS python" ++fi ++if test "$WITH_RUBY" = "yes" ; then ++ SKIP_RUBBYBINDING="no" ++ case $ac_sys_system in ++ SunOS) ++ if test "$GCC" = ""; then ++ SKIP_RUBBYBINDING="yes" ++ fi; ++ esac ++ if test "$SKIP_RUBBYBINDING" = "no"; then ++ BINDINGS="$BINDINGS ruby" ++ fi ++fi ++if test "$WITH_TCL" = "yes" ; then ++ BINDINGS="$BINDINGS tcl" ++fi + + if test -f progs/Makefile ; then + PROGSDIR="progs" |