]>
Commit | Line | Data |
---|---|---|
0a929a28 | 1 | # TODO |
d905601a | 2 | # - wddx: restore session support (not compiled in due DL extension check) |
978d1801 | 3 | # - fix -threads-acfix.patch |
ae9fd9ae JB |
4 | # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere |
5 | # - removed from php 5.0 (currently in php4): | |
6 | # db, hyperwave, java, mcal, overload, qtdom | |
7 | # - removed from php 5.1: | |
8 | # cpdf, fam, oracle | |
9 | # - removed from php 5.2: | |
7aa94fdb | 10 | # filepro, hw |
1ffa7abd | 11 | # - mime_magic can't handle new "string/*" entries in magic.mime |
9091cd7b | 12 | # thus doesn't work with system magic.mime database |
1706bf93 | 13 | # - make additional headers and checking added by mail patch configurable |
768d3bda | 14 | # - modularize session, standard (output from pure php -m)? |
d885ed04 | 15 | # - http://forum.lighttpd.net/topic/34454 |
364f396b | 16 | # - ttyname_r() missdetected http://bugs.php.net/bug.php?id=48820 |
82bb3a40 | 17 | # |
d7726a00 ER |
18 | # To see optional extension deps: |
19 | # $ grep -r PHP_ADD_EXTENSION_DEP.*,.*,.* . | |
20 | #./ext/pdo/config.m4: PHP_ADD_EXTENSION_DEP(pdo, spl, true) | |
21 | #./ext/spl/config.m4: PHP_ADD_EXTENSION_DEP(spl, pcre, true) | |
22 | #./ext/session/config.m4: PHP_ADD_EXTENSION_DEP(session, hash, true) | |
23 | #./ext/sqlite/config.m4: PHP_ADD_EXTENSION_DEP(sqlite, spl, true) | |
24 | #./ext/sqlite/config.m4: PHP_ADD_EXTENSION_DEP(sqlite, pdo, true) | |
25 | #./ext/simplexml/config.m4: PHP_ADD_EXTENSION_DEP(simplexml, spl, true) | |
26 | #./ext/xmlreader/config.m4: PHP_ADD_EXTENSION_DEP(xmlreader, dom, true) | |
27 | # | |
6f91d99f | 28 | # Conditional build: |
6e4962cf | 29 | %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib) |
6f91d99f | 30 | %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs) |
6f91d99f | 31 | %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs) |
999f50f4 | 32 | %bcond_with system_gd # with system gd (we prefer internal since it enables few more features) |
80ce3c84 | 33 | %bcond_with system_libzip # with system libzip (reported broken: https://bugs.php.net/bug.php?id=60100) |
6d4619bb | 34 | %bcond_with gd_jis_conv # causes imagettfbbox(): any2eucjp(): invalid code in input string when internal gd used |
08f1644c | 35 | %bcond_with zend_multibyte # enable zend multibyte, mbstring can't be shared then anymore |
ffda81cd | 36 | %bcond_without curl # without CURL extension module |
696cac8d | 37 | %bcond_without filter # without filter extension module |
6f91d99f | 38 | %bcond_without imap # without IMAP extension module |
8279590e | 39 | %bcond_without interbase # without InterBase extension module |
6f91d99f JB |
40 | %bcond_without ldap # without LDAP extension module |
41 | %bcond_without mhash # without mhash extension module | |
420fb8d4 | 42 | %bcond_without mime_magic # without mime-magic module |
bfa157da | 43 | %bcond_with ming # with ming extension module |
6f91d99f | 44 | %bcond_without mm # without mm support for session storage |
6f91d99f | 45 | %bcond_without mssql # without MS SQL extension module |
ffda81cd | 46 | %bcond_without mysqli # without mysqli support (Requires mysql > 4.1) |
6f91d99f JB |
47 | %bcond_without odbc # without ODBC extension module |
48 | %bcond_without openssl # without OpenSSL support and OpenSSL extension (module) | |
49 | %bcond_without pcre # without PCRE extension module | |
6f91d99f | 50 | %bcond_without pgsql # without PostgreSQL extension module |
274395e3 | 51 | %bcond_without pspell # without pspell extension module |
6f91d99f | 52 | %bcond_without recode # without recode extension module |
6f91d99f | 53 | %bcond_without snmp # without SNMP extension module |
8c91402c | 54 | %bcond_without sqlite # without SQLite extension module |
913b4e23 | 55 | %bcond_without sybase # without Sybase extension module |
4b3cd5ff | 56 | %bcond_without sybase_ct # without Sybase-CT extension module |
8c91402c | 57 | %bcond_without tidy # without Tidy extension module |
6f91d99f JB |
58 | %bcond_without wddx # without WDDX extension module |
59 | %bcond_without xmlrpc # without XML-RPC extension module | |
e99beedb ER |
60 | %bcond_without apache1 # disable building Apache 1.3.x module |
61 | %bcond_without apache2 # disable building Apache 2.x module | |
e8c48c38 | 62 | %bcond_without fcgi # disable building FCGI SAPI |
1ffab8fa | 63 | %bcond_with zts # disable Zend Thread Safety |
be751de4 | 64 | %bcond_without fpm # fpm patches from http://www.php-fpm.org/ |
e2868621 | 65 | %bcond_without suhosin # with suhosin patch |
d9ca6315 | 66 | %bcond_with system_xmlrpc_epi # use system xmlrpc-epi library (broken on 64bit arches, see http://bugs.php.net/41611) |
37873df0 | 67 | %bcond_with tests # default off; test process very often hangs on builders; perform "make test" |
1706bf93 | 68 | %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache) |
74f7e4ba | 69 | |
3f700db8 ER |
70 | %define apxs1 /usr/sbin/apxs1 |
71 | %define apxs2 /usr/sbin/apxs | |
72 | ||
6f91d99f | 73 | # some problems with apache 2.x |
3f700db8 | 74 | %if %{with apache2} |
6f91d99f | 75 | %undefine with_mm |
ab092fe1 | 76 | %endif |
3f700db8 | 77 | |
2477fd68 ER |
78 | %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc |
79 | %undefine with_interbase | |
80 | %endif | |
81 | %if "%{pld_release}" == "th" | |
82 | %ifarch ppc | |
8279590e | 83 | # ppc disabled (broken on th-ppc) |
6f91d99f | 84 | %undefine with_interbase |
4fef8b22 | 85 | %endif |
2477fd68 | 86 | %endif |
4fef8b22 AM |
87 | |
88 | %ifnarch %{ix86} %{x8664} | |
89 | # unsupported, see sapi/cgi/fpm/fpm_atomic.h | |
e82d08dc | 90 | %undefine with_fpm |
52bba439 | 91 | %endif |
3f700db8 | 92 | |
0a929a28 | 93 | %if %{without apache1} && %{without apache2} |
8d79014f ER |
94 | ERROR: You need to select at least one Apache SAPI to build shared modules. |
95 | %endif | |
96 | ||
696cac8d ER |
97 | # filter depends on pcre |
98 | %if %{without pcre} | |
99 | %undefine with_filter | |
100 | %endif | |
101 | ||
a1374ae8 | 102 | %if "%{pld_release}" == "ac" |
a1374ae8 | 103 | %define magic_mime /usr/share/file/magic.mime |
a24d18ce ER |
104 | %else |
105 | %define magic_mime /usr/share/misc/magic.mime | |
a1374ae8 ER |
106 | %endif |
107 | ||
c256acfe | 108 | Summary: PHP: Hypertext Preprocessor |
86784db6 ER |
109 | Summary(fr.UTF-8): Le langage de script embarque-HTML PHP |
110 | Summary(pl.UTF-8): Język skryptowy PHP | |
111 | Summary(pt_BR.UTF-8): A linguagem de script PHP | |
112 | Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере | |
113 | Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері | |
9af2b7db | 114 | Name: php |
06fbc22b | 115 | Version: 5.2.17 |
82f6b657 | 116 | Release: 10 |
eb514a67 | 117 | Epoch: 4 |
d5264d70 | 118 | License: PHP |
f4359077 | 119 | Group: Libraries |
01c5c3b4 | 120 | Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2 |
06fbc22b | 121 | # Source0-md5: b27947f3045220faf16e4d9158cbfe13 |
eecec635 ER |
122 | Source2: %{name}-mod_%{name}.conf |
123 | Source3: %{name}-cgi-fcgi.ini | |
124 | Source4: %{name}-cgi.ini | |
9793e608 | 125 | Source5: %{name}-apache.ini |
eecec635 | 126 | Source6: %{name}-cli.ini |
00cded20 | 127 | # Taken from: http://browsers.garykeith.com/downloads.asp |
eecec635 | 128 | Source8: %{name}_browscap.ini |
0bf738cd | 129 | # lynx -dump ftp://distfiles.gentoo.org/pub/gentoo/distfiles/|grep -o ftp://.*php-patchset.*tar.bz2 |
df532740 | 130 | #Source9: ftp://distfiles.gentoo.org/pub/gentoo/distfiles/%{name}-patchset-%{version}-r1.tar.bz2 |
c3ba7d8f | 131 | ## Source9-md5: d67f23f5e69664e06fce89b064d5bbab |
f6612a0b | 132 | Source10: %{name}-fpm.init |
cc810903 | 133 | Source11: %{name}-fpm.logrotate |
9ca01d5f | 134 | Source12: %{name}-branch.sh |
d905601a | 135 | Source13: dep-tests.sh |
ead69ae5 | 136 | Source14: skip-tests.sh |
38c4a978 | 137 | Patch0: %{name}-shared.patch |
138 | Patch1: %{name}-pldlogo.patch | |
f1d1175f JB |
139 | Patch2: %{name}-mail.patch |
140 | Patch3: %{name}-link-libs.patch | |
141 | Patch4: %{name}-libpq_fs_h_path.patch | |
12295c68 | 142 | Patch5: %{name}-filter-shared.patch |
2179215d JB |
143 | Patch6: %{name}-build_modules.patch |
144 | Patch7: %{name}-sapi-ini-file.patch | |
8a574ba7 | 145 | Patch8: %{name}-no-metaccld.patch |
fcc61680 | 146 | Patch9: %{name}-sh.patch |
2179215d JB |
147 | Patch10: %{name}-ini.patch |
148 | Patch11: %{name}-acam.patch | |
d76e208d JB |
149 | Patch12: %{name}-threads-acfix.patch |
150 | Patch13: %{name}-tsrmlsfetchgcc2.patch | |
151 | Patch14: %{name}-no_pear_install.patch | |
152 | Patch15: %{name}-zlib.patch | |
153 | Patch16: %{name}-sybase-fix.patch | |
154 | Patch17: %{name}-readline.patch | |
155 | Patch18: %{name}-nohttpd.patch | |
156 | Patch19: %{name}-gd_imagerotate_enable.patch | |
157 | Patch20: %{name}-uint32_t.patch | |
158 | Patch21: %{name}-dba-link.patch | |
e048c127 AG |
159 | Patch22: %{name}-both-apxs.patch |
160 | Patch23: %{name}-builddir.patch | |
161 | Patch24: %{name}-zlib-for-getimagesize.patch | |
162 | Patch25: %{name}-versioning.patch | |
163 | Patch26: %{name}-pear.patch | |
164 | Patch27: %{name}-config-dir.patch | |
165 | Patch28: %{name}-bug-42952.patch | |
166 | Patch29: %{name}-fcgi-graceful.patch | |
167 | Patch30: %{name}-apr-apu.patch | |
168 | Patch31: %{name}-fcgi-error_log-no-newlines.patch | |
169 | Patch32: %{name}-curl-limit-speed.patch | |
170 | Patch33: %{name}-mime_magic.patch | |
171 | Patch34: %{name}-libtool.patch | |
172 | Patch35: %{name}-tds.patch | |
173 | Patch36: %{name}-mysql-charsetphpini.patch | |
174 | Patch37: %{name}-mysqli-charsetphpini.patch | |
175 | Patch38: %{name}-pdo_mysql-charsetphpini.patch | |
176 | Patch39: %{name}-use-prog_sendmail.patch | |
177 | Patch40: %{name}-fpm.patch | |
178 | Patch41: %{name}-fpm-config.patch | |
179 | Patch42: %{name}-fpm-initdir.patch | |
1aabe7f5 | 180 | Patch43: %{name}-silent-session-cleanup.patch |
e048c127 | 181 | Patch44: %{name}-include_path.patch |
80df882a ER |
182 | Patch45: %{name}-imap-annotations.patch |
183 | Patch46: %{name}-imap-myrights.patch | |
0ba99749 | 184 | Patch47: suhosin.patch |
eef8ca93 | 185 | Patch49: %{name}-m4-divert.patch |
d7726a00 | 186 | Patch50: extension-shared-optional-dep.patch |
9fff5411 | 187 | Patch51: spl-shared.patch |
83132773 | 188 | Patch52: %{name}-libpng.patch |
b59d43dc | 189 | Patch53: %{name}-gmp.patch |
25634b21 | 190 | Patch54: fix-test-run.patch |
090ffec7 ER |
191 | Patch55: bug-52078-fileinode.patch |
192 | Patch56: %{name}-krb5.patch | |
193 | Patch57: php-php_dl.patch | |
d1d67c4f | 194 | Patch58: php-svn-281516.patch |
e7819c98 | 195 | Patch59: %{name}-systzdata.patch |
de5c6699 ER |
196 | # http://spot.fedorapeople.org/php-5.3.6-libzip.patch |
197 | Patch65: system-libzip.patch | |
fb98beff ER |
198 | # CENTALT patches |
199 | # CVE | |
200 | Patch201: php-5.2.17-CVE-2011-2202.patch | |
201 | Patch202: php-5.2.17-CVE-2011-1938.patch | |
202 | Patch203: php-5.2.17-CVE-2011-1148.patch | |
203 | Patch204: php-5.2.17-CVE-2011-0708.patch | |
204 | Patch205: php-5.2.17-CVE-2011-1092.patch | |
82f6b657 ER |
205 | Patch206: php-5.2.17-CVE-2011-0421.patch |
206 | ||
fb98beff ER |
207 | # Backport from 5.3.6 |
208 | Patch301: php-5.3.6-bug-54055.patch | |
209 | Patch302: php-5.3.6-bug-53577.patch | |
210 | Patch303: php-5.2.17-bug-48484.patch | |
211 | Patch304: php-5.3.6-bug-48607.patch | |
212 | Patch305: php-5.3.6-bug-53574.patch | |
213 | Patch306: php-5.3.6-bug-52290.patch | |
214 | Patch307: php-5.2.17-bug-52063.patch | |
215 | Patch308: php-5.3.6-bug-53924.patch | |
216 | Patch309: php-5.3.6-bug-53150.patch | |
217 | Patch310: php-5.3.6-bug-52209.patch | |
218 | Patch311: php-5.3.6-bug-47435.patch | |
219 | Patch312: php-5.3.6-bug-53377.patch | |
220 | Patch313: php-5.2.17-bug-39847.patch | |
221 | Patch314: php-5.3.6-39199.patch | |
222 | Patch315: php-5.3.6-bug-53630.patch | |
223 | Patch316: php-5.3.6-bug-51336.patch | |
224 | Patch317: php-5.3.6-bug-53515.patch | |
225 | Patch318: php-5.3.6-bug-54092.patch | |
226 | Patch319: php-5.3.6-bug-53903.patch | |
227 | Patch320: php-5.3.6-bug-54089.patch | |
228 | Patch321: php-5.3.6-bug-53603.patch | |
229 | Patch322: php-5.3.6-bug-53854.patch | |
230 | Patch323: php-5.3.6-bug-53579.patch | |
231 | Patch324: php-5.3.6-bug-53568.patch | |
232 | Patch325: php-5.2.17-bug-49072.patch | |
233 | # 5.3.7 | |
234 | Patch330: php-5.3.7-bug-55399.patch | |
235 | Patch331: php-5.2.17-bug-55082.patch | |
236 | Patch332: php-5.3.7-bug-55014.patch | |
237 | #Patch333: php-5.3.7-bug-54924.patch | |
238 | Patch334: php-5.3.7-bug-54180.patch | |
239 | Patch335: php-5.3.7-bug-54137.patch | |
240 | Patch336: php-5.3.7-bug-53848.patch | |
241 | Patch337: php-5.3.7-bug-52935.patch | |
242 | Patch338: php-5.3.7-bug-51997.patch | |
243 | Patch339: php-5.3.7-bug-50363.patch | |
244 | Patch340: php-5.3.7-bug-48465.patch | |
245 | Patch341: php-5.3.7-bug-54529.patch | |
246 | Patch342: php-5.3.7-bug-52496.patch | |
247 | Patch343: php-5.3.7-bug-54242.patch | |
248 | Patch344: php-5.3.7-bug-54121.patch | |
249 | Patch345: php-5.3.7-bug-53037.patch | |
250 | Patch346: php-5.3.7-bug-54269.patch | |
251 | Patch347: php-5.3.7-bug-54601.patch | |
252 | Patch348: php-5.3.7-bug-54440.patch | |
253 | Patch349: php-5.3.7-bug-54494.patch | |
254 | Patch350: php-5.3.7-bug-54221.patch | |
255 | Patch351: php-5.3.7-bug-52104.patch | |
256 | Patch352: php-5.3.7-bug-54329.patch | |
257 | Patch353: php-5.3.7-bug-53782.patch | |
258 | Patch354: php-5.3.7-bug-54318.patch | |
259 | Patch355: php-5.3.7-bug-55323.patch | |
260 | Patch356: php-5.3.7-bug-54312.patch | |
261 | Patch357: php-5.3.7-bug-51958.patch | |
262 | Patch358: php-5.3.7-bug-54946.patch | |
82f6b657 ER |
263 | # 5.3.9 backport |
264 | Patch359: php-5.2.17-CVE-2011-4566.patch | |
265 | Patch360: php-5.2.17-bug-60206.patch | |
266 | Patch361: php-5.2.17-bug-60138.patch | |
267 | Patch362: php-5.2.17-bug-60120.patch | |
268 | Patch363: php-5.2.17-bug-55674.patch | |
269 | Patch364: php-5.2.17-bug-55509.patch | |
270 | Patch365: php-5.2.17-bug-55504.patch | |
271 | Patch366: php-5.2.17-bug-52461.patch | |
272 | Patch367: php-5.2.17-bug-55366.patch | |
273 | Patch368: php-5.2.17-bug-55273.patch | |
274 | Patch369: php-5.2.17-bug-52624.patch | |
275 | Patch370: php-5.2.17-bug-43200.patch | |
276 | Patch371: php-5.2.17-bug-54682.patch | |
277 | Patch372: php-5.2.17-bug-60455.patch | |
278 | Patch373: php-5.2.17-bug-60183.patch | |
279 | Patch374: php-5.2.17-bug-55478.patch | |
280 | ||
281 | #php-5.2-max-input-vars patch | |
282 | Patch400: php-5.2.17-max-input-vars.patch | |
283 | Patch401: php-5.2.17-bug-323007-2.patch | |
d1c0e56d | 284 | URL: http://www.php.net/ |
6f91d99f | 285 | %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}} |
6e4962cf | 286 | %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0} |
efe52553 | 287 | BuildRequires: autoconf >= 2.53 |
386054ee | 288 | BuildRequires: automake >= 1.4d |
6d04ac29 | 289 | BuildRequires: bison |
386054ee | 290 | BuildRequires: bzip2-devel |
3f51cc4a | 291 | %{?with_curl:BuildRequires: curl-devel >= 7.12.0} |
2d63cfa1 | 292 | BuildRequires: cyrus-sasl-devel |
62493084 | 293 | BuildRequires: db-devel >= 4.0 |
6d3d4034 | 294 | BuildRequires: elfutils-devel |
2179215d | 295 | %if %{with xmlrpc} |
d9ca6315 | 296 | %{?with_system_xmlrpc_epi:BuildRequires: xmlrpc-epi-devel} |
efe52553 | 297 | %endif |
768d3bda | 298 | %{?with_fcgi:BuildRequires: fcgi-devel} |
feab29a1 | 299 | %{?with_fdf:BuildRequires: fdftk-devel} |
386054ee | 300 | BuildRequires: flex |
4cc60252 | 301 | %if %{with mssql} || %{with sybase} || %{with sybase_ct} |
228ae8d4 | 302 | BuildRequires: freetds-devel |
80ce3c84 | 303 | %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10-3} |
7899bacd | 304 | %endif |
c845ccf9 | 305 | BuildRequires: freetype-devel >= 2.0 |
a04a599a | 306 | %if %{with system_gd} |
b2c345ab | 307 | BuildRequires: gd-devel >= 2.0.28-4 |
ae9fd9ae | 308 | BuildRequires: gd-devel(imagerotate) = 5.2.0 |
999f50f4 | 309 | %endif |
defaa0de | 310 | BuildRequires: gdbm-devel |
c2388c7d | 311 | BuildRequires: gmp-devel |
80df882a | 312 | %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2} |
defaa0de | 313 | BuildRequires: libjpeg-devel |
fa325698 | 314 | BuildRequires: libltdl-devel >= 1.4 |
386054ee | 315 | BuildRequires: libmcrypt-devel >= 2.4.4 |
bbc6332a | 316 | BuildRequires: libpng-devel >= 1.0.8 |
6d04ac29 | 317 | BuildRequires: libtiff-devel |
1cb33721 ER |
318 | %if "%{pld_release}" != "ac" |
319 | BuildRequires: libtool >= 2:2.2 | |
320 | %else | |
321 | BuildRequires: libtool | |
322 | %endif | |
768d3bda | 323 | BuildRequires: libwrap-devel |
135c705e | 324 | BuildRequires: libxml2-devel >= 1:2.7.6-4 |
173ed05d | 325 | BuildRequires: libxslt-devel >= 1.1.0 |
6f91d99f | 326 | %{?with_mhash:BuildRequires: mhash-devel} |
0a929a28 | 327 | %{?with_ming:BuildRequires: ming-devel >= 0.3} |
6f91d99f | 328 | %{?with_mm:BuildRequires: mm-devel >= 1.3.0} |
8c91402c | 329 | BuildRequires: mysql-devel >= 4.0.0 |
228ae8d4 | 330 | %{?with_mysqli:BuildRequires: mysql-devel >= 4.1} |
0f9eae93 | 331 | BuildRequires: ncurses-ext-devel |
7ef909bc | 332 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
6f91d99f | 333 | %if %{with openssl} || %{with ldap} |
cdeb7dd8 | 334 | BuildRequires: openssl-devel >= 0.9.7d |
c2388c7d | 335 | %endif |
feab29a1 | 336 | %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7} |
f9262743 | 337 | %{?with_snmp:%{?with_tests:mibs-net-snmp}} |
defaa0de | 338 | BuildRequires: pam-devel |
173ed05d | 339 | %{?with_pcre:BuildRequires: pcre-devel >= 6.6} |
fdbb977d | 340 | BuildRequires: pkgconfig |
768d3bda | 341 | %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2} |
feab29a1 | 342 | %{?with_pgsql:BuildRequires: postgresql-devel} |
e584ad6b | 343 | BuildRequires: readline-devel |
6f91d99f | 344 | %{?with_recode:BuildRequires: recode-devel >= 3.5d-3} |
1cb33721 | 345 | BuildRequires: rpm >= 4.4.9-56 |
f97b02a4 | 346 | BuildRequires: rpm-build >= 4.4.0 |
41acf31b | 347 | BuildRequires: rpmbuild(macros) >= 1.519 |
8c91402c | 348 | %{?with_sqlite:BuildRequires: sqlite-devel} |
9b3dd3e0 | 349 | %{?with_sqlite:BuildRequires: sqlite3-devel} |
defaa0de | 350 | BuildRequires: t1lib-devel |
8c91402c | 351 | %{?with_tidy:BuildRequires: tidy-devel} |
6f91d99f | 352 | %{?with_odbc:BuildRequires: unixODBC-devel} |
defaa0de | 353 | BuildRequires: zlib-devel >= 1.0.9 |
3f700db8 ER |
354 | %if %{with apache1} |
355 | BuildRequires: apache1-devel | |
3f700db8 ER |
356 | %endif |
357 | %if %{with apache2} | |
83c1bee5 | 358 | BuildRequires: apache-devel >= 2.0.52-2 |
08b77432 AM |
359 | BuildRequires: apr-devel >= 1:1.0.0 |
360 | BuildRequires: apr-util-devel >= 1:1.0.0 | |
80f59fe1 | 361 | %endif |
5473c982 ER |
362 | %if %{with fpm} |
363 | BuildRequires: judy-devel | |
228ae8d4 | 364 | BuildRequires: libevent-devel >= 1.4.7-3 |
5473c982 | 365 | %endif |
6e4962cf | 366 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
9af2b7db | 367 | |
98ab5057 ER |
368 | %define php_sysconfdir /etc/php |
369 | %define php_extensiondir %{_libdir}/php | |
35a4400e | 370 | %define _sysconfdir %{php_sysconfdir} |
0b8eb3e3 | 371 | |
17c07ea5 | 372 | # must be in sync with source. extra check ensuring that it is so is done in %%build |
768d3bda | 373 | %define php_api_version 20041225 |
173ed05d ER |
374 | %define zend_module_api 20060613 |
375 | %define zend_extension_api 220060519 | |
c5ba9228 JR |
376 | %define zend_zts %{!?with_zts:0}%{?with_zts:1} |
377 | %define php_debug %{!?debug:0}%{?debug:1} | |
91eeb7dc | 378 | |
cb40e22c JR |
379 | %if %{with oci8} |
380 | # ORACLE_HOME is required for oci8 ext to build | |
c5ba9228 | 381 | %define _preserve_env %_preserve_env_base ORACLE_HOME |
cb40e22c JR |
382 | %endif |
383 | ||
9af2b7db | 384 | %description |
da15debb | 385 | PHP is an HTML-embedded scripting language. PHP attempts to make it |
386 | easy for developers to write dynamically generated web pages. PHP also | |
387 | offers built-in database integration for several commercial and | |
388 | non-commercial database management systems, so writing a | |
389 | database-enabled web page with PHP is fairly simple. The most common | |
390 | use of PHP coding is probably as a replacement for CGI scripts. The | |
391 | mod_php module enables the Apache web server to understand and process | |
e99beedb | 392 | the embedded PHP language in web pages. This package contains PHP |
be993200 | 393 | version %{version}. |
0b8eb3e3 | 394 | |
ec7f2789 | 395 | %description -l fr.UTF-8 |
da15debb | 396 | PHP est un langage de script embarque dans le HTM. PHP essaye de |
397 | rendre simple aux developpeurs d'ecrire des pages web generees | |
398 | dynamiquement. PHP incorpore egalement une integration avec plusieurs | |
399 | systemes de gestion de bases de donnees commerciaux et | |
400 | non-connerciaux, qui rent facile la creation de pages web liees avec | |
401 | des bases de donnees. L'utilisation la plus commune de PHP est | |
402 | probablement en remplacement de scripts CGI. Le module mod_php permet | |
e99beedb ER |
403 | au serveur web Apache de comprendre et de traiter le langage PHP |
404 | integre dans des pages web. Ce package contient PHP version | |
be993200 | 405 | %{version}. |
795da340 | 406 | |
ec7f2789 JR |
407 | %description -l pl.UTF-8 |
408 | PHP jest językiem skryptowym, którego polecenia umieszcza się w | |
409 | plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie | |
410 | generowanych stron WWW. Oferuje także wbudowaną integrację z bazami | |
411 | danych dla kilku komercyjnych i niekomercyjnych systemów baz danych, | |
412 | co czyni tworzenie stron korzystających z baz danych w miarę łatwym. | |
413 | Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów | |
414 | CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać | |
e99beedb | 415 | język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji |
05582439 | 416 | %{version}. |
0b8eb3e3 | 417 | |
ec7f2789 JR |
418 | %description -l pt_BR.UTF-8 |
419 | PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script | |
420 | embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl, | |
421 | com algumas características únicas, específicas ao PHP. O objetivo da | |
422 | linguagem é permitir que desenvolvedores web escrevam páginas | |
423 | dinamicamente geradas de forma rápida. | |
424 | ||
425 | %description -l ru.UTF-8 | |
426 | PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP | |
427 | предлагает интерграцию с множеством СУБД, поэтому написание скриптов | |
428 | для работы с базами данных относительно просто. Наиболее популярное | |
429 | использование PHP - замена для CGI скриптов. | |
430 | ||
ec7f2789 JR |
431 | %description -l uk.UTF-8 |
432 | PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP | |
433 | пропонує інтеграцію з багатьма СУБД, тому написання скриптів для | |
434 | роботи з базами даних є доволі простим. Найбільш популярне | |
435 | використання PHP - заміна для CGI скриптів. | |
43fe8384 | 436 | |
3f700db8 | 437 | %package -n apache1-mod_php |
e99beedb ER |
438 | Summary: PHP DSO module for Apache 1.3.x |
439 | Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x | |
3f700db8 | 440 | Group: Development/Languages/PHP |
3b414131 | 441 | Requires(triggerpostun): sed >= 4.0 |
feab29a1 | 442 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
3f700db8 ER |
443 | Requires: apache1(EAPI) >= 1.3.33-2 |
444 | Requires: apache1-mod_mime | |
2e5b56fc | 445 | Provides: webserver(php) = %{version} |
3f700db8 | 446 | Obsoletes: apache-mod_php < 1:4.1.1 |
ea2a9757 | 447 | Obsoletes: phpfi |
3f700db8 ER |
448 | |
449 | %description -n apache1-mod_php | |
e99beedb | 450 | PHP as DSO module for Apache 1.3.x. |
3f700db8 | 451 | |
ec7f2789 | 452 | %description -n apache1-mod_php -l pl.UTF-8 |
e99beedb | 453 | PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x. |
3f700db8 ER |
454 | |
455 | %package -n apache-mod_php | |
e99beedb ER |
456 | Summary: PHP DSO module for Apache 2.x |
457 | Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x | |
3f700db8 | 458 | Group: Development/Languages/PHP |
037da132 | 459 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
ea2a9757 | 460 | Requires: apache(modules-api) = %{apache_modules_api} |
4141c5f0 | 461 | Requires: apache-mod_mime |
2e5b56fc | 462 | Provides: webserver(php) = %{version} |
3f700db8 | 463 | Obsoletes: phpfi |
3f700db8 ER |
464 | |
465 | %description -n apache-mod_php | |
e99beedb | 466 | PHP as DSO module for Apache 2.x. |
3f700db8 | 467 | |
ec7f2789 | 468 | %description -n apache-mod_php -l pl.UTF-8 |
e99beedb | 469 | PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x. |
3f700db8 | 470 | |
151bee4f AG |
471 | %package fcgi |
472 | Summary: php as FastCGI program | |
473 | Summary(pl.UTF-8): php jako program FastCGI | |
18ad4238 | 474 | Group: Development/Languages/PHP |
037da132 | 475 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
d3b010a7 | 476 | Provides: php(fcgi) |
2e5b56fc | 477 | Provides: webserver(php) = %{version} |
18ad4238 AM |
478 | |
479 | %description fcgi | |
151bee4f | 480 | php as FastCGI program. |
18ad4238 | 481 | |
151bee4f AG |
482 | %description fcgi -l pl.UTF-8 |
483 | php jako program FastCGI. | |
18ad4238 | 484 | |
345124d0 | 485 | %package cgi |
5514e8d9 ER |
486 | Summary: PHP as CGI/FastCGI program |
487 | Summary(pl.UTF-8): PHP jako program CGI/FastCGI | |
4342041a | 488 | Group: Development/Languages/PHP |
037da132 | 489 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
693fa450 | 490 | Provides: php(cgi) |
8e082125 | 491 | Provides: webserver(php) = %{version} |
345124d0 JR |
492 | |
493 | %description cgi | |
881802d3 | 494 | php as CGI program. |
345124d0 | 495 | |
ec7f2789 | 496 | %description cgi -l pl.UTF-8 |
881802d3 | 497 | php jako program CGI. |
345124d0 | 498 | |
4342041a | 499 | %package cli |
5514e8d9 ER |
500 | Summary: PHP as CLI interpreter |
501 | Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń | |
4342041a | 502 | Group: Development/Languages/PHP |
037da132 | 503 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
4342041a JB |
504 | |
505 | %description cli | |
5514e8d9 | 506 | PHP as CLI interpreter. |
4342041a | 507 | |
ec7f2789 | 508 | %description cli -l pl.UTF-8 |
5514e8d9 | 509 | PHP jako interpreter działający z linii poleceń. |
4342041a | 510 | |
067e71d9 ER |
511 | %package program |
512 | Summary: /usr/bin/php symlink | |
86784db6 | 513 | Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php |
067e71d9 ER |
514 | Group: Development/Languages/PHP |
515 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} | |
973fbbcf | 516 | Obsoletes: /usr/bin/php |
067e71d9 ER |
517 | |
518 | %description program | |
519 | Package providing /usr/bin/php symlink to PHP CLI. | |
520 | ||
ec7f2789 JR |
521 | %description program -l pl.UTF-8 |
522 | Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI. | |
8776849d | 523 | |
f6612a0b ER |
524 | %package fpm |
525 | Summary: PHP FastCGI Process Manager | |
526 | Group: Development/Languages/PHP | |
be751de4 | 527 | URL: http://www.php-fpm.org/ |
f6612a0b | 528 | Requires(post,preun): /sbin/chkconfig |
be751de4 ER |
529 | Requires(postun): /usr/sbin/userdel |
530 | Requires(pre): /bin/id | |
531 | Requires(pre): /usr/sbin/useradd | |
f6612a0b ER |
532 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
533 | Requires: libevent >= 1.4.7-3 | |
534 | Requires: rc-scripts | |
be751de4 | 535 | Provides: user(http) |
f6612a0b ER |
536 | Provides: webserver(php) = %{version} |
537 | ||
538 | %description fpm | |
539 | PHP FastCGI Process Manager. | |
540 | ||
345124d0 | 541 | %package common |
5514e8d9 | 542 | Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s |
e99beedb ER |
543 | Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI |
544 | Summary(ru.UTF-8): Разделяемые библиотеки для PHP | |
545 | Summary(uk.UTF-8): Бібліотеки спільного використання для PHP | |
345124d0 | 546 | Group: Libraries |
85db32b5 | 547 | # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit |
ff809778 | 548 | Requires: glibc >= 6:2.3.5 |
fce5d91b | 549 | Requires: php-dirs |
eb936718 | 550 | Requires: rpm-whiteout >= 1.28 |
e7819c98 | 551 | Requires: tzdata |
91de58a4 | 552 | Provides: php(date) |
38b6bb88 | 553 | Provides: php(ereg) |
2e5b56fc | 554 | Provides: php(libxml) |
08f1644c | 555 | %{?with_zend_multibyte:Provides: php(mbstring)} |
29b7a995 | 556 | Provides: php(modules_api) = %{php_api_version} |
2e5b56fc | 557 | Provides: php(overload) |
91de58a4 | 558 | Provides: php(reflection) |
2e5b56fc | 559 | Provides: php(standard) |
29b7a995 | 560 | Provides: php(zend_extension_api) = %{zend_extension_api} |
ea2a9757 | 561 | Provides: php(zend_module_api) = %{zend_module_api} |
7165ea57 ER |
562 | Provides: php-date |
563 | Provides: php-ereg | |
08f1644c | 564 | %{?with_zend_multibyte:Provides: php-mbstring = %{epoch}:%{version}-%{release}} |
7165ea57 ER |
565 | Provides: php-overload |
566 | Provides: php-reflection | |
567 | Provides: php-standard | |
3826f6c7 ER |
568 | Provides: php5(debug) = %{php_debug} |
569 | Provides: php5(thread-safety) = %{zend_zts} | |
b62984d3 | 570 | # ensure backward compatibility for Titanium |
571 | # to be dropped in future but ask Titanium RM before doing so | |
572 | %if "%{pld_release}" == "ti" | |
573 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} | |
574 | Requires: %{name}-session = %{epoch}:%{version}-%{release} | |
575 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
576 | %endif | |
0284f10d ER |
577 | %if "%{pld_release}" == "ac" |
578 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} | |
579 | Requires: %{name}-session = %{epoch}:%{version}-%{release} | |
580 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
581 | %endif | |
36387c9c | 582 | Obsoletes: php-pecl-domxml |
37e716e2 | 583 | Conflicts: php-pecl-memcache < 3.0.4-2 |
3c927814 | 584 | Conflicts: php4-common < 3:4.4.4-8 |
4e86443d | 585 | Conflicts: rpm < 4.4.2-0.2 |
345124d0 JR |
586 | |
587 | %description common | |
5514e8d9 | 588 | Common files needed by both Apache modules and CGI/CLI SAPI-s. |
345124d0 | 589 | |
ec7f2789 | 590 | %description common -l pl.UTF-8 |
e99beedb | 591 | Wspólne pliki dla modułu Apache'a i programu CGI. |
345124d0 | 592 | |
ec7f2789 JR |
593 | %description common -l ru.UTF-8 |
594 | Этот пакет содержит общие файлы для разных вариантов реализации PHP | |
e99beedb | 595 | (самодостаточной и в качестве модуля Apache). |
43fe8384 | 596 | |
ec7f2789 JR |
597 | %description common -l uk.UTF-8 |
598 | Цей пакет містить спільні файли для різних варіантів реалізації PHP | |
e99beedb | 599 | (самодостатньої та в якості модуля Apache). |
43fe8384 | 600 | |
c2388c7d | 601 | %package devel |
602 | Summary: Files for PHP modules development | |
86784db6 ER |
603 | Summary(pl.UTF-8): Pliki do kompilacji modułów PHP |
604 | Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP | |
605 | Summary(ru.UTF-8): Пакет разработки для построения расширений PHP | |
606 | Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP | |
c2388c7d | 607 | Group: Development/Languages/PHP |
feab29a1 | 608 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
375e8a12 AG |
609 | Requires: autoconf |
610 | Requires: automake | |
1cb33721 ER |
611 | %if "%{pld_release}" != "ac" |
612 | Requires: libtool >= 2:2.2 | |
613 | %else | |
614 | Requires: libtool | |
615 | %endif | |
5efba735 | 616 | %{?with_pcre:Requires: pcre-devel >= 6.6} |
6b2e14c1 | 617 | Requires: shtool |
168a2ebd | 618 | Obsoletes: php-pear-devel |
efc07a2c | 619 | Obsoletes: php4-devel |
a02ddf14 | 620 | |
c2388c7d | 621 | %description devel |
43fe8384 | 622 | The php-devel package lets you compile dynamic extensions to PHP. |
6b8a6ad4 | 623 | Included here is the source for the PHP extensions. Instead of |
e99beedb | 624 | recompiling the whole PHP binary to add support for, say, oracle, |
43fe8384 | 625 | install this package and use the new self-contained extensions |
626 | support. For more information, read the file | |
7375f0ff | 627 | README.SELF-CONTAINED-EXTENSIONS. |
a02ddf14 | 628 | |
ec7f2789 JR |
629 | %description devel -l pl.UTF-8 |
630 | Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast | |
e99beedb | 631 | rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu |
ec7f2789 JR |
632 | tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o |
633 | samodzielnych rozszerzeniach można znaleźć w pliku | |
7375f0ff | 634 | README.SELF-CONTAINED-EXTENSIONS. |
defaa0de | 635 | |
ec7f2789 JR |
636 | %description devel -l pt_BR.UTF-8 |
637 | Este pacote contém arquivos usados no desenvolvimento de programas ou | |
638 | módulos PHP. | |
795da340 | 639 | |
ec7f2789 JR |
640 | %description devel -l ru.UTF-8 |
641 | Пакет php-devel дает возможность компилировать динамические расширения | |
642 | PHP. Пакет включает исходный код этих расширений. Вместо повторной | |
e99beedb | 643 | компиляции бинарного файла PHP для добавления, например, поддержки |
ec7f2789 JR |
644 | oracle, установите этот пакет для компилирования отдельных расширений. |
645 | Подробности - в файле README.SELF-CONTAINED-EXTENSIONS. | |
7375f0ff | 646 | |
ec7f2789 JR |
647 | %description devel -l uk.UTF-8 |
648 | Пакет php-devel дає можливість компілювати динамічні розширення PHP. | |
649 | До пакету включено вихідний код для розширень. Замість повторної | |
e99beedb | 650 | компіляції бінарного файлу PHP для додання, наприклад, підтримки |
ec7f2789 JR |
651 | oracle, встановіть цей пакет для компіляції окремих розширень. |
652 | Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS. | |
43fe8384 | 653 | |
c2388c7d | 654 | %package bcmath |
655 | Summary: bcmath extension module for PHP | |
86784db6 | 656 | Summary(pl.UTF-8): Moduł bcmath dla PHP |
0d0f2f4c | 657 | Group: Libraries |
d2cc522b | 658 | URL: http://www.php.net/manual/en/book.bc.php |
dc38d397 | 659 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 660 | Provides: php(bcmath) |
0d0f2f4c | 661 | |
c2388c7d | 662 | %description bcmath |
e584ad6b JB |
663 | This is a dynamic shared object (DSO) for PHP that will add bc style |
664 | precision math functions support. | |
0d0f2f4c | 665 | |
ec7f2789 JR |
666 | %description bcmath -l pl.UTF-8 |
667 | Moduł PHP umożliwiający korzystanie z dokładnych funkcji | |
c2388c7d | 668 | matematycznych takich jak w programie bc. |
0d0f2f4c | 669 | |
b581f5f2 | 670 | %package bz2 |
c2388c7d | 671 | Summary: Bzip2 extension module for PHP |
86784db6 | 672 | Summary(pl.UTF-8): Moduł bzip2 dla PHP |
0d0f2f4c | 673 | Group: Libraries |
d2cc522b | 674 | URL: http://www.php.net/manual/en/book.bzip2.php |
dc38d397 | 675 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
b581f5f2 | 676 | Provides: php(bz2) |
2e5b56fc | 677 | Provides: php(bzip2) |
b581f5f2 ER |
678 | Provides: php-bzip2 = %{epoch}:%{version}-%{release} |
679 | Obsoletes: php-bzip2 | |
0d0f2f4c | 680 | |
b581f5f2 | 681 | %description bz2 |
ad48e054 JB |
682 | This is a dynamic shared object (DSO) for PHP that will add bzip2 |
683 | compression support to PHP. | |
0d0f2f4c | 684 | |
b581f5f2 | 685 | %description bz2 -l pl.UTF-8 |
ec7f2789 | 686 | Moduł PHP umożliwiający używanie kompresji bzip2. |
0d0f2f4c | 687 | |
c2388c7d | 688 | %package calendar |
689 | Summary: Calendar extension module for PHP | |
86784db6 | 690 | Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP |
80cfb727 | 691 | Group: Libraries |
d2cc522b | 692 | URL: http://www.php.net/manual/en/book.calendar.php |
dc38d397 | 693 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 694 | Provides: php(calendar) |
80cfb727 | 695 | |
c2388c7d | 696 | %description calendar |
e584ad6b JB |
697 | This is a dynamic shared object (DSO) for PHP that will add calendar |
698 | support. | |
80cfb727 | 699 | |
ec7f2789 JR |
700 | %description calendar -l pl.UTF-8 |
701 | Moduł PHP dodający wsparcie dla kalendarza. | |
80cfb727 | 702 | |
c2388c7d | 703 | %package ctype |
704 | Summary: ctype extension module for PHP | |
86784db6 | 705 | Summary(pl.UTF-8): Moduł ctype dla PHP |
defaa0de | 706 | Group: Libraries |
d2cc522b | 707 | URL: http://www.php.net/manual/en/book.ctype.php |
dc38d397 | 708 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 709 | Provides: php(ctype) |
defaa0de | 710 | |
c2388c7d | 711 | %description ctype |
e584ad6b JB |
712 | This is a dynamic shared object (DSO) for PHP that will add ctype |
713 | support. | |
defaa0de | 714 | |
ec7f2789 JR |
715 | %description ctype -l pl.UTF-8 |
716 | Moduł PHP umożliwiający korzystanie z funkcji ctype. | |
defaa0de | 717 | |
c2388c7d | 718 | %package curl |
719 | Summary: curl extension module for PHP | |
86784db6 | 720 | Summary(pl.UTF-8): Moduł curl dla PHP |
253c0459 | 721 | Group: Libraries |
d2cc522b | 722 | URL: http://www.php.net/manual/en/book.curl.php |
dc38d397 | 723 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 724 | Provides: php(curl) |
253c0459 | 725 | |
c2388c7d | 726 | %description curl |
e584ad6b JB |
727 | This is a dynamic shared object (DSO) for PHP that will add curl |
728 | support. | |
253c0459 | 729 | |
ec7f2789 JR |
730 | %description curl -l pl.UTF-8 |
731 | Moduł PHP umożliwiający korzystanie z biblioteki curl. | |
795da340 | 732 | |
c2388c7d | 733 | %package dba |
734 | Summary: DBA extension module for PHP | |
86784db6 | 735 | Summary(pl.UTF-8): Moduł DBA dla PHP |
defaa0de | 736 | Group: Libraries |
d2cc522b | 737 | URL: http://www.php.net/manual/en/book.dba.php |
dc38d397 | 738 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 739 | Provides: php(dba) |
defaa0de | 740 | |
c2388c7d | 741 | %description dba |
e584ad6b JB |
742 | This is a dynamic shared object (DSO) for PHP that will add flat-file |
743 | databases (DBA) support. | |
defaa0de | 744 | |
ec7f2789 JR |
745 | %description dba -l pl.UTF-8 |
746 | Moduł dla PHP dodający obsługę dla baz danych opartych na plikach | |
e584ad6b | 747 | (DBA). |
defaa0de AF |
748 | |
749 | %package dbase | |
caff8ce9 | 750 | Summary: DBase extension module for PHP |
86784db6 | 751 | Summary(pl.UTF-8): Moduł DBase dla PHP |
defaa0de | 752 | Group: Libraries |
dc38d397 | 753 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 754 | Provides: php(dbase) |
defaa0de AF |
755 | |
756 | %description dbase | |
e584ad6b JB |
757 | This is a dynamic shared object (DSO) for PHP that will add DBase |
758 | support. | |
defaa0de | 759 | |
ec7f2789 JR |
760 | %description dbase -l pl.UTF-8 |
761 | Moduł PHP ze wsparciem dla DBase. | |
defaa0de | 762 | |
51312e8d JB |
763 | %package dom |
764 | Summary: DOM extension module for PHP | |
86784db6 | 765 | Summary(pl.UTF-8): Moduł DOM dla PHP |
51312e8d | 766 | Group: Libraries |
d2cc522b | 767 | URL: http://www.php.net/manual/en/book.dom.php |
51312e8d | 768 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 769 | Provides: php(dom) |
91de58a4 | 770 | # it has some compatibility functions |
2e5b56fc | 771 | Provides: php(domxml) |
b581f5f2 | 772 | Provides: php-domxml = %{epoch}:%{version}-%{release} |
737e42ad | 773 | Obsoletes: php-domxml <= 3:4.3.8-1 |
51312e8d JB |
774 | |
775 | %description dom | |
776 | This is a dynamic shared object (DSO) for PHP that will add new DOM | |
777 | support. | |
778 | ||
ec7f2789 JR |
779 | %description dom -l pl.UTF-8 |
780 | Moduł PHP dodający nową obsługę DOM. | |
51312e8d | 781 | |
c2388c7d | 782 | %package exif |
783 | Summary: exif extension module for PHP | |
86784db6 | 784 | Summary(pl.UTF-8): Moduł exif dla PHP |
defaa0de | 785 | Group: Libraries |
d2cc522b | 786 | URL: http://www.php.net/manual/en/book.exif.php |
dc38d397 | 787 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 788 | Provides: php(exif) |
defaa0de | 789 | |
c2388c7d | 790 | %description exif |
ad48e054 JB |
791 | This is a dynamic shared object (DSO) for PHP that will add EXIF tags |
792 | support in image files. | |
defaa0de | 793 | |
ec7f2789 JR |
794 | %description exif -l pl.UTF-8 |
795 | Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków. | |
e584ad6b JB |
796 | |
797 | %package fdf | |
798 | Summary: FDF extension module for PHP | |
86784db6 | 799 | Summary(pl.UTF-8): Moduł FDF dla PHP |
e584ad6b | 800 | Group: Libraries |
d2cc522b | 801 | URL: http://www.php.net/manual/en/book.fdf.php |
dc38d397 | 802 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 803 | Provides: php(fdf) |
e584ad6b JB |
804 | |
805 | %description fdf | |
806 | This PHP module adds support for PDF Forms through Adobe FDFTK | |
807 | library. | |
808 | ||
ec7f2789 JR |
809 | %description fdf -l pl.UTF-8 |
810 | Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe | |
e584ad6b | 811 | FDFTK. |
defaa0de | 812 | |
12295c68 | 813 | %package filter |
c6c65d5b | 814 | Summary: Extension for safely dealing with input parameters |
86784db6 | 815 | Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych |
12295c68 | 816 | Group: Libraries |
d2cc522b | 817 | URL: http://www.php.net/manual/en/book.filter.php |
12295c68 | 818 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
d905601a | 819 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} |
12295c68 | 820 | Provides: php(filter) |
fab94e6d | 821 | Obsoletes: php-pecl-filter |
12295c68 ER |
822 | |
823 | %description filter | |
824 | We all know that you should always check input variables, but PHP does | |
825 | not offer really good functionality for doing this in a safe way. The | |
826 | Input Filter extension is meant to address this issue by implementing | |
827 | a set of filters and mechanisms that users can use to safely access | |
828 | their input data. | |
829 | ||
ec7f2789 JR |
830 | %description filter -l pl.UTF-8 |
831 | Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie | |
832 | oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób | |
833 | bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez | |
834 | zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy | |
835 | mogą bezpiecznie używać do dostępu do danych. | |
12295c68 | 836 | |
defaa0de | 837 | %package ftp |
caff8ce9 | 838 | Summary: FTP extension module for PHP |
86784db6 | 839 | Summary(pl.UTF-8): Moduł FTP dla PHP |
defaa0de | 840 | Group: Libraries |
d2cc522b | 841 | URL: http://www.php.net/manual/en/book.ftp.php |
dc38d397 | 842 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 843 | Provides: php(ftp) |
defaa0de AF |
844 | |
845 | %description ftp | |
e584ad6b JB |
846 | This is a dynamic shared object (DSO) for PHP that will add FTP |
847 | support. | |
defaa0de | 848 | |
ec7f2789 JR |
849 | %description ftp -l pl.UTF-8 |
850 | Moduł PHP dodający obsługę protokołu FTP. | |
defaa0de | 851 | |
c2388c7d | 852 | %package gd |
853 | Summary: GD extension module for PHP | |
86784db6 | 854 | Summary(pl.UTF-8): Moduł GD dla PHP |
501cd767 | 855 | Group: Libraries |
d2cc522b | 856 | URL: http://www.php.net/manual/en/book.image.php |
dc38d397 | 857 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
a04a599a | 858 | %if %{with system_gd} |
b2c345ab | 859 | Requires: gd >= 2.0.28-4 |
2e5b56fc | 860 | Requires: gd(gif) |
ae9fd9ae | 861 | Requires: gd(imagerotate) = 5.2.0 |
999f50f4 | 862 | %endif |
2e5b56fc | 863 | Provides: php(gd) |
501cd767 | 864 | |
c2388c7d | 865 | %description gd |
e584ad6b JB |
866 | This is a dynamic shared object (DSO) for PHP that will add GD |
867 | support, allowing you to create and manipulate images with PHP. | |
501cd767 | 868 | |
ec7f2789 JR |
869 | %description gd -l pl.UTF-8 |
870 | Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na | |
871 | tworzenie i obróbkę obrazków. | |
501cd767 | 872 | |
c2388c7d | 873 | %package gettext |
874 | Summary: gettext extension module for PHP | |
86784db6 | 875 | Summary(pl.UTF-8): Moduł gettext dla PHP |
501cd767 | 876 | Group: Libraries |
d2cc522b | 877 | URL: http://www.php.net/manual/en/book.gettext.php |
dc38d397 | 878 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 879 | Provides: php(gettext) |
501cd767 | 880 | |
c2388c7d | 881 | %description gettext |
e584ad6b JB |
882 | This is a dynamic shared object (DSO) for PHP that will add gettext |
883 | support. | |
501cd767 | 884 | |
ec7f2789 JR |
885 | %description gettext -l pl.UTF-8 |
886 | Moduł PHP dodający obsługę lokalizacji przez gettext. | |
501cd767 | 887 | |
c2388c7d | 888 | %package gmp |
889 | Summary: gmp extension module for PHP | |
86784db6 | 890 | Summary(pl.UTF-8): Moduł gmp dla PHP |
8bfcab42 | 891 | Group: Libraries |
d2cc522b | 892 | URL: http://www.php.net/manual/en/book.gmp.php |
dc38d397 | 893 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 894 | Provides: php(gmp) |
8bfcab42 | 895 | |
c2388c7d | 896 | %description gmp |
e584ad6b JB |
897 | This is a dynamic shared object (DSO) for PHP that will add arbitrary |
898 | length number support with GNU MP library. | |
8bfcab42 | 899 | |
ec7f2789 JR |
900 | %description gmp -l pl.UTF-8 |
901 | Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na | |
902 | liczbach o dowolnej długości. | |
501cd767 | 903 | |
d7726a00 ER |
904 | %package hash |
905 | Summary: HASH Message Digest Framework | |
906 | Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości | |
907 | Group: Libraries | |
d2cc522b | 908 | URL: http://www.php.net/manual/en/book.gmp.php |
d7726a00 ER |
909 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
910 | Provides: php(hash) | |
911 | Obsoletes: php-pecl-hash | |
912 | ||
913 | %description hash | |
914 | Native implementations of common message digest algorithms using a | |
915 | generic factory method. | |
916 | ||
917 | %description hash -l pl.UTF-8 | |
918 | Natywne implementacje popularnych algorytmów obliczania skrótów | |
919 | wiadomości przy użyciu wspólnego interfejsu. | |
920 | ||
c2388c7d | 921 | %package iconv |
922 | Summary: iconv extension module for PHP | |
86784db6 | 923 | Summary(pl.UTF-8): Moduł iconv dla PHP |
501cd767 | 924 | Group: Libraries |
d2cc522b | 925 | URL: http://www.php.net/manual/en/book.iconv.php |
31007581 | 926 | Requires: %{_libdir}/gconv |
dc38d397 | 927 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
31007581 | 928 | Requires: iconv |
2e5b56fc | 929 | Provides: php(iconv) |
501cd767 | 930 | |
c2388c7d | 931 | %description iconv |
e584ad6b JB |
932 | This is a dynamic shared object (DSO) for PHP that will add iconv |
933 | support. | |
501cd767 | 934 | |
ec7f2789 JR |
935 | %description iconv -l pl.UTF-8 |
936 | Moduł PHP dodający obsługę iconv. | |
defaa0de | 937 | |
e0e8f1c2 | 938 | %package imap |
386054ee | 939 | Summary: IMAP extension module for PHP |
86784db6 ER |
940 | Summary(pl.UTF-8): Moduł IMAP dla PHP |
941 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP | |
e0e8f1c2 | 942 | Group: Libraries |
d2cc522b | 943 | URL: http://www.php.net/manual/en/book.imap.php |
dc38d397 | 944 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 945 | Provides: php(imap) |
e0e8f1c2 AF |
946 | |
947 | %description imap | |
e584ad6b JB |
948 | This is a dynamic shared object (DSO) for PHP that will add IMAP |
949 | support. | |
e0e8f1c2 | 950 | |
ec7f2789 JR |
951 | %description imap -l pl.UTF-8 |
952 | Moduł PHP dodający obsługę skrzynek IMAP. | |
e0e8f1c2 | 953 | |
ec7f2789 JR |
954 | %description imap -l pt_BR.UTF-8 |
955 | Um módulo para aplicações PHP que usam IMAP. | |
795da340 | 956 | |
c2388c7d | 957 | %package interbase |
e2263ce4 | 958 | Summary: InterBase/Firebird database module for PHP |
86784db6 | 959 | Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP |
c2388c7d | 960 | Group: Libraries |
d2cc522b | 961 | URL: http://www.php.net/manual/en/book.ibase.php |
dc38d397 | 962 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 963 | Provides: php(interbase) |
6f91d99f | 964 | %{?with_interbase_inst:Autoreq: false} |
c2388c7d | 965 | |
966 | %description interbase | |
e584ad6b JB |
967 | This is a dynamic shared object (DSO) for PHP that will add InterBase |
968 | and Firebird database support. | |
c2388c7d | 969 | |
ec7f2789 JR |
970 | %description interbase -l pl.UTF-8 |
971 | Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird. | |
c2388c7d | 972 | |
86ceb323 ER |
973 | %package json |
974 | Summary: PHP C extension for JSON serialization | |
86784db6 | 975 | Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON |
86ceb323 | 976 | Group: Libraries |
d2cc522b | 977 | URL: http://www.php.net/manual/en/book.json.php |
86ceb323 ER |
978 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
979 | Provides: php(json) | |
60ebfac6 | 980 | Obsoletes: php-pecl-json |
86ceb323 ER |
981 | |
982 | %description json | |
983 | php-json is an extremely fast PHP C extension for JSON (JavaScript | |
984 | Object Notation) serialisation. | |
985 | ||
ec7f2789 | 986 | %description json -l pl.UTF-8 |
86ceb323 ER |
987 | php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON |
988 | (JavaScript Object Notation). | |
989 | ||
38ecdf75 | 990 | %package ldap |
caff8ce9 | 991 | Summary: LDAP extension module for PHP |
86784db6 ER |
992 | Summary(pl.UTF-8): Moduł LDAP dla PHP |
993 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP | |
38ecdf75 | 994 | Group: Libraries |
d2cc522b | 995 | URL: http://www.php.net/manual/en/book.ldap.php |
dc38d397 | 996 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 997 | Provides: php(ldap) |
38ecdf75 AF |
998 | |
999 | %description ldap | |
e584ad6b JB |
1000 | This is a dynamic shared object (DSO) for PHP that will add LDAP |
1001 | support. | |
38ecdf75 | 1002 | |
ec7f2789 JR |
1003 | %description ldap -l pl.UTF-8 |
1004 | Moduł PHP dodający obsługę LDAP. | |
38ecdf75 | 1005 | |
ec7f2789 JR |
1006 | %description ldap -l pt_BR.UTF-8 |
1007 | Um módulo para aplicações PHP que usam LDAP. | |
8c56345a | 1008 | |
c2388c7d | 1009 | %package mbstring |
1010 | Summary: mbstring extension module for PHP | |
86784db6 | 1011 | Summary(pl.UTF-8): Moduł mbstring dla PHP |
c2388c7d | 1012 | Group: Libraries |
d2cc522b | 1013 | URL: http://www.php.net/manual/en/book.mbstring.php |
dc38d397 | 1014 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1015 | Provides: php(mbstring) |
795da340 | 1016 | |
c2388c7d | 1017 | %description mbstring |
6e4962cf JB |
1018 | This is a dynamic shared object (DSO) for PHP that will add multibyte |
1019 | string support. | |
c2388c7d | 1020 | |
ec7f2789 JR |
1021 | %description mbstring -l pl.UTF-8 |
1022 | Moduł PHP dodający obsługę ciągów znaków wielobajtowych. | |
c2388c7d | 1023 | |
38ecdf75 | 1024 | %package mcrypt |
caff8ce9 | 1025 | Summary: mcrypt extension module for PHP |
86784db6 | 1026 | Summary(pl.UTF-8): Moduł mcrypt dla PHP |
38ecdf75 | 1027 | Group: Libraries |
d2cc522b | 1028 | URL: http://www.php.net/manual/en/book.mcrypt.php |
dc38d397 | 1029 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1030 | Provides: php(mcrypt) |
38ecdf75 AF |
1031 | |
1032 | %description mcrypt | |
e584ad6b JB |
1033 | This is a dynamic shared object (DSO) for PHP that will add mcrypt |
1034 | support. | |
38ecdf75 | 1035 | |
ec7f2789 JR |
1036 | %description mcrypt -l pl.UTF-8 |
1037 | Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt. | |
38ecdf75 | 1038 | |
253c0459 AF |
1039 | %package mhash |
1040 | Summary: mhash extension module for PHP | |
86784db6 | 1041 | Summary(pl.UTF-8): Moduł mhash dla PHP |
253c0459 | 1042 | Group: Libraries |
dc38d397 | 1043 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1044 | Provides: php(mhash) |
253c0459 AF |
1045 | |
1046 | %description mhash | |
e584ad6b JB |
1047 | This is a dynamic shared object (DSO) for PHP that will add mhash |
1048 | support. | |
253c0459 | 1049 | |
ec7f2789 JR |
1050 | %description mhash -l pl.UTF-8 |
1051 | Moduł PHP udostępniający funkcje mieszające z biblioteki mhash. | |
253c0459 | 1052 | |
e584ad6b JB |
1053 | %package mime_magic |
1054 | Summary: mime_magic extension module for PHP | |
86784db6 | 1055 | Summary(pl.UTF-8): Moduł mime_magic dla PHP |
e584ad6b | 1056 | Group: Libraries |
a1374ae8 | 1057 | Requires: %{magic_mime} |
9fff5411 | 1058 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1059 | Provides: php(mime_magic) |
e584ad6b JB |
1060 | |
1061 | %description mime_magic | |
1062 | This PHP module adds support for MIME type lookup via file magic | |
1063 | numbers using magic.mime database. | |
1064 | ||
ec7f2789 JR |
1065 | %description mime_magic -l pl.UTF-8 |
1066 | Moduł PHP dodający obsługę wyszukiwania typów MIME według magicznych | |
1067 | znaczników plików z użyciem bazy danych magic.mime. | |
e584ad6b | 1068 | |
c2388c7d | 1069 | %package ming |
1070 | Summary: ming extension module for PHP | |
86784db6 | 1071 | Summary(pl.UTF-8): Moduł ming dla PHP |
c2388c7d | 1072 | Group: Libraries |
dc38d397 | 1073 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
40bbf316 | 1074 | Requires: ming >= 0.3 |
2e5b56fc | 1075 | Provides: php(ming) |
77d149f2 | 1076 | |
c2388c7d | 1077 | %description ming |
e584ad6b JB |
1078 | This is a dynamic shared object (DSO) for PHP that will add ming |
1079 | (Flash - .swf files) support. | |
77d149f2 | 1080 | |
ec7f2789 JR |
1081 | %description ming -l pl.UTF-8 |
1082 | Moduł PHP dodający obsługę plików Flash (.swf) poprzez bibliotekę | |
c2388c7d | 1083 | ming. |
da15debb | 1084 | |
7899bacd | 1085 | %package mssql |
1086 | Summary: MS SQL extension module for PHP | |
86784db6 | 1087 | Summary(pl.UTF-8): Moduł MS SQL dla PHP |
7899bacd | 1088 | Group: Libraries |
d2cc522b | 1089 | URL: http://www.php.net/manual/en/book.mssql.php |
dc38d397 | 1090 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1091 | Provides: php(mssql) |
7899bacd | 1092 | |
1093 | %description mssql | |
1094 | This is a dynamic shared object (DSO) for PHP that will add MS SQL | |
1095 | databases support through FreeTDS library. | |
1096 | ||
ec7f2789 JR |
1097 | %description mssql -l pl.UTF-8 |
1098 | Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę | |
ad48e054 | 1099 | FreeTDS. |
7899bacd | 1100 | |
c2388c7d | 1101 | %package mysql |
1102 | Summary: MySQL database module for PHP | |
86784db6 ER |
1103 | Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP |
1104 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL | |
c2388c7d | 1105 | Group: Libraries |
d2cc522b | 1106 | URL: http://www.php.net/manual/en/book.mysql.php |
dc38d397 | 1107 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1108 | Provides: php(mysql) |
dc79ac25 | 1109 | |
c2388c7d | 1110 | %description mysql |
e584ad6b JB |
1111 | This is a dynamic shared object (DSO) for PHP that will add MySQL |
1112 | database support. | |
6290790d | 1113 | |
ec7f2789 JR |
1114 | %description mysql -l pl.UTF-8 |
1115 | Moduł PHP umożliwiający dostęp do bazy danych MySQL. | |
6290790d | 1116 | |
ec7f2789 JR |
1117 | %description mysql -l pt_BR.UTF-8 |
1118 | Um módulo para aplicações PHP que usam bancos de dados MySQL. | |
8487ad4f | 1119 | |
8b37a21e ER |
1120 | %package mysqli |
1121 | Summary: MySQLi module for PHP | |
86784db6 | 1122 | Summary(pl.UTF-8): Moduł MySQLi dla PHP |
8b37a21e | 1123 | Group: Libraries |
d2cc522b | 1124 | URL: http://www.php.net/manual/en/book.mysqli.php |
8b37a21e | 1125 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
9fff5411 | 1126 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} |
8b37a21e | 1127 | Requires: mysql-libs >= 4.1.0 |
2e5b56fc | 1128 | Provides: php(mysqli) |
8b37a21e ER |
1129 | |
1130 | %description mysqli | |
1131 | This is a dynamic shared object (DSO) for PHP that will add MySQLi | |
1c06a766 MC |
1132 | (Improved MySQL) support. The difference between it and mysql module |
1133 | is that it provides access to functionality of MySQL 4.1 and above. | |
1134 | ||
ec7f2789 JR |
1135 | %description mysqli -l pl.UTF-8 |
1136 | Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL. | |
1137 | Różnicą między nim a modułem mysql jest dostęp do funkcjonalności | |
7375f0ff | 1138 | MySQL w wersji 4.1 i nowszych. |
8b37a21e | 1139 | |
e584ad6b JB |
1140 | %package ncurses |
1141 | Summary: ncurses module for PHP | |
86784db6 | 1142 | Summary(pl.UTF-8): Moduł ncurses dla PHP |
e584ad6b | 1143 | Group: Libraries |
c3a27469 | 1144 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} |
2e5b56fc | 1145 | Provides: php(ncurses) |
e584ad6b JB |
1146 | |
1147 | %description ncurses | |
1148 | This PHP module adds support for ncurses functions (only for cli and | |
1149 | cgi SAPIs). | |
1150 | ||
ec7f2789 JR |
1151 | %description ncurses -l pl.UTF-8 |
1152 | Moduł PHP dodający obsługę funkcji ncurses (tylko do SAPI cli i cgi). | |
e584ad6b | 1153 | |
c2388c7d | 1154 | %package oci8 |
d902abac | 1155 | Summary: Oracle 8+ database module for PHP |
86784db6 | 1156 | Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP |
c2388c7d | 1157 | Group: Libraries |
d2cc522b | 1158 | URL: http://www.php.net/manual/en/book.oci8.php |
dc38d397 | 1159 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1160 | Provides: php(oci8) |
d2cc522b | 1161 | AutoReq: false |
795da340 | 1162 | |
c2388c7d | 1163 | %description oci8 |
d902abac JB |
1164 | This is a dynamic shared object (DSO) for PHP that will add Oracle 7, |
1165 | 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8). | |
c2388c7d | 1166 | |
ec7f2789 JR |
1167 | %description oci8 -l pl.UTF-8 |
1168 | Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10 | |
c2388c7d | 1169 | poprzez interfejs Oracle8 Call-Interface (OCI8). |
1170 | ||
1171 | %package odbc | |
1172 | Summary: ODBC extension module for PHP | |
86784db6 ER |
1173 | Summary(pl.UTF-8): Moduł ODBC dla PHP |
1174 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC | |
6997cdef | 1175 | Group: Libraries |
d2cc522b | 1176 | URL: http://www.php.net/manual/en/book.uodbc.php |
dc38d397 | 1177 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
c2388c7d | 1178 | Requires: unixODBC >= 2.1.1-3 |
2e5b56fc | 1179 | Provides: php(odbc) |
6997cdef | 1180 | |
c2388c7d | 1181 | %description odbc |
e584ad6b JB |
1182 | This is a dynamic shared object (DSO) for PHP that will add ODBC |
1183 | support. | |
6997cdef | 1184 | |
ec7f2789 JR |
1185 | %description odbc -l pl.UTF-8 |
1186 | Moduł PHP ze wsparciem dla ODBC. | |
5c8d1b4b | 1187 | |
ec7f2789 JR |
1188 | %description odbc -l pt_BR.UTF-8 |
1189 | Um módulo para aplicações PHP que usam ODBC. | |
c2388c7d | 1190 | |
1191 | %package openssl | |
1192 | Summary: OpenSSL extension module for PHP | |
86784db6 | 1193 | Summary(pl.UTF-8): Moduł OpenSSL dla PHP |
c4161e98 | 1194 | Group: Libraries |
d2cc522b | 1195 | URL: http://www.php.net/manual/en/book.openssl.php |
dc38d397 | 1196 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1197 | Provides: php(openssl) |
90257fd6 | 1198 | |
c2388c7d | 1199 | %description openssl |
e584ad6b JB |
1200 | This is a dynamic shared object (DSO) for PHP that will add OpenSSL |
1201 | support. | |
c4161e98 | 1202 | |
ec7f2789 JR |
1203 | %description openssl -l pl.UTF-8 |
1204 | Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL. | |
c2388c7d | 1205 | |
c2388c7d | 1206 | %package pcntl |
1207 | Summary: Process Control extension module for PHP | |
86784db6 | 1208 | Summary(pl.UTF-8): Moduł Process Control dla PHP |
c2388c7d | 1209 | Group: Libraries |
d2cc522b | 1210 | URL: http://www.php.net/manual/en/book.pcntl.php |
135c705e | 1211 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1212 | Provides: php(pcntl) |
c2388c7d | 1213 | |
1214 | %description pcntl | |
e584ad6b JB |
1215 | This is a dynamic shared object (DSO) for PHP that will add process |
1216 | spawning and control support. It supports functions like fork(), | |
1217 | waitpid(), signal() etc. | |
c2388c7d | 1218 | |
ec7f2789 JR |
1219 | %description pcntl -l pl.UTF-8 |
1220 | Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi. | |
1221 | Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne. | |
c2388c7d | 1222 | |
51ad3a6d ER |
1223 | %package pcre |
1224 | Summary: PCRE extension module for PHP | |
1225 | Summary(pl.UTF-8): Moduł PCRE dla PHP | |
1226 | Group: Libraries | |
1227 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1228 | Provides: php(pcre) | |
1229 | ||
1230 | %description pcre | |
1231 | This is a dynamic shared object (DSO) for PHP that will add Perl | |
1232 | Compatible Regular Expression support. | |
1233 | ||
1234 | %description pcre -l pl.UTF-8 | |
1235 | Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych | |
1236 | (Perl Compatible Regular Expressions) | |
1237 | ||
768d3bda AM |
1238 | %package pdo |
1239 | Summary: PHP Data Objects (PDO) | |
86784db6 | 1240 | Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO) |
768d3bda | 1241 | Group: Libraries |
d2cc522b | 1242 | URL: http://www.php.net/manual/en/book.pdo.php |
768d3bda | 1243 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
4f23bf4b | 1244 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} |
2e5b56fc | 1245 | Provides: php(pdo) |
2ed78af4 | 1246 | Obsoletes: php-pecl-PDO |
768d3bda AM |
1247 | |
1248 | %description pdo | |
1249 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1250 | support. | |
1251 | ||
ec7f2789 JR |
1252 | %description pdo -l pl.UTF-8 |
1253 | Moduł PHP dodający obsługę PDO (PHP Data Objects). | |
7375f0ff | 1254 | |
768d3bda AM |
1255 | %package pdo-dblib |
1256 | Summary: PHP Data Objects (PDO) FreeTDS support | |
86784db6 | 1257 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS |
768d3bda | 1258 | Group: Libraries |
d2cc522b | 1259 | URL: http://www.php.net/manual/en/ref.pdo-dblib.php |
768d3bda AM |
1260 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1261 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1262 | Provides: php(dblib) |
768d3bda AM |
1263 | |
1264 | %description pdo-dblib | |
1265 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1266 | FreeTDS support. | |
1267 | ||
ec7f2789 JR |
1268 | %description pdo-dblib -l pl.UTF-8 |
1269 | Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem | |
768d3bda AM |
1270 | interfejsu PDO. |
1271 | ||
f4359077 ER |
1272 | %package pdo-firebird |
1273 | Summary: PHP Data Objects (PDO) Firebird support | |
86784db6 | 1274 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda |
f4359077 | 1275 | Group: Libraries |
d2cc522b | 1276 | URL: http://www.php.net/manual/en/ref.pdo-firebird.php |
f4359077 ER |
1277 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1278 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1279 | Provides: php(pdo-firebird) |
2ed78af4 | 1280 | Obsoletes: php-pecl-PDO_FIREBIRD |
f4359077 ER |
1281 | |
1282 | %description pdo-firebird | |
1283 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1284 | Firebird support. | |
1285 | ||
ec7f2789 JR |
1286 | %description pdo-firebird -l pl.UTF-8 |
1287 | Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem | |
cfff29a1 JB |
1288 | interfejsu PDO. |
1289 | ||
768d3bda AM |
1290 | %package pdo-mysql |
1291 | Summary: PHP Data Objects (PDO) MySQL support | |
86784db6 | 1292 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a |
768d3bda | 1293 | Group: Libraries |
d2cc522b | 1294 | URL: http://www.php.net/manual/en/ref.pdo-mysql.php |
768d3bda AM |
1295 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1296 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1297 | Provides: php(pdo-mysql) |
2ed78af4 | 1298 | Obsoletes: php-pecl-PDO_MYSQL |
768d3bda AM |
1299 | |
1300 | %description pdo-mysql | |
1301 | This is a dynamic shared object (DSO) for PHP that will add PDO MySQL | |
1302 | support. | |
1303 | ||
ec7f2789 JR |
1304 | %description pdo-mysql -l pl.UTF-8 |
1305 | Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem | |
768d3bda AM |
1306 | interfejsu PDO. |
1307 | ||
d902abac JB |
1308 | %package pdo-oci |
1309 | Summary: PHP Data Objects (PDO) Oracle support | |
86784db6 | 1310 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a |
d902abac | 1311 | Group: Libraries |
d2cc522b | 1312 | URL: http://www.php.net/manual/en/ref.pdo-oci.php |
d902abac JB |
1313 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1314 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1315 | Provides: php(pdo-oci) |
2ed78af4 | 1316 | Obsoletes: php-pecl-PDO_OCI |
d902abac JB |
1317 | |
1318 | %description pdo-oci | |
1319 | This is a dynamic shared object (DSO) for PHP that will add PDO Oracle | |
1320 | support. | |
1321 | ||
ec7f2789 JR |
1322 | %description pdo-oci -l pl.UTF-8 |
1323 | Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem | |
d902abac JB |
1324 | interfejsu PDO. |
1325 | ||
768d3bda AM |
1326 | %package pdo-odbc |
1327 | Summary: PHP Data Objects (PDO) ODBC support | |
86784db6 | 1328 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC |
768d3bda | 1329 | Group: Libraries |
d2cc522b | 1330 | URL: http://www.php.net/manual/en/ref.pdo-odbc.php |
768d3bda AM |
1331 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1332 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1333 | Provides: php(pdo-odbc) |
2ed78af4 | 1334 | Obsoletes: php-pecl-PDO_ODBC |
768d3bda AM |
1335 | |
1336 | %description pdo-odbc | |
1337 | This is a dynamic shared object (DSO) for PHP that will add PDO ODBC | |
1338 | support. | |
1339 | ||
ec7f2789 JR |
1340 | %description pdo-odbc -l pl.UTF-8 |
1341 | Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem | |
768d3bda AM |
1342 | interfejsu PDO. |
1343 | ||
1344 | %package pdo-pgsql | |
1345 | Summary: PHP Data Objects (PDO) PostgreSQL support | |
86784db6 | 1346 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a |
768d3bda | 1347 | Group: Libraries |
d2cc522b | 1348 | URL: http://www.php.net/manual/en/ref.pdo-pgsql.php |
768d3bda AM |
1349 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1350 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1351 | Provides: php(pdo-pgsql) |
829e1de1 | 1352 | Provides: php-pecl-PDO_PGSQL |
2ed78af4 | 1353 | Obsoletes: php-pecl-PDO_PGSQL |
768d3bda AM |
1354 | |
1355 | %description pdo-pgsql | |
1356 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1357 | PostgreSQL support. | |
1358 | ||
ec7f2789 JR |
1359 | %description pdo-pgsql -l pl.UTF-8 |
1360 | Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem | |
7375f0ff | 1361 | interfejsu PDO. |
768d3bda AM |
1362 | |
1363 | %package pdo-sqlite | |
1364 | Summary: PHP Data Objects (PDO) SQLite support | |
86784db6 | 1365 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite |
768d3bda | 1366 | Group: Libraries |
d2cc522b | 1367 | URL: http://www.php.net/manual/en/ref.pdo-sqlite.php |
768d3bda AM |
1368 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1369 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1370 | Provides: php(pdo-sqlite) |
2ed78af4 | 1371 | Obsoletes: php-pecl-PDO_SQLITE |
768d3bda AM |
1372 | |
1373 | %description pdo-sqlite | |
1374 | This is a dynamic shared object (DSO) for PHP that will add PDO SQLite | |
1375 | support. | |
1376 | ||
ec7f2789 JR |
1377 | %description pdo-sqlite -l pl.UTF-8 |
1378 | Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem | |
768d3bda AM |
1379 | interfejsu PDO. |
1380 | ||
c2388c7d | 1381 | %package pgsql |
1382 | Summary: PostgreSQL database module for PHP | |
86784db6 | 1383 | Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP |
c2388c7d | 1384 | Group: Libraries |
d2cc522b | 1385 | URL: http://www.php.net/manual/en/book.pgsql.php |
dc38d397 | 1386 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1387 | Provides: php(pgsql) |
c2388c7d | 1388 | |
1389 | %description pgsql | |
e584ad6b JB |
1390 | This is a dynamic shared object (DSO) for PHP that will add PostgreSQL |
1391 | database support. | |
c2388c7d | 1392 | |
ec7f2789 JR |
1393 | %description pgsql -l pl.UTF-8 |
1394 | Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL. | |
c2388c7d | 1395 | |
ec7f2789 JR |
1396 | %description pgsql -l pt_BR.UTF-8 |
1397 | Um módulo para aplicações PHP que usam bancos de dados postgresql. | |
c2388c7d | 1398 | |
1399 | %package posix | |
1400 | Summary: POSIX extension module for PHP | |
86784db6 | 1401 | Summary(pl.UTF-8): Moduł POSIX dla PHP |
c2388c7d | 1402 | Group: Libraries |
d2cc522b | 1403 | URL: http://www.php.net/manual/en/book.posix.php |
dc38d397 | 1404 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1405 | Provides: php(posix) |
c2388c7d | 1406 | |
1407 | %description posix | |
e584ad6b | 1408 | This is a dynamic shared object (DSO) for PHP that will add POSIX |
c2388c7d | 1409 | functions support to PHP. |
1410 | ||
ec7f2789 JR |
1411 | %description posix -l pl.UTF-8 |
1412 | Moduł PHP umożliwiający korzystanie z funkcji POSIX. | |
c2388c7d | 1413 | |
1414 | %package pspell | |
1415 | Summary: pspell extension module for PHP | |
86784db6 | 1416 | Summary(pl.UTF-8): Moduł pspell dla PHP |
c2388c7d | 1417 | Group: Libraries |
d2cc522b | 1418 | URL: http://www.php.net/manual/en/book.pspell.php |
dc38d397 | 1419 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1420 | Provides: php(pspell) |
c2388c7d | 1421 | |
1422 | %description pspell | |
e584ad6b | 1423 | This is a dynamic shared object (DSO) for PHP that will add pspell |
c2388c7d | 1424 | support to PHP. It allows to check the spelling of a word and offer |
1425 | suggestions. | |
1426 | ||
ec7f2789 JR |
1427 | %description pspell -l pl.UTF-8 |
1428 | Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na | |
1429 | sprawdzanie pisowni słowa i sugerowanie poprawek. | |
c2388c7d | 1430 | |
e584ad6b JB |
1431 | %package readline |
1432 | Summary: readline extension module for PHP | |
86784db6 | 1433 | Summary(pl.UTF-8): Moduł readline dla PHP |
e584ad6b | 1434 | Group: Libraries |
d2cc522b | 1435 | URL: http://www.php.net/manual/en/book.readline.php |
c3a27469 | 1436 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} |
2e5b56fc | 1437 | Provides: php(readline) |
e584ad6b JB |
1438 | |
1439 | %description readline | |
1440 | This PHP module adds support for readline functions (only for cli and | |
1441 | cgi SAPIs). | |
1442 | ||
ec7f2789 JR |
1443 | %description readline -l pl.UTF-8 |
1444 | Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi). | |
e584ad6b | 1445 | |
c2388c7d | 1446 | %package recode |
1447 | Summary: recode extension module for PHP | |
86784db6 | 1448 | Summary(pl.UTF-8): Moduł recode dla PHP |
c2388c7d | 1449 | Group: Libraries |
d2cc522b | 1450 | URL: http://www.php.net/manual/en/book.recode.php |
dc38d397 | 1451 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
c2388c7d | 1452 | Requires: recode >= 3.5d-3 |
2e5b56fc | 1453 | Provides: php(recode) |
c2388c7d | 1454 | |
1455 | %description recode | |
e584ad6b JB |
1456 | This is a dynamic shared object (DSO) for PHP that will add recode |
1457 | support. | |
c2388c7d | 1458 | |
ec7f2789 JR |
1459 | %description recode -l pl.UTF-8 |
1460 | Moduł PHP dodający możliwość konwersji kodowania plików (poprzez | |
1461 | bibliotekę recode). | |
c2388c7d | 1462 | |
42e470ec ER |
1463 | %package session |
1464 | Summary: session extension module for PHP | |
1465 | Summary(pl.UTF-8): Moduł session dla PHP | |
1466 | Group: Libraries | |
1467 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
ad2a2d7c | 1468 | Suggests: %{name}-hash = %{epoch}:%{version}-%{release} |
42e470ec ER |
1469 | Provides: php(session) |
1470 | ||
1471 | %description session | |
1472 | This is a dynamic shared object (DSO) for PHP that will add session | |
1473 | support. | |
1474 | ||
1475 | %description session -l pl.UTF-8 | |
1476 | Moduł PHP dodający obsługę sesji. | |
1477 | ||
c2388c7d | 1478 | %package shmop |
1479 | Summary: Shared Memory Operations extension module for PHP | |
86784db6 | 1480 | Summary(pl.UTF-8): Moduł shmop dla PHP |
c2388c7d | 1481 | Group: Libraries |
d2cc522b | 1482 | URL: http://www.php.net/manual/en/book.shmop.php |
dc38d397 | 1483 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1484 | Provides: php(shmop) |
c2388c7d | 1485 | |
1486 | %description shmop | |
e584ad6b JB |
1487 | This is a dynamic shared object (DSO) for PHP that will add Shared |
1488 | Memory Operations support. | |
c2388c7d | 1489 | |
ec7f2789 JR |
1490 | %description shmop -l pl.UTF-8 |
1491 | Moduł PHP umożliwiający korzystanie z pamięci dzielonej. | |
c2388c7d | 1492 | |
768d3bda AM |
1493 | %package simplexml |
1494 | Summary: Simple XML extension module for PHP | |
86784db6 | 1495 | Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP |
768d3bda | 1496 | Group: Libraries |
d2cc522b | 1497 | URL: http://www.php.net/manual/en/book.simplexml.php |
768d3bda | 1498 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
81c5218b | 1499 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} |
2e5b56fc | 1500 | Provides: php(simplexml) |
768d3bda AM |
1501 | |
1502 | %description simplexml | |
1503 | This is a dynamic shared object (DSO) for PHP that will add Simple XML | |
1504 | support. | |
1505 | ||
ec7f2789 JR |
1506 | %description simplexml -l pl.UTF-8 |
1507 | Moduł PHP dodający obsługę prostego XML-a. | |
7375f0ff | 1508 | |
c2388c7d | 1509 | %package snmp |
1510 | Summary: SNMP extension module for PHP | |
86784db6 | 1511 | Summary(pl.UTF-8): Moduł SNMP dla PHP |
c2388c7d | 1512 | Group: Libraries |
d2cc522b | 1513 | URL: http://www.php.net/manual/en/book.snmp.php |
dc38d397 | 1514 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
85a72066 | 1515 | Requires: %{name}-sockets = %{epoch}:%{version}-%{release} |
2e5b56fc | 1516 | Provides: php(snmp) |
c2388c7d | 1517 | |
1518 | %description snmp | |
e584ad6b JB |
1519 | This is a dynamic shared object (DSO) for PHP that will add SNMP |
1520 | support. | |
c2388c7d | 1521 | |
ec7f2789 JR |
1522 | %description snmp -l pl.UTF-8 |
1523 | Moduł PHP dodający obsługę SNMP. | |
c2388c7d | 1524 | |
54eb743b | 1525 | %package soap |
85a72066 | 1526 | Summary: soap extension module for PHP |
86784db6 | 1527 | Summary(pl.UTF-8): Moduł soap dla PHP |
85a72066 | 1528 | Group: Libraries |
d2cc522b | 1529 | URL: http://www.php.net/manual/en/book.soap.php |
85a72066 | 1530 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1531 | Provides: php(soap) |
54eb743b AM |
1532 | |
1533 | %description soap | |
1534 | This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL | |
1535 | support. | |
1536 | ||
ec7f2789 JR |
1537 | %description soap -l pl.UTF-8 |
1538 | Moduł PHP dodający obsługę SOAP/WSDL. | |
54eb743b | 1539 | |
c2388c7d | 1540 | %package sockets |
1541 | Summary: sockets extension module for PHP | |
86784db6 | 1542 | Summary(pl.UTF-8): Moduł socket dla PHP |
c2388c7d | 1543 | Group: Libraries |
d2cc522b | 1544 | URL: http://www.php.net/manual/en/book.sockets.php |
dc38d397 | 1545 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1546 | Provides: php(sockets) |
c2388c7d | 1547 | |
1548 | %description sockets | |
e584ad6b JB |
1549 | This is a dynamic shared object (DSO) for PHP that will add sockets |
1550 | support. | |
c2388c7d | 1551 | |
ec7f2789 JR |
1552 | %description sockets -l pl.UTF-8 |
1553 | Moduł PHP dodający obsługę gniazdek. | |
c2388c7d | 1554 | |
9fff5411 ER |
1555 | %package spl |
1556 | Summary: Standard PHP Library module for PHP | |
1557 | Summary(pl.UTF-8): Moduł SPL dla PHP | |
1558 | Group: Libraries | |
c3556f9c | 1559 | URL: http://php.net/manual/en/book.spl.php |
9fff5411 | 1560 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
7dadbb5b | 1561 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} |
6791d961 | 1562 | Requires: %{name}-simplexml = %{epoch}:%{version}-%{release} |
9fff5411 ER |
1563 | Provides: php(spl) |
1564 | ||
1565 | %description spl | |
1566 | This is a dynamic shared object (DSO) for PHP that will add Standard | |
1567 | PHP Library support. | |
1568 | ||
1569 | %description spl -l pl.UTF-8 | |
1570 | Moduł PHP dodający obsługę gniazdek. | |
1571 | ||
8c91402c AM |
1572 | %package sqlite |
1573 | Summary: SQLite extension module for PHP | |
86784db6 | 1574 | Summary(pl.UTF-8): Moduł SQLite dla PHP |
8c91402c | 1575 | Group: Libraries |
d2cc522b | 1576 | URL: http://www.php.net/manual/en/book.sqlite.php |
8c91402c | 1577 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
d905601a ER |
1578 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} |
1579 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1580 | Provides: php(sqlite) |
8c91402c AM |
1581 | |
1582 | %description sqlite | |
ce888321 ER |
1583 | SQLite is a C library that implements an embeddable SQL database |
1584 | engine. Programs that link with the SQLite library can have SQL | |
1585 | database access without running a separate RDBMS process. | |
8c91402c | 1586 | |
ce888321 ER |
1587 | SQLite is not a client library used to connect to a big database |
1588 | server. SQLite is the server. The SQLite library reads and writes | |
1589 | directly to and from the database files on disk. | |
8c91402c | 1590 | |
ec7f2789 JR |
1591 | %description sqlite -l pl.UTF-8 |
1592 | SQLite jest napisaną w C biblioteką implementującą osadzalny silnik | |
1593 | bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć | |
1594 | dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu | |
ce888321 | 1595 | RDBMS. |
8c91402c | 1596 | |
ec7f2789 | 1597 | SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami |
ce888321 | 1598 | baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i |
ec7f2789 | 1599 | zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na |
ce888321 | 1600 | dysku. |
8c91402c | 1601 | |
e584ad6b JB |
1602 | %package sybase |
1603 | Summary: Sybase DB extension module for PHP | |
86784db6 | 1604 | Summary(pl.UTF-8): Moduł Sybase DB dla PHP |
e584ad6b | 1605 | Group: Libraries |
dc38d397 | 1606 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1607 | Provides: php(sybase) |
8c91402c | 1608 | Obsoletes: php-sybase-ct |
cdef5afa | 1609 | Conflicts: php-sybase-ct |
e584ad6b JB |
1610 | |
1611 | %description sybase | |
1612 | This is a dynamic shared object (DSO) for PHP that will add Sybase and | |
ce888321 ER |
1613 | MS SQL databases support through SYBDB library. Currently Sybase |
1614 | module is not maintained. Using Sybase-CT module is recommended | |
1615 | instead. | |
e584ad6b | 1616 | |
ec7f2789 JR |
1617 | %description sybase -l pl.UTF-8 |
1618 | Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez | |
1619 | bibliotekę SYBDB. W chwili obecnej moduł Sybase nie jest wspierany. | |
1620 | Zaleca się używanie modułu Sybase-CT. | |
e584ad6b | 1621 | |
c2388c7d | 1622 | %package sybase-ct |
1623 | Summary: Sybase-CT extension module for PHP | |
86784db6 | 1624 | Summary(pl.UTF-8): Moduł Sybase-CT dla PHP |
c2388c7d | 1625 | Group: Libraries |
d2cc522b | 1626 | URL: http://www.php.net/manual/en/book.sybase.php |
dc38d397 | 1627 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1628 | Provides: php(sybase-ct) |
8c91402c | 1629 | Obsoletes: php-sybase |
cdef5afa | 1630 | Conflicts: php-sybase |
c2388c7d | 1631 | |
1632 | %description sybase-ct | |
e584ad6b JB |
1633 | This is a dynamic shared object (DSO) for PHP that will add Sybase and |
1634 | MS SQL databases support through CT-lib. | |
c2388c7d | 1635 | |
ec7f2789 JR |
1636 | %description sybase-ct -l pl.UTF-8 |
1637 | Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez | |
c2388c7d | 1638 | CT-lib. |
1639 | ||
e584ad6b JB |
1640 | %package sysvmsg |
1641 | Summary: SysV msg extension module for PHP | |
86784db6 | 1642 | Summary(pl.UTF-8): Moduł SysV msg dla PHP |
e584ad6b | 1643 | Group: Libraries |
d2cc522b | 1644 | URL: http://www.php.net/manual/en/book.sem.php |
dc38d397 | 1645 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1646 | Provides: php(sysvmsg) |
e584ad6b JB |
1647 | |
1648 | %description sysvmsg | |
1649 | This is a dynamic shared object (DSO) for PHP that will add SysV | |
1650 | message queues support. | |
1651 | ||
ec7f2789 JR |
1652 | %description sysvmsg -l pl.UTF-8 |
1653 | Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV. | |
e584ad6b | 1654 | |
c2388c7d | 1655 | %package sysvsem |
1656 | Summary: SysV sem extension module for PHP | |
86784db6 | 1657 | Summary(pl.UTF-8): Moduł SysV sem dla PHP |
c2388c7d | 1658 | Group: Libraries |
d2cc522b | 1659 | URL: http://www.php.net/manual/en/book.sem.php |
dc38d397 | 1660 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1661 | Provides: php(sysvsem) |
c2388c7d | 1662 | |
1663 | %description sysvsem | |
e584ad6b JB |
1664 | This is a dynamic shared object (DSO) for PHP that will add SysV |
1665 | semaphores support. | |
c2388c7d | 1666 | |
ec7f2789 JR |
1667 | %description sysvsem -l pl.UTF-8 |
1668 | Moduł PHP umożliwiający korzystanie z semaforów SysV. | |
c2388c7d | 1669 | |
1670 | %package sysvshm | |
1671 | Summary: SysV shm extension module for PHP | |
86784db6 | 1672 | Summary(pl.UTF-8): Moduł SysV shm dla PHP |
c2388c7d | 1673 | Group: Libraries |
d2cc522b | 1674 | URL: http://www.php.net/manual/en/book.shmop.php |
dc38d397 | 1675 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1676 | Provides: php(sysvshm) |
c2388c7d | 1677 | |
1678 | %description sysvshm | |
e584ad6b JB |
1679 | This is a dynamic shared object (DSO) for PHP that will add SysV |
1680 | Shared Memory support. | |
c2388c7d | 1681 | |
ec7f2789 JR |
1682 | %description sysvshm -l pl.UTF-8 |
1683 | Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV. | |
c4161e98 | 1684 | |
ead69ae5 ER |
1685 | %package tests |
1686 | Summary: Contains unit test files for PHP and extensions | |
1687 | Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń | |
1688 | Group: Libraries | |
1689 | URL: http://qa.php.net/ | |
1690 | Requires: %{name}-cli | |
1691 | ||
1692 | %description tests | |
1693 | This package contains unit tests for PHP and it's extensions. | |
1694 | ||
1695 | %description tests -l pl.UTF-8 | |
1696 | Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń | |
1697 | ||
8c91402c AM |
1698 | %package tidy |
1699 | Summary: Tidy extension module for PHP | |
86784db6 | 1700 | Summary(pl.UTF-8): Moduł Tidy dla PHP |
8c91402c | 1701 | Group: Libraries |
d2cc522b | 1702 | URL: http://www.php.net/manual/en/book.tidy.php |
8c91402c | 1703 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
b80a7e2c | 1704 | Requires: tidy |
2e5b56fc | 1705 | Provides: php(tidy) |
8c91402c AM |
1706 | |
1707 | %description tidy | |
1708 | This is a dynamic shared object (DSO) for PHP that will add Tidy | |
1709 | support. | |
1710 | ||
ec7f2789 JR |
1711 | %description tidy -l pl.UTF-8 |
1712 | Moduł PHP umożliwiający korzystanie z tidy. | |
8c91402c | 1713 | |
f476635d ER |
1714 | %package tokenizer |
1715 | Summary: tokenizer extension module for PHP | |
86784db6 | 1716 | Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP |
f476635d | 1717 | Group: Libraries |
d2cc522b | 1718 | URL: http://www.php.net/manual/en/book.tokenizer.php |
f476635d | 1719 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1720 | Provides: php(tokenizer) |
f476635d ER |
1721 | |
1722 | %description tokenizer | |
1723 | This is a dynamic shared object (DSO) for PHP that will add tokenizer | |
1724 | support. | |
1725 | ||
ec7f2789 JR |
1726 | %description tokenizer -l pl.UTF-8 |
1727 | Moduł PHP dodający obsługę tokenizera do PHP. | |
c1b8af09 | 1728 | |
c4161e98 | 1729 | %package wddx |
1730 | Summary: wddx extension module for PHP | |
86784db6 | 1731 | Summary(pl.UTF-8): Moduł wddx dla PHP |
c4161e98 | 1732 | Group: Libraries |
d2cc522b | 1733 | URL: http://www.php.net/manual/en/book.wddx.php |
21169c08 | 1734 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
d905601a ER |
1735 | # - wddx doesn't require session as it's disabled at compile time: |
1736 | # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | |
1737 | # see also php.spec#rev1.120.2.22 | |
1738 | #Requires: %{name}-session = %{epoch}:%{version}-%{release} | |
037da132 | 1739 | Requires: %{name}-xml = %{epoch}:%{version}-%{release} |
2e5b56fc | 1740 | Provides: php(wddx) |
c4161e98 | 1741 | |
1742 | %description wddx | |
e584ad6b JB |
1743 | This is a dynamic shared object (DSO) for PHP that will add wddx |
1744 | support. | |
c4161e98 | 1745 | |
ec7f2789 JR |
1746 | %description wddx -l pl.UTF-8 |
1747 | Moduł PHP umożliwiający korzystanie z wddx. | |
6997cdef | 1748 | |
c2388c7d | 1749 | %package xml |
1750 | Summary: XML extension module for PHP | |
86784db6 | 1751 | Summary(pl.UTF-8): Moduł XML dla PHP |
386054ee | 1752 | Group: Libraries |
d2cc522b | 1753 | URL: http://www.php.net/manual/en/book.xml.php |
dc38d397 | 1754 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1755 | Provides: php(xml) |
386054ee | 1756 | |
c2388c7d | 1757 | %description xml |
e584ad6b JB |
1758 | This is a dynamic shared object (DSO) for PHP that will add XML |
1759 | support. This extension lets you create XML parsers and then define | |
1760 | handlers for different XML events. | |
386054ee | 1761 | |
ec7f2789 JR |
1762 | %description xml -l pl.UTF-8 |
1763 | Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń | |
1764 | związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i | |
1765 | następnie definiować procedury obsługi dla różnych zdarzeń XML. | |
386054ee | 1766 | |
768d3bda AM |
1767 | %package xmlreader |
1768 | Summary: XML Reader extension module for PHP | |
86784db6 | 1769 | Summary(pl.UTF-8): Moduł XML Reader dla PHP |
768d3bda | 1770 | Group: Libraries |
d2cc522b | 1771 | URL: http://www.php.net/manual/en/book.xmlreader.php |
768d3bda | 1772 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
ad2a2d7c | 1773 | Suggests: %{name}-dom = %{epoch}:%{version}-%{release} |
2e5b56fc | 1774 | Provides: php(xmlreader) |
768d3bda AM |
1775 | |
1776 | %description xmlreader | |
1777 | This is a dynamic shared object (DSO) for PHP that will add XML Reader | |
1778 | support. The XMLReader extension is an XML Pull parser. The reader | |
1779 | acts as a cursor going forward on the document stream and stopping at | |
1780 | each node on the way. | |
1781 | ||
ec7f2789 JR |
1782 | %description xmlreader -l pl.UTF-8 |
1783 | Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik | |
1784 | działa jako kursor przechodzący przez strumień dokumentu i | |
1785 | zatrzymujący się na każdym węźle po drodze. | |
768d3bda | 1786 | |
c2388c7d | 1787 | %package xmlrpc |
1788 | Summary: xmlrpc extension module for PHP | |
86784db6 | 1789 | Summary(pl.UTF-8): Moduł xmlrpc dla PHP |
1adf90d7 | 1790 | Group: Libraries |
d2cc522b | 1791 | URL: http://www.php.net/manual/en/book.xmlrpc.php |
dc38d397 | 1792 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
37873df0 | 1793 | Requires: %{name}-xml = %{epoch}:%{version}-%{release} |
2e5b56fc | 1794 | Provides: php(xmlrpc) |
1adf90d7 | 1795 | |
c2388c7d | 1796 | %description xmlrpc |
e584ad6b JB |
1797 | This is a dynamic shared object (DSO) for PHP that will add XMLRPC |
1798 | support. | |
1adf90d7 | 1799 | |
ec7f2789 JR |
1800 | %description xmlrpc -l pl.UTF-8 |
1801 | Moduł PHP dodający obsługę XMLRPC. | |
c2388c7d | 1802 | |
86ceb323 | 1803 | %package xmlwriter |
05582439 | 1804 | Summary: Fast, non-cached, forward-only means to write XML data |
86784db6 | 1805 | Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML |
86ceb323 | 1806 | Group: Libraries |
d2cc522b | 1807 | URL: http://www.php.net/manual/en/book.xmlwriter.php |
86ceb323 ER |
1808 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1809 | Provides: php(xmlwriter) | |
15f70a0e | 1810 | Obsoletes: php-pecl-xmlwriter |
86ceb323 ER |
1811 | |
1812 | %description xmlwriter | |
1813 | This extension wraps the libxml xmlWriter API. Represents a writer | |
1814 | that provides a non-cached, forward-only means of generating streams | |
1815 | or files containing XML data. | |
1816 | ||
ec7f2789 JR |
1817 | %description xmlwriter -l pl.UTF-8 |
1818 | To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę | |
1819 | zapisu dostarczającą nie cachowanych metod generowania strumieni lub | |
1820 | plików zawierających dane XML. | |
86ceb323 | 1821 | |
dc49e336 JB |
1822 | %package xsl |
1823 | Summary: xsl extension module for PHP | |
86784db6 | 1824 | Summary(pl.UTF-8): Moduł xsl dla PHP |
dc49e336 | 1825 | Group: Libraries |
d2cc522b | 1826 | URL: http://www.php.net/manual/en/book.xsl.php |
dc49e336 | 1827 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
dbd7433e | 1828 | Requires: %{name}-dom = %{epoch}:%{version}-%{release} |
dc49e336 | 1829 | Requires: libxslt >= 1.0.18 |
737e42ad | 1830 | # actually not true, functionality is similar, but API differs |
2e5b56fc | 1831 | Provides: php(xsl) |
737e42ad | 1832 | Obsoletes: php-xslt <= 3:4.3.8-1 |
dc49e336 JB |
1833 | |
1834 | %description xsl | |
1835 | This is a dynamic shared object (DSO) for PHP that will add new XSL | |
1836 | support (using libxslt). | |
1837 | ||
ec7f2789 JR |
1838 | %description xsl -l pl.UTF-8 |
1839 | Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt). | |
dc49e336 | 1840 | |
b27cf2ef ER |
1841 | %package zip |
1842 | Summary: Zip management extension | |
86784db6 | 1843 | Summary(pl.UTF-8): Zarządzanie archiwami zip |
b27cf2ef | 1844 | Group: Libraries |
d2cc522b | 1845 | URL: http://www.php.net/manual/en/book.zip.php |
b27cf2ef | 1846 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1847 | Provides: php(zip) |
5cad965e | 1848 | Obsoletes: php-pecl-zip |
80ce3c84 | 1849 | %{?with_system_libzip:Requires: libzip >= 0.10-3} |
b27cf2ef ER |
1850 | |
1851 | %description zip | |
1852 | Zip is an extension to create, modify and read zip files. | |
1853 | ||
ec7f2789 JR |
1854 | %description zip -l pl.UTF-8 |
1855 | Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz | |
1856 | odczyt archiwów zip. | |
b27cf2ef | 1857 | |
c2388c7d | 1858 | %package zlib |
1859 | Summary: Zlib extension module for PHP | |
86784db6 | 1860 | Summary(pl.UTF-8): Moduł zlib dla PHP |
7bd1e950 | 1861 | Group: Libraries |
d2cc522b | 1862 | URL: http://www.php.net/manual/en/book.zlib.php |
dc38d397 | 1863 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1864 | Provides: php(zlib) |
7bd1e950 | 1865 | |
c2388c7d | 1866 | %description zlib |
e584ad6b JB |
1867 | This is a dynamic shared object (DSO) for PHP that will add zlib |
1868 | compression support to PHP. | |
7bd1e950 | 1869 | |
ec7f2789 JR |
1870 | %description zlib -l pl.UTF-8 |
1871 | Moduł PHP umożliwiający używanie kompresji zlib. | |
7bd1e950 | 1872 | |
9af2b7db | 1873 | %prep |
01c5c3b4 | 1874 | %setup -q |
02d06c8c ER |
1875 | # for suhosin patch |
1876 | %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp | |
1877 | ||
554abb27 | 1878 | %patch0 -p1 |
670f5db5 | 1879 | %patch1 -p1 |
f1d1175f | 1880 | %patch2 -p1 |
670f5db5 | 1881 | %patch3 -p1 |
c027c256 | 1882 | %patch4 -p1 |
12295c68 | 1883 | %patch5 -p1 |
6ab586ad | 1884 | %patch6 -p1 |
e584ad6b | 1885 | %patch7 -p1 |
8a574ba7 | 1886 | %patch8 -p1 |
fcc61680 | 1887 | %patch9 -p1 |
78987c05 | 1888 | |
8c91402c | 1889 | cp php.ini-dist php.ini |
2179215d | 1890 | %patch10 -p1 |
8c91402c AM |
1891 | # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked |
1892 | # conditionally... | |
2179215d | 1893 | %patch11 -p1 |
189be387 | 1894 | %patch12 -p1 |
d76e208d JB |
1895 | %patch13 -p1 |
1896 | %patch14 -p1 | |
1897 | %patch15 -p1 | |
86334d82 | 1898 | %patch16 -p1 |
37c3c2bc | 1899 | %patch17 -p1 |
37c3c2bc | 1900 | %patch18 -p1 |
a04a599a | 1901 | %if %{with system_gd} |
9062e238 | 1902 | %patch19 -p1 |
a04a599a | 1903 | %endif |
c9f5f7a9 ER |
1904 | %patch20 -p1 |
1905 | %patch21 -p1 | |
e048c127 | 1906 | %patch22 -p1 |
d76e208d JB |
1907 | %patch23 -p1 |
1908 | %patch24 -p1 | |
d350ae54 | 1909 | |
e048c127 | 1910 | %{?with_versioning:%patch25 -p1} |
d350ae54 | 1911 | |
df532740 | 1912 | %if 0 |
cd8fb0ff | 1913 | %{__tar} jxf %{SOURCE9} |
8a574ba7 ER |
1914 | v=%{SOURCE9} v=${v#*/php-patchset-} v=${v%%-*} |
1915 | mv $v/$v gentoo-patchset | |
8a574ba7 ER |
1916 | for a in gentoo-patchset/*.patch; do |
1917 | %{__patch} -p1 < $a | |
cd8fb0ff | 1918 | done |
df532740 | 1919 | %endif |
cd8fb0ff | 1920 | |
e048c127 AG |
1921 | %patch26 -p1 |
1922 | %patch27 -p1 | |
d76e208d JB |
1923 | %patch28 -p1 |
1924 | %patch29 -p1 | |
be32344e | 1925 | %patch30 -p1 |
e048c127 | 1926 | #%patch31 -p1 |
d9ca6315 | 1927 | %patch32 -p1 |
e048c127 | 1928 | %patch33 -p1 |
1cb33721 | 1929 | %if "%{pld_release}" != "ac" |
e048c127 | 1930 | %patch34 -p1 |
1cb33721 | 1931 | %endif |
e048c127 | 1932 | %patch35 -p1 |
fed87879 | 1933 | |
cd8fb0ff | 1934 | # mysql default charset for mysql/mysql/pdo-mysql extensions |
e048c127 AG |
1935 | %patch36 -p1 |
1936 | %patch37 -p0 | |
1937 | %patch38 -p0 | |
cd8fb0ff | 1938 | |
e048c127 | 1939 | %patch39 -p1 |
b912d41a | 1940 | |
5473c982 | 1941 | %if %{with fpm} |
e048c127 AG |
1942 | %patch40 -p1 |
1943 | %patch41 -p1 | |
1944 | %patch42 -p1 | |
5473c982 ER |
1945 | %endif |
1946 | ||
1aabe7f5 | 1947 | %patch43 -p1 |
e048c127 | 1948 | %patch44 -p1 |
80df882a ER |
1949 | %patch45 -p1 |
1950 | %patch46 -p1 | |
0ba99749 ER |
1951 | %if %{with suhosin} |
1952 | %patch47 -p1 | |
1953 | %endif | |
eef8ca93 | 1954 | %patch49 -p1 |
d7726a00 | 1955 | %patch50 -p1 |
9fff5411 | 1956 | %patch51 -p1 |
83132773 | 1957 | %patch52 -p1 |
b59d43dc | 1958 | %patch53 -p1 |
1b424843 | 1959 | %patch54 -p1 |
fefcf5a9 | 1960 | %patch55 -p1 |
5598b2ed | 1961 | %patch56 -p1 |
090ffec7 | 1962 | %patch57 -p1 |
c15083d0 | 1963 | %patch58 -p4 |
e7819c98 | 1964 | %patch59 -p1 |
80ce3c84 | 1965 | %{?with_system_libzip:%patch65 -p1} |
34d785ef | 1966 | |
fb98beff ER |
1967 | %patch201 -p1 -b .CVE-2011-2202 |
1968 | %patch202 -p1 -b .CVE-2011-1938 | |
1969 | %patch203 -p1 -b .CVE-2011-1148 | |
1970 | %patch204 -p1 -b .CVE-2011-0708 | |
1971 | %patch205 -p1 -b .CVE-2011-1092 | |
82f6b657 | 1972 | %patch206 -p1 -b .CVE-2011-0421 |
fb98beff ER |
1973 | |
1974 | # Bugfix backport from 5.3.6 | |
1975 | %patch301 -p1 -b .bug-54055 | |
1976 | %patch302 -p1 -b .bug-53577 | |
1977 | %patch303 -p1 -b .bug-48484 | |
1978 | %patch304 -p1 -b .bug-48607 | |
1979 | %patch305 -p1 -b .bug-53574 | |
1980 | %patch306 -p1 -b .bug-52290 | |
1981 | %patch307 -p1 -b .bug-52063 | |
1982 | %patch308 -p1 -b .bug-53924 | |
1983 | %patch309 -p1 -b .bug-53150 | |
1984 | %patch310 -p1 -b .bug-52209 | |
1985 | %patch311 -p1 -b .bug-47435 | |
1986 | %patch312 -p1 -b .bug-53377 | |
1987 | %patch313 -p1 -b .bug-39847 | |
1988 | %patch314 -p1 -b .bug-39199 | |
1989 | %patch315 -p1 -b .bug-53630 | |
1990 | %patch316 -p1 -b .bug-51336 | |
1991 | %patch317 -p1 -b .bug-53515 | |
1992 | %patch318 -p1 -b .bug-54092 | |
1993 | %patch319 -p1 -b .bug-53903 | |
1994 | %patch320 -p1 -b .bug-54089 | |
1995 | %patch321 -p1 -b .bug-53603 | |
1996 | %patch322 -p1 -b .bug-53854 | |
1997 | %patch323 -p1 -b .bug-53579 | |
1998 | %patch324 -p1 -b .bug-53568 | |
1999 | %patch325 -p1 -b .bug-49072 | |
2000 | # Bugfix backport from 5.3.7 | |
2001 | %patch330 -p1 -b .bug-55399 | |
2002 | %patch331 -p1 -b .bug-55082 | |
2003 | %patch332 -p1 -b .bug-55014 | |
2004 | #accert %patch333 -p1 -b .bug-54924 | |
2005 | %patch334 -p1 -b .bug-54180 | |
2006 | %patch335 -p1 -b .bug-54137 | |
2007 | %patch336 -p1 -b .bug-53848 | |
2008 | %patch337 -p1 -b .bug-52935 | |
2009 | %patch338 -p1 -b .bug-51997 | |
2010 | %patch339 -p1 -b .bug-50363 | |
2011 | %patch340 -p1 -b .bug-48465 | |
2012 | %patch341 -p1 -b .bug-54529 | |
2013 | %patch342 -p1 -b .bug-52496 | |
2014 | %patch343 -p1 -b .bug-54242 | |
2015 | %patch344 -p1 -b .bug-54121 | |
2016 | %patch345 -p1 -b .bug-53037 | |
2017 | %patch346 -p1 -b .bug-54269 | |
2018 | %patch347 -p1 -b .bug-54601 | |
2019 | %patch348 -p1 -b .bug-54440 | |
2020 | %patch349 -p1 -b .bug-54494 | |
2021 | %patch350 -p1 -b .bug-54221 | |
2022 | %patch351 -p1 -b .bug-52104 | |
2023 | %patch352 -p1 -b .bug-54329 | |
2024 | %patch353 -p1 -b .bug-53782 | |
2025 | %patch354 -p1 -b .bug-54318 | |
2026 | #soap %patch355 -p1 -b .bug-55323 | |
2027 | %patch356 -p1 -b .bug-54312 | |
2028 | %patch357 -p1 -b .bug-51958 | |
2029 | %patch358 -p1 -b .bug-54946 | |
82f6b657 ER |
2030 | %patch359 -p1 -b .CVE-2011-4566 |
2031 | %patch360 -p1 -b .bug-60206 | |
2032 | %patch361 -p1 -b .bug-60138 | |
2033 | %patch362 -p1 -b .bug-60120 | |
2034 | %patch363 -p1 -b .bug-55674 | |
2035 | %patch364 -p1 -b .bug-55509 | |
2036 | %patch365 -p1 -b .bug-55504 | |
2037 | %patch366 -p1 -b .bug-52461 | |
2038 | %patch367 -p1 -b .bug-55366 | |
2039 | %patch368 -p1 -b .bug-55273 | |
2040 | %patch369 -p1 -b .bug-52624 | |
2041 | %patch370 -p1 -b .bug-43200 | |
2042 | %patch371 -p1 -b .bug-54682 | |
2043 | %patch372 -p1 -b .bug-60455 | |
2044 | %patch373 -p1 -b .bug-60183 | |
2045 | %patch374 -p1 -b .bug-55478 | |
2046 | ||
2047 | %patch400 -p1 -b .php-5.2-max-input-vars | |
2048 | %patch401 -p1 -b .bug-323007 | |
fb98beff | 2049 | |
9e22b6ba JB |
2050 | # conflict seems to be resolved by recode patches |
2051 | rm -f ext/recode/config9.m4 | |
2052 | ||
f4359077 ER |
2053 | # remove all bundled libraries not to link with them accidentally |
2054 | #rm -rf ext/sqlite/libsqlite | |
2055 | #rm -rf ext/bcmath/libbcmath | |
2056 | #rm -rf ext/date/lib | |
2057 | #rm -rf ext/dba/libcdb | |
2058 | #rm -rf ext/dba/libflatfile | |
2059 | #rm -rf ext/dba/libinifile | |
2060 | #rm -rf ext/gd/libgd | |
b1b8d706 | 2061 | #rm -rf ext/mbstring/libmbfl |
f4359077 ER |
2062 | #rm -rf ext/mbstring/oniguruma |
2063 | rm -rf ext/pcre/pcrelib | |
2064 | rm -rf ext/pdo_sqlite/sqlite | |
2065 | #rm -rf ext/soap/interop | |
4fd5db0f | 2066 | %if %{with system_xmlrpc_epi} |
f4359077 | 2067 | rm -rf ext/xmlrpc/libxmlrpc |
d9ca6315 | 2068 | %endif |
f4359077 | 2069 | |
37873df0 ER |
2070 | %ifarch ppc ppc64 |
2071 | # this test hungs on ac-ppc | |
2072 | #mv ext/reflection/tests/007.php{,ignore} | |
2073 | # this test gets killed by itself | |
2074 | mv ext/standard/tests/general_functions/bug39322.phpt{,.broken} | |
2075 | %endif | |
2076 | ||
9fff5411 | 2077 | cp -af Zend/LICENSE{,.Zend} |
d905601a | 2078 | install -p %{SOURCE13} dep-tests.sh |
6756a8ae | 2079 | |
ead69ae5 ER |
2080 | # disable broken tests |
2081 | # says just "Terminated" twice and fails | |
2082 | mv sapi/cli/tests/022.phpt{,.broken} | |
2083 | ||
2084 | sh -xe %{_sourcedir}/skip-tests.sh | |
2085 | ||
9af2b7db | 2086 | %build |
6756a8ae ER |
2087 | API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) |
2088 | if [ $API != %{php_api_version} ]; then | |
2089 | echo "Set %%define php_api_version to $API and re-run." | |
17c07ea5 ER |
2090 | exit 1 |
2091 | fi | |
2092 | ||
6756a8ae ER |
2093 | API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) |
2094 | if [ $API != %{zend_module_api} ]; then | |
2095 | echo "Set %%define zend_module_api to $API and re-run." | |
17c07ea5 ER |
2096 | exit 1 |
2097 | fi | |
2098 | ||
6756a8ae ER |
2099 | API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) |
2100 | if [ $API != %{zend_extension_api} ]; then | |
2101 | echo "Set %%define zend_extension_api to $API and re-run." | |
17c07ea5 ER |
2102 | exit 1 |
2103 | fi | |
2104 | ||
98ab5057 | 2105 | export EXTENSION_DIR="%{php_extensiondir}" |
3f700db8 | 2106 | if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes) |
5473c982 | 2107 | rm -f Makefile.{fcgi,fpm,cgi,cli,apxs{1,2}} # now remove Makefile copies |
3f700db8 ER |
2108 | %{__libtoolize} |
2109 | %{__aclocal} | |
8b0a87ec | 2110 | cp -f /usr/share/automake/config.* . |
678e6844 | 2111 | ./buildconf --force |
3f700db8 ER |
2112 | touch _built-conf |
2113 | fi | |
98ab5057 | 2114 | export PROG_SENDMAIL="/usr/lib/sendmail" |
3f700db8 ER |
2115 | |
2116 | sapis=" | |
e8c48c38 | 2117 | %if %{with fcgi} |
c1f4c189 | 2118 | fcgi |
e8c48c38 | 2119 | %endif |
5473c982 ER |
2120 | %if %{with fpm} |
2121 | fpm | |
2122 | %endif | |
e8c48c38 | 2123 | cgi cli |
3f700db8 ER |
2124 | %if %{with apache1} |
2125 | apxs1 | |
43fe8384 | 2126 | %endif |
3f700db8 ER |
2127 | %if %{with apache2} |
2128 | apxs2 | |
2129 | %endif | |
2130 | " | |
2131 | for sapi in $sapis; do | |
189be387 | 2132 | : SAPI $sapi |
3f700db8 ER |
2133 | [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes) |
2134 | ||
189be387 | 2135 | sapi_args='' |
3f700db8 ER |
2136 | case $sapi in |
2137 | cgi) | |
228ae8d4 | 2138 | sapi_args='--disable-cli --enable-discard-path --enable-force-cgi-redirect' |
189be387 | 2139 | ;; |
3f700db8 | 2140 | cli) |
189be387 ER |
2141 | sapi_args='--disable-cgi' |
2142 | ;; | |
3f700db8 | 2143 | fcgi) |
364f396b | 2144 | sapi_args='--disable-cli --enable-fastcgi --enable-force-cgi-redirect' |
189be387 | 2145 | ;; |
5473c982 | 2146 | fpm) |
364f396b | 2147 | sapi_args='--disable-cli --enable-fastcgi --enable-force-cgi-redirect --enable-fpm' |
5473c982 | 2148 | ;; |
3f700db8 | 2149 | apxs1) |
189be387 | 2150 | ver=$(rpm -q --qf '%{V}' apache1-devel) |
228ae8d4 | 2151 | sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver" |
189be387 | 2152 | ;; |
3f700db8 | 2153 | apxs2) |
189be387 | 2154 | ver=$(rpm -q --qf '%{V}' apache-devel) |
228ae8d4 | 2155 | sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver" |
189be387 | 2156 | ;; |
3f700db8 | 2157 | esac |
189be387 ER |
2158 | |
2159 | %configure \ | |
2160 | $sapi_args \ | |
996cde82 | 2161 | %if "%{!?configure_cache:0}%{?configure_cache}" == "0" |
3f700db8 | 2162 | --cache-file=config.cache \ |
996cde82 | 2163 | %endif |
768d3bda | 2164 | --with-libdir=%{_lib} \ |
6ee9f55b ER |
2165 | --with-config-file-path=%{_sysconfdir} \ |
2166 | --with-config-file-scan-dir=%{_sysconfdir}/conf.d \ | |
9af2b7db | 2167 | --with-exec-dir=%{_bindir} \ |
e7819c98 | 2168 | --with-system-tzdata \ |
38c4a978 | 2169 | --%{!?debug:dis}%{?debug:en}able-debug \ |
1a64b68d | 2170 | %{?with_zts:--enable-maintainer-zts} \ |
0ba99749 | 2171 | %{?with_suhosin:--enable-suhosin} \ |
08f1644c | 2172 | %{?with_zend_multibyte:--enable-zend-multibyte} \ |
3b414131 | 2173 | --enable-inline-optimization \ |
38c4a978 | 2174 | --enable-bcmath=shared \ |
2175 | --enable-calendar=shared \ | |
c2388c7d | 2176 | --enable-ctype=shared \ |
38c4a978 | 2177 | --enable-dba=shared \ |
51312e8d | 2178 | --enable-dom=shared \ |
38c4a978 | 2179 | --enable-exif=shared \ |
8c91402c | 2180 | --enable-ftp=shared \ |
38c4a978 | 2181 | --enable-gd-native-ttf \ |
6d4619bb | 2182 | %{?with_gd_jis_conv:--enable-gd-jis-conv} \ |
768d3bda | 2183 | --enable-libxml \ |
9af2b7db | 2184 | --enable-magic-quotes \ |
08f1644c | 2185 | --enable-mbstring=%{?!with_zend_multibyte:shared,}all \ |
8c91402c | 2186 | --enable-mbregex \ |
010f42f4 | 2187 | --enable-pcntl=shared \ |
768d3bda | 2188 | --enable-pdo=shared \ |
86ceb323 | 2189 | --enable-json=shared \ |
d7726a00 | 2190 | --enable-hash=shared \ |
86ceb323 | 2191 | --enable-xmlwriter=shared \ |
5473c982 ER |
2192 | %if %{with fpm} |
2193 | --with-fpm-conf=%{_sysconfdir}/fpm.conf \ | |
2194 | --with-fpm-log=/var/log/fpm.log \ | |
2195 | --with-fpm-pid=/var/run/php/fpm.pid \ | |
2196 | %endif | |
768d3bda AM |
2197 | %if %{with mssql} || %{with sybase} || %{with sybase_ct} |
2198 | --with-pdo-dblib=shared \ | |
2199 | %endif | |
f6477c6e | 2200 | %if %{with interbase} && !%{with interbase_inst} |
75f51563 | 2201 | --with-pdo-firebird=shared,/usr \ |
768d3bda AM |
2202 | %endif |
2203 | --with-pdo-mysql=shared \ | |
d902abac | 2204 | %{?with_oci8:--with-pdo-oci=shared} \ |
768d3bda AM |
2205 | %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \ |
2206 | %{?with_pgsql:--with-pdo-pgsql=shared} \ | |
f4359077 | 2207 | %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \ |
38c4a978 | 2208 | --enable-posix=shared \ |
e2fdd525 | 2209 | --enable-reflection \ |
b9e5df0a | 2210 | --enable-shared \ |
42e470ec | 2211 | --enable-session=shared \ |
38c4a978 | 2212 | --enable-shmop=shared \ |
f445ad01 | 2213 | --enable-simplexml=shared \ |
9fff5411 | 2214 | --enable-spl=shared \ |
e584ad6b | 2215 | --enable-sysvmsg=shared \ |
defaa0de AF |
2216 | --enable-sysvsem=shared \ |
2217 | --enable-sysvshm=shared \ | |
38c4a978 | 2218 | --enable-safe-mode \ |
ad48e054 | 2219 | --enable-soap=shared \ |
38c4a978 | 2220 | --enable-sockets=shared \ |
f476635d | 2221 | --enable-tokenizer=shared \ |
38c4a978 | 2222 | --enable-ucd-snmp-hack \ |
6f91d99f | 2223 | %{?with_wddx:--enable-wddx=shared} \ |
3f51cc4a | 2224 | --enable-xml=shared \ |
b1b8d706 | 2225 | --enable-xmlreader=shared \ |
253c0459 | 2226 | --with-bz2=shared \ |
6f91d99f | 2227 | %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \ |
62493084 | 2228 | --with-db4 \ |
768d3bda | 2229 | --enable-dbase=shared \ |
364f396b | 2230 | --without-libexpat-dir \ |
6f91d99f | 2231 | %{?with_fdf:--with-fdftk=shared} \ |
c2388c7d | 2232 | --with-iconv=shared \ |
38c4a978 | 2233 | --with-freetype-dir=shared \ |
2234 | --with-gettext=shared \ | |
a04a599a | 2235 | --with-gd=shared%{?with_system_gd:,/usr} \ |
38c4a978 | 2236 | --with-gdbm \ |
253c0459 | 2237 | --with-gmp=shared \ |
6f91d99f JB |
2238 | %{?with_imap:--with-imap=shared --with-imap-ssl} \ |
2239 | %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \ | |
8c91402c | 2240 | --with-jpeg-dir=/usr \ |
768d3bda | 2241 | %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \ |
38c4a978 | 2242 | --with-mcrypt=shared \ |
6f91d99f | 2243 | %{?with_mhash:--with-mhash=shared} \ |
a1374ae8 | 2244 | %{?with_mime_magic:--with-mime-magic=shared,%{magic_mime}}%{!?with_mime_magic:--disable-mime-magic} \ |
6f91d99f JB |
2245 | %{?with_ming:--with-ming=shared} \ |
2246 | %{?with_mm:--with-mm} \ | |
6f91d99f | 2247 | %{?with_mssql:--with-mssql=shared} \ |
c2388c7d | 2248 | --with-mysql=shared,/usr \ |
0c2ab910 | 2249 | --with-mysql-sock=/var/lib/mysql/mysql.sock \ |
8b37a21e | 2250 | %{?with_mysqli:--with-mysqli=shared} \ |
e584ad6b | 2251 | --with-ncurses=shared \ |
6f91d99f | 2252 | %{?with_oci8:--with-oci8=shared} \ |
8c91402c | 2253 | %{?with_openssl:--with-openssl=shared} \ |
768d3bda | 2254 | --with-kerberos \ |
51ad3a6d | 2255 | %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \ |
696cac8d | 2256 | %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \ |
ec86be0a | 2257 | --with-pear=%{php_pear_dir} \ |
6f91d99f | 2258 | %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \ |
8c91402c | 2259 | --with-png-dir=/usr \ |
6f91d99f | 2260 | %{?with_pspell:--with-pspell=shared} \ |
e584ad6b | 2261 | --with-readline=shared \ |
6f91d99f | 2262 | %{?with_recode:--with-recode=shared} \ |
38c4a978 | 2263 | --with-regex=php \ |
6f91d99f | 2264 | %{?with_snmp:--with-snmp=shared} \ |
4cc60252 AG |
2265 | %{?with_sybase:--with-sybase=shared,/usr} \ |
2266 | %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \ | |
768d3bda | 2267 | %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \ |
38c4a978 | 2268 | --with-t1lib=shared \ |
8c91402c | 2269 | %{?with_tidy:--with-tidy=shared} \ |
768d3bda | 2270 | %{?with_odbc:--with-unixODBC=shared,/usr} \ |
d9ca6315 | 2271 | %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared%{?with_system_xmlrpc_epi:,/usr}} \ |
dc49e336 | 2272 | --with-xsl=shared \ |
38c4a978 | 2273 | --with-zlib=shared \ |
7aa94fdb | 2274 | --with-zlib-dir=shared,/usr \ |
80ce3c84 | 2275 | %{?with_system_libzip:--with-libzip} \ |
7aa94fdb | 2276 | --enable-zip=shared,/usr \ |
554abb27 | 2277 | |
3f700db8 | 2278 | cp -f Makefile Makefile.$sapi |
3f700db8 | 2279 | cp -f main/php_config.h php_config.h.$sapi |
228ae8d4 | 2280 | cp -f config.log config.log.$sapi |
228fa3d1 | 2281 | done |
38ecdf75 | 2282 | |
d905601a ER |
2283 | # as we build each SAPI in own make, adjust php-config.in forehead |
2284 | sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs) | |
2285 | sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in" | |
2286 | ||
561725b8 ER |
2287 | # must make this first, so modules can link against it. |
2288 | %{__make} libphp_common.la | |
3f700db8 | 2289 | %{__make} build-modules |
554abb27 | 2290 | |
3f700db8 | 2291 | %if %{with apache1} |
189be387 | 2292 | %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1 |
3f700db8 ER |
2293 | %endif |
2294 | ||
2295 | %if %{with apache2} | |
2296 | %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2 | |
3f700db8 | 2297 | %endif |
18ad4238 | 2298 | |
46fa207f AM |
2299 | # CGI |
2300 | cp -af php_config.h.cgi main/php_config.h | |
94308949 | 2301 | rm -rf sapi/cgi/.libs sapi/cgi/*.lo |
189be387 | 2302 | %{__make} sapi/cgi/php-cgi -f Makefile.cgi |
d905601a | 2303 | [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi ] || exit 1 |
4342041a | 2304 | |
5473c982 ER |
2305 | # FCGI |
2306 | %if %{with fcgi} | |
2307 | cp -af php_config.h.fcgi main/php_config.h | |
2308 | rm -rf sapi/cgi/.libs sapi/cgi/*.lo | |
2309 | %{__make} sapi/cgi/php-cgi -f Makefile.fcgi | |
2310 | cp -r sapi/cgi sapi/fcgi | |
d905601a | 2311 | [ "$(echo '<?=php_sapi_name();' | ./sapi/fcgi/php-cgi -qn)" = cgi-fcgi ] || exit 1 |
5473c982 ER |
2312 | %endif |
2313 | ||
2314 | %if %{with fpm} | |
2315 | cp -af php_config.h.fpm main/php_config.h | |
2316 | rm -rf sapi/cgi/.libs sapi/cgi/*.lo | |
2317 | %{__make} sapi/cgi/php-cgi -f Makefile.fpm | |
2318 | cp -r sapi/cgi sapi/fpm | |
d905601a | 2319 | [ "$(echo '<?=php_sapi_name();' | ./sapi/fpm/php-cgi -qn)" = cgi-fcgi ] || exit 1 |
5473c982 ER |
2320 | %endif |
2321 | ||
40b5d82a ER |
2322 | # CLI |
2323 | cp -af php_config.h.cli main/php_config.h | |
2324 | %{__make} sapi/cli/php -f Makefile.cli | |
2325 | [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1 | |
2326 | ||
84217c03 | 2327 | # check for stupid xml parse breakage where < and > just get lost in parse result |
39df0901 | 2328 | ./sapi/cli/php -n -dextension_dir=modules -dextension=xml.so -r '$p = xml_parser_create(); xml_parse_into_struct($p, "<x><</x>", $vals, $index); exit((int )empty($vals[0]["value"]));' |
84217c03 | 2329 | |
94ff62b1 ER |
2330 | # Generate stub .ini files for each extension |
2331 | rm -rf conf.d | |
2332 | install -d conf.d | |
2333 | generate_inifiles() { | |
2334 | for so in modules/*.so; do | |
2335 | mod=$(basename $so .so) | |
2336 | conf="$mod.ini" | |
2337 | # xml needs to be loaded before wddx | |
2338 | [ "$mod" = "wddx" ] && conf="xml_$mod.ini" | |
2339 | # pre needs to be loaded before SPL | |
2340 | [ "$mod" = "pcre" ] && conf="PCRE.ini" | |
2341 | # spl needs to be loaded before mysqli | |
2342 | [ "$mod" = "spl" ] && conf="SPL.ini" | |
9dbbe7dc ER |
2343 | # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql |
2344 | [ "$mod" = "session" ] && conf="Session.ini" | |
94ff62b1 ER |
2345 | echo "+ $conf" |
2346 | cat > conf.d/$conf <<-EOF | |
2347 | ; Enable $mod extension module | |
2348 | extension=$mod.so | |
2349 | EOF | |
2350 | done | |
2351 | } | |
2352 | generate_inifiles | |
2353 | ||
2354 | # Check that the module inner-dependencies are intact | |
eb936718 | 2355 | PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log |
94ff62b1 ER |
2356 | if grep -v OK dep-tests.log; then |
2357 | echo >&2 "The results above were not expected" | |
cb7efe12 ER |
2358 | # TEMP: ac-i386 builder is broken |
2359 | %ifnarch i386 | |
94ff62b1 | 2360 | exit 1 |
cb7efe12 | 2361 | %endif |
94ff62b1 ER |
2362 | fi |
2363 | ||
2364 | ||
aac36e23 | 2365 | %if %{with tests} |
f4625853 | 2366 | # Run tests, using the CLI SAPI |
40b5d82a ER |
2367 | cp -af php_config.h.cli main/php_config.h |
2368 | cp -af Makefile.cli Makefile | |
ead69ae5 ER |
2369 | # sybase modules collide, remove one |
2370 | %{__sed} -i -e '/^PHP_MODULES/s,\$(phplibdir)/sybase_ct.la,,' Makefile | |
ead69ae5 ER |
2371 | |
2372 | cat <<'EOF' > run-tests.sh | |
2373 | #!/bin/sh | |
f4625853 ER |
2374 | export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 |
2375 | unset TZ LANG LC_ALL || : | |
ead69ae5 ER |
2376 | %{__make} test \ |
2377 | EXTENSION_DIR=. \ | |
2378 | PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \ | |
2379 | RUN_TESTS_SETTINGS="-q $*" | |
2380 | EOF | |
2381 | chmod +x run-tests.sh | |
2382 | ./run-tests.sh -w failed.log -s test.log | |
2383 | ||
2384 | # collect failed tests into cleanup script used in prep. | |
2385 | sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log | |
2386 | sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \ | |
2387 | >> %{_sourcedir}/skip-tests.sh | |
2388 | ||
2389 | failed=$(wc -l < tests-failed.log) | |
2390 | if [ "$failed" != 0 ]; then | |
2391 | exit 1 | |
2392 | fi | |
aac36e23 | 2393 | %endif |
f4625853 | 2394 | |
9af2b7db AF |
2395 | %install |
2396 | rm -rf $RPM_BUILD_ROOT | |
6ee9f55b | 2397 | install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \ |
b21fb6bb | 2398 | $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \ |
6756a8ae | 2399 | $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \ |
d7cc709f | 2400 | $RPM_BUILD_ROOT%{_mandir}/man1 \ |
3f700db8 | 2401 | |
e99beedb | 2402 | # install the Apache modules' files |
561725b8 ER |
2403 | %{__make} install-headers install-build install-modules install-programs \ |
2404 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
2405 | ||
e99beedb | 2406 | # install Apache1 DSO module |
3f700db8 | 2407 | %if %{with apache1} |
561725b8 | 2408 | libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1 |
6e4962cf | 2409 | %endif |
345124d0 | 2410 | |
e99beedb | 2411 | # install Apache2 DSO module |
3f700db8 | 2412 | %if %{with apache2} |
561725b8 | 2413 | libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache |
3f700db8 ER |
2414 | %endif |
2415 | ||
2416 | libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir} | |
8005e5bb ER |
2417 | # fix install paths, avoid evil rpaths |
2418 | sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la | |
2419 | # better solution? | |
2420 | sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4 | |
3f700db8 | 2421 | |
3f700db8 | 2422 | # install CGI |
00d653fe | 2423 | libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi |
3f700db8 ER |
2424 | |
2425 | # install FCGI | |
e8c48c38 | 2426 | %if %{with fcgi} |
00d653fe | 2427 | libtool --silent --mode=install install sapi/fcgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi |
e8c48c38 | 2428 | %endif |
3f700db8 | 2429 | |
5473c982 ER |
2430 | # install FCGI PM |
2431 | %if %{with fpm} | |
2432 | libtool --silent --mode=install install sapi/fpm/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.fpm | |
2433 | %{__make} install-fpm -f Makefile.fpm \ | |
2434 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
f6612a0b | 2435 | install %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm |
cc810903 ER |
2436 | install -d $RPM_BUILD_ROOT/etc/logrotate.d |
2437 | install %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm | |
5473c982 ER |
2438 | %endif |
2439 | ||
3f700db8 ER |
2440 | # install CLI |
2441 | libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli | |
2442 | install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1 | |
194505ba | 2443 | echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1 |
4342041a | 2444 | |
fa8f481d | 2445 | ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php |
345124d0 | 2446 | |
6ee9f55b | 2447 | sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini |
e8c48c38 | 2448 | %if %{with fcgi} |
6ee9f55b | 2449 | install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini |
e8c48c38 | 2450 | %endif |
6ee9f55b ER |
2451 | install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini |
2452 | install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini | |
2453 | install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini | |
3f700db8 | 2454 | |
aa39c584 | 2455 | %if %{with apache1} |
eecec635 | 2456 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf |
6ee9f55b | 2457 | install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini |
09b77d65 | 2458 | rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la |
aa39c584 | 2459 | %endif |
77d149f2 | 2460 | |
aa39c584 | 2461 | %if %{with apache2} |
eecec635 | 2462 | install %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf |
6ee9f55b | 2463 | install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini |
09b77d65 | 2464 | rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la |
aa39c584 | 2465 | %endif |
c2388c7d | 2466 | |
6ee9f55b | 2467 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d |
94ff62b1 | 2468 | cp -a conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d |
3f700db8 | 2469 | |
dbfbeab3 | 2470 | # per SAPI ini directories |
6ee9f55b | 2471 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d |
dbfbeab3 ER |
2472 | |
2473 | # for CLI SAPI only | |
eac2ca8b | 2474 | mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,readline}.ini,cli.d} |
e584ad6b | 2475 | |
6b2e14c1 | 2476 | # use system automake and {lib,sh}tool |
1cc99586 | 2477 | %if "%{pld_release}" != "ac" |
1cb33721 ER |
2478 | ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build |
2479 | for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do | |
2480 | ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build | |
2481 | done | |
2482 | ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build | |
1cc99586 | 2483 | %else |
1cb33721 ER |
2484 | ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build |
2485 | ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build | |
1cc99586 | 2486 | %endif |
6b2e14c1 ER |
2487 | ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build |
2488 | ||
c57891a4 ER |
2489 | # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h |
2490 | # isn't installed by install-headers make target, we do it manually here. | |
2491 | # this header file is required by e.g. filter PECL extension | |
2492 | install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h | |
93945336 ER |
2493 | # for php-pecl-mailparse |
2494 | install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring | |
2495 | cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring | |
c57891a4 | 2496 | |
ead69ae5 ER |
2497 | # tests |
2498 | install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php | |
2499 | install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php | |
2500 | cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php | |
2501 | ||
61fcf132 | 2502 | # /var/run/php is in php-dirs, here conflicts with __spec_install_post_check_tmpfiles macro |
2503 | rmdir $RPM_BUILD_ROOT/var/run/php | |
2504 | ||
38c4a978 | 2505 | %clean |
2506 | rm -rf $RPM_BUILD_ROOT | |
2507 | ||
3f700db8 ER |
2508 | %post -n apache1-mod_php |
2509 | if [ "$1" = "1" ]; then | |
2510 | %service -q apache restart | |
2511 | fi | |
2512 | ||
2513 | %postun -n apache1-mod_php | |
0b8eb3e3 | 2514 | if [ "$1" = "0" ]; then |
3f700db8 ER |
2515 | %service -q apache restart |
2516 | fi | |
2517 | ||
2518 | %post -n apache-mod_php | |
2519 | if [ "$1" = "1" ]; then | |
2520 | %service -q httpd restart | |
2521 | fi | |
2522 | ||
2523 | %postun -n apache-mod_php | |
2524 | if [ "$1" = "0" ]; then | |
2525 | %service -q httpd restart | |
2526 | fi | |
2527 | ||
be751de4 ER |
2528 | %pre fpm |
2529 | %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http | |
2530 | ||
f6612a0b ER |
2531 | %post fpm |
2532 | /sbin/chkconfig --add php-fpm | |
2533 | %service php-fpm restart | |
2534 | ||
2535 | %preun fpm | |
2536 | if [ "$1" = 0 ]; then | |
2537 | %service php-fpm stop | |
2538 | /sbin/chkconfig --del php-fpm | |
2539 | fi | |
2540 | ||
be751de4 ER |
2541 | %postun fpm |
2542 | if [ "$1" = "0" ]; then | |
2543 | %userremove http | |
2544 | fi | |
2545 | ||
c2388c7d | 2546 | %post common -p /sbin/ldconfig |
4e86443d | 2547 | %postun common -p /sbin/ldconfig |
228fa3d1 | 2548 | |
4e86443d ER |
2549 | %posttrans common |
2550 | # minimizing apache restarts logics. we restart webserver: | |
2551 | # | |
2552 | # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2) | |
2553 | # 2. first install of extension (post: $1 = 1) | |
2554 | # 2. uninstall of extension (postun: $1 == 0) | |
2555 | # | |
2556 | # the strict internal deps between extensions (and apache modules) and | |
2557 | # common package are very important for all this to work. | |
2558 | ||
2559 | # restart webserver at the end of transaction | |
3f700db8 | 2560 | [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart |
6756a8ae | 2561 | [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart |
253c0459 | 2562 | |
3b414131 ER |
2563 | %if %{with apache1} |
2564 | %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11 | |
2565 | sed -i -e ' | |
2566 | /^AddType application\/x-httpd-php \.php/s,^,#, | |
2567 | /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d | |
2568 | ' /etc/apache/apache.conf | |
2569 | %service -q apache restart | |
2570 | %endif | |
3f700db8 | 2571 | |
3b414131 ER |
2572 | %if %{with apache2} |
2573 | %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1 | |
3f700db8 | 2574 | # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2 |
35a4400e ER |
2575 | if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then |
2576 | cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew} | |
2577 | mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini | |
defaa0de | 2578 | fi |
3f700db8 ER |
2579 | %endif |
2580 | ||
98ab5057 | 2581 | # common macros called at extension post/postun scriptlet |
c7812384 ER |
2582 | %define extension_scripts() \ |
2583 | %post %1 \ | |
98ab5057 ER |
2584 | if [ "$1" = "1" ]; then \ |
2585 | %php_webserver_restart \ | |
0a7bb090 | 2586 | fi \ |
c7812384 ER |
2587 | \ |
2588 | %postun %1 \ | |
98ab5057 ER |
2589 | if [ "$1" = "0" ]; then \ |
2590 | %php_webserver_restart \ | |
2591 | fi | |
0a7bb090 | 2592 | %{nil} |
b27cf2ef | 2593 | |
c7812384 ER |
2594 | # extension scripts defines |
2595 | %extension_scripts bcmath | |
b581f5f2 | 2596 | %extension_scripts bz2 |
c7812384 ER |
2597 | %extension_scripts calendar |
2598 | %extension_scripts ctype | |
2599 | %extension_scripts curl | |
2600 | %extension_scripts dba | |
2601 | %extension_scripts dbase | |
2602 | %extension_scripts dom | |
2603 | %extension_scripts exif | |
2604 | %extension_scripts fdf | |
12295c68 | 2605 | %extension_scripts filter |
c7812384 ER |
2606 | %extension_scripts ftp |
2607 | %extension_scripts gd | |
2608 | %extension_scripts gettext | |
2609 | %extension_scripts gmp | |
d7726a00 | 2610 | %extension_scripts hash |
c7812384 ER |
2611 | %extension_scripts iconv |
2612 | %extension_scripts imap | |
2613 | %extension_scripts interbase | |
2614 | %extension_scripts json | |
2615 | %extension_scripts ldap | |
2616 | %extension_scripts mbstring | |
2617 | %extension_scripts mcrypt | |
2618 | %extension_scripts mhash | |
2619 | %extension_scripts mime_magic | |
2620 | %extension_scripts ming | |
2621 | %extension_scripts mssql | |
2622 | %extension_scripts mysql | |
2623 | %extension_scripts mysqli | |
2624 | %extension_scripts oci8 | |
2625 | %extension_scripts odbc | |
2626 | %extension_scripts openssl | |
51ad3a6d | 2627 | %extension_scripts pcre |
c7812384 ER |
2628 | %extension_scripts pdo-dblib |
2629 | %extension_scripts pdo-firebird | |
2630 | %extension_scripts pdo-mysql | |
2631 | %extension_scripts pdo-odbc | |
2632 | %extension_scripts pdo-pgsql | |
2633 | %extension_scripts pdo-sqlite | |
2634 | %extension_scripts pgsql | |
2635 | %extension_scripts posix | |
2636 | %extension_scripts pspell | |
2637 | %extension_scripts recode | |
42e470ec | 2638 | %extension_scripts session |
c7812384 ER |
2639 | %extension_scripts shmop |
2640 | %extension_scripts snmp | |
2641 | %extension_scripts soap | |
2642 | %extension_scripts sockets | |
9fff5411 | 2643 | %extension_scripts spl |
c7812384 ER |
2644 | %extension_scripts sqlite |
2645 | %extension_scripts sybase | |
2646 | %extension_scripts sybase-ct | |
2647 | %extension_scripts sysvmsg | |
2648 | %extension_scripts sysvsem | |
2649 | %extension_scripts sysvshm | |
2650 | %extension_scripts tidy | |
2651 | %extension_scripts tokenizer | |
2652 | %extension_scripts wddx | |
2653 | %extension_scripts xml | |
2654 | %extension_scripts xmlreader | |
2655 | %extension_scripts xmlrpc | |
2656 | %extension_scripts xmlwriter | |
2657 | %extension_scripts xsl | |
2658 | %extension_scripts zip | |
2659 | %extension_scripts zlib | |
3f700db8 ER |
2660 | |
2661 | %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1 | |
35a4400e | 2662 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2663 | |
3f700db8 | 2664 | %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1 |
35a4400e | 2665 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2666 | |
3f700db8 | 2667 | %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1 |
35a4400e | 2668 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2669 | |
2670 | %triggerun curl -- %{name}-curl < 4:5.0.4-9.1 | |
35a4400e | 2671 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2672 | |
2673 | %triggerun dba -- %{name}-dba < 4:5.0.4-9.1 | |
35a4400e | 2674 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2675 | |
2676 | %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1 | |
35a4400e | 2677 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2678 | |
3f700db8 | 2679 | %triggerun dom -- %{name}-dom < 4:5.0.4-9.1 |
35a4400e | 2680 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2681 | |
2682 | %triggerun exif -- %{name}-exif < 4:5.0.4-9.1 | |
35a4400e | 2683 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2684 | |
3f700db8 | 2685 | %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1 |
35a4400e | 2686 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2687 | |
3f700db8 | 2688 | %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1 |
35a4400e | 2689 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2690 | |
2691 | %triggerun gd -- %{name}-gd < 4:5.0.4-9.1 | |
35a4400e | 2692 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2693 | |
2694 | %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1 | |
35a4400e | 2695 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2696 | |
2697 | %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1 | |
35a4400e | 2698 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2699 | |
3f700db8 | 2700 | %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1 |
35a4400e | 2701 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2702 | |
2703 | %triggerun imap -- %{name}-imap < 4:5.0.4-9.1 | |
35a4400e | 2704 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2705 | |
2706 | %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1 | |
35a4400e | 2707 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2708 | |
2709 | %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1 | |
35a4400e | 2710 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2711 | |
2712 | %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1 | |
35a4400e | 2713 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2714 | |
2715 | %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1 | |
35a4400e | 2716 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2717 | |
2718 | %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1 | |
35a4400e | 2719 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2720 | |
2721 | %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1 | |
35a4400e | 2722 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2723 | |
2724 | %triggerun ming -- %{name}-ming < 4:5.0.4-9.1 | |
35a4400e | 2725 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2726 | |
3f700db8 | 2727 | %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1 |
35a4400e | 2728 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2729 | |
2730 | %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1 | |
35a4400e | 2731 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini |
dbfbeab3 ER |
2732 | |
2733 | %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5 | |
35a4400e ER |
2734 | if [ -f %{_sysconfdir}/php-cgi.ini ]; then |
2735 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini | |
dbfbeab3 | 2736 | fi |
35a4400e ER |
2737 | if [ -f %{_sysconfdir}/php-cli.ini ]; then |
2738 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini | |
dbfbeab3 | 2739 | fi |
3f700db8 ER |
2740 | |
2741 | %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1 | |
35a4400e | 2742 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2743 | |
2744 | %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1 | |
35a4400e | 2745 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2746 | |
2747 | %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1 | |
35a4400e | 2748 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2749 | |
2750 | %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1 | |
35a4400e | 2751 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini |
dbfbeab3 ER |
2752 | |
2753 | %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5 | |
35a4400e ER |
2754 | if [ -f %{_sysconfdir}/php-cgi.ini ]; then |
2755 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini | |
dbfbeab3 | 2756 | fi |
35a4400e ER |
2757 | if [ -f %{_sysconfdir}/php-cli.ini ]; then |
2758 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini | |
dbfbeab3 | 2759 | fi |
3f700db8 | 2760 | |
51ad3a6d ER |
2761 | %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1 |
2762 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini | |
2763 | ||
3f700db8 | 2764 | %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1 |
35a4400e | 2765 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2766 | |
2767 | %triggerun posix -- %{name}-posix < 4:5.0.4-9.1 | |
35a4400e | 2768 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2769 | |
2770 | %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1 | |
35a4400e | 2771 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini |
dbfbeab3 ER |
2772 | |
2773 | %triggerun readline -- %{name}-readline < 4:5.1.2-9.5 | |
35a4400e ER |
2774 | if [ -f %{_sysconfdir}/php-cgi.ini ]; then |
2775 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini | |
dbfbeab3 | 2776 | fi |
35a4400e ER |
2777 | if [ -f %{_sysconfdir}/php-cli.ini ]; then |
2778 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini | |
dbfbeab3 | 2779 | fi |
3f700db8 ER |
2780 | |
2781 | %triggerun recode -- %{name}-recode < 4:5.0.4-9.1 | |
35a4400e | 2782 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2783 | |
42e470ec ER |
2784 | %triggerun session -- %{name}-session < 4:5.0.4-9.1 |
2785 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini | |
2786 | ||
3f700db8 | 2787 | %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1 |
35a4400e | 2788 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2789 | |
2790 | %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1 | |
35a4400e | 2791 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2792 | |
2793 | %triggerun soap -- %{name}-soap < 4:5.0.4-9.1 | |
35a4400e | 2794 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2795 | |
2796 | %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1 | |
35a4400e | 2797 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2798 | |
2799 | %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1 | |
35a4400e | 2800 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2801 | |
2802 | %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1 | |
35a4400e | 2803 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2804 | |
2805 | %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1 | |
35a4400e | 2806 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2807 | |
2808 | %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1 | |
35a4400e | 2809 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2810 | |
2811 | %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1 | |
35a4400e | 2812 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2813 | |
2814 | %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1 | |
35a4400e | 2815 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2816 | |
2817 | %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1 | |
35a4400e | 2818 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2819 | |
2820 | %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1 | |
35a4400e | 2821 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2822 | |
2823 | %triggerun xml -- %{name}-xml < 4:5.0.4-9.1 | |
35a4400e | 2824 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2825 | |
2826 | %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1 | |
35a4400e | 2827 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2828 | |
2829 | %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1 | |
35a4400e | 2830 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2831 | |
3f700db8 | 2832 | %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1 |
35a4400e | 2833 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini |
7bd1e950 | 2834 | |
3f700db8 | 2835 | %if %{with apache1} |
aa39c584 | 2836 | %files -n apache1-mod_php |
3f700db8 | 2837 | %defattr(644,root,root,755) |
ce888321 | 2838 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf |
6ee9f55b ER |
2839 | %dir %{_sysconfdir}/apache.d |
2840 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini | |
3f700db8 | 2841 | %attr(755,root,root) %{_libdir}/apache1/libphp5.so |
3f700db8 ER |
2842 | %endif |
2843 | ||
2844 | %if %{with apache2} | |
aa39c584 | 2845 | %files -n apache-mod_php |
9af2b7db | 2846 | %defattr(644,root,root,755) |
6756a8ae | 2847 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf |
6ee9f55b ER |
2848 | %dir %{_sysconfdir}/apache2handler.d |
2849 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini | |
3f700db8 | 2850 | %attr(755,root,root) %{_libdir}/apache/libphp5.so |
6e4962cf | 2851 | %endif |
345124d0 | 2852 | |
e8c48c38 | 2853 | %if %{with fcgi} |
18ad4238 AM |
2854 | %files fcgi |
2855 | %defattr(644,root,root,755) | |
125f6408 | 2856 | %doc sapi/cgi/README.FastCGI |
6ee9f55b ER |
2857 | %dir %{_sysconfdir}/cgi-fcgi.d |
2858 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini | |
dbfbeab3 | 2859 | %attr(755,root,root) %{_bindir}/php.fcgi |
e8c48c38 | 2860 | %endif |
18ad4238 | 2861 | |
345124d0 JR |
2862 | %files cgi |
2863 | %defattr(644,root,root,755) | |
6ee9f55b ER |
2864 | %dir %{_sysconfdir}/cgi.d |
2865 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini | |
dbfbeab3 | 2866 | %attr(755,root,root) %{_bindir}/php.cgi |
345124d0 | 2867 | |
4342041a JB |
2868 | %files cli |
2869 | %defattr(644,root,root,755) | |
6ee9f55b ER |
2870 | %dir %{_sysconfdir}/cli.d |
2871 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini | |
dbfbeab3 | 2872 | %attr(755,root,root) %{_bindir}/php.cli |
e584ad6b | 2873 | %{_mandir}/man1/php.1* |
194505ba | 2874 | %{_mandir}/man1/php.cli.1* |
4342041a | 2875 | |
067e71d9 ER |
2876 | %files program |
2877 | %defattr(644,root,root,755) | |
2878 | %attr(755,root,root) %{_bindir}/php | |
2879 | ||
f6612a0b ER |
2880 | %if %{with fpm} |
2881 | %files fpm | |
2882 | %defattr(644,root,root,755) | |
2883 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/fpm.conf | |
2884 | %attr(755,root,root) %{_bindir}/php.fpm | |
cc810903 | 2885 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm |
f6612a0b ER |
2886 | %attr(754,root,root) /etc/rc.d/init.d/php-fpm |
2887 | %endif | |
2888 | ||
345124d0 JR |
2889 | %files common |
2890 | %defattr(644,root,root,755) | |
9f43e43c | 2891 | %doc php.ini-* |
c965b36e | 2892 | %doc CREDITS Zend/ZEND_CHANGES |
c2388c7d | 2893 | %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO* |
b1aec54d | 2894 | %doc README.PHP4-TO-PHP5-THIN-CHANGES README.UPDATE_5_2 |
9af2b7db | 2895 | |
6ee9f55b ER |
2896 | %dir %{_sysconfdir} |
2897 | %dir %{_sysconfdir}/conf.d | |
2898 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini | |
2899 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini | |
35ef43f3 | 2900 | %attr(755,root,root) %{_libdir}/libphp_common-*.so |
98ab5057 | 2901 | %dir %{php_extensiondir} |
6290790d AF |
2902 | |
2903 | %files devel | |
2904 | %defattr(644,root,root,755) | |
c965b36e ER |
2905 | %doc README.UNIX-BUILD-SYSTEM |
2906 | %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS | |
b1aec54d ER |
2907 | %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS |
2908 | %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2 | |
6290790d AF |
2909 | %attr(755,root,root) %{_bindir}/phpize |
2910 | %attr(755,root,root) %{_bindir}/php-config | |
35ef43f3 | 2911 | %attr(755,root,root) %{_libdir}/libphp_common.so |
80259e0d | 2912 | %{_libdir}/libphp_common.la |
35ef43f3 JB |
2913 | %{_includedir}/php |
2914 | %{_libdir}/php/build | |
e45dd143 ER |
2915 | %{_mandir}/man1/php-config.1* |
2916 | %{_mandir}/man1/phpize.1* | |
6290790d | 2917 | |
c2388c7d | 2918 | %files bcmath |
3756f78e | 2919 | %defattr(644,root,root,755) |
6ee9f55b | 2920 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini |
98ab5057 | 2921 | %attr(755,root,root) %{php_extensiondir}/bcmath.so |
3756f78e | 2922 | |
b581f5f2 | 2923 | %files bz2 |
defaa0de | 2924 | %defattr(644,root,root,755) |
6ee9f55b | 2925 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini |
98ab5057 | 2926 | %attr(755,root,root) %{php_extensiondir}/bz2.so |
defaa0de | 2927 | |
c2388c7d | 2928 | %files calendar |
253c0459 | 2929 | %defattr(644,root,root,755) |
6ee9f55b | 2930 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini |
98ab5057 | 2931 | %attr(755,root,root) %{php_extensiondir}/calendar.so |
0d0f2f4c | 2932 | |
c2388c7d | 2933 | %files ctype |
0818fbbe | 2934 | %defattr(644,root,root,755) |
6ee9f55b | 2935 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini |
98ab5057 | 2936 | %attr(755,root,root) %{php_extensiondir}/ctype.so |
b9e5df0a | 2937 | |
6f91d99f | 2938 | %if %{with curl} |
c2388c7d | 2939 | %files curl |
e7a3c495 | 2940 | %defattr(644,root,root,755) |
6ee9f55b | 2941 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini |
98ab5057 | 2942 | %attr(755,root,root) %{php_extensiondir}/curl.so |
311c6870 | 2943 | %endif |
b9e5df0a | 2944 | |
defaa0de AF |
2945 | %files dba |
2946 | %defattr(644,root,root,755) | |
6ee9f55b | 2947 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini |
98ab5057 | 2948 | %attr(755,root,root) %{php_extensiondir}/dba.so |
defaa0de AF |
2949 | |
2950 | %files dbase | |
2951 | %defattr(644,root,root,755) | |
6ee9f55b | 2952 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini |
98ab5057 | 2953 | %attr(755,root,root) %{php_extensiondir}/dbase.so |
defaa0de | 2954 | |
51312e8d JB |
2955 | %files dom |
2956 | %defattr(644,root,root,755) | |
6ee9f55b | 2957 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini |
98ab5057 | 2958 | %attr(755,root,root) %{php_extensiondir}/dom.so |
51312e8d | 2959 | |
6f91d99f | 2960 | %if %{with fdf} |
e584ad6b JB |
2961 | %files fdf |
2962 | %defattr(644,root,root,755) | |
6ee9f55b | 2963 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini |
98ab5057 | 2964 | %attr(755,root,root) %{php_extensiondir}/fdf.so |
e584ad6b JB |
2965 | %endif |
2966 | ||
696cac8d | 2967 | %if %{with filter} |
12295c68 ER |
2968 | %files filter |
2969 | %defattr(644,root,root,755) | |
348a9a39 | 2970 | %doc README.input_filter |
6ee9f55b | 2971 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini |
98ab5057 | 2972 | %attr(755,root,root) %{php_extensiondir}/filter.so |
696cac8d | 2973 | %endif |
12295c68 | 2974 | |
c2388c7d | 2975 | %files exif |
defaa0de | 2976 | %defattr(644,root,root,755) |
6ee9f55b | 2977 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini |
98ab5057 | 2978 | %attr(755,root,root) %{php_extensiondir}/exif.so |
defaa0de | 2979 | |
defaa0de AF |
2980 | %files ftp |
2981 | %defattr(644,root,root,755) | |
6ee9f55b | 2982 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini |
98ab5057 | 2983 | %attr(755,root,root) %{php_extensiondir}/ftp.so |
defaa0de | 2984 | |
c2388c7d | 2985 | %files gd |
defaa0de | 2986 | %defattr(644,root,root,755) |
6ee9f55b | 2987 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini |
98ab5057 | 2988 | %attr(755,root,root) %{php_extensiondir}/gd.so |
defaa0de | 2989 | |
c2388c7d | 2990 | %files gettext |
7bd1e950 | 2991 | %defattr(644,root,root,755) |
6ee9f55b | 2992 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini |
98ab5057 | 2993 | %attr(755,root,root) %{php_extensiondir}/gettext.so |
7bd1e950 | 2994 | |
c2388c7d | 2995 | %files gmp |
501cd767 | 2996 | %defattr(644,root,root,755) |
6ee9f55b | 2997 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini |
98ab5057 | 2998 | %attr(755,root,root) %{php_extensiondir}/gmp.so |
501cd767 | 2999 | |
d7726a00 ER |
3000 | %files hash |
3001 | %defattr(644,root,root,755) | |
3002 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini | |
3003 | %attr(755,root,root) %{php_extensiondir}/hash.so | |
3004 | ||
c2388c7d | 3005 | %files iconv |
501cd767 | 3006 | %defattr(644,root,root,755) |
6ee9f55b | 3007 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini |
98ab5057 | 3008 | %attr(755,root,root) %{php_extensiondir}/iconv.so |
501cd767 | 3009 | |
6f91d99f | 3010 | %if %{with imap} |
e0e8f1c2 AF |
3011 | %files imap |
3012 | %defattr(644,root,root,755) | |
6ee9f55b | 3013 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini |
98ab5057 | 3014 | %attr(755,root,root) %{php_extensiondir}/imap.so |
e1126429 | 3015 | %endif |
e0e8f1c2 | 3016 | |
6f91d99f | 3017 | %if %{with interbase} |
c2388c7d | 3018 | %files interbase |
501cd767 | 3019 | %defattr(644,root,root,755) |
6ee9f55b | 3020 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini |
98ab5057 | 3021 | %attr(755,root,root) %{php_extensiondir}/interbase.so |
e1126429 | 3022 | %endif |
501cd767 | 3023 | |
86ceb323 ER |
3024 | %files json |
3025 | %defattr(644,root,root,755) | |
6ee9f55b | 3026 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini |
98ab5057 | 3027 | %attr(755,root,root) %{php_extensiondir}/json.so |
86ceb323 | 3028 | |
6f91d99f | 3029 | %if %{with ldap} |
38ecdf75 | 3030 | %files ldap |
2ad2afe6 | 3031 | %defattr(644,root,root,755) |
6ee9f55b | 3032 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini |
98ab5057 | 3033 | %attr(755,root,root) %{php_extensiondir}/ldap.so |
253c0459 | 3034 | %endif |
38ecdf75 | 3035 | |
08f1644c | 3036 | %if %{without zend_multibyte} |
c2388c7d | 3037 | %files mbstring |
2ad2afe6 | 3038 | %defattr(644,root,root,755) |
6ee9f55b | 3039 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini |
98ab5057 | 3040 | %attr(755,root,root) %{php_extensiondir}/mbstring.so |
08f1644c | 3041 | %endif |
c2388c7d | 3042 | |
38ecdf75 | 3043 | %files mcrypt |
2ad2afe6 | 3044 | %defattr(644,root,root,755) |
6ee9f55b | 3045 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini |
98ab5057 | 3046 | %attr(755,root,root) %{php_extensiondir}/mcrypt.so |
38ecdf75 | 3047 | |
6f91d99f | 3048 | %if %{with mhash} |
253c0459 AF |
3049 | %files mhash |
3050 | %defattr(644,root,root,755) | |
6ee9f55b | 3051 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini |
98ab5057 | 3052 | %attr(755,root,root) %{php_extensiondir}/mhash.so |
90df7549 | 3053 | %endif |
253c0459 | 3054 | |
1a64b68d | 3055 | %if %{with mime_magic} |
e584ad6b JB |
3056 | %files mime_magic |
3057 | %defattr(644,root,root,755) | |
6ee9f55b | 3058 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini |
98ab5057 | 3059 | %attr(755,root,root) %{php_extensiondir}/mime_magic.so |
1a64b68d | 3060 | %endif |
e584ad6b | 3061 | |
6f91d99f | 3062 | %if %{with ming} |
c2388c7d | 3063 | %files ming |
3064 | %defattr(644,root,root,755) | |
6ee9f55b | 3065 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini |
98ab5057 | 3066 | %attr(755,root,root) %{php_extensiondir}/ming.so |
90df7549 | 3067 | %endif |
c2388c7d | 3068 | |
6f91d99f | 3069 | %if %{with mssql} |
7899bacd | 3070 | %files mssql |
3071 | %defattr(644,root,root,755) | |
6ee9f55b | 3072 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini |
98ab5057 | 3073 | %attr(755,root,root) %{php_extensiondir}/mssql.so |
7899bacd | 3074 | %endif |
3075 | ||
c2388c7d | 3076 | %files mysql |
3077 | %defattr(644,root,root,755) | |
6ee9f55b | 3078 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini |
98ab5057 | 3079 | %attr(755,root,root) %{php_extensiondir}/mysql.so |
c2388c7d | 3080 | |
8b37a21e ER |
3081 | %if %{with mysqli} |
3082 | %files mysqli | |
3083 | %defattr(644,root,root,755) | |
6ee9f55b | 3084 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini |
98ab5057 | 3085 | %attr(755,root,root) %{php_extensiondir}/mysqli.so |
8b37a21e ER |
3086 | %endif |
3087 | ||
e584ad6b JB |
3088 | %files ncurses |
3089 | %defattr(644,root,root,755) | |
6ee9f55b | 3090 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini |
98ab5057 | 3091 | %attr(755,root,root) %{php_extensiondir}/ncurses.so |
e584ad6b | 3092 | |
6f91d99f | 3093 | %if %{with oci8} |
c2388c7d | 3094 | %files oci8 |
3095 | %defattr(644,root,root,755) | |
6ee9f55b | 3096 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini |
98ab5057 | 3097 | %attr(755,root,root) %{php_extensiondir}/oci8.so |
c2388c7d | 3098 | %endif |
3099 | ||
6f91d99f | 3100 | %if %{with odbc} |
253c0459 AF |
3101 | %files odbc |
3102 | %defattr(644,root,root,755) | |
6ee9f55b | 3103 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini |
98ab5057 | 3104 | %attr(755,root,root) %{php_extensiondir}/odbc.so |
e1126429 | 3105 | %endif |
253c0459 | 3106 | |
51d4ceac AM |
3107 | %if %{with openssl} |
3108 | %files openssl | |
3109 | %defattr(644,root,root,755) | |
6ee9f55b | 3110 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini |
98ab5057 | 3111 | %attr(755,root,root) %{php_extensiondir}/openssl.so |
51d4ceac | 3112 | %endif |
6997cdef | 3113 | |
efe52553 JB |
3114 | %files pcntl |
3115 | %defattr(644,root,root,755) | |
eac2ca8b | 3116 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini |
98ab5057 | 3117 | %attr(755,root,root) %{php_extensiondir}/pcntl.so |
c2388c7d | 3118 | |
51ad3a6d ER |
3119 | %if %{with pcre} |
3120 | %files pcre | |
3121 | %defattr(644,root,root,755) | |
dde8edb2 | 3122 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini |
51ad3a6d ER |
3123 | %attr(755,root,root) %{php_extensiondir}/pcre.so |
3124 | %endif | |
3125 | ||
768d3bda AM |
3126 | %files pdo |
3127 | %defattr(644,root,root,755) | |
6ee9f55b | 3128 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini |
98ab5057 | 3129 | %attr(755,root,root) %{php_extensiondir}/pdo.so |
768d3bda AM |
3130 | |
3131 | %if %{with mssql} || %{with sybase} || %{with sybase_ct} | |
3132 | %files pdo-dblib | |
3133 | %defattr(644,root,root,755) | |
6ee9f55b | 3134 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini |
98ab5057 | 3135 | %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so |
768d3bda AM |
3136 | %endif |
3137 | ||
f6477c6e | 3138 | %if %{with interbase} && !%{with interbase_inst} |
f4359077 ER |
3139 | %files pdo-firebird |
3140 | %defattr(644,root,root,755) | |
6ee9f55b | 3141 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini |
98ab5057 | 3142 | %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so |
f4359077 ER |
3143 | %endif |
3144 | ||
768d3bda AM |
3145 | %files pdo-mysql |
3146 | %defattr(644,root,root,755) | |
6ee9f55b | 3147 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini |
98ab5057 | 3148 | %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so |
768d3bda | 3149 | |
d902abac JB |
3150 | %if %{with oci8} |
3151 | %files pdo-oci | |
768d3bda | 3152 | %defattr(644,root,root,755) |
6ee9f55b | 3153 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini |
98ab5057 | 3154 | %attr(755,root,root) %{php_extensiondir}/pdo_oci.so |
768d3bda AM |
3155 | %endif |
3156 | ||
3157 | %if %{with odbc} | |
3158 | %files pdo-odbc | |
3159 | %defattr(644,root,root,755) | |
6ee9f55b | 3160 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini |
98ab5057 | 3161 | %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so |
768d3bda AM |
3162 | %endif |
3163 | ||
3164 | %if %{with pgsql} | |
3165 | %files pdo-pgsql | |
3166 | %defattr(644,root,root,755) | |
6ee9f55b | 3167 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini |
98ab5057 | 3168 | %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so |
768d3bda AM |
3169 | %endif |
3170 | ||
3171 | %if %{with sqlite} | |
3172 | %files pdo-sqlite | |
3173 | %defattr(644,root,root,755) | |
6ee9f55b | 3174 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini |
98ab5057 | 3175 | %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so |
768d3bda AM |
3176 | %endif |
3177 | ||
6f91d99f | 3178 | %if %{with pgsql} |
c2388c7d | 3179 | %files pgsql |
3180 | %defattr(644,root,root,755) | |
6ee9f55b | 3181 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini |
98ab5057 | 3182 | %attr(755,root,root) %{php_extensiondir}/pgsql.so |
311c6870 | 3183 | %endif |
c2388c7d | 3184 | |
3185 | %files posix | |
3186 | %defattr(644,root,root,755) | |
6ee9f55b | 3187 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini |
98ab5057 | 3188 | %attr(755,root,root) %{php_extensiondir}/posix.so |
c2388c7d | 3189 | |
6f91d99f | 3190 | %if %{with pspell} |
c2388c7d | 3191 | %files pspell |
3192 | %defattr(644,root,root,755) | |
6ee9f55b | 3193 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini |
98ab5057 | 3194 | %attr(755,root,root) %{php_extensiondir}/pspell.so |
90df7549 | 3195 | %endif |
c2388c7d | 3196 | |
e584ad6b JB |
3197 | %files readline |
3198 | %defattr(644,root,root,755) | |
6ee9f55b | 3199 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini |
98ab5057 | 3200 | %attr(755,root,root) %{php_extensiondir}/readline.so |
e584ad6b | 3201 | |
6f91d99f | 3202 | %if %{with recode} |
c2388c7d | 3203 | %files recode |
3204 | %defattr(644,root,root,755) | |
6ee9f55b | 3205 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini |
98ab5057 | 3206 | %attr(755,root,root) %{php_extensiondir}/recode.so |
c2388c7d | 3207 | %endif |
3208 | ||
768d3bda AM |
3209 | %files simplexml |
3210 | %defattr(644,root,root,755) | |
6ee9f55b | 3211 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini |
98ab5057 | 3212 | %attr(755,root,root) %{php_extensiondir}/simplexml.so |
768d3bda | 3213 | |
42e470ec ER |
3214 | %files session |
3215 | %defattr(644,root,root,755) | |
3216 | %doc ext/session/mod_files.sh | |
564678fc | 3217 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini |
42e470ec ER |
3218 | %attr(755,root,root) %{php_extensiondir}/session.so |
3219 | ||
c2388c7d | 3220 | %files shmop |
3221 | %defattr(644,root,root,755) | |
6ee9f55b | 3222 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini |
98ab5057 | 3223 | %attr(755,root,root) %{php_extensiondir}/shmop.so |
c2388c7d | 3224 | |
6f91d99f | 3225 | %if %{with snmp} |
c2388c7d | 3226 | %files snmp |
3227 | %defattr(644,root,root,755) | |
6ee9f55b | 3228 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini |
98ab5057 | 3229 | %attr(755,root,root) %{php_extensiondir}/snmp.so |
c2388c7d | 3230 | %endif |
3231 | ||
54eb743b AM |
3232 | %files soap |
3233 | %defattr(644,root,root,755) | |
6ee9f55b | 3234 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini |
98ab5057 | 3235 | %attr(755,root,root) %{php_extensiondir}/soap.so |
54eb743b | 3236 | |
c2388c7d | 3237 | %files sockets |
3238 | %defattr(644,root,root,755) | |
6ee9f55b | 3239 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini |
98ab5057 | 3240 | %attr(755,root,root) %{php_extensiondir}/sockets.so |
c2388c7d | 3241 | |
9fff5411 ER |
3242 | %files spl |
3243 | %defattr(644,root,root,755) | |
3244 | %doc ext/spl/{CREDITS,README,TODO} | |
3245 | %doc ext/spl/examples | |
3246 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini | |
3247 | %attr(755,root,root) %{php_extensiondir}/spl.so | |
3248 | ||
8c91402c AM |
3249 | %if %{with sqlite} |
3250 | %files sqlite | |
3251 | %defattr(644,root,root,755) | |
6ee9f55b | 3252 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini |
98ab5057 | 3253 | %attr(755,root,root) %{php_extensiondir}/sqlite.so |
8c91402c AM |
3254 | %endif |
3255 | ||
6f91d99f | 3256 | %if %{with sybase} |
e584ad6b JB |
3257 | %files sybase |
3258 | %defattr(644,root,root,755) | |
6ee9f55b | 3259 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini |
98ab5057 | 3260 | %attr(755,root,root) %{php_extensiondir}/sybase.so |
afba0b54 | 3261 | %endif |
e584ad6b | 3262 | |
afba0b54 | 3263 | %if %{with sybase_ct} |
c2388c7d | 3264 | %files sybase-ct |
3265 | %defattr(644,root,root,755) | |
6ee9f55b | 3266 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini |
98ab5057 | 3267 | %attr(755,root,root) %{php_extensiondir}/sybase_ct.so |
38c4a978 | 3268 | %endif |
386054ee | 3269 | |
e584ad6b JB |
3270 | %files sysvmsg |
3271 | %defattr(644,root,root,755) | |
6ee9f55b | 3272 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini |
98ab5057 | 3273 | %attr(755,root,root) %{php_extensiondir}/sysvmsg.so |
e584ad6b | 3274 | |
c2388c7d | 3275 | %files sysvsem |
3276 | %defattr(644,root,root,755) | |
6ee9f55b | 3277 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini |
98ab5057 | 3278 | %attr(755,root,root) %{php_extensiondir}/sysvsem.so |
c2388c7d | 3279 | |
3280 | %files sysvshm | |
3281 | %defattr(644,root,root,755) | |
6ee9f55b | 3282 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini |
98ab5057 | 3283 | %attr(755,root,root) %{php_extensiondir}/sysvshm.so |
c2388c7d | 3284 | |
ead69ae5 ER |
3285 | %files tests |
3286 | %defattr(644,root,root,755) | |
4dfb3616 | 3287 | %dir %{php_data_dir}/tests |
ead69ae5 ER |
3288 | %dir %{php_data_dir}/tests/php |
3289 | %{php_data_dir}/tests/php/basic | |
3290 | %{php_data_dir}/tests/php/classes | |
3291 | %{php_data_dir}/tests/php/func | |
3292 | %{php_data_dir}/tests/php/lang | |
3293 | %{php_data_dir}/tests/php/output | |
3294 | %{php_data_dir}/tests/php/run-test | |
3295 | %{php_data_dir}/tests/php/security | |
3296 | %{php_data_dir}/tests/php/strings | |
3297 | %{php_data_dir}/tests/php/quicktester.inc | |
3298 | %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php | |
3299 | ||
82f6b657 ER |
3300 | # random junk, didn't check, maybe can be just removed |
3301 | %{php_data_dir}/tests/php/bin-info.inc | |
3302 | %{php_data_dir}/tests/php/foo* | |
3303 | %{php_data_dir}/tests/php/odbc*.php | |
3304 | %{php_data_dir}/tests/php/recurse | |
3305 | %{php_data_dir}/tests/php/run.* | |
3306 | %{php_data_dir}/tests/php/scan_cases | |
3307 | %{php_data_dir}/tests/php/test* | |
3308 | ||
8c91402c AM |
3309 | %if %{with tidy} |
3310 | %files tidy | |
3311 | %defattr(644,root,root,755) | |
6ee9f55b | 3312 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini |
98ab5057 | 3313 | %attr(755,root,root) %{php_extensiondir}/tidy.so |
8c91402c AM |
3314 | %endif |
3315 | ||
f476635d ER |
3316 | %files tokenizer |
3317 | %defattr(644,root,root,755) | |
6ee9f55b | 3318 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini |
98ab5057 | 3319 | %attr(755,root,root) %{php_extensiondir}/tokenizer.so |
f476635d | 3320 | |
6f91d99f | 3321 | %if %{with wddx} |
386054ee JB |
3322 | %files wddx |
3323 | %defattr(644,root,root,755) | |
6ee9f55b | 3324 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini |
98ab5057 | 3325 | %attr(755,root,root) %{php_extensiondir}/wddx.so |
386054ee | 3326 | %endif |
1adf90d7 | 3327 | |
c2388c7d | 3328 | %files xml |
3329 | %defattr(644,root,root,755) | |
6ee9f55b | 3330 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini |
98ab5057 | 3331 | %attr(755,root,root) %{php_extensiondir}/xml.so |
8c91402c | 3332 | |
768d3bda AM |
3333 | %files xmlreader |
3334 | %defattr(644,root,root,755) | |
6ee9f55b | 3335 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini |
98ab5057 | 3336 | %attr(755,root,root) %{php_extensiondir}/xmlreader.so |
768d3bda | 3337 | |
6f91d99f | 3338 | %if %{with xmlrpc} |
c2388c7d | 3339 | %files xmlrpc |
1adf90d7 | 3340 | %defattr(644,root,root,755) |
6ee9f55b | 3341 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini |
98ab5057 | 3342 | %attr(755,root,root) %{php_extensiondir}/xmlrpc.so |
efe52553 | 3343 | %endif |
c2388c7d | 3344 | |
86ceb323 ER |
3345 | %files xmlwriter |
3346 | %defattr(644,root,root,755) | |
6ee9f55b | 3347 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini |
98ab5057 | 3348 | %attr(755,root,root) %{php_extensiondir}/xmlwriter.so |
86ceb323 | 3349 | |
dc49e336 JB |
3350 | %files xsl |
3351 | %defattr(644,root,root,755) | |
6ee9f55b | 3352 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini |
98ab5057 | 3353 | %attr(755,root,root) %{php_extensiondir}/xsl.so |
dc49e336 | 3354 | |
b27cf2ef ER |
3355 | %files zip |
3356 | %defattr(644,root,root,755) | |
6ee9f55b | 3357 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini |
98ab5057 | 3358 | %attr(755,root,root) %{php_extensiondir}/zip.so |
b27cf2ef | 3359 | |
c2388c7d | 3360 | %files zlib |
3361 | %defattr(644,root,root,755) | |
6ee9f55b | 3362 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini |
98ab5057 | 3363 | %attr(755,root,root) %{php_extensiondir}/zlib.so |