]>
Commit | Line | Data |
---|---|---|
6404edba PG |
1 | # |
2 | # Automatic pear requirements finding: | |
3 | %include /usr/lib/rpm/macros.php | |
c2388c7d | 4 | |
5 | %define _apache2 %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0) | |
e621d4e8 | 6 | %define apxs /usr/sbin/apxs |
ab092fe1 AM |
7 | |
8 | %if %{_apache2} | |
9 | %define _without_recode 1 | |
10 | %define _without_mm 1 | |
11 | %endif | |
12 | ||
c2388c7d | 13 | %ifnarch %{ix86} |
14 | %define _without_msession 1 | |
15 | %endif | |
16 | ||
e1126429 | 17 | # Conditional build: |
c2388c7d | 18 | # _with_cpdf - with cpdf extension module |
19 | # _with_interbase - with InterBase extension module | |
20 | # _with_java - with Java extension module | |
21 | # _with_oci8 - with Oracle oci8 extension module | |
22 | # _with_oracle - with oracle extension module | |
23 | # _with_sybase_ct - with Sybase-CT extension module | |
24 | # _without_domxslt - without DOM XSLT/EXSLT support in DOM XML extension module | |
25 | # _without_imap - without IMAP extension module | |
26 | # _without_ldap - without LDAP extension module | |
27 | # _without_mm - without mm support for session storage | |
28 | # _without_msession - without msession extension module | |
29 | # _without_odbc - without ODBC extension module | |
bdd27482 JB |
30 | # _without_openssl - without OpenSSL support and OpenSSL extension module |
31 | # _without_pdf - without PDF extension module | |
c2388c7d | 32 | # _without_snmp - without SNMP extension module |
33 | # _without_recode - without recode extension module | |
34 | # _without_wddx - without WDDX extension module | |
35 | # _without_xslt - without XSLT extension module | |
caff8ce9 | 36 | Summary: The PHP HTML-embedded scripting language for use with Apache |
37 | Summary(fr): Le langage de script embarque-HTML PHP pour Apache | |
38 |