]> git.pld-linux.org Git - packages/php.git/commitdiff
- added _without_pdf bcond, fixed _without_openssl bcond description
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 30 Jul 2002 12:59:53 +0000 (12:59 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- removed BR: pkgconfig (no longer necessary - libpng 1.2.2 hack was dropped)

Changed files:
    php.spec -> 1.191

php.spec

index 7993cd974b063272ce8176a06b49710817ff860f..7b6670798f52f580b6ce4b24db91f1a7256a1957 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -26,7 +26,8 @@
 # _without_mm          - without mm support for session storage
 # _without_msession    - without msession extension module
 # _without_odbc                - without ODBC extension module
-# _without_openssl     - with OpenSSL support
+# _without_openssl     - without OpenSSL support and OpenSSL extension module
+# _without_pdf         - without PDF extension module
 # _without_snmp                - without SNMP extension module
 # _without_recode      - without recode extension module
 # _without_wddx                - without WDDX extension module
@@ -116,10 +117,9 @@ BuildRequires:     mysql-devel >= 3.23.32
 BuildRequires: openssl-devel >= 0.9.6a
 %endif
 BuildRequires: pam-devel
-BuildRequires: pdflib-devel >= 4.0.0
+%{!?_without_pdf:BuildRequires:        pdflib-devel >= 4.0.0}
 BuildRequires: perl
 %{!?_without_msession:BuildRequires:   phoenix-devel}
-BuildRequires: pkgconfig
 BuildRequires: postgresql-devel
 BuildRequires: postgresql-backend-devel >= 7.2
 BuildRequires: pspell-devel
@@ -1347,7 +1347,7 @@ for i in cgi apxs ; do
        %{!?_without_openssl:--with-openssl=shared} \
        %{?_with_oracle:--with-oracle=shared} \
        --with-pcre-regex=shared \
-       --with-pdflib=shared \
+       %{!?_without_pdf:--with-pdflib=shared} \
        --with-pear=%{php_pear_dir} \
        --with-pgsql=shared,/usr \
        --with-png-dir=shared,/usr \
@@ -2141,9 +2141,11 @@ fi
 %defattr(644,root,root,755)
 %attr(755,root,root) %{extensionsdir}/pcre.so
 
+%if %{?_without_pdf:0}%{!?_without_pdf:1}
 %files pdf
 %defattr(644,root,root,755)
 %attr(755,root,root) %{extensionsdir}/pdf.so
+%endif
 
 %files pgsql
 %defattr(644,root,root,755)
This page took 0.046302 seconds and 4 git commands to generate.