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