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