]>
Commit | Line | Data |
---|---|---|
6404edba | 1 | # |
82bb3a40 | 2 | # TODO: |
ce68b400 JB |
3 | # - make sure that session-unregister patch is no longer needed |
4 | # (any crash reports related to session modules?) | |
8c91402c AM |
5 | # - think of including support for: |
6 | # - mcve, | |
7 | # - ovrimos, | |
8 | # - pfpro, | |
9 | # - ircg, | |
10 | # These extensions BuildRequires proprietary libraries... | |
11 | # - fix building of mono, sybase extensions | |
12 | # - test if php.cgi segfaults after ctrl+d when overload.so is loaded | |
13 | # - build simplexml as shared (now it's static) | |
82bb3a40 | 14 | # |
41a6f471 | 15 | # Note: |
16 | # According to http://bugs.php.net/bug.php?id=30286 sybase module is | |
17 | # currently not maintained. Using of sybase_ct is recommended instead. | |
18 | # | |
6f91d99f JB |
19 | # Conditional build: |
20 | %bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support | |
8c91402c AM |
21 | %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary libs) |
22 | %bcond_with hyperwave # with Hw API support (BR: proprietary libs) | |
6f91d99f JB |
23 | %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs) |
24 | %bcond_with java # with Java extension module (BR: jdk) | |
25 | %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs) | |
26 | %bcond_with oracle # with oracle extension module (BR: proprietary libs) | |
27 | %bcond_without cpdf # without cpdf extension module | |
28 | %bcond_without curl # without CURL extension module | |
29 | %bcond_without domxslt # without DOM XSLT/EXSLT support in DOM XML extension module | |
8c91402c | 30 | %bcond_without fam # without FAM (File Alteration Monitor) extension module |
6f91d99f JB |
31 | %bcond_without imap # without IMAP extension module |
32 | %bcond_without interbase # without InterBase extension module | |
33 | %bcond_without ldap # without LDAP extension module | |
34 | %bcond_without mhash # without mhash extension module | |
35 | %bcond_without ming # without ming extension module | |
36 | %bcond_without mm # without mm support for session storage | |
37 | %bcond_without mnogosearch # without mnogosearch extension module | |
38 | %bcond_without msession # without msession extension module | |
39 | %bcond_without mssql # without MS SQL extension module | |
40 | %bcond_without odbc # without ODBC extension module | |
41 | %bcond_without openssl # without OpenSSL support and OpenSSL extension (module) | |
42 | %bcond_without pcre # without PCRE extension module | |
6f91d99f | 43 | %bcond_without pgsql # without PostgreSQL extension module |
274395e3 | 44 | %bcond_without pspell # without pspell extension module |
6f91d99f | 45 | %bcond_without recode # without recode extension module |
8c91402c | 46 | %bcond_without simplexml # without simplexml extension module |
6f91d99f | 47 | %bcond_without snmp # without SNMP extension module |
8c91402c | 48 | %bcond_without sqlite # without SQLite extension module |
41a6f471 | 49 | %bcond_without sybase # without Sybase extension module |
4cc60252 | 50 | %bcond_without sybase_ct # without Sybase-CT extension module |
8c91402c | 51 | %bcond_without tidy # without Tidy extension module |
6f91d99f JB |
52 | %bcond_without wddx # without WDDX extension module |
53 | %bcond_without xmlrpc # without XML-RPC extension module | |
54 | %bcond_without xml # without XML and DOMXML extension modules | |
55 | %bcond_without xslt # without XSLT extension module | |
8c91402c AM |
56 | # To be verified |
57 | # Removed from sources? | |
58 | %bcond_with mono # without Mono extensions module | |
59 | %bcond_with yaz # without YAZ extension module | |
6f91d99f | 60 | # |
c2388c7d | 61 | %define _apache2 %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0) |
41a9af21 | 62 | %define apxs /usr/sbin/apxs |
6f91d99f | 63 | # some problems with apache 2.x |
ab092fe1 | 64 | %if %{_apache2} |
6f91d99f | 65 | %undefine with_mm |
ab092fe1 | 66 | %endif |
c37dabc8 | 67 | %ifnarch %{ix86} amd64 sparc sparcv9 alpha ppc |
6f91d99f | 68 | %undefine with_interbase |
52bba439 | 69 | %endif |
8c91402c | 70 | # x86-only libs |
52bba439 | 71 | %ifnarch %{ix86} |
6f91d99f | 72 | %undefine with_msession |
c2388c7d | 73 | %endif |
6f91d99f | 74 | %include /usr/lib/rpm/macros.php |
caff8ce9 | 75 | Summary: The PHP HTML-embedded scripting language for use with Apache |
76 | Summary(fr): Le langage de script embarque-HTML PHP pour Apache | |
881802d3 | 77 |