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