]> git.pld-linux.org Git - packages/pdflib.git/blobdiff - pdflib.spec
- x32 rebuild
[packages/pdflib.git] / pdflib.spec
index f395b03d5a3b84109097768542f93f7fbdb1cfb3..61c3d41bcd94f807b7648b23a547958401016b84 100644 (file)
@@ -2,7 +2,8 @@
 # - where to install libpdf_java.so? %{_libdir} does not seem to be good
 #   choice. BTW what is standard java.library.path in other distros?
 # - do we really need to package libpdf_(binding).so.*? libpdf_(binding).so
-#   should be enough for python, perl and tcl.
+#   should be enough for python, perl and tcl. -- patch linking with -avoid-version
+# - fix install so that executable perms are preserved
 #
 # Conditional build:
 %bcond_without java    # Java binding
@@ -18,7 +19,7 @@ Summary:      Portable C library for dynamically generating PDF files
 Summary(pl.UTF-8):     Przenośna biblioteka C do dynamicznego generowania plików PDF
 Name:          pdflib
 Version:       4.0.3
-Release:       21
+Release:       33
 License:       Aladdin Free Public License
 Group:         Libraries
 Source0:       %{name}-%{version}.tar.gz
@@ -30,6 +31,7 @@ Patch3:               %{name}-pdflib_pl_pm_VERSION.patch
 Patch4:                %{name}-ac.patch
 Patch5:                %{name}-build.patch
 Patch6:                %{name}-libpng.patch
+Patch7:                format-security.patch
 URL:           http://www.pdflib.com/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -150,12 +152,14 @@ Dowiązania pythona dla pdflib.
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
 
 %build
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %configure \
+       CFLAGS="-DUSE_INTERP_RESULT %{rpmcflags}" \
        --enable-cxx \
        --enable-shared-pdflib \
        %{?with_java:--with-java=%{java_home}}%{!?with_java:--without-java} \
This page took 0.052859 seconds and 4 git commands to generate.