]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - php-shared is SERIOUSLY broken. Try compiling with --enable-versioning. | |
3 | # - think of including support for: | |
4 | # - mcve, | |
5 | # - ovrimos, | |
6 | # - pfpro, | |
7 | # - ircg, | |
8 | # These extensions BuildRequires proprietary libraries... | |
9 | # - deal with modules removed from php and not moved to PECL | |
10 | # (existing only in php4): | |
11 | # db, hyperwave, java, mcal, overload, qtdom | |
12 | # - mime_magic can't handle new "string/*" entries in magic.mime | |
13 | # - make additional headers added by mail patch configurable | |
14 | # - apply -hardened patch by default ? | |
15 | # - ftp module needs to be linked with -lssl if openssl module is enabled | |
16 | # - finish apache1/apache2 package split. currently don't know how to resolve: | |
17 | # apache1-mod_php4-4.4.0-4.44 obsoleted by apache-mod_php-5.0.4-8.3 | |
18 | # it's because apache1-mod_php4 Provides: php = %{epoch}:%{version}-%{release} | |
19 | # and new apache-mod_php: | |
20 | # # Obsolete last version when apache module was in main package | |
21 | # Obsoletes: php < 4:5.0.4-8.1 | |
22 | # | |
23 | # Conditional build: | |
24 | %bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support | |
25 | %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib) | |
26 | %bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/) | |
27 | %bcond_with hwapi # with Hw API support (BR: proprietary libs) | |
28 | %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs) | |
29 | %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs) | |
30 | %bcond_with oracle # with oracle extension module (BR: proprietary libs) | |
31 | %bcond_without mysqli # with mysqli support (Requires mysql > 4.1) | |
32 | %bcond_without cpdf # without cpdf extension module | |
33 | %bcond_without curl # without CURL extension module | |
34 | %bcond_without fam # without FAM (File Alteration Monitor) extension module | |
35 | %bcond_without imap # without IMAP extension module | |
36 | %bcond_with interbase # with InterBase extension module | |
37 | %bcond_without ldap # without LDAP extension module | |
38 | %bcond_without mhash # without mhash extension module | |
39 | %bcond_without ming # without ming extension module | |
40 | %bcond_without mm # without mm support for session storage | |
41 | %bcond_without mnogosearch # without mnogosearch extension module | |
42 | %bcond_without msession # without msession extension module | |
43 | %bcond_without mssql # without MS SQL extension module | |
44 | %bcond_without odbc # without ODBC extension module | |
45 | %bcond_without openssl # without OpenSSL support and OpenSSL extension (module) | |
46 | %bcond_without pcre # without PCRE extension module | |
47 | %bcond_without pgsql # without PostgreSQL extension module | |
48 | %bcond_without pspell # without pspell extension module | |
49 | %bcond_without recode # without recode extension module | |
50 | %bcond_without snmp # without SNMP extension module | |
51 | %bcond_without sqlite # without SQLite extension module | |
52 | %bcond_without sybase # without Sybase extension module | |
53 | %bcond_without sybase_ct # without Sybase-CT extension module | |
54 | %bcond_without tidy # without Tidy extension module | |
55 | %bcond_without wddx # without WDDX extension module | |
56 | %bcond_without xmlrpc # without XML-RPC extension module | |
57 | %bcond_with apache1 # enable building apache 1.3.x module (disables apache2) | |
58 | %bcond_without apache2 # disable building apache 2.x module | |
59 | ||
60 | %define apxs1 /usr/sbin/apxs1 | |
61 | %define apxs2 /usr/sbin/apxs | |
62 | ||
63 | %if %{with apache1} | |
64 | %undefine with_apache2 | |
65 | %endif | |
66 | ||
67 | # some problems with apache 2.x | |
68 | %if %{with apache2} | |
69 | %undefine with_mm | |
70 | %endif | |
71 | ||
72 | %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc | |
73 | %undefine with_interbase | |
74 | %endif | |
75 | ||
76 | # x86-only lib | |
77 | %ifnarch %{ix86} | |
78 | %undefine with_msession | |
79 | %endif | |
80 | ||
81 | %include /usr/lib/rpm/macros.php | |
82 | Summary: The PHP HTML-embedded scripting language for use with Apache | |
83 | Summary(fr): Le langage de script embarque-HTML PHP pour Apache | |
84 |