]> git.pld-linux.org Git - packages/php.git/blame - php.spec
- added dl-pcre and dl-zlib patches to allow building pcre and zlib extensions
[packages/php.git] / php.spec
CommitLineData
6404edba 1#
82bb3a40 2# TODO:
35ef43f3
JB
3# - msession module causes SEGV during phpinfo()
4# - pear - isn't built now, what is still needed???
c027c256
JB
5# - fastcgi option in cgi SAPI?
6# - add cli SAPI?
35ef43f3
JB
7# maybe /usr/bin/php.{cli,cgi,fcgi}, but which one should be /usr/bin/php?
8# - what about .ini files?
9# We used (by patch) included php-${SAPI}.ini files beside global php.ini,
10# now php can use php-${SAPI}.ini files, but in place of php.ini...
c027c256 11# - check/update "experimental" in descriptions
82bb3a40 12#
6404edba
PG
13# Automatic pear requirements finding:
14%include /usr/lib/rpm/macros.php
c2388c7d 15
16%define _apache2 %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0)
e621d4e8 17%define apxs /usr/sbin/apxs
ab092fe1
AM
18
19%if %{_apache2}
20%define _without_recode 1
21%define _without_mm 1
22%endif
23
c2388c7d 24%ifnarch %{ix86}
25%define _without_msession 1
26%endif
27
e1126429 28# Conditional build:
e2263ce4
JB
29# _with_db3 - use db3 packages instead of db (4.x) for Berkeley DB support
30# _with_interbase_inst - use InterBase install., not Firebird (BR: proprietary libs)
efe52553
JB
31# _with_java - with Java extension module (BR: jdk)
32# _with_oci8 - with Oracle oci8 extension module (BR: proprietary libs)
33# _with_oracle - with oracle extension module (BR: proprietary libs)
34# _with_pcntl - with pcntl extension module (problems: SEGV on exit)
35# _without_cpdf - without cpdf extension module
2bb29330 36# _without_curl - without CURL extension module
c2388c7d 37# _without_domxslt - without DOM XSLT/EXSLT support in DOM XML extension module
efe52553 38# _without_gif - build GD extension module with gd library without GIF support
c2388c7d 39# _without_imap - without IMAP extension module
e2263ce4 40# _without_interbase - without InterBase extension module
c2388c7d 41# _without_ldap - without LDAP extension module
2bb29330
JB
42# _without_mhash - without mhash extension module
43# _without_ming - without ming extension module
c2388c7d 44# _without_mm - without mm support for session storage
2bb29330 45# _without_mnogosearch - without mnogosearch extension module
c2388c7d 46# _without_msession - without msession extension module
47# _without_odbc - without ODBC extension module
bdd27482 48# _without_openssl - without OpenSSL support and OpenSSL extension module
efe52553 49# _without_pcre - without PCRE extension module
bdd27482 50# _without_pdf - without PDF extension module
2bb29330 51# _without_pspell - without pspell extension module
8c56345a 52# _without_pgsql - without PostgreSQL extension module
c2388c7d 53# _without_snmp - without SNMP extension module
54# _without_recode - without recode extension module
efe52553 55# _without_sybase_ct - without Sybase-CT extension module
c2388c7d 56# _without_wddx - without WDDX extension module
efe52553
JB
57# _without_xml - without XML extension module
58# _without_xmlrpc - without XML-RPC extension module
c2388c7d 59# _without_xslt - without XSLT extension module
90df7549 60
caff8ce9 61Summary: The PHP HTML-embedded scripting language for use with Apache
62Summary(fr): Le langage de script embarque-HTML PHP pour Apache
63