]>
Commit | Line | Data |
---|---|---|
c0240cb1 | 1 | # NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/) |
02d2dcbb ER |
2 | # TODO 5.4: |
3 | # - do not remove PatchX: definitions until merged to HEAD, needed for tracking their state | |
4 | # - check php-sapi-ini-file.patch for safe mode removal | |
5 | # - enable suhoshin patch (needs api porting) | |
6 | # - enable litespeed (needs api porting) | |
7 | # - update imap annotations patch (needs api porting) | |
8 | # - update imap myrights patch (needs api porting) | |
9 | # - dba: enable: --with-tcadb=DIR DBA: Tokyo Cabinet abstract DB support | |
10 | # - --with-vpx-dir=DIR GD: Set the path to libvpx install prefix | |
11 | # --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED | |
12 | # --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix. | |
c0240cb1 | 13 | # TODO: |
14 | # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820 | |
15 | # - wddx: restore session support (not compiled in due DL extension check) | |
16 | # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere | |
17 | # - removed from php 5.0 (currently in php4): | |
18 | # db [pecl-svn], hyperwave [pecl-svn], java [pecl-svn], mcal [pecl-svn], qtdom [pecl-svn] | |
19 | # - removed from php 5.1: | |
20 | # oracle [pecl-svn] | |
21 | # - removed from php 5.2: | |
22 | # filepro [pecl-svn], hwapi [pecl-svn] | |
23 | # - make additional headers and checking added by mail patch configurable | |
24 | # - modularize standard (output from pure php -m)? | |
25 | # - lib64 patch obsolete by $PHP_LIBDIR ? | |
26 | # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is | |
27 | # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared. | |
28 | # make it runtime dep and add Suggests (or php warning messages) | |
29 | # - some mods should be shared: | |
30 | #$ php -m | |
31 | # [PHP Modules] | |
32 | #+Core | |
33 | # date | |
34 | #+ereg | |
35 | # libxml | |
36 | # Reflection | |
37 | # | |
38 | # Conditional build: | |
39 | %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs) | |
40 | %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs) | |
41 | %bcond_with instantclient # build Oracle oci8 extension module against oracle-instantclient package | |
42 | %bcond_with system_gd # with system gd (we prefer internal since it enables few more features) | |
43 | %bcond_without curl # without CURL extension module | |
44 | %bcond_without filter # without filter extension module | |
45 | %bcond_without imap # without IMAP extension module | |
46 | %bcond_without interbase # without InterBase extension module | |
47 | %bcond_without kerberos5 # without Kerberos5 support | |
02d2dcbb | 48 | %bcond_with litespeed # build litespeed module |
c0240cb1 | 49 | %bcond_without ldap # without LDAP extension module |
50 | %bcond_without mhash # without mhash extension (supported by hash extension) | |
51 | %bcond_without mm # without mm support for session storage | |
52 | %bcond_without mssql # without MS SQL extension module | |
53 | # don't turn it on by default; see TODO item for mysqlnd in this spec | |
54 | %bcond_with mysqlnd # with mysqlnd support in mysql related extensions | |
55 | %bcond_without mysqli # without mysqli support (Requires mysql > 4.1) | |
56 | %bcond_without odbc # without ODBC extension module | |
57 | %bcond_without openssl # without OpenSSL support and OpenSSL extension (module) | |
58 | %bcond_without pcre # without PCRE extension module | |
59 | %bcond_without pdo_sqlite # without PDO SQLite extension module | |
60 | %bcond_without pgsql # without PostgreSQL extension module | |
61 | %bcond_without phar # without phar extension module | |
62 | %bcond_without pspell # without pspell extension module | |
63 | %bcond_without recode # without recode extension module | |
64 | %bcond_without snmp # without SNMP extension module | |
65 | %bcond_without sqlite2 # without SQLite extension module | |
66 | %bcond_without sqlite3 # without SQLite3 extension module | |
67 | %bcond_without sybase_ct # without Sybase-CT extension module | |
68 | %bcond_without tidy # without Tidy extension module | |
69 | %bcond_without wddx # without WDDX extension module | |
70 | %bcond_without xmlrpc # without XML-RPC extension module | |
71 | %bcond_without apache1 # disable building Apache 1.3.x SAPI | |
72 | %bcond_without apache2 # disable building Apache 2.x SAPI | |
73 | %bcond_with zts # Zend Thread Safety | |
74 | %bcond_without cgi # disable CGI/FCGI SAPI | |
75 | %bcond_without fpm # disable FPM | |
02d2dcbb | 76 | %bcond_with suhosin # with suhosin patch |
c0240cb1 | 77 | %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test" |
78 | %bcond_with gcov # Enable Code coverage reporting | |
79 | %bcond_with type_hints # experimental support for strict typing/casting | |
80 | ||
81 | %define apxs1 /usr/sbin/apxs1 | |
82 | %define apxs2 /usr/sbin/apxs | |
83 | %define litespeed_version 5.5 | |
84 | ||
85 | # disable all sapis | |
86 | %if %{with gcov} | |
87 | %undefine with_apache1 | |
88 | %undefine with_apache2 | |
89 | %undefine with_cgi | |
90 | %undefine with_litespeed | |
91 | %endif | |
92 | ||
93 | # mm is not thread safe | |
94 | %if %{with zts} | |
95 | %undefine with_mm | |
96 | %endif | |
97 | ||
98 | %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha | |
99 | # ppc disabled (broken on th-ppc) | |
100 | %undefine with_interbase | |
101 | %endif | |
102 | ||
103 | %ifnarch %{ix86} %{x8664} | |
104 | # unsupported, see sapi/cgi/fpm/fpm_atomic.h | |
105 | %undefine with_fpm | |
106 | %endif | |
107 | ||
108 | %if 0 | |
109 | %if %{without apache1} && %{without apache2} | |
110 | ERROR: You need to select at least one Apache SAPI to build shared modules. | |
111 | %endif | |
112 | %endif | |
113 | ||
114 | # filter depends on pcre | |
115 | %if %{without pcre} | |
116 | %undefine with_filter | |
117 | %endif | |
118 | ||
02d2dcbb | 119 | %define rel 0.2 |
c0240cb1 | 120 | Summary: PHP: Hypertext Preprocessor |
121 | Summary(fr.UTF-8): Le langage de script embarque-HTML PHP | |
122 | Summary(pl.UTF-8): Język skryptowy PHP | |
123 | Summary(pt_BR.UTF-8): A linguagem de script PHP | |
124 | Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере | |
125 | Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері | |
126 | Name: php | |
02d2dcbb | 127 | Version: 5.4.0 |
c0240cb1 | 128 | Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci} |
129 | Epoch: 4 | |
130 | License: PHP | |
131 | Group: Libraries | |
02d2dcbb ER |
132 | #Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2 |
133 | Source0: http://downloads.php.net/stas/%{name}-%{version}alpha2.tar.bz2 | |
134 | # Source0-md5: 6af29928f5962a855b7763ff81388201 | |
c0240cb1 | 135 | Source2: %{name}-mod_%{name}.conf |
136 | Source3: %{name}-cgi-fcgi.ini | |
137 | Source4: %{name}-apache.ini | |
138 | Source5: %{name}-cli.ini | |
139 | # Taken from: http://browsers.garykeith.com/downloads.asp | |
140 | Source9: %{name}_browscap.ini | |
141 | Source10: %{name}-fpm.init | |
142 | Source11: %{name}-fpm.logrotate | |
143 | Source12: %{name}-branch.sh | |
144 | Source13: dep-tests.sh | |
145 | Source14: skip-tests.sh | |
02d2dcbb | 146 | # Source15Download: http://litespeedtech.com/lsapi-downloads.html |
c0240cb1 | 147 | Source15: http://litespeedtech.com/packages/lsapi/%{name}-litespeed-%{litespeed_version}.tgz |
148 | # Source15-md5: 9d58485d5fd6b5f5fefcec41b9ce283e | |
149 | Patch0: %{name}-shared.patch | |
150 | Patch1: %{name}-pldlogo.patch | |
151 | Patch2: %{name}-mail.patch | |
152 | Patch3: %{name}-link-libs.patch | |
153 | Patch4: %{name}-libpq_fs_h_path.patch | |
154 | Patch5: %{name}-filter-shared.patch | |
155 | Patch6: %{name}-build_modules.patch | |
156 | Patch7: %{name}-sapi-ini-file.patch | |
157 | Patch8: %{name}-config-file-scan-dir.patch | |
158 | Patch9: %{name}-sh.patch | |
159 | Patch10: %{name}-ini.patch | |
160 | %if %{with type_hints} | |
161 | Patch12: http://ilia.ws/patch/type_hint_53_v2.txt | |
162 | %endif | |
163 | Patch14: %{name}-no_pear_install.patch | |
02d2dcbb | 164 | #Patch15: %{name}-zlib.patch # no longer needed? |
c0240cb1 | 165 | Patch17: %{name}-readline.patch |
166 | Patch18: %{name}-nohttpd.patch | |
167 | Patch19: %{name}-gd_imagerotate_enable.patch | |
168 | Patch20: %{name}-uint32_t.patch | |
169 | Patch21: %{name}-dba-link.patch | |
170 | Patch22: %{name}-both-apxs.patch | |
171 | Patch23: %{name}-builddir.patch | |
172 | Patch24: %{name}-zlib-for-getimagesize.patch | |
173 | Patch25: %{name}-stupidapache_version.patch | |
174 | Patch26: %{name}-pear.patch | |
175 | Patch27: %{name}-config-dir.patch | |
176 | Patch29: %{name}-fcgi-graceful.patch | |
177 | Patch31: %{name}-fcgi-error_log-no-newlines.patch | |
02d2dcbb | 178 | #Patch32: %{name}-curl-limit-speed.patch # applied upstream |
c0240cb1 | 179 | Patch34: %{name}-libtool.patch |
180 | Patch35: %{name}-tds.patch | |
181 | Patch36: %{name}-mysql-charsetphpini.patch | |
182 | Patch37: %{name}-mysqli-charsetphpini.patch | |
183 | Patch38: %{name}-pdo_mysql-charsetphpini.patch | |
184 | Patch39: %{name}-use-prog_sendmail.patch | |
185 | Patch41: %{name}-fpm-config.patch | |
186 | Patch42: %{name}-fpm-shared.patch | |
187 | Patch43: %{name}-silent-session-cleanup.patch | |
188 | Patch44: %{name}-include_path.patch | |
189 | Patch45: %{name}-imap-annotations.patch | |
190 | Patch46: %{name}-imap-myrights.patch | |
191 | Patch47: suhosin.patch | |
02d2dcbb | 192 | #Patch49: %{name}-m4-divert.patch # no longer needed, upstream supports new ac |
c0240cb1 | 193 | Patch50: extension-shared-optional-dep.patch |
194 | Patch51: spl-shared.patch | |
195 | Patch52: pcre-shared.patch | |
196 | Patch53: fix-test-run.patch | |
197 | Patch54: mysqlnd-shared.patch | |
198 | Patch55: bug-52078-fileinode.patch | |
199 | Patch57: bug-52448.patch | |
200 | Patch59: %{name}-systzdata.patch | |
201 | Patch60: %{name}-oracle-instantclient.patch | |
202 | Patch61: %{name}-krb5-ac.patch | |
203 | Patch62: mcrypt-libs.patch | |
204 | Patch63: %{name}-mysql-nowarning.patch | |
02d2dcbb | 205 | #Patch64: %{name}-buff_ovf.patch # upstream has fix for this |
c0240cb1 | 206 | URL: http://www.php.net/ |
207 | %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}} | |
208 | %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0} | |
209 | BuildRequires: autoconf >= 2.53 | |
210 | BuildRequires: automake >= 1.4d | |
211 | BuildRequires: bison | |
212 | BuildRequires: bzip2-devel | |
213 | %{?with_curl:BuildRequires: curl-devel >= 7.12.0} | |
214 | BuildRequires: cyrus-sasl-devel | |
215 | BuildRequires: db-devel >= 4.0 | |
216 | BuildRequires: elfutils-devel | |
217 | #BuildRequires: fcgi-devel | |
218 | #BuildRequires: flex | |
219 | %{?with_kerberos5:BuildRequires: heimdal-devel} | |
220 | BuildRequires: mysql-devel | |
221 | BuildRequires: pkgconfig | |
222 | BuildRequires: sed >= 4.0 | |
223 | %if %{with mssql} || %{with sybase_ct} | |
224 | BuildRequires: freetds-devel >= 0.82 | |
225 | %endif | |
226 | BuildRequires: freetype-devel >= 2.0 | |
227 | %if %{with system_gd} | |
228 | BuildRequires: gd-devel >= 2.0.28-4 | |
229 | BuildRequires: gd-devel(imagerotate) = 5.2.0 | |
230 | %endif | |
231 | BuildRequires: gdbm-devel | |
232 | BuildRequires: gmp-devel | |
233 | %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2} | |
234 | BuildRequires: libicu-devel | |
235 | BuildRequires: libjpeg-devel | |
236 | BuildRequires: libltdl-devel >= 1.4 | |
237 | BuildRequires: libmcrypt-devel >= 2.4.4 | |
238 | BuildRequires: libpng-devel >= 1.0.8 | |
239 | #BuildRequires: libtiff-devel | |
240 | %if "%{pld_release}" != "ac" | |
241 | BuildRequires: libtool >= 2:2.2 | |
242 | %else | |
243 | BuildRequires: libtool >= 1.4.3 | |
244 | %endif | |
245 | #BuildRequires: libwrap-devel | |
246 | BuildRequires: libxml2-devel >= 1:2.7.6-4 | |
247 | BuildRequires: libxslt-devel >= 1.1.0 | |
248 | %{?with_mm:BuildRequires: mm-devel >= 1.3.0} | |
249 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} | |
250 | %if %{with openssl} || %{with ldap} | |
251 | BuildRequires: openssl-devel >= 0.9.7d | |
252 | %endif | |
253 | %{?with_gcov:BuildRequires: lcov} | |
254 | %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}} | |
255 | %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7} | |
256 | %{?with_instantclient:BuildRequires: oracle-instantclient-devel} | |
257 | BuildRequires: pam-devel | |
258 | %{?with_pcre:BuildRequires: pcre-devel >= 8.10} | |
259 | BuildRequires: pkgconfig | |
260 | %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2} | |
261 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
262 | BuildRequires: readline-devel | |
263 | %{?with_recode:BuildRequires: recode-devel >= 3.5d-3} | |
264 | BuildRequires: rpm >= 4.4.9-56 | |
265 | BuildRequires: rpm-build >= 4.4.0 | |
266 | BuildRequires: rpmbuild(macros) >= 1.566 | |
c0240cb1 | 267 | %if %{with sqlite3} || %{with pdo_sqlite} |
268 | BuildRequires: sqlite3-devel >= 3.3.9 | |
269 | %endif | |
270 | BuildRequires: t1lib-devel | |
271 | %{?with_tidy:BuildRequires: tidy-devel} | |
272 | %{?with_odbc:BuildRequires: unixODBC-devel} | |
273 | %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1} | |
274 | BuildRequires: zlib-devel >= 1.0.9 | |
275 | %if %{with apache1} | |
276 | BuildRequires: apache1-devel | |
277 | %endif | |
278 | %if %{with apache2} | |
279 | BuildRequires: apache-devel >= 2.0.52-2 | |
280 | BuildRequires: apr-devel >= 1:1.0.0 | |
281 | BuildRequires: apr-util-devel >= 1:1.0.0 | |
282 | %endif | |
283 | %if %{with fpm} | |
284 | #BuildRequires: judy-devel | |
285 | BuildRequires: libevent-devel >= 1.4.7-3 | |
286 | %endif | |
287 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
288 | ||
289 | %define php_sysconfdir /etc/php | |
290 | %define php_extensiondir %{_libdir}/php | |
291 | %define _sysconfdir %{php_sysconfdir} | |
292 | ||
293 | # must be in sync with source. extra check ensuring that it is so is done in %%build | |
02d2dcbb ER |
294 | %define php_api_version 20100412 |
295 | %define zend_module_api 20100525 | |
296 | %define zend_extension_api 220100525 | |
c0240cb1 | 297 | |
298 | %define zend_zts %{!?with_zts:0}%{?with_zts:1} | |
299 | %define php_debug %{!?debug:0}%{?debug:1} | |
300 | ||
301 | %if %{with gcov} | |
302 | %undefine with_ccache | |
303 | %endif | |
304 | ||
305 | %if %{with oci8} | |
306 | # ORACLE_HOME is required for oci8 ext to build | |
307 | %define _preserve_env %_preserve_env_base ORACLE_HOME | |
308 | %endif | |
309 | ||
310 | %description | |
311 | PHP is an HTML-embedded scripting language. PHP attempts to make it | |
312 | easy for developers to write dynamically generated web pages. PHP also | |
313 | offers built-in database integration for several commercial and | |
314 | non-commercial database management systems, so writing a | |
315 | database-enabled web page with PHP is fairly simple. The most common | |
316 | use of PHP coding is probably as a replacement for CGI scripts. The | |
317 | mod_php module enables the Apache web server to understand and process | |
318 | the embedded PHP language in web pages. This package contains PHP | |
319 | version %{version}. | |
320 | ||
321 | %description -l fr.UTF-8 | |
322 | PHP est un langage de script embarque dans le HTM. PHP essaye de | |
323 | rendre simple aux developpeurs d'ecrire des pages web generees | |
324 | dynamiquement. PHP incorpore egalement une integration avec plusieurs | |
325 | systemes de gestion de bases de donnees commerciaux et | |
326 | non-connerciaux, qui rent facile la creation de pages web liees avec | |
327 | des bases de donnees. L'utilisation la plus commune de PHP est | |
328 | probablement en remplacement de scripts CGI. Le module mod_php permet | |
329 | au serveur web Apache de comprendre et de traiter le langage PHP | |
330 | integre dans des pages web. Ce package contient PHP version | |
331 | %{version}. | |
332 | ||
333 | %description -l pl.UTF-8 | |
334 | PHP jest językiem skryptowym, którego polecenia umieszcza się w | |
335 | plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie | |
336 | generowanych stron WWW. Oferuje także wbudowaną integrację z bazami | |
337 | danych dla kilku komercyjnych i niekomercyjnych systemów baz danych, | |
338 | co czyni tworzenie stron korzystających z baz danych w miarę łatwym. | |
339 | Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów | |
340 | CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać | |
341 | język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji | |
342 | %{version}. | |
343 | ||
344 | %description -l pt_BR.UTF-8 | |
345 | PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script | |
346 | embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl, | |
347 | com algumas características únicas, específicas ao PHP. O objetivo da | |
348 | linguagem é permitir que desenvolvedores web escrevam páginas | |
349 | dinamicamente geradas de forma rápida. | |
350 | ||
351 | %description -l ru.UTF-8 | |
352 | PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP | |
353 | предлагает интерграцию с множеством СУБД, поэтому написание скриптов | |
354 | для работы с базами данных относительно просто. Наиболее популярное | |
355 | использование PHP - замена для CGI скриптов. | |
356 | ||
357 | %description -l uk.UTF-8 | |
358 | PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP | |
359 | пропонує інтеграцію з багатьма СУБД, тому написання скриптів для | |
360 | роботи з базами даних є доволі простим. Найбільш популярне | |
361 | використання PHP - заміна для CGI скриптів. | |
362 | ||
363 | %package -n apache1-mod_php | |
364 | Summary: PHP DSO module for Apache 1.3.x | |
365 | Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x | |
366 | Group: Development/Languages/PHP | |
367 | Requires(triggerpostun): sed >= 4.0 | |
368 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
369 | Requires: apache1(EAPI) >= 1.3.33-2 | |
370 | Requires: apache1-mod_mime | |
371 | Provides: webserver(php) = %{version} | |
372 | Obsoletes: apache-mod_php < 1:4.1.1 | |
373 | Obsoletes: phpfi | |
374 | ||
375 | %description -n apache1-mod_php | |
376 | PHP as DSO module for Apache 1.3.x. | |
377 | ||
378 | %description -n apache1-mod_php -l pl.UTF-8 | |
379 | PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x. | |
380 | ||
381 | %package -n apache-mod_php | |
382 | Summary: PHP DSO module for Apache 2.x | |
383 | Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x | |
384 | Group: Development/Languages/PHP | |
385 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
386 | Requires: apache(modules-api) = %{apache_modules_api} | |
387 | Requires: apache-mod_mime | |
388 | Provides: webserver(php) = %{version} | |
389 | Obsoletes: phpfi | |
390 | ||
391 | %description -n apache-mod_php | |
392 | PHP as DSO module for Apache 2.x. | |
393 | ||
394 | %description -n apache-mod_php -l pl.UTF-8 | |
395 | PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x. | |
396 | ||
397 | %package litespeed | |
398 | Summary: PHP for litespeed HTTP server | |
399 | Summary(pl.UTF-8): PHP dla serwera HTTP litespeed | |
400 | Group: Development/Languages/PHP | |
401 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
402 | Provides: webserver(php) = %{version} | |
403 | ||
404 | %description litespeed | |
405 | PHP for litespeed HTTP server. | |
406 | ||
407 | %description litespeed -l pl.UTF-8 | |
408 | PHP dla serwera HTTP litespeed. | |
409 | ||
410 | %package cgi | |
411 | Summary: PHP as CGI/FastCGI program | |
412 | Summary(pl.UTF-8): PHP jako program CGI/FastCGI | |
413 | Group: Development/Languages/PHP | |
414 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
415 | Provides: %{name}-fcgi = %{epoch}:%{version}-%{release} | |
416 | Provides: php(cgi) | |
417 | Provides: php(fcgi) | |
418 | Provides: webserver(php) | |
419 | Obsoletes: php-fcgi < 4:5.3.0 | |
420 | ||
421 | %description cgi | |
422 | PHP as CGI or FastCGI program. | |
423 | ||
424 | %description cgi -l pl.UTF-8 | |
425 | PHP jako program CGI lub FastCGI. | |
426 | ||
427 | %package cli | |
428 | Summary: PHP as CLI interpreter | |
429 | Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń | |
430 | Group: Development/Languages/PHP | |
431 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
432 | ||
433 | %description cli | |
434 | PHP as CLI interpreter. | |
435 | ||
436 | %description cli -l pl.UTF-8 | |
437 | PHP jako interpreter działający z linii poleceń. | |
438 | ||
439 | %package program | |
440 | Summary: /usr/bin/php symlink | |
441 | Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php | |
442 | Group: Development/Languages/PHP | |
443 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} | |
444 | Obsoletes: /usr/bin/php | |
445 | ||
446 | %description program | |
447 | Package providing /usr/bin/php symlink to PHP CLI. | |
448 | ||
449 | %description program -l pl.UTF-8 | |
450 | Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI. | |
451 | ||
452 | %package fpm | |
453 | Summary: PHP FastCGI Process Manager | |
454 | Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI | |
455 | Group: Development/Languages/PHP | |
456 | URL: http://www.php-fpm.org/ | |
457 | Requires(post,preun): /sbin/chkconfig | |
458 | Requires(postun): /usr/sbin/userdel | |
459 | Requires(pre): /bin/id | |
460 | Requires(pre): /usr/sbin/useradd | |
461 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
462 | Requires: libevent >= 1.4.7-3 | |
463 | Requires: rc-scripts | |
464 | Provides: user(http) | |
465 | Provides: webserver(php) = %{version} | |
466 | ||
467 | %description fpm | |
468 | PHP FastCGI Process Manager. | |
469 | ||
470 | %description fpm -l pl.UTF-8 | |
471 | PHP FastCGI Process Manager - zarządca procesów FastCGI. | |
472 | ||
473 | %package common | |
474 | Summary: Common files needed by both Apache modules and CGI/CLI SAPIs | |
475 | Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI | |
476 | Summary(ru.UTF-8): Разделяемые библиотеки для PHP | |
477 | Summary(uk.UTF-8): Бібліотеки спільного використання для PHP | |
478 | Group: Libraries | |
479 | Requires(post): sed >= 4.0 | |
480 | # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit | |
481 | Requires: glibc >= 6:2.3.5 | |
482 | Requires: php-dirs | |
483 | Requires: rpm-whiteout >= 1.28 | |
484 | Requires: tzdata | |
485 | Provides: php(date) | |
486 | Provides: php(ereg) | |
487 | Provides: php(hash) | |
488 | Provides: php(libxml) | |
489 | Provides: php(modules_api) = %{php_api_version} | |
490 | Provides: php(reflection) | |
491 | Provides: php(standard) | |
492 | Provides: php(zend_extension_api) = %{zend_extension_api} | |
493 | Provides: php(zend_module_api) = %{zend_module_api} | |
494 | Provides: php-date | |
495 | Provides: php-ereg | |
496 | Provides: php-reflection | |
497 | Provides: php-standard | |
498 | Provides: php5(debug) = %{php_debug} | |
499 | Provides: php5(thread-safety) = %{zend_zts} | |
500 | %{!?with_mysqlnd:Obsoletes: php-mysqlnd} | |
501 | %{?with_pcre:%requires_ge_to pcre pcre-devel} | |
502 | Obsoletes: php-pecl-domxml | |
503 | Conflicts: php4-common < 3:4.4.4-8 | |
504 | Conflicts: rpm < 4.4.2-0.2 | |
505 | ||
506 | %description common | |
507 | Common files needed by both Apache modules and CGI/CLI SAPIs. | |
508 | ||
509 | %description common -l pl.UTF-8 | |
510 | Wspólne pliki dla modułu Apache'a i programu CGI. | |
511 | ||
512 | %description common -l ru.UTF-8 | |
513 | Этот пакет содержит общие файлы для разных вариантов реализации PHP | |
514 | (самодостаточной и в качестве модуля Apache). | |
515 | ||
516 | %description common -l uk.UTF-8 | |
517 | Цей пакет містить спільні файли для різних варіантів реалізації PHP | |
518 | (самодостатньої та в якості модуля Apache). | |
519 | ||
520 | %package devel | |
521 | Summary: Files for PHP modules development | |
522 | Summary(pl.UTF-8): Pliki do kompilacji modułów PHP | |
523 | Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP | |
524 | Summary(ru.UTF-8): Пакет разработки для построения расширений PHP | |
525 | Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP | |
526 | Group: Development/Languages/PHP | |
527 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
528 | Requires: autoconf | |
529 | Requires: automake | |
530 | %if "%{pld_release}" != "ac" | |
531 | Requires: libtool >= 2:2.2 | |
532 | %else | |
533 | Requires: libtool | |
534 | %endif | |
535 | %{?with_pcre:Requires: pcre-devel >= 8.10} | |
536 | Requires: shtool | |
537 | Obsoletes: php-pear-devel | |
538 | Obsoletes: php4-devel | |
539 | ||
540 | %description devel | |
541 | The php-devel package lets you compile dynamic extensions to PHP. | |
542 | Included here is the source for the PHP extensions. Instead of | |
543 | recompiling the whole PHP binary to add support for, say, oracle, | |
544 | install this package and use the new self-contained extensions | |
545 | support. For more information, read the file | |
546 | README.SELF-CONTAINED-EXTENSIONS. | |
547 | ||
548 | %description devel -l pl.UTF-8 | |
549 | Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast | |
550 | rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu | |
551 | tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o | |
552 | samodzielnych rozszerzeniach można znaleźć w pliku | |
553 | README.SELF-CONTAINED-EXTENSIONS. | |
554 | ||
555 | %description devel -l pt_BR.UTF-8 | |
556 | Este pacote contém arquivos usados no desenvolvimento de programas ou | |
557 | módulos PHP. | |
558 | ||
559 | %description devel -l ru.UTF-8 | |
560 | Пакет php-devel дает возможность компилировать динамические расширения | |
561 | PHP. Пакет включает исходный код этих расширений. Вместо повторной | |
562 | компиляции бинарного файла PHP для добавления, например, поддержки | |
563 | oracle, установите этот пакет для компилирования отдельных расширений. | |
564 | Подробности - в файле README.SELF-CONTAINED-EXTENSIONS. | |
565 | ||
566 | %description devel -l uk.UTF-8 | |
567 | Пакет php-devel дає можливість компілювати динамічні розширення PHP. | |
568 | До пакету включено вихідний код для розширень. Замість повторної | |
569 | компіляції бінарного файлу PHP для додання, наприклад, підтримки | |
570 | oracle, встановіть цей пакет для компіляції окремих розширень. | |
571 | Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS. | |
572 | ||
573 | %package bcmath | |
574 | Summary: bcmath extension module for PHP | |
575 | Summary(pl.UTF-8): Moduł bcmath dla PHP | |
576 | Group: Libraries | |
577 | URL: http://www.php.net/manual/en/book.bc.php | |
578 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
579 | Provides: php(bcmath) | |
580 | ||
581 | %description bcmath | |
582 | This is a dynamic shared object (DSO) for PHP that will add bc style | |
583 | precision math functions support. | |
584 | ||
585 | %description bcmath -l pl.UTF-8 | |
586 | Moduł PHP umożliwiający korzystanie z dokładnych funkcji | |
587 | matematycznych takich jak w programie bc. | |
588 | ||
589 | %package bz2 | |
590 | Summary: Bzip2 extension module for PHP | |
591 | Summary(pl.UTF-8): Moduł bzip2 dla PHP | |
592 | Group: Libraries | |
593 | URL: http://www.php.net/manual/en/book.bzip2.php | |
594 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
595 | Provides: php(bz2) | |
596 | Provides: php(bzip2) | |
597 | Provides: php-bzip2 = %{epoch}:%{version}-%{release} | |
598 | Obsoletes: php-bzip2 < 4:5.2.14-3 | |
599 | ||
600 | %description bz2 | |
601 | This is a dynamic shared object (DSO) for PHP that will add bzip2 | |
602 | compression support to PHP. | |
603 | ||
604 | %description bz2 -l pl.UTF-8 | |
605 | Moduł PHP umożliwiający używanie kompresji bzip2. | |
606 | ||
607 | %package calendar | |
608 | Summary: Calendar extension module for PHP | |
609 | Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP | |
610 | Group: Libraries | |
611 | URL: http://www.php.net/manual/en/book.calendar.php | |
612 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
613 | Provides: php(calendar) | |
614 | ||
615 | %description calendar | |
616 | This is a dynamic shared object (DSO) for PHP that will add calendar | |
617 | support. | |
618 | ||
619 | %description calendar -l pl.UTF-8 | |
620 | Moduł PHP dodający wsparcie dla kalendarza. | |
621 | ||
622 | %package ctype | |
623 | Summary: ctype extension module for PHP | |
624 | Summary(pl.UTF-8): Moduł ctype dla PHP | |
625 | Group: Libraries | |
626 | URL: http://www.php.net/manual/en/book.ctype.php | |
627 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
628 | Provides: php(ctype) | |
629 | ||
630 | %description ctype | |
631 | This is a dynamic shared object (DSO) for PHP that will add ctype | |
632 | support. | |
633 | ||
634 | %description ctype -l pl.UTF-8 | |
635 | Moduł PHP umożliwiający korzystanie z funkcji ctype. | |
636 | ||
637 | %package curl | |
638 | Summary: curl extension module for PHP | |
639 | Summary(pl.UTF-8): Moduł curl dla PHP | |
640 | Group: Libraries | |
641 | URL: http://www.php.net/manual/en/book.curl.php | |
642 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
643 | Provides: php(curl) | |
644 | ||
645 | %description curl | |
646 | This is a dynamic shared object (DSO) for PHP that will add curl | |
647 | support. | |
648 | ||
649 | %description curl -l pl.UTF-8 | |
650 | Moduł PHP umożliwiający korzystanie z biblioteki curl. | |
651 | ||
652 | %package dba | |
653 | Summary: DBA extension module for PHP | |
654 | Summary(pl.UTF-8): Moduł DBA dla PHP | |
655 | Group: Libraries | |
656 | URL: http://www.php.net/manual/en/book.dba.php | |
657 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
658 | Provides: php(dba) | |
659 | ||
660 | %description dba | |
661 | This is a dynamic shared object (DSO) for PHP that will add flat-file | |
662 | databases (DBA) support. | |
663 | ||
664 | %description dba -l pl.UTF-8 | |
665 | Moduł dla PHP dodający obsługę dla baz danych opartych na plikach | |
666 | (DBA). | |
667 | ||
668 | %package dom | |
669 | Summary: DOM extension module for PHP | |
670 | Summary(pl.UTF-8): Moduł DOM dla PHP | |
671 | Group: Libraries | |
672 | URL: http://www.php.net/manual/en/book.dom.php | |
673 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
674 | Provides: php(dom) | |
675 | # it has some compatibility functions | |
676 | Provides: php(domxml) | |
677 | Provides: php-domxml = %{epoch}:%{version}-%{release} | |
678 | Obsoletes: php-domxml <= 3:4.3.8-1 | |
679 | ||
680 | %description dom | |
681 | This is a dynamic shared object (DSO) for PHP that will add new DOM | |
682 | support. | |
683 | ||
684 | %description dom -l pl.UTF-8 | |
685 | Moduł PHP dodający nową obsługę DOM. | |
686 | ||
687 | %package exif | |
688 | Summary: exif extension module for PHP | |
689 | Summary(pl.UTF-8): Moduł exif dla PHP | |
690 | Group: Libraries | |
691 | URL: http://www.php.net/manual/en/book.exif.php | |
692 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
693 | Provides: php(exif) | |
694 | ||
695 | %description exif | |
696 | This is a dynamic shared object (DSO) for PHP that will add EXIF tags | |
697 | support in image files. | |
698 | ||
699 | %description exif -l pl.UTF-8 | |
700 | Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków. | |
701 | ||
702 | %package fileinfo | |
703 | Summary: libmagic bindings | |
704 | Summary(pl.UTF-8): Wiązania do libmagic | |
705 | Group: Libraries | |
706 | URL: http://www.php.net/manual/en/book.fileinfo.php | |
707 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
708 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} | |
709 | Provides: php(fileinfo) | |
710 | Obsoletes: php-mime_magic | |
711 | Obsoletes: php-pecl-fileinfo | |
712 | ||
713 | %description fileinfo | |
714 | This extension allows retrieval of information regarding vast majority | |
715 | of file. This information may include dimensions, quality, length | |
716 | etc... | |
717 | ||
718 | Additionally it can also be used to retrieve the MIME type for a | |
719 | particular file and for text files proper language encoding. | |
720 | ||
721 | %description fileinfo -l pl.UTF-8 | |
722 | To rozszerzenie pozwala na uzyskanie informacji dotyczących większości | |
723 | plików. Informacje mogą zawierać wymiary, jakość, długość itp. | |
724 | ||
725 | Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego | |
726 | pliku oraz kodowania plików tekstowych. | |
727 | ||
728 | %package filter | |
729 | Summary: Extension for safely dealing with input parameters | |
730 | Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych | |
731 | Group: Libraries | |
732 | URL: http://www.php.net/manual/en/book.filter.php | |
733 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
734 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} | |
735 | Provides: php(filter) | |
736 | Obsoletes: php-pecl-filter | |
737 | ||
738 | %description filter | |
739 | We all know that you should always check input variables, but PHP does | |
740 | not offer really good functionality for doing this in a safe way. The | |
741 | Input Filter extension is meant to address this issue by implementing | |
742 | a set of filters and mechanisms that users can use to safely access | |
743 | their input data. | |
744 | ||
745 | %description filter -l pl.UTF-8 | |
746 | Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie | |
747 | oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób | |
748 | bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez | |
749 | zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy | |
750 | mogą bezpiecznie używać do dostępu do danych. | |
751 | ||
752 | %package ftp | |
753 | Summary: FTP extension module for PHP | |
754 | Summary(pl.UTF-8): Moduł FTP dla PHP | |
755 | Group: Libraries | |
756 | URL: http://www.php.net/manual/en/book.ftp.php | |
757 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
758 | Provides: php(ftp) | |
759 | ||
760 | %description ftp | |
761 | This is a dynamic shared object (DSO) for PHP that will add FTP | |
762 | support. | |
763 | ||
764 | %description ftp -l pl.UTF-8 | |
765 | Moduł PHP dodający obsługę protokołu FTP. | |
766 | ||
767 | %package gd | |
768 | Summary: GD extension module for PHP | |
769 | Summary(pl.UTF-8): Moduł GD dla PHP | |
770 | Group: Libraries | |
771 | URL: http://www.php.net/manual/en/book.image.php | |
772 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
773 | %if %{with system_gd} | |
774 | Requires: gd >= 2.0.28-4 | |
775 | Requires: gd(gif) | |
776 | Requires: gd(imagerotate) = 5.2.0 | |
777 | %endif | |
778 | Provides: php(gd) | |
779 | ||
780 | %description gd | |
781 | This is a dynamic shared object (DSO) for PHP that will add GD | |
782 | support, allowing you to create and manipulate images with PHP. | |
783 | ||
784 | %description gd -l pl.UTF-8 | |
785 | Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na | |
786 | tworzenie i obróbkę obrazków. | |
787 | ||
788 | %package gettext | |
789 | Summary: gettext extension module for PHP | |
790 | Summary(pl.UTF-8): Moduł gettext dla PHP | |
791 | Group: Libraries | |
792 | URL: http://www.php.net/manual/en/book.gettext.php | |
793 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
794 | Provides: php(gettext) | |
795 | ||
796 | %description gettext | |
797 | This is a dynamic shared object (DSO) for PHP that will add gettext | |
798 | support. | |
799 | ||
800 | %description gettext -l pl.UTF-8 | |
801 | Moduł PHP dodający obsługę lokalizacji przez gettext. | |
802 | ||
803 | %package gmp | |
804 | Summary: gmp extension module for PHP | |
805 | Summary(pl.UTF-8): Moduł gmp dla PHP | |
806 | Group: Libraries | |
807 | URL: http://www.php.net/manual/en/book.gmp.php | |
808 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
809 | Provides: php(gmp) | |
810 | ||
811 | %description gmp | |
812 | This is a dynamic shared object (DSO) for PHP that will add arbitrary | |
813 | length number support with GNU MP library. | |
814 | ||
815 | %description gmp -l pl.UTF-8 | |
816 | Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na | |
817 | liczbach o dowolnej długości. | |
818 | ||
819 | %package hash | |
820 | Summary: HASH Message Digest Framework | |
821 | Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości | |
822 | Group: Libraries | |
823 | URL: http://www.php.net/manual/en/book.gmp.php | |
824 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
825 | Provides: php(hash) | |
826 | %if %{with mhash} | |
827 | Provides: php(mhash) | |
828 | Provides: php-mhash = %{epoch}:%{version}-%{release} | |
829 | Obsoletes: php-mhash < 4:5.3.0 | |
830 | %endif | |
831 | Obsoletes: php-pecl-hash | |
832 | ||
833 | %description hash | |
834 | Native implementations of common message digest algorithms using a | |
835 | generic factory method. | |
836 | ||
837 | %description hash -l pl.UTF-8 | |
838 | Natywne implementacje popularnych algorytmów obliczania skrótów | |
839 | wiadomości przy użyciu wspólnego interfejsu. | |
840 | ||
841 | %package iconv | |
842 | Summary: iconv extension module for PHP | |
843 | Summary(pl.UTF-8): Moduł iconv dla PHP | |
844 | Group: Libraries | |
845 | URL: http://www.php.net/manual/en/book.iconv.php | |
846 | Requires: %{_libdir}/gconv | |
847 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
848 | Requires: iconv | |
849 | Provides: php(iconv) | |
850 | ||
851 | %description iconv | |
852 | This is a dynamic shared object (DSO) for PHP that will add iconv | |
853 | support. | |
854 | ||
855 | %description iconv -l pl.UTF-8 | |
856 | Moduł PHP dodający obsługę iconv. | |
857 | ||
858 | %package imap | |
859 | Summary: IMAP extension module for PHP | |
860 | Summary(pl.UTF-8): Moduł IMAP dla PHP | |
861 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP | |
862 | Group: Libraries | |
863 | URL: http://www.php.net/manual/en/book.imap.php | |
864 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
865 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} | |
866 | Requires: imap-lib >= 1:2007e-2 | |
867 | Provides: php(imap) | |
868 | ||
869 | %description imap | |
870 | This is a dynamic shared object (DSO) for PHP that will add IMAP | |
871 | support. | |
872 | ||
873 | %description imap -l pl.UTF-8 | |
874 | Moduł PHP dodający obsługę skrzynek IMAP. | |
875 | ||
876 | %description imap -l pt_BR.UTF-8 | |
877 | Um módulo para aplicações PHP que usam IMAP. | |
878 | ||
879 | %package interbase | |
880 | Summary: InterBase/Firebird database module for PHP | |
881 | Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP | |
882 | Group: Libraries | |
883 | URL: http://www.php.net/manual/en/book.ibase.php | |
884 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
885 | Provides: php(interbase) | |
886 | %{?with_interbase_inst:Autoreq: false} | |
887 | ||
888 | %description interbase | |
889 | This is a dynamic shared object (DSO) for PHP that will add InterBase | |
890 | and Firebird database support. | |
891 | ||
892 | %description interbase -l pl.UTF-8 | |
893 | Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird. | |
894 | ||
895 | %package intl | |
896 | Summary: Internationalization extension (ICU wrapper) | |
897 | Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU) | |
898 | Group: Libraries | |
899 | URL: http://www.php.net/intl | |
900 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
901 | Provides: php(intl) | |
902 | ||
903 | %description intl | |
904 | Internationalization extension (further is referred as Intl) is a | |
905 | wrapper for ICU library, enabling PHP programmers to perform | |
906 | UCA-conformant collation and date/time/number/currency formatting in | |
907 | their scripts. | |
908 | ||
909 | %description intl -l pl.UTF-8 | |
910 | Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest | |
911 | interfejsem do biblioteki ICU, pozwalającym programistom PHP na | |
912 | wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania | |
913 | daty/czasu/walut. | |
914 | ||
915 | %package json | |
916 | Summary: PHP C extension for JSON serialization | |
917 | Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON | |
918 | Group: Libraries | |
919 | URL: http://www.php.net/manual/en/book.json.php | |
920 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
921 | Provides: php(json) | |
922 | Obsoletes: php-pecl-json | |
923 | ||
924 | %description json | |
925 | php-json is an extremely fast PHP C extension for JSON (JavaScript | |
926 | Object Notation) serialisation. | |
927 | ||
928 | %description json -l pl.UTF-8 | |
929 | php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON | |
930 | (JavaScript Object Notation). | |
931 | ||
932 | %package ldap | |
933 | Summary: LDAP extension module for PHP | |
934 | Summary(pl.UTF-8): Moduł LDAP dla PHP | |
935 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP | |
936 | Group: Libraries | |
937 | URL: http://www.php.net/manual/en/book.ldap.php | |
938 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
939 | Provides: php(ldap) | |
940 | ||
941 | %description ldap | |
942 | This is a dynamic shared object (DSO) for PHP that will add LDAP | |
943 | support. | |
944 | ||
945 | %description ldap -l pl.UTF-8 | |
946 | Moduł PHP dodający obsługę LDAP. | |
947 | ||
948 | %description ldap -l pt_BR.UTF-8 | |
949 | Um módulo para aplicações PHP que usam LDAP. | |
950 | ||
951 | %package mbstring | |
952 | Summary: mbstring extension module for PHP | |
953 | Summary(pl.UTF-8): Moduł mbstring dla PHP | |
954 | Group: Libraries | |
955 | URL: http://www.php.net/manual/en/book.mbstring.php | |
956 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
957 | Provides: php(mbstring) | |
958 | ||
959 | %description mbstring | |
960 | This is a dynamic shared object (DSO) for PHP that will add multibyte | |
961 | string support. | |
962 | ||
963 | %description mbstring -l pl.UTF-8 | |
964 | Moduł PHP dodający obsługę ciągów znaków wielobajtowych. | |
965 | ||
966 | %package mcrypt | |
967 | Summary: mcrypt extension module for PHP | |
968 | Summary(pl.UTF-8): Moduł mcrypt dla PHP | |
969 | Group: Libraries | |
970 | URL: http://www.php.net/manual/en/book.mcrypt.php | |
971 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
972 | Provides: php(mcrypt) | |
973 | ||
974 | %description mcrypt | |
975 | This is a dynamic shared object (DSO) for PHP that will add mcrypt | |
976 | support. | |
977 | ||
978 | %description mcrypt -l pl.UTF-8 | |
979 | Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt. | |
980 | ||
981 | %package mssql | |
982 | Summary: MS SQL extension module for PHP | |
983 | Summary(pl.UTF-8): Moduł MS SQL dla PHP | |
984 | Group: Libraries | |
985 | URL: http://www.php.net/manual/en/book.mssql.php | |
986 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
987 | Provides: php(mssql) | |
988 | ||
989 | %description mssql | |
990 | This is a dynamic shared object (DSO) for PHP that will add MS SQL | |
991 | databases support through FreeTDS library. | |
992 | ||
993 | %description mssql -l pl.UTF-8 | |
994 | Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę | |
995 | FreeTDS. | |
996 | ||
997 | %package mysql | |
998 | Summary: MySQL database module for PHP | |
999 | Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP | |
1000 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL | |
1001 | Group: Libraries | |
1002 | URL: http://www.php.net/manual/en/book.mysql.php | |
1003 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1004 | %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}} | |
1005 | Provides: php(mysql) | |
1006 | ||
1007 | %description mysql | |
1008 | This is a dynamic shared object (DSO) for PHP that will add MySQL | |
1009 | database support. | |
1010 | ||
1011 | %description mysql -l pl.UTF-8 | |
1012 | Moduł PHP umożliwiający dostęp do bazy danych MySQL. | |
1013 | ||
1014 | %description mysql -l pt_BR.UTF-8 | |
1015 | Um módulo para aplicações PHP que usam bancos de dados MySQL. | |
1016 | ||
1017 | %package mysqli | |
1018 | Summary: MySQLi module for PHP | |
1019 | Summary(pl.UTF-8): Moduł MySQLi dla PHP | |
1020 | Group: Libraries | |
1021 | URL: http://www.php.net/manual/en/book.mysqli.php | |
1022 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1023 | %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}} | |
1024 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
1025 | Provides: php(mysqli) | |
1026 | ||
1027 | %description mysqli | |
1028 | This is a dynamic shared object (DSO) for PHP that will add MySQLi | |
1029 | (Improved MySQL) support. The difference between it and mysql module | |
1030 | is that it provides access to functionality of MySQL 4.1 and above. | |
1031 | ||
1032 | %description mysqli -l pl.UTF-8 | |
1033 | Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL. | |
1034 | Różnicą między nim a modułem mysql jest dostęp do funkcjonalności | |
1035 | MySQL w wersji 4.1 i nowszych. | |
1036 | ||
1037 | %package mysqlnd | |
1038 | Summary: MySQL Native Client Driver for PHP | |
1039 | Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP | |
1040 | Group: Libraries | |
1041 | URL: http://www.php.net/manual/en/book.mysqlnd.php | |
1042 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1043 | Provides: php(mysqlnd) | |
1044 | ||
1045 | %description mysqlnd | |
1046 | MySQL Native Driver is a replacement for the MySQL Client Library | |
1047 | (libmysql). | |
1048 | ||
1049 | Because MySQL Native Driver is written as a PHP extension, it is | |
1050 | tightly coupled to the workings of PHP. This leads to gains in | |
1051 | efficiency, especially when it comes to memory usage, as the driver | |
1052 | uses the PHP memory management system. It also supports the PHP memory | |
1053 | limit. Using MySQL Native Driver leads to comparable or better | |
1054 | performance than using MySQL Client Library, it always ensures the | |
1055 | most efficient use of memory. One example of the memory efficiency is | |
1056 | the fact that when using the MySQL Client Library, each row is stored | |
1057 | in memory twice, whereas with the MySQL Native Driver each row is only | |
1058 | stored once in memory. | |
1059 | ||
1060 | %description mysqlnd -l pl.UTF-8 | |
1061 | MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki | |
1062 | klienckiej MySQL (libmysql). | |
1063 | ||
1064 | Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest | |
1065 | ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza | |
1066 | jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje | |
1067 | system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci | |
1068 | z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż | |
1069 | biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej. | |
1070 | Przykładem tego może być fakt, że w przypadku biblioteki klienckiej | |
1071 | każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy | |
1072 | tym sterowniku - tylko raz. | |
1073 | ||
1074 | %package oci8 | |
1075 | Summary: Oracle 8+ database module for PHP | |
1076 | Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP | |
1077 | Group: Libraries | |
1078 | URL: http://www.php.net/manual/en/book.oci8.php | |
1079 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1080 | Provides: php(oci8) | |
1081 | AutoReq: false | |
1082 | ||
1083 | %description oci8 | |
1084 | This is a dynamic shared object (DSO) for PHP that will add Oracle 7, | |
1085 | 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8). | |
1086 | ||
1087 | %description oci8 -l pl.UTF-8 | |
1088 | Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10 | |
1089 | poprzez interfejs Oracle8 Call-Interface (OCI8). | |
1090 | ||
1091 | %package odbc | |
1092 | Summary: ODBC extension module for PHP | |
1093 | Summary(pl.UTF-8): Moduł ODBC dla PHP | |
1094 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC | |
1095 | Group: Libraries | |
1096 | URL: http://www.php.net/manual/en/book.uodbc.php | |
1097 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1098 | Requires: unixODBC >= 2.1.1-3 | |
1099 | Provides: php(odbc) | |
1100 | ||
1101 | %description odbc | |
1102 | This is a dynamic shared object (DSO) for PHP that will add ODBC | |
1103 | support. | |
1104 | ||
1105 | %description odbc -l pl.UTF-8 | |
1106 | Moduł PHP ze wsparciem dla ODBC. | |
1107 | ||
1108 | %description odbc -l pt_BR.UTF-8 | |
1109 | Um módulo para aplicações PHP que usam ODBC. | |
1110 | ||
1111 | %package openssl | |
1112 | Summary: OpenSSL extension module for PHP | |
1113 | Summary(pl.UTF-8): Moduł OpenSSL dla PHP | |
1114 | Group: Libraries | |
1115 | URL: http://www.php.net/manual/en/book.openssl.php | |
1116 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1117 | Provides: php(openssl) | |
1118 | ||
1119 | %description openssl | |
1120 | This is a dynamic shared object (DSO) for PHP that will add OpenSSL | |
1121 | support. | |
1122 | ||
1123 | %description openssl -l pl.UTF-8 | |
1124 | Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL. | |
1125 | ||
1126 | %package pcntl | |
1127 | Summary: Process Control extension module for PHP | |
1128 | Summary(pl.UTF-8): Moduł Process Control dla PHP | |
1129 | Group: Libraries | |
1130 | URL: http://www.php.net/manual/en/book.pcntl.php | |
1131 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1132 | Provides: php(pcntl) | |
1133 | ||
1134 | %description pcntl | |
1135 | This is a dynamic shared object (DSO) for PHP that will add process | |
1136 | spawning and control support. It supports functions like fork(), | |
1137 | waitpid(), signal() etc. | |
1138 | ||
1139 | %description pcntl -l pl.UTF-8 | |
1140 | Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi. | |
1141 | Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne. | |
1142 | ||
1143 | %package pcre | |
1144 | Summary: PCRE extension module for PHP | |
1145 | Summary(pl.UTF-8): Moduł PCRE dla PHP | |
1146 | Group: Libraries | |
1147 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1148 | Provides: php(pcre) | |
1149 | ||
1150 | %description pcre | |
1151 | This is a dynamic shared object (DSO) for PHP that will add Perl | |
1152 | Compatible Regular Expression support. | |
1153 | ||
1154 | %description pcre -l pl.UTF-8 | |
1155 | Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych | |
1156 | (Perl Compatible Regular Expressions) | |
1157 | ||
1158 | %package pdo | |
1159 | Summary: PHP Data Objects (PDO) | |
1160 | Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO) | |
1161 | Group: Libraries | |
1162 | URL: http://www.php.net/manual/en/book.pdo.php | |
1163 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1164 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
1165 | Provides: php(pdo) | |
1166 | Obsoletes: php-pecl-PDO | |
1167 | ||
1168 | %description pdo | |
1169 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1170 | support. | |
1171 | ||
1172 | %description pdo -l pl.UTF-8 | |
1173 | Moduł PHP dodający obsługę PDO (PHP Data Objects). | |
1174 | ||
1175 | %package pdo-dblib | |
1176 | Summary: PHP Data Objects (PDO) FreeTDS support | |
1177 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS | |
1178 | Group: Libraries | |
1179 | URL: http://www.php.net/manual/en/ref.pdo-dblib.php | |
1180 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1181 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1182 | Provides: php(dblib) | |
1183 | ||
1184 | %description pdo-dblib | |
1185 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1186 | FreeTDS support. | |
1187 | ||
1188 | %description pdo-dblib -l pl.UTF-8 | |
1189 | Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem | |
1190 | interfejsu PDO. | |
1191 | ||
1192 | %package pdo-firebird | |
1193 | Summary: PHP Data Objects (PDO) Firebird support | |
1194 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda | |
1195 | Group: Libraries | |
1196 | URL: http://www.php.net/manual/en/ref.pdo-firebird.php | |
1197 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1198 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1199 | Provides: php(pdo-firebird) | |
1200 | Obsoletes: php-pecl-PDO_FIREBIRD | |
1201 | ||
1202 | %description pdo-firebird | |
1203 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1204 | Firebird support. | |
1205 | ||
1206 | %description pdo-firebird -l pl.UTF-8 | |
1207 | Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem | |
1208 | interfejsu PDO. | |
1209 | ||
1210 | %package pdo-mysql | |
1211 | Summary: PHP Data Objects (PDO) MySQL support | |
1212 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a | |
1213 | Group: Libraries | |
1214 | URL: http://www.php.net/manual/en/ref.pdo-mysql.php | |
1215 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1216 | %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}} | |
1217 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1218 | Provides: php(pdo-mysql) | |
1219 | Obsoletes: php-pecl-PDO_MYSQL | |
1220 | ||
1221 | %description pdo-mysql | |
1222 | This is a dynamic shared object (DSO) for PHP that will add PDO MySQL | |
1223 | support. | |
1224 | ||
1225 | %description pdo-mysql -l pl.UTF-8 | |
1226 | Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem | |
1227 | interfejsu PDO. | |
1228 | ||
1229 | %package pdo-oci | |
1230 | Summary: PHP Data Objects (PDO) Oracle support | |
1231 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a | |
1232 | Group: Libraries | |
1233 | URL: http://www.php.net/manual/en/ref.pdo-oci.php | |
1234 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1235 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1236 | Provides: php(pdo-oci) | |
1237 | Obsoletes: php-pecl-PDO_OCI | |
1238 | ||
1239 | %description pdo-oci | |
1240 | This is a dynamic shared object (DSO) for PHP that will add PDO Oracle | |
1241 | support. | |
1242 | ||
1243 | %description pdo-oci -l pl.UTF-8 | |
1244 | Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem | |
1245 | interfejsu PDO. | |
1246 | ||
1247 | %package pdo-odbc | |
1248 | Summary: PHP Data Objects (PDO) ODBC support | |
1249 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC | |
1250 | Group: Libraries | |
1251 | URL: http://www.php.net/manual/en/ref.pdo-odbc.php | |
1252 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1253 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1254 | Provides: php(pdo-odbc) | |
1255 | Obsoletes: php-pecl-PDO_ODBC | |
1256 | ||
1257 | %description pdo-odbc | |
1258 | This is a dynamic shared object (DSO) for PHP that will add PDO ODBC | |
1259 | support. | |
1260 | ||
1261 | %description pdo-odbc -l pl.UTF-8 | |
1262 | Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem | |
1263 | interfejsu PDO. | |
1264 | ||
1265 | %package pdo-pgsql | |
1266 | Summary: PHP Data Objects (PDO) PostgreSQL support | |
1267 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a | |
1268 | Group: Libraries | |
1269 | URL: http://www.php.net/manual/en/ref.pdo-pgsql.php | |
1270 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1271 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1272 | Provides: php(pdo-pgsql) | |
1273 | Provides: php-pecl-PDO_PGSQL | |
1274 | Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2 | |
1275 | ||
1276 | %description pdo-pgsql | |
1277 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1278 | PostgreSQL support. | |
1279 | ||
1280 | %description pdo-pgsql -l pl.UTF-8 | |
1281 | Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem | |
1282 | interfejsu PDO. | |
1283 | ||
1284 | %package pdo-sqlite | |
1285 | Summary: PHP Data Objects (PDO) SQLite support | |
1286 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite | |
1287 | Group: Libraries | |
1288 | URL: http://www.php.net/manual/en/ref.pdo-sqlite.php | |
1289 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1290 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1291 | Provides: php(pdo-sqlite) | |
1292 | Obsoletes: php-pecl-PDO_SQLITE | |
1293 | ||
1294 | %description pdo-sqlite | |
1295 | This is a dynamic shared object (DSO) for PHP that will add PDO SQLite | |
1296 | support. | |
1297 | ||
1298 | %description pdo-sqlite -l pl.UTF-8 | |
1299 | Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem | |
1300 | interfejsu PDO. | |
1301 | ||
1302 | %package pgsql | |
1303 | Summary: PostgreSQL database module for PHP | |
1304 | Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP | |
1305 | Group: Libraries | |
1306 | URL: http://www.php.net/manual/en/book.pgsql.php | |
1307 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1308 | Provides: php(pgsql) | |
1309 | ||
1310 | %description pgsql | |
1311 | This is a dynamic shared object (DSO) for PHP that will add PostgreSQL | |
1312 | database support. | |
1313 | ||
1314 | %description pgsql -l pl.UTF-8 | |
1315 | Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL. | |
1316 | ||
1317 | %description pgsql -l pt_BR.UTF-8 | |
1318 | Um módulo para aplicações PHP que usam bancos de dados postgresql. | |
1319 | ||
1320 | %package phar | |
1321 | Summary: phar database module for PHP | |
1322 | Summary(pl.UTF-8): Moduł phar dla PHP | |
1323 | Group: Libraries | |
1324 | URL: http://www.php.net/manual/en/book.phar.php | |
1325 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1326 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
1327 | Provides: php(phar) | |
1328 | ||
1329 | %description phar | |
1330 | This is a dynamic shared object (DSO) for PHP that will add phar | |
1331 | archive a support. | |
1332 | ||
1333 | %description phar -l pl.UTF-8 | |
1334 | Moduł PHP umożliwiający dostęp do achiwów .phar. | |
1335 | ||
1336 | %package posix | |
1337 | Summary: POSIX extension module for PHP | |
1338 | Summary(pl.UTF-8): Moduł POSIX dla PHP | |
1339 | Group: Libraries | |
1340 | URL: http://www.php.net/manual/en/book.posix.php | |
1341 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1342 | Provides: php(posix) | |
1343 | ||
1344 | %description posix | |
1345 | This is a dynamic shared object (DSO) for PHP that will add POSIX | |
1346 | functions support to PHP. | |
1347 | ||
1348 | %description posix -l pl.UTF-8 | |
1349 | Moduł PHP umożliwiający korzystanie z funkcji POSIX. | |
1350 | ||
1351 | %package pspell | |
1352 | Summary: pspell extension module for PHP | |
1353 | Summary(pl.UTF-8): Moduł pspell dla PHP | |
1354 | Group: Libraries | |
1355 | URL: http://www.php.net/manual/en/book.pspell.php | |
1356 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1357 | Provides: php(pspell) | |
1358 | ||
1359 | %description pspell | |
1360 | This is a dynamic shared object (DSO) for PHP that will add pspell | |
1361 | support to PHP. It allows to check the spelling of a word and offer | |
1362 | suggestions. | |
1363 | ||
1364 | %description pspell -l pl.UTF-8 | |
1365 | Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na | |
1366 | sprawdzanie pisowni słowa i sugerowanie poprawek. | |
1367 | ||
1368 | %package readline | |
1369 | Summary: readline extension module for PHP | |
1370 | Summary(pl.UTF-8): Moduł readline dla PHP | |
1371 | Group: Libraries | |
1372 | URL: http://www.php.net/manual/en/book.readline.php | |
1373 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} | |
1374 | Provides: php(readline) | |
1375 | ||
1376 | %description readline | |
1377 | This PHP module adds support for readline functions (only for cli and | |
1378 | cgi SAPIs). | |
1379 | ||
1380 | %description readline -l pl.UTF-8 | |
1381 | Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi). | |
1382 | ||
1383 | %package recode | |
1384 | Summary: recode extension module for PHP | |
1385 | Summary(pl.UTF-8): Moduł recode dla PHP | |
1386 | Group: Libraries | |
1387 | URL: http://www.php.net/manual/en/book.recode.php | |
1388 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1389 | Requires: recode >= 3.5d-3 | |
1390 | Provides: php(recode) | |
1391 | ||
1392 | %description recode | |
1393 | This is a dynamic shared object (DSO) for PHP that will add recode | |
1394 | support. | |
1395 | ||
1396 | %description recode -l pl.UTF-8 | |
1397 | Moduł PHP dodający możliwość konwersji kodowania plików (poprzez | |
1398 | bibliotekę recode). | |
1399 | ||
1400 | %package session | |
1401 | Summary: session extension module for PHP | |
1402 | Summary(pl.UTF-8): Moduł session dla PHP | |
1403 | Group: Libraries | |
1404 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1405 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
1406 | Suggests: %{name}-hash = %{epoch}:%{version}-%{release} | |
1407 | Provides: php(session) | |
1408 | ||
1409 | %description session | |
1410 | This is a dynamic shared object (DSO) for PHP that will add session | |
1411 | support. | |
1412 | ||
1413 | %description session -l pl.UTF-8 | |
1414 | Moduł PHP dodający obsługę sesji. | |
1415 | ||
1416 | %package shmop | |
1417 | Summary: Shared Memory Operations extension module for PHP | |
1418 | Summary(pl.UTF-8): Moduł shmop dla PHP | |
1419 | Group: Libraries | |
1420 | URL: http://www.php.net/manual/en/book.shmop.php | |
1421 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1422 | Provides: php(shmop) | |
1423 | ||
1424 | %description shmop | |
1425 | This is a dynamic shared object (DSO) for PHP that will add Shared | |
1426 | Memory Operations support. | |
1427 | ||
1428 | %description shmop -l pl.UTF-8 | |
1429 | Moduł PHP umożliwiający korzystanie z pamięci dzielonej. | |
1430 | ||
1431 | %package simplexml | |
1432 | Summary: Simple XML extension module for PHP | |
1433 | Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP | |
1434 | Group: Libraries | |
1435 | URL: http://www.php.net/manual/en/book.simplexml.php | |
1436 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1437 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
1438 | Provides: php(simplexml) | |
1439 | ||
1440 | %description simplexml | |
1441 | This is a dynamic shared object (DSO) for PHP that will add Simple XML | |
1442 | support. | |
1443 | ||
1444 | %description simplexml -l pl.UTF-8 | |
1445 | Moduł PHP dodający obsługę prostego XML-a. | |
1446 | ||
1447 | %package snmp | |
1448 | Summary: SNMP extension module for PHP | |
1449 | Summary(pl.UTF-8): Moduł SNMP dla PHP | |
1450 | Group: Libraries | |
1451 | URL: http://www.php.net/manual/en/book.snmp.php | |
1452 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1453 | Requires: %{name}-sockets = %{epoch}:%{version}-%{release} | |
1454 | Provides: php(snmp) | |
1455 | ||
1456 | %description snmp | |
1457 | This is a dynamic shared object (DSO) for PHP that will add SNMP | |
1458 | support. | |
1459 | ||
1460 | %description snmp -l pl.UTF-8 | |
1461 | Moduł PHP dodający obsługę SNMP. | |
1462 | ||
1463 | %package soap | |
1464 | Summary: soap extension module for PHP | |
1465 | Summary(pl.UTF-8): Moduł soap dla PHP | |
1466 | Group: Libraries | |
1467 | URL: http://www.php.net/manual/en/book.soap.php | |
1468 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1469 | Provides: php(soap) | |
1470 | ||
1471 | %description soap | |
1472 | This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL | |
1473 | support. | |
1474 | ||
1475 | %description soap -l pl.UTF-8 | |
1476 | Moduł PHP dodający obsługę SOAP/WSDL. | |
1477 | ||
1478 | %package sockets | |
1479 | Summary: sockets extension module for PHP | |
1480 | Summary(pl.UTF-8): Moduł socket dla PHP | |
1481 | Group: Libraries | |
1482 | URL: http://www.php.net/manual/en/book.sockets.php | |
1483 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1484 | Provides: php(sockets) | |
1485 | ||
1486 | %description sockets | |
1487 | This is a dynamic shared object (DSO) for PHP that will add sockets | |
1488 | support. | |
1489 | ||
1490 | %description sockets -l pl.UTF-8 | |
1491 | Moduł PHP dodający obsługę gniazdek. | |
1492 | ||
1493 | %package spl | |
1494 | Summary: Standard PHP Library module for PHP | |
1495 | Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP | |
1496 | Group: Libraries | |
1497 | URL: http://php.net/manual/en/book.spl.php | |
1498 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1499 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} | |
1500 | Requires: %{name}-simplexml = %{epoch}:%{version}-%{release} | |
1501 | Provides: php(spl) | |
1502 | ||
1503 | %description spl | |
1504 | This is a dynamic shared object (DSO) for PHP that will add Standard | |
1505 | PHP Library support. | |
1506 | ||
1507 | %description spl -l pl.UTF-8 | |
1508 | Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library). | |
1509 | ||
c0240cb1 | 1510 | %package sqlite3 |
1511 | Summary: SQLite3 extension module for PHP | |
1512 | Summary(pl.UTF-8): Moduł SQLite3 dla PHP | |
1513 | Group: Libraries | |
1514 | URL: http://php.net/manual/en/book.sqlite3.php | |
1515 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1516 | Provides: php(sqlite3) | |
1517 | ||
1518 | %description sqlite3 | |
1519 | SQLite is a C library that implements an embeddable SQL database | |
1520 | engine. Programs that link with the SQLite library can have SQL | |
1521 | database access without running a separate RDBMS process. | |
1522 | ||
1523 | SQLite is not a client library used to connect to a big database | |
1524 | server. SQLite is the server. The SQLite library reads and writes | |
1525 | directly to and from the database files on disk. | |
1526 | ||
1527 | %description sqlite3 -l pl.UTF-8 | |
1528 | SQLite jest napisaną w C biblioteką implementującą osadzalny silnik | |
1529 | bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć | |
1530 | dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu | |
1531 | RDBMS. | |
1532 | ||
1533 | SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami | |
1534 | baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i | |
1535 | zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na | |
1536 | dysku. | |
1537 | ||
1538 | %package sybase-ct | |
1539 | Summary: Sybase-CT extension module for PHP | |
1540 | Summary(pl.UTF-8): Moduł Sybase-CT dla PHP | |
1541 | Group: Libraries | |
1542 | URL: http://www.php.net/manual/en/book.sybase.php | |
1543 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1544 | Provides: php(sybase-ct) | |
1545 | Obsoletes: php-sybase | |
1546 | ||
1547 | %description sybase-ct | |
1548 | This is a dynamic shared object (DSO) for PHP that will add Sybase and | |
1549 | MS SQL databases support through CT-lib. | |
1550 | ||
1551 | %description sybase-ct -l pl.UTF-8 | |
1552 | Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez | |
1553 | CT-lib. | |
1554 | ||
1555 | %package sysvmsg | |
1556 | Summary: SysV msg extension module for PHP | |
1557 | Summary(pl.UTF-8): Moduł SysV msg dla PHP | |
1558 | Group: Libraries | |
1559 | URL: http://www.php.net/manual/en/book.sem.php | |
1560 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1561 | Provides: php(sysvmsg) | |
1562 | ||
1563 | %description sysvmsg | |
1564 | This is a dynamic shared object (DSO) for PHP that will add SysV | |
1565 | message queues support. | |
1566 | ||
1567 | %description sysvmsg -l pl.UTF-8 | |
1568 | Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV. | |
1569 | ||
1570 | %package sysvsem | |
1571 | Summary: SysV sem extension module for PHP | |
1572 | Summary(pl.UTF-8): Moduł SysV sem dla PHP | |
1573 | Group: Libraries | |
1574 | URL: http://www.php.net/manual/en/book.sem.php | |
1575 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1576 | Provides: php(sysvsem) | |
1577 | ||
1578 | %description sysvsem | |
1579 | This is a dynamic shared object (DSO) for PHP that will add SysV | |
1580 | semaphores support. | |
1581 | ||
1582 | %description sysvsem -l pl.UTF-8 | |
1583 | Moduł PHP umożliwiający korzystanie z semaforów SysV. | |
1584 | ||
1585 | %package sysvshm | |
1586 | Summary: SysV shm extension module for PHP | |
1587 | Summary(pl.UTF-8): Moduł SysV shm dla PHP | |
1588 | Group: Libraries | |
1589 | URL: http://www.php.net/manual/en/book.shmop.php | |
1590 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1591 | Provides: php(sysvshm) | |
1592 | ||
1593 | %description sysvshm | |
1594 | This is a dynamic shared object (DSO) for PHP that will add SysV | |
1595 | Shared Memory support. | |
1596 | ||
1597 | %description sysvshm -l pl.UTF-8 | |
1598 | Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV. | |
1599 | ||
1600 | %package tests | |
1601 | Summary: Contains unit test files for PHP and extensions | |
1602 | Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń | |
1603 | Group: Libraries | |
1604 | URL: http://qa.php.net/ | |
1605 | Requires: %{name}-cli | |
1606 | ||
1607 | %description tests | |
1608 | This package contains unit tests for PHP and it's extensions. | |
1609 | ||
1610 | %description tests -l pl.UTF-8 | |
1611 | Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń | |
1612 | ||
1613 | %package tidy | |
1614 | Summary: Tidy extension module for PHP | |
1615 | Summary(pl.UTF-8): Moduł Tidy dla PHP | |
1616 | Group: Libraries | |
1617 | URL: http://www.php.net/manual/en/book.tidy.php | |
1618 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1619 | Requires: tidy | |
1620 | Provides: php(tidy) | |
1621 | ||
1622 | %description tidy | |
1623 | This is a dynamic shared object (DSO) for PHP that will add Tidy | |
1624 | support. | |
1625 | ||
1626 | %description tidy -l pl.UTF-8 | |
1627 | Moduł PHP umożliwiający korzystanie z tidy. | |
1628 | ||
1629 | %package tokenizer | |
1630 | Summary: tokenizer extension module for PHP | |
1631 | Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP | |
1632 | Group: Libraries | |
1633 | URL: http://www.php.net/manual/en/book.tokenizer.php | |
1634 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1635 | Provides: php(tokenizer) | |
1636 | ||
1637 | %description tokenizer | |
1638 | This is a dynamic shared object (DSO) for PHP that will add tokenizer | |
1639 | support. | |
1640 | ||
1641 | %description tokenizer -l pl.UTF-8 | |
1642 | Moduł PHP dodający obsługę tokenizera do PHP. | |
1643 | ||
1644 | %package wddx | |
1645 | Summary: wddx extension module for PHP | |
1646 | Summary(pl.UTF-8): Moduł wddx dla PHP | |
1647 | Group: Libraries | |
1648 | URL: http://www.php.net/manual/en/book.wddx.php | |
1649 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1650 | # - wddx doesn't require session as it's disabled at compile time: | |
1651 | # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | |
1652 | # see also php.spec#rev1.120.2.22 | |
1653 | #Requires: %{name}-session = %{epoch}:%{version}-%{release} | |
1654 | Requires: %{name}-xml = %{epoch}:%{version}-%{release} | |
1655 | Provides: php(wddx) | |
1656 | ||
1657 | %description wddx | |
1658 | This is a dynamic shared object (DSO) for PHP that will add wddx | |
1659 | support. | |
1660 | ||
1661 | %description wddx -l pl.UTF-8 | |
1662 | Moduł PHP umożliwiający korzystanie z wddx. | |
1663 | ||
1664 | %package xml | |
1665 | Summary: XML extension module for PHP | |
1666 | Summary(pl.UTF-8): Moduł XML dla PHP | |
1667 | Group: Libraries | |
1668 | URL: http://www.php.net/manual/en/book.xml.php | |
1669 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1670 | Provides: php(xml) | |
1671 | ||
1672 | %description xml | |
1673 | This is a dynamic shared object (DSO) for PHP that will add XML | |
1674 | support. This extension lets you create XML parsers and then define | |
1675 | handlers for different XML events. | |
1676 | ||
1677 | %description xml -l pl.UTF-8 | |
1678 | Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń | |
1679 | związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i | |
1680 | następnie definiować procedury obsługi dla różnych zdarzeń XML. | |
1681 | ||
1682 | %package xmlreader | |
1683 | Summary: XML Reader extension module for PHP | |
1684 | Summary(pl.UTF-8): Moduł XML Reader dla PHP | |
1685 | Group: Libraries | |
1686 | URL: http://www.php.net/manual/en/book.xmlreader.php | |
1687 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1688 | Suggests: %{name}-dom = %{epoch}:%{version}-%{release} | |
1689 | Provides: php(xmlreader) | |
1690 | ||
1691 | %description xmlreader | |
1692 | This is a dynamic shared object (DSO) for PHP that will add XML Reader | |
1693 | support. The XMLReader extension is an XML Pull parser. The reader | |
1694 | acts as a cursor going forward on the document stream and stopping at | |
1695 | each node on the way. | |
1696 | ||
1697 | %description xmlreader -l pl.UTF-8 | |
1698 | Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik | |
1699 | działa jako kursor przechodzący przez strumień dokumentu i | |
1700 | zatrzymujący się na każdym węźle po drodze. | |
1701 | ||
1702 | %package xmlrpc | |
1703 | Summary: xmlrpc extension module for PHP | |
1704 | Summary(pl.UTF-8): Moduł xmlrpc dla PHP | |
1705 | Group: Libraries | |
1706 | URL: http://www.php.net/manual/en/book.xmlrpc.php | |
1707 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1708 | Requires: %{name}-xml = %{epoch}:%{version}-%{release} | |
1709 | Provides: php(xmlrpc) | |
1710 | ||
1711 | %description xmlrpc | |
1712 | This is a dynamic shared object (DSO) for PHP that will add XMLRPC | |
1713 | support. | |
1714 | ||
1715 | %description xmlrpc -l pl.UTF-8 | |
1716 | Moduł PHP dodający obsługę XMLRPC. | |
1717 | ||
1718 | %package xmlwriter | |
1719 | Summary: Fast, non-cached, forward-only means to write XML data | |
1720 | Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML | |
1721 | Group: Libraries | |
1722 | URL: http://www.php.net/manual/en/book.xmlwriter.php | |
1723 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1724 | Provides: php(xmlwriter) | |
1725 | Obsoletes: php-pecl-xmlwriter | |
1726 | ||
1727 | %description xmlwriter | |
1728 | This extension wraps the libxml xmlWriter API. Represents a writer | |
1729 | that provides a non-cached, forward-only means of generating streams | |
1730 | or files containing XML data. | |
1731 | ||
1732 | %description xmlwriter -l pl.UTF-8 | |
1733 | To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę | |
1734 | zapisu dostarczającą nie cachowanych metod generowania strumieni lub | |
1735 | plików zawierających dane XML. | |
1736 | ||
1737 | %package xsl | |
1738 | Summary: xsl extension module for PHP | |
1739 | Summary(pl.UTF-8): Moduł xsl dla PHP | |
1740 | Group: Libraries | |
1741 | URL: http://www.php.net/manual/en/book.xsl.php | |
1742 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1743 | Requires: %{name}-dom = %{epoch}:%{version}-%{release} | |
1744 | Requires: libxslt >= 1.0.18 | |
1745 | # actually not true, functionality is similar, but API differs | |
1746 | Provides: php(xsl) | |
1747 | Obsoletes: php-xslt <= 3:4.3.8-1 | |
1748 | ||
1749 | %description xsl | |
1750 | This is a dynamic shared object (DSO) for PHP that will add new XSL | |
1751 | support (using libxslt). | |
1752 | ||
1753 | %description xsl -l pl.UTF-8 | |
1754 | Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt). | |
1755 | ||
1756 | %package zip | |
1757 | Summary: Zip management extension | |
1758 | Summary(pl.UTF-8): Zarządzanie archiwami zip | |
1759 | Group: Libraries | |
1760 | URL: http://www.php.net/manual/en/book.zip.php | |
1761 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1762 | Provides: php(zip) | |
1763 | Obsoletes: php-pecl-zip | |
1764 | ||
1765 | %description zip | |
1766 | Zip is an extension to create, modify and read zip files. | |
1767 | ||
1768 | %description zip -l pl.UTF-8 | |
1769 | Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz | |
1770 | odczyt archiwów zip. | |
1771 | ||
1772 | %package zlib | |
1773 | Summary: Zlib extension module for PHP | |
1774 | Summary(pl.UTF-8): Moduł zlib dla PHP | |
1775 | Group: Libraries | |
1776 | URL: http://www.php.net/manual/en/book.zlib.php | |
1777 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1778 | Provides: php(zlib) | |
1779 | ||
1780 | %description zlib | |
1781 | This is a dynamic shared object (DSO) for PHP that will add zlib | |
1782 | compression support to PHP. | |
1783 | ||
1784 | %description zlib -l pl.UTF-8 | |
1785 | Moduł PHP umożliwiający używanie kompresji zlib. | |
1786 | ||
1787 | %prep | |
02d2dcbb | 1788 | %setup -q -n %{name}-%{version}alpha2 |
c0240cb1 | 1789 | # prep for suhosin patch |
1790 | %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp | |
1791 | %patch0 -p1 | |
1792 | %patch1 -p1 | |
1793 | %patch2 -p1 | |
1794 | %patch3 -p1 | |
1795 | %patch4 -p1 | |
1796 | %patch5 -p1 | |
1797 | %patch6 -p1 | |
1798 | %patch8 -p1 | |
1799 | %patch7 -p1 | |
1800 | %patch9 -p1 | |
1801 | cp php.ini-production php.ini | |
1802 | %patch10 -p1 | |
1803 | %if %{with type_hints} | |
1804 | %patch12 -p0 | |
1805 | %endif | |
1806 | %patch14 -p1 | |
c0240cb1 | 1807 | %patch17 -p1 |
1808 | %patch18 -p1 | |
1809 | %if %{with system_gd} | |
1810 | %patch19 -p1 | |
1811 | %endif | |
1812 | %patch20 -p1 | |
1813 | %patch21 -p1 | |
1814 | %patch22 -p1 | |
1815 | %patch23 -p1 | |
1816 | %patch24 -p1 | |
1817 | %patch25 -p1 | |
1818 | %patch26 -p1 | |
1819 | %patch27 -p1 | |
1820 | %patch29 -p1 | |
1821 | %patch31 -p1 | |
c0240cb1 | 1822 | %if "%{pld_release}" != "ac" |
1823 | %patch34 -p1 | |
1824 | %endif | |
1825 | %patch35 -p1 | |
1826 | %patch36 -p1 | |
1827 | %patch37 -p1 | |
1828 | %patch38 -p1 | |
1829 | %patch39 -p1 | |
1830 | %if %{with fpm} | |
1831 | %patch41 -p1 | |
1832 | %patch42 -p1 | |
1833 | %endif | |
1834 | %patch43 -p1 | |
1835 | %patch44 -p1 | |
02d2dcbb ER |
1836 | #%patch45 -p1 # imap annotations. fixme |
1837 | #%patch46 -p1 # imap myrights. fixme | |
c0240cb1 | 1838 | %if %{with suhosin} |
1839 | %patch47 -p1 | |
1840 | %endif | |
c0240cb1 | 1841 | %patch50 -p1 |
1842 | %patch51 -p1 | |
1843 | %patch52 -p1 | |
1844 | %patch53 -p1 | |
1845 | %patch54 -p1 | |
1846 | %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt | |
1847 | %patch55 -p1 | |
1848 | %patch57 -p1 | |
1849 | %patch59 -p1 | |
1850 | %patch60 -p1 | |
1851 | %patch61 -p1 | |
1852 | %patch62 -p1 | |
1853 | %patch63 -p1 | |
c0240cb1 | 1854 | %{__rm} -r sapi/litespeed |
1855 | gzip -dc %{SOURCE15} | tar xf - -C sapi/ | |
1856 | ||
1857 | %if "%{pld_release}" != "ac" | |
1858 | sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4 | |
1859 | %endif | |
1860 | ||
1861 | # cleanup backups after patching | |
1862 | find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f | |
1863 | ||
1864 | # conflict seems to be resolved by recode patches | |
1865 | %{__rm} ext/recode/config9.m4 | |
1866 | ||
1867 | # remove all bundled libraries not to link with them accidentally | |
c0240cb1 | 1868 | %{__rm} -r ext/sqlite3/libsqlite |
1869 | #%{__rm} -r ext/bcmath/libbcmath | |
1870 | #%{__rm} -r ext/date/lib | |
1871 | #%{__rm} -r ext/fileinfo/libmagic | |
1872 | #%{__rm} -r ext/dba/libcdb | |
1873 | #%{__rm} -r ext/dba/libflatfile | |
1874 | #%{__rm} -r ext/dba/libinifile | |
1875 | #%{__rm} -r ext/gd/libgd | |
1876 | #%{__rm} -r ext/mbstring/libmbfl | |
1877 | #%{__rm} -r ext/mbstring/oniguruma | |
1878 | %{__rm} -r ext/pcre/pcrelib | |
1879 | #%{__rm} -r ext/soap/interop | |
1880 | %{__rm} -r ext/xmlrpc/libxmlrpc | |
1881 | #%{__rm} -r ext/zip/lib | |
1882 | ||
1883 | cp -af Zend/LICENSE{,.Zend} | |
1884 | install -p %{SOURCE13} dep-tests.sh | |
1885 | ||
1886 | # breaks build | |
1887 | sed -i -e 's#-fvisibility=hidden##g' configure* | |
1888 | ||
1889 | # disable broken tests | |
1890 | # says just "Terminated" twice and fails | |
1891 | mv sapi/cli/tests/022.phpt{,.broken} | |
1892 | ||
1893 | # php-5.3.3/ext/standard/tests/file/statpage.phpt | |
1894 | %{__rm} ext/standard/tests/file/statpage.phpt | |
1895 | ||
1896 | # idiotic test, it will fail if somebody else makes space on disk or if disk | |
1897 | # space is not yet allocated (xfs). report upstream to advice bogus test is | |
1898 | # probably pointless. | |
1899 | %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt | |
1900 | ||
1901 | sh -xe %{_sourcedir}/skip-tests.sh | |
1902 | ||
1903 | %build | |
1904 | API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) | |
1905 | if [ $API != %{php_api_version} ]; then | |
1906 | echo "Set %%define php_api_version to $API and re-run." | |
1907 | exit 1 | |
1908 | fi | |
1909 | ||
1910 | API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) | |
1911 | if [ $API != %{zend_module_api} ]; then | |
1912 | echo "Set %%define zend_module_api to $API and re-run." | |
1913 | exit 1 | |
1914 | fi | |
1915 | ||
1916 | API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) | |
1917 | if [ $API != %{zend_extension_api} ]; then | |
1918 | echo "Set %%define zend_extension_api to $API and re-run." | |
1919 | exit 1 | |
1920 | fi | |
1921 | ||
1922 | export EXTENSION_DIR="%{php_extensiondir}" | |
1923 | # configure once (for faster debugging purposes) | |
1924 | if [ ! -f _built-conf ]; then | |
1925 | # now remove Makefile copies | |
1926 | rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed} | |
1927 | %{__libtoolize} | |
1928 | %{__aclocal} | |
1929 | cp -f /usr/share/automake/config.* . | |
1930 | ./buildconf --force | |
1931 | touch _built-conf | |
1932 | fi | |
1933 | export PROG_SENDMAIL="/usr/lib/sendmail" | |
1934 | export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \ | |
1935 | -I%{_includedir}/xmlrpc-epi" | |
1936 | ||
1937 | sapis=" | |
1938 | cli | |
1939 | %if %{with cgi} | |
1940 | cgi-fcgi | |
1941 | %endif | |
1942 | %if %{with litespeed} | |
1943 | litespeed | |
1944 | %endif | |
1945 | %if %{with fpm} | |
1946 | fpm | |
1947 | %endif | |
1948 | %if %{with apache1} | |
1949 | apxs1 | |
1950 | %endif | |
1951 | %if %{with apache2} | |
1952 | apxs2 | |
1953 | %endif | |
1954 | " | |
1955 | for sapi in $sapis; do | |
1956 | : SAPI $sapi | |
1957 | # skip if already configured (for faster debugging purposes) | |
1958 | [ -f Makefile.$sapi ] && continue | |
1959 | ||
1960 | sapi_args='' | |
1961 | case $sapi in | |
1962 | cgi-fcgi) | |
1963 | sapi_args='--disable-cli' | |
1964 | ;; | |
1965 | cli) | |
1966 | sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}' | |
1967 | ;; | |
1968 | fpm) | |
1969 | sapi_args='--disable-cli --enable-fpm' | |
1970 | ;; | |
1971 | apxs1) | |
1972 | ver=$(rpm -q --qf '%{V}' apache1-devel) | |
1973 | sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver" | |
1974 | ;; | |
1975 | apxs2) | |
1976 | ver=$(rpm -q --qf '%{V}' apache-devel) | |
1977 | sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver" | |
1978 | ;; | |
1979 | litespeed) | |
1980 | sapi_args='--with-litespeed' | |
1981 | ;; | |
1982 | esac | |
1983 | ||
1984 | %configure \ | |
1985 | $sapi_args \ | |
1986 | %if "%{!?configure_cache:0}%{?configure_cache}" == "0" | |
1987 | --cache-file=config.cache \ | |
1988 | %endif | |
1989 | --with-libdir=%{_lib} \ | |
1990 | --with-config-file-path=%{_sysconfdir} \ | |
1991 | --with-config-file-scan-dir=%{_sysconfdir}/conf.d \ | |
c0240cb1 | 1992 | --with-system-tzdata \ |
1993 | --%{!?debug:dis}%{?debug:en}able-debug \ | |
1994 | %{?with_zts:--enable-maintainer-zts} \ | |
1995 | --enable-inline-optimization \ | |
1996 | --enable-bcmath=shared \ | |
1997 | --enable-calendar=shared \ | |
1998 | --enable-ctype=shared \ | |
1999 | --enable-dba=shared \ | |
2000 | --enable-dom=shared \ | |
2001 | --enable-exif=shared \ | |
2002 | --enable-fileinfo=shared \ | |
2003 | --enable-ftp=shared \ | |
2004 | --enable-gd-native-ttf \ | |
2005 | --enable-intl=shared \ | |
2006 | --enable-libxml \ | |
2007 | --enable-magic-quotes \ | |
2008 | --enable-mbstring=shared,all \ | |
2009 | --enable-mbregex \ | |
2010 | --enable-pcntl=shared \ | |
2011 | --enable-pdo=shared \ | |
2012 | --enable-json=shared \ | |
2013 | --enable-hash=shared \ | |
2014 | --enable-xmlwriter=shared \ | |
2015 | %if %{with fpm} | |
2016 | --with-fpm-user=http \ | |
2017 | --with-fpm-group=http \ | |
2018 | %endif | |
2019 | %if %{with mssql} || %{with sybase_ct} | |
2020 | --with-pdo-dblib=shared \ | |
2021 | %endif | |
2022 | %if %{with interbase} && %{without interbase_inst} | |
2023 | --with-pdo-firebird=shared,/usr \ | |
2024 | %endif | |
2025 | %{?with_mhash:--with-mhash=yes} \ | |
2026 | --with-mysql-sock=/var/lib/mysql/mysql.sock \ | |
2027 | --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \ | |
2028 | %{?with_oci8:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \ | |
2029 | %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \ | |
2030 | %{?with_pgsql:--with-pdo-pgsql=shared} \ | |
2031 | %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \ | |
2032 | --without-libexpat-dir \ | |
2033 | --enable-posix=shared \ | |
2034 | --enable-shared \ | |
2035 | --enable-session=shared \ | |
2036 | --enable-shmop=shared \ | |
2037 | --enable-simplexml=shared \ | |
2038 | --enable-sysvmsg=shared \ | |
2039 | --enable-sysvsem=shared \ | |
2040 | --enable-sysvshm=shared \ | |
c0240cb1 | 2041 | --enable-soap=shared \ |
2042 | --enable-sockets=shared \ | |
2043 | --enable-tokenizer=shared \ | |
c0240cb1 | 2044 | %{?with_wddx:--enable-wddx=shared} \ |
2045 | --enable-xml=shared \ | |
2046 | --enable-xmlreader=shared \ | |
2047 | --with-bz2=shared \ | |
2048 | %{__with_without curl curl shared} \ | |
2049 | --with-db4 \ | |
2050 | --with-iconv=shared \ | |
2051 | --with-freetype-dir=shared \ | |
2052 | --with-gettext=shared \ | |
2053 | --with-gd=shared%{?with_system_gd:,/usr} \ | |
2054 | --with-gdbm \ | |
2055 | --with-gmp=shared \ | |
2056 | %{?with_imap:--with-imap=shared --with-imap-ssl} \ | |
2057 | %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \ | |
2058 | --with-jpeg-dir=/usr \ | |
2059 | %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \ | |
2060 | --with-mcrypt=shared \ | |
2061 | %{?with_mm:--with-mm} \ | |
2062 | %{?with_mssql:--with-mssql=shared} \ | |
2063 | %{?with_mysqlnd:--with-mysqlnd=shared} \ | |
2064 | --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \ | |
2065 | %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \ | |
2066 | %{?with_oci8:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \ | |
2067 | %{?with_openssl:--with-openssl=shared} \ | |
2068 | %{?with_kerberos5:--with-kerberos} \ | |
2069 | %{__with_without pcre pcre-regex /usr} \ | |
2070 | %{__enable_disable filter filter shared} \ | |
2071 | --with-pear=%{php_pear_dir} \ | |
2072 | %{__with_without pgsql pgsql shared,/usr} \ | |
2073 | %{__enable_disable phar phar shared} \ | |
2074 | --with-png-dir=/usr \ | |
2075 | %{?with_pspell:--with-pspell=shared} \ | |
2076 | --with-readline=shared \ | |
2077 | %{?with_recode:--with-recode=shared} \ | |
2078 | --with-regex=system \ | |
2079 | %{?with_snmp:--with-snmp=shared} \ | |
2080 | %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \ | |
c0240cb1 | 2081 | %{!?with_pdo_sqlite:--without-pdo-sqlite} \ |
2082 | %{__with_without sqlite3 sqlite3 shared,/usr} \ | |
2083 | --with-t1lib=shared \ | |
2084 | %{?with_tidy:--with-tidy=shared} \ | |
2085 | %{?with_odbc:--with-unixODBC=shared,/usr} \ | |
2086 | %{__with_without xmlrpc xmlrpc shared,/usr} \ | |
2087 | --with-xsl=shared \ | |
2088 | --with-zlib=shared \ | |
2089 | --with-zlib-dir=shared,/usr \ | |
2090 | --enable-zip=shared,/usr \ | |
2091 | ||
2092 | # save for debug | |
2093 | cp -f Makefile Makefile.$sapi | |
2094 | cp -f main/php_config.h php_config.h.$sapi | |
2095 | cp -f config.log config.log.$sapi | |
2096 | done | |
2097 | ||
2098 | # as we build each SAPI in own make, adjust php-config.in forehead | |
2099 | sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs) | |
2100 | sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in" | |
2101 | ||
2102 | # must make libphp_common first, so modules can link against it. | |
2103 | cp -af php_config.h.cli main/php_config.h | |
2104 | cp -af Makefile.cli Makefile | |
2105 | %{__make} libphp_common.la | |
2106 | %{__make} build-modules | |
2107 | ||
2108 | %if %{with apache1} | |
2109 | %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1 | |
2110 | %endif | |
2111 | ||
2112 | %if %{with apache2} | |
2113 | %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2 | |
2114 | %endif | |
2115 | ||
2116 | %if %{with litespeed} | |
2117 | %{__make} -f Makefile.litespeed | |
2118 | %endif | |
2119 | ||
2120 | # CGI/FCGI | |
2121 | %if %{with cgi} | |
2122 | cp -af php_config.h.cgi-fcgi main/php_config.h | |
2123 | %{__make} -f Makefile.cgi-fcgi | |
2124 | [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1 | |
2125 | %endif | |
2126 | ||
2127 | # PHP FPM | |
2128 | %if %{with fpm} | |
2129 | cp -af php_config.h.fpm main/php_config.h | |
2130 | %{__make} -f Makefile.fpm | |
2131 | ./sapi/fpm/php-fpm -qn -m > /dev/null | |
2132 | %endif | |
2133 | ||
2134 | # CLI | |
2135 | cp -af php_config.h.cli main/php_config.h | |
2136 | %{__make} -f Makefile.cli | |
2137 | [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1 | |
2138 | ||
2139 | # check for stupid xml parse breakage where < and > just get lost in parse result | |
2140 | ./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"]));' | |
2141 | ||
2142 | # Generate stub .ini files for each extension | |
2143 | rm -rf conf.d | |
2144 | install -d conf.d | |
2145 | generate_inifiles() { | |
2146 | for so in modules/*.so; do | |
2147 | mod=$(basename $so .so) | |
2148 | conf="$mod.ini" | |
2149 | # xml needs to be loaded before wddx | |
2150 | [ "$mod" = "wddx" ] && conf="xml_$mod.ini" | |
2151 | # pre needs to be loaded before SPL | |
2152 | [ "$mod" = "pcre" ] && conf="PCRE.ini" | |
2153 | # spl needs to be loaded before mysqli | |
2154 | [ "$mod" = "spl" ] && conf="SPL.ini" | |
2155 | # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql | |
2156 | [ "$mod" = "session" ] && conf="Session.ini" | |
2157 | # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli | |
2158 | [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini" | |
2159 | echo "+ $conf" | |
2160 | cat > conf.d/$conf <<-EOF | |
2161 | ; Enable $mod extension module | |
2162 | extension=$mod.so | |
2163 | EOF | |
2164 | done | |
2165 | } | |
2166 | generate_inifiles | |
2167 | ||
2168 | # Check that the module inner-dependencies are intact | |
2169 | PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log | |
2170 | if grep -v OK dep-tests.log; then | |
2171 | echo >&2 "The results above were not expected" | |
2172 | exit 1 | |
2173 | fi | |
2174 | ||
2175 | %if %{with gcov} | |
2176 | # Use CLI SAPI | |
2177 | cp -af php_config.h.cli main/php_config.h | |
2178 | cp -af Makefile.cli Makefile | |
2179 | %{__make} lcov | |
2180 | # you really don't want to package result of gcov build | |
2181 | exit 1 | |
2182 | %endif | |
2183 | ||
2184 | %if %{with tests} | |
2185 | # Run tests, using the CLI SAPI | |
2186 | cp -af php_config.h.cli main/php_config.h | |
2187 | cp -af Makefile.cli Makefile | |
2188 | ||
2189 | cat <<'EOF' > run-tests.sh | |
2190 | #!/bin/sh | |
2191 | export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 | |
2192 | unset TZ LANG LC_ALL || : | |
2193 | %{__make} test \ | |
2194 | EXTENSION_DIR=modules \ | |
2195 | PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \ | |
2196 | RUN_TESTS_SETTINGS="-q $*" | |
2197 | EOF | |
2198 | chmod +x run-tests.sh | |
2199 | ./run-tests.sh -w failed.log -s test.log | |
2200 | ||
2201 | # collect failed tests into cleanup script used in prep. | |
2202 | sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log | |
2203 | sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \ | |
2204 | >> %{_sourcedir}/skip-tests.sh | |
2205 | ||
2206 | failed=$(wc -l < tests-failed.log) | |
2207 | if [ "$failed" != 0 ]; then | |
2208 | exit 1 | |
2209 | fi | |
2210 | %endif | |
2211 | ||
2212 | %install | |
2213 | rm -rf $RPM_BUILD_ROOT | |
2214 | install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \ | |
2215 | $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \ | |
2216 | $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \ | |
2217 | $RPM_BUILD_ROOT%{_mandir}/man{1,8} \ | |
2218 | ||
2219 | cp -af php_config.h.cli main/php_config.h | |
2220 | cp -af Makefile.cli Makefile | |
2221 | %{__make} install \ | |
2222 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
2223 | ||
2224 | # make link relative | |
2225 | ln -sfn phar.phar $RPM_BUILD_ROOT%{_bindir}/phar | |
2226 | ||
2227 | # install Apache1 DSO module | |
2228 | %if %{with apache1} | |
2229 | libtool --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1 | |
2230 | %endif | |
2231 | ||
2232 | # install Apache2 DSO module | |
2233 | %if %{with apache2} | |
2234 | libtool --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache | |
2235 | %endif | |
2236 | ||
2237 | # install litespeed sapi | |
2238 | %if %{with litespeed} | |
2239 | libtool --mode=install install sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/php.litespeed | |
2240 | %endif | |
2241 | ||
2242 | libtool --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir} | |
2243 | # fix install paths, avoid evil rpaths | |
2244 | sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la | |
2245 | # better solution? | |
2246 | sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4 | |
2247 | ||
2248 | # install CGI/FCGI | |
2249 | %if %{with cgi} | |
2250 | libtool --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi | |
2251 | ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi | |
2252 | cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini | |
2253 | %endif | |
2254 | ||
2255 | # install FCGI PM | |
2256 | %if %{with fpm} | |
2257 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}} | |
2258 | libtool --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir} | |
2259 | cp -a sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
2260 | cp -a sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir} | |
2261 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d | |
2262 | install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm | |
2263 | install -d $RPM_BUILD_ROOT/etc/logrotate.d | |
2264 | cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm | |
2265 | %endif | |
2266 | ||
2267 | # install CLI | |
2268 | libtool --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli | |
2269 | install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1 | |
2270 | echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1 | |
2271 | ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php | |
2272 | ||
2273 | sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini | |
2274 | ||
2275 | cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini | |
2276 | cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini | |
2277 | ||
2278 | %if %{with apache1} | |
2279 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf | |
2280 | cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini | |
2281 | rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la | |
2282 | %endif | |
2283 | ||
2284 | %if %{with apache2} | |
2285 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf | |
2286 | cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini | |
2287 | rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la | |
2288 | %endif | |
2289 | ||
2290 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d | |
2291 | cp -a conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d | |
2292 | ||
2293 | # per SAPI ini directories | |
2294 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d | |
2295 | ||
2296 | # for CLI SAPI only | |
2297 | mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d} | |
2298 | ||
2299 | # use system automake and {lib,sh}tool | |
2300 | %if "%{pld_release}" != "ac" | |
2301 | ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build | |
2302 | for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do | |
2303 | ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build | |
2304 | done | |
2305 | ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build | |
2306 | %else | |
2307 | ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build | |
2308 | ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build | |
2309 | %endif | |
2310 | ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build | |
2311 | ||
2312 | # for php-pecl-mailparse | |
2313 | install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring | |
2314 | cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring | |
2315 | ||
2316 | # tests | |
2317 | install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php | |
2318 | install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php | |
2319 | cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php | |
2320 | ||
2321 | %clean | |
2322 | rm -rf $RPM_BUILD_ROOT | |
2323 | ||
2324 | %post -n apache1-mod_php | |
2325 | if [ "$1" = "1" ]; then | |
2326 | %service -q apache restart | |
2327 | fi | |
2328 | ||
2329 | %postun -n apache1-mod_php | |
2330 | if [ "$1" = "0" ]; then | |
2331 | %service -q apache restart | |
2332 | fi | |
2333 | ||
2334 | %post -n apache-mod_php | |
2335 | if [ "$1" = "1" ]; then | |
2336 | %service -q httpd restart | |
2337 | fi | |
2338 | ||
2339 | %postun -n apache-mod_php | |
2340 | if [ "$1" = "0" ]; then | |
2341 | %service -q httpd restart | |
2342 | fi | |
2343 | ||
2344 | %pre fpm | |
2345 | %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http | |
2346 | ||
2347 | %post fpm | |
2348 | /sbin/chkconfig --add php-fpm | |
2349 | %service php-fpm restart | |
2350 | ||
2351 | %preun fpm | |
2352 | if [ "$1" = 0 ]; then | |
2353 | %service php-fpm stop | |
2354 | /sbin/chkconfig --del php-fpm | |
2355 | fi | |
2356 | ||
2357 | %postun fpm | |
2358 | if [ "$1" = "0" ]; then | |
2359 | %userremove http | |
2360 | fi | |
2361 | ||
2362 | %post common | |
2363 | # PHP 5.3 requires timezone being setup, try setup it from tzdata | |
2364 | if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then | |
2365 | TIMEZONE= | |
2366 | . /etc/sysconfig/timezone | |
2367 | if [ "$TIMEZONE" ]; then | |
2368 | %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini | |
2369 | fi | |
2370 | fi | |
2371 | ||
2372 | %posttrans common | |
2373 | # minimizing apache restarts logics. we restart webserver: | |
2374 | # | |
2375 | # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2) | |
2376 | # 2. first install of extension (post: $1 = 1) | |
2377 | # 2. uninstall of extension (postun: $1 == 0) | |
2378 | # | |
2379 | # the strict internal deps between extensions (and apache modules) and | |
2380 | # common package are very important for all this to work. | |
2381 | ||
2382 | # restart webserver at the end of transaction | |
2383 | [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart | |
2384 | [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart | |
2385 | ||
2386 | %if %{with apache1} | |
2387 | %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11 | |
2388 | sed -i -e ' | |
2389 | /^AddType application\/x-httpd-php \.php/s,^,#, | |
2390 | /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d | |
2391 | ' /etc/apache/apache.conf | |
2392 | %service -q apache restart | |
2393 | %endif | |
2394 | ||
2395 | %if %{with apache2} | |
2396 | %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1 | |
2397 | # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2 | |
2398 | if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then | |
2399 | cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew} | |
2400 | mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini | |
2401 | fi | |
2402 | %endif | |
2403 | ||
2404 | # common macros called at extension post/postun scriptlet | |
2405 | %define extension_scripts() \ | |
2406 | %post %1 \ | |
2407 | if [ "$1" = "1" ]; then \ | |
2408 | %php_webserver_restart \ | |
2409 | fi \ | |
2410 | \ | |
2411 | %postun %1 \ | |
2412 | if [ "$1" = "0" ]; then \ | |
2413 | %php_webserver_restart \ | |
2414 | fi | |
2415 | %{nil} | |
2416 | ||
2417 | # extension scripts defines | |
2418 | %extension_scripts bcmath | |
2419 | %extension_scripts bz2 | |
2420 | %extension_scripts calendar | |
2421 | %extension_scripts ctype | |
2422 | %extension_scripts curl | |
2423 | %extension_scripts dba | |
2424 | %extension_scripts dom | |
2425 | %extension_scripts exif | |
2426 | %extension_scripts fileinfo | |
2427 | %extension_scripts filter | |
2428 | %extension_scripts ftp | |
2429 | %extension_scripts gd | |
2430 | %extension_scripts gettext | |
2431 | %extension_scripts gmp | |
2432 | %extension_scripts hash | |
2433 | %extension_scripts iconv | |
2434 | %extension_scripts imap | |
2435 | %extension_scripts interbase | |
2436 | %extension_scripts intl | |
2437 | %extension_scripts json | |
2438 | %extension_scripts ldap | |
2439 | %extension_scripts mbstring | |
2440 | %extension_scripts mcrypt | |
2441 | %extension_scripts mssql | |
2442 | %extension_scripts mysql | |
2443 | %extension_scripts mysqli | |
2444 | %extension_scripts mysqlnd | |
2445 | %extension_scripts oci8 | |
2446 | %extension_scripts odbc | |
2447 | %extension_scripts openssl | |
2448 | %extension_scripts pcre | |
2449 | %extension_scripts pdo-dblib | |
2450 | %extension_scripts pdo-firebird | |
2451 | %extension_scripts pdo-mysql | |
2452 | %extension_scripts pdo-odbc | |
2453 | %extension_scripts pdo-pgsql | |
2454 | %extension_scripts pdo-sqlite | |
2455 | %extension_scripts pgsql | |
2456 | %extension_scripts phar | |
2457 | %extension_scripts posix | |
2458 | %extension_scripts pspell | |
2459 | %extension_scripts recode | |
2460 | %extension_scripts session | |
2461 | %extension_scripts shmop | |
2462 | %extension_scripts snmp | |
2463 | %extension_scripts soap | |
2464 | %extension_scripts sockets | |
2465 | %extension_scripts spl | |
c0240cb1 | 2466 | %extension_scripts sqlite3 |
2467 | %extension_scripts sybase-ct | |
2468 | %extension_scripts sysvmsg | |
2469 | %extension_scripts sysvsem | |
2470 | %extension_scripts sysvshm | |
2471 | %extension_scripts tidy | |
2472 | %extension_scripts tokenizer | |
2473 | %extension_scripts wddx | |
2474 | %extension_scripts xml | |
2475 | %extension_scripts xmlreader | |
2476 | %extension_scripts xmlrpc | |
2477 | %extension_scripts xmlwriter | |
2478 | %extension_scripts xsl | |
2479 | %extension_scripts zip | |
2480 | %extension_scripts zlib | |
2481 | ||
2482 | %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1 | |
2483 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini | |
2484 | ||
2485 | %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1 | |
2486 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini | |
2487 | ||
2488 | %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1 | |
2489 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini | |
2490 | ||
2491 | %triggerun curl -- %{name}-curl < 4:5.0.4-9.1 | |
2492 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini | |
2493 | ||
2494 | %triggerun dba -- %{name}-dba < 4:5.0.4-9.1 | |
2495 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini | |
2496 | ||
2497 | %triggerun dom -- %{name}-dom < 4:5.0.4-9.1 | |
2498 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini | |
2499 | ||
2500 | %triggerun exif -- %{name}-exif < 4:5.0.4-9.1 | |
2501 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini | |
2502 | ||
2503 | %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1 | |
2504 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini | |
2505 | ||
2506 | %triggerun gd -- %{name}-gd < 4:5.0.4-9.1 | |
2507 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini | |
2508 | ||
2509 | %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1 | |
2510 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini | |
2511 | ||
2512 | %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1 | |
2513 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini | |
2514 | ||
2515 | %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1 | |
2516 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini | |
2517 | ||
2518 | %triggerun imap -- %{name}-imap < 4:5.0.4-9.1 | |
2519 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini | |
2520 | ||
2521 | %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1 | |
2522 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini | |
2523 | ||
2524 | %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1 | |
2525 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini | |
2526 | ||
2527 | %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1 | |
2528 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini | |
2529 | ||
2530 | %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1 | |
2531 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini | |
2532 | ||
2533 | %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1 | |
2534 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini | |
2535 | ||
2536 | %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1 | |
2537 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini | |
2538 | ||
2539 | %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1 | |
2540 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini | |
2541 | ||
2542 | %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1 | |
2543 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini | |
2544 | ||
2545 | %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1 | |
2546 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini | |
2547 | ||
2548 | %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1 | |
2549 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini | |
2550 | ||
2551 | %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5 | |
2552 | if [ -f %{_sysconfdir}/php-cgi.ini ]; then | |
2553 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini | |
2554 | fi | |
2555 | if [ -f %{_sysconfdir}/php-cli.ini ]; then | |
2556 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini | |
2557 | fi | |
2558 | ||
2559 | %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1 | |
2560 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini | |
2561 | ||
2562 | %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1 | |
2563 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini | |
2564 | ||
2565 | %triggerun posix -- %{name}-posix < 4:5.0.4-9.1 | |
2566 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini | |
2567 | ||
2568 | %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1 | |
2569 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini | |
2570 | ||
2571 | %triggerun readline -- %{name}-readline < 4:5.1.2-9.5 | |
2572 | if [ -f %{_sysconfdir}/php-cgi.ini ]; then | |
2573 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini | |
2574 | fi | |
2575 | if [ -f %{_sysconfdir}/php-cli.ini ]; then | |
2576 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini | |
2577 | fi | |
2578 | ||
2579 | %triggerun recode -- %{name}-recode < 4:5.0.4-9.1 | |
2580 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini | |
2581 | ||
2582 | %triggerun session -- %{name}-session < 4:5.0.4-9.1 | |
2583 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini | |
2584 | ||
2585 | %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1 | |
2586 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini | |
2587 | ||
2588 | %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1 | |
2589 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini | |
2590 | ||
2591 | %triggerun soap -- %{name}-soap < 4:5.0.4-9.1 | |
2592 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini | |
2593 | ||
2594 | %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1 | |
2595 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini | |
2596 | ||
c0240cb1 | 2597 | %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1 |
2598 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini | |
2599 | ||
2600 | %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1 | |
2601 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini | |
2602 | ||
2603 | %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1 | |
2604 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini | |
2605 | ||
2606 | %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1 | |
2607 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini | |
2608 | ||
2609 | %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1 | |
2610 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini | |
2611 | ||
2612 | %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1 | |
2613 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini | |
2614 | ||
2615 | %triggerun xml -- %{name}-xml < 4:5.0.4-9.1 | |
2616 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini | |
2617 | ||
2618 | %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1 | |
2619 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini | |
2620 | ||
2621 | %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1 | |
2622 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini | |
2623 | ||
2624 | %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1 | |
2625 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini | |
2626 | ||
2627 | %if %{with apache1} | |
2628 | %files -n apache1-mod_php | |
2629 | %defattr(644,root,root,755) | |
2630 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf | |
2631 | %dir %{_sysconfdir}/apache.d | |
2632 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini | |
2633 | %attr(755,root,root) %{_libdir}/apache1/libphp5.so | |
2634 | %endif | |
2635 | ||
2636 | %if %{with apache2} | |
2637 | %files -n apache-mod_php | |
2638 | %defattr(644,root,root,755) | |
2639 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf | |
2640 | %dir %{_sysconfdir}/apache2handler.d | |
2641 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini | |
2642 | %attr(755,root,root) %{_libdir}/apache/libphp5.so | |
2643 | %endif | |
2644 | ||
2645 | %if %{with litespeed} | |
2646 | %files litespeed | |
2647 | %defattr(644,root,root,755) | |
2648 | %attr(755,root,root) %{_sbindir}/php.litespeed | |
2649 | %endif | |
2650 | ||
2651 | %if %{with cgi} | |
2652 | %files cgi | |
2653 | %defattr(644,root,root,755) | |
2654 | %dir %{_sysconfdir}/cgi-fcgi.d | |
2655 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini | |
2656 | %attr(755,root,root) %{_bindir}/php.cgi | |
2657 | %attr(755,root,root) %{_bindir}/php.fcgi | |
2658 | %endif | |
2659 | ||
2660 | %files cli | |
2661 | %defattr(644,root,root,755) | |
2662 | %dir %{_sysconfdir}/cli.d | |
2663 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini | |
2664 | %attr(755,root,root) %{_bindir}/php.cli | |
2665 | %{_mandir}/man1/php.1* | |
2666 | %{_mandir}/man1/php.cli.1* | |
2667 | ||
2668 | %files program | |
2669 | %defattr(644,root,root,755) | |
2670 | %attr(755,root,root) %{_bindir}/php | |
2671 | ||
2672 | %if %{with fpm} | |
2673 | %files fpm | |
2674 | %defattr(644,root,root,755) | |
2675 | %doc sapi/fpm/CREDITS | |
2676 | %doc sapi/fpm/LICENSE | |
2677 | %dir %{_sysconfdir}/fpm.d | |
2678 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf | |
2679 | %attr(755,root,root) %{_sbindir}/php-fpm | |
2680 | %{_mandir}/man8/php-fpm.8* | |
2681 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm | |
2682 | %attr(754,root,root) /etc/rc.d/init.d/php-fpm | |
2683 | %endif | |
2684 | ||
2685 | %files common | |
2686 | %defattr(644,root,root,755) | |
2687 | %doc php.ini-* | |
2688 | %doc CREDITS Zend/ZEND_CHANGES | |
02d2dcbb | 2689 | %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS |
c0240cb1 | 2690 | %doc README.PHP4-TO-PHP5-THIN-CHANGES |
2691 | %doc README.namespaces | |
2692 | ||
2693 | %dir %{_sysconfdir} | |
2694 | %dir %{_sysconfdir}/conf.d | |
2695 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini | |
2696 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini | |
2697 | %attr(755,root,root) %{_libdir}/libphp_common-*.so | |
2698 | %dir %{php_extensiondir} | |
2699 | ||
2700 | %doc ext/session/mod_files.sh | |
2701 | ||
2702 | %files devel | |
2703 | %defattr(644,root,root,755) | |
2704 | %doc README.UNIX-BUILD-SYSTEM | |
2705 | %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS | |
2706 | %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS | |
2707 | %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2 | |
2708 | %attr(755,root,root) %{_bindir}/phpize | |
2709 | %attr(755,root,root) %{_bindir}/php-config | |
2710 | %attr(755,root,root) %{_libdir}/libphp_common.so | |
2711 | %{_libdir}/libphp_common.la | |
2712 | %{_includedir}/php | |
2713 | %{_libdir}/php/build | |
2714 | %{_mandir}/man1/php-config.1* | |
2715 | %{_mandir}/man1/phpize.1* | |
2716 | ||
2717 | %files bcmath | |
2718 | %defattr(644,root,root,755) | |
2719 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini | |
2720 | %attr(755,root,root) %{php_extensiondir}/bcmath.so | |
2721 | ||
2722 | %files bz2 | |
2723 | %defattr(644,root,root,755) | |
2724 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini | |
2725 | %attr(755,root,root) %{php_extensiondir}/bz2.so | |
2726 | ||
2727 | %files calendar | |
2728 | %defattr(644,root,root,755) | |
2729 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini | |
2730 | %attr(755,root,root) %{php_extensiondir}/calendar.so | |
2731 | ||
2732 | %files ctype | |
2733 | %defattr(644,root,root,755) | |
2734 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini | |
2735 | %attr(755,root,root) %{php_extensiondir}/ctype.so | |
2736 | ||
2737 | %if %{with curl} | |
2738 | %files curl | |
2739 | %defattr(644,root,root,755) | |
2740 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini | |
2741 | %attr(755,root,root) %{php_extensiondir}/curl.so | |
2742 | %endif | |
2743 | ||
2744 | %files dba | |
2745 | %defattr(644,root,root,755) | |
2746 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini | |
2747 | %attr(755,root,root) %{php_extensiondir}/dba.so | |
2748 | ||
2749 | %files dom | |
2750 | %defattr(644,root,root,755) | |
2751 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini | |
2752 | %attr(755,root,root) %{php_extensiondir}/dom.so | |
2753 | ||
2754 | %files exif | |
2755 | %defattr(644,root,root,755) | |
2756 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini | |
2757 | %attr(755,root,root) %{php_extensiondir}/exif.so | |
2758 | ||
2759 | %files fileinfo | |
2760 | %defattr(644,root,root,755) | |
2761 | %doc README.input_filter | |
2762 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini | |
2763 | %attr(755,root,root) %{php_extensiondir}/fileinfo.so | |
2764 | ||
2765 | %if %{with filter} | |
2766 | %files filter | |
2767 | %defattr(644,root,root,755) | |
2768 | %doc README.input_filter | |
2769 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini | |
2770 | %attr(755,root,root) %{php_extensiondir}/filter.so | |
2771 | %endif | |
2772 | ||
2773 | %files ftp | |
2774 | %defattr(644,root,root,755) | |
2775 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini | |
2776 | %attr(755,root,root) %{php_extensiondir}/ftp.so | |
2777 | ||
2778 | %files gd | |
2779 | %defattr(644,root,root,755) | |
2780 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini | |
2781 | %attr(755,root,root) %{php_extensiondir}/gd.so | |
2782 | ||
2783 | %files gettext | |
2784 | %defattr(644,root,root,755) | |
2785 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini | |
2786 | %attr(755,root,root) %{php_extensiondir}/gettext.so | |
2787 | ||
2788 | %files gmp | |
2789 | %defattr(644,root,root,755) | |
2790 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini | |
2791 | %attr(755,root,root) %{php_extensiondir}/gmp.so | |
2792 | ||
2793 | %files hash | |
2794 | %defattr(644,root,root,755) | |
2795 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini | |
2796 | %attr(755,root,root) %{php_extensiondir}/hash.so | |
2797 | ||
2798 | %files iconv | |
2799 | %defattr(644,root,root,755) | |
2800 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini | |
2801 | %attr(755,root,root) %{php_extensiondir}/iconv.so | |
2802 | ||
2803 | %if %{with imap} | |
2804 | %files imap | |
2805 | %defattr(644,root,root,755) | |
2806 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini | |
2807 | %attr(755,root,root) %{php_extensiondir}/imap.so | |
2808 | %endif | |
2809 | ||
2810 | %if %{with interbase} | |
2811 | %files interbase | |
2812 | %defattr(644,root,root,755) | |
2813 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini | |
2814 | %attr(755,root,root) %{php_extensiondir}/interbase.so | |
2815 | %endif | |
2816 | ||
2817 | %files intl | |
2818 | %defattr(644,root,root,755) | |
2819 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini | |
2820 | %attr(755,root,root) %{php_extensiondir}/intl.so | |
2821 | ||
2822 | %files json | |
2823 | %defattr(644,root,root,755) | |
2824 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini | |
2825 | %attr(755,root,root) %{php_extensiondir}/json.so | |
2826 | ||
2827 | %if %{with ldap} | |
2828 | %files ldap | |
2829 | %defattr(644,root,root,755) | |
2830 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini | |
2831 | %attr(755,root,root) %{php_extensiondir}/ldap.so | |
2832 | %endif | |
2833 | ||
2834 | %files mbstring | |
2835 | %defattr(644,root,root,755) | |
2836 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini | |
2837 | %attr(755,root,root) %{php_extensiondir}/mbstring.so | |
2838 | ||
2839 | %files mcrypt | |
2840 | %defattr(644,root,root,755) | |
2841 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini | |
2842 | %attr(755,root,root) %{php_extensiondir}/mcrypt.so | |
2843 | ||
2844 | %if %{with mssql} | |
2845 | %files mssql | |
2846 | %defattr(644,root,root,755) | |
2847 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini | |
2848 | %attr(755,root,root) %{php_extensiondir}/mssql.so | |
2849 | %endif | |
2850 | ||
2851 | %files mysql | |
2852 | %defattr(644,root,root,755) | |
2853 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini | |
2854 | %attr(755,root,root) %{php_extensiondir}/mysql.so | |
2855 | ||
2856 | %if %{with mysqli} | |
2857 | %files mysqli | |
2858 | %defattr(644,root,root,755) | |
2859 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini | |
2860 | %attr(755,root,root) %{php_extensiondir}/mysqli.so | |
2861 | %endif | |
2862 | ||
2863 | %if %{with mysqlnd} | |
2864 | %files mysqlnd | |
2865 | %defattr(644,root,root,755) | |
2866 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini | |
2867 | %attr(755,root,root) %{php_extensiondir}/mysqlnd.so | |
2868 | %endif | |
2869 | ||
2870 | %if %{with oci8} | |
2871 | %files oci8 | |
2872 | %defattr(644,root,root,755) | |
2873 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini | |
2874 | %attr(755,root,root) %{php_extensiondir}/oci8.so | |
2875 | %endif | |
2876 | ||
2877 | %if %{with odbc} | |
2878 | %files odbc | |
2879 | %defattr(644,root,root,755) | |
2880 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini | |
2881 | %attr(755,root,root) %{php_extensiondir}/odbc.so | |
2882 | %endif | |
2883 | ||
2884 | %if %{with openssl} | |
2885 | %files openssl | |
2886 | %defattr(644,root,root,755) | |
2887 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini | |
2888 | %attr(755,root,root) %{php_extensiondir}/openssl.so | |
2889 | %endif | |
2890 | ||
2891 | %files pcntl | |
2892 | %defattr(644,root,root,755) | |
2893 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini | |
2894 | %attr(755,root,root) %{php_extensiondir}/pcntl.so | |
2895 | ||
2896 | %if %{with pcre} | |
2897 | %files pcre | |
2898 | %defattr(644,root,root,755) | |
2899 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini | |
2900 | %attr(755,root,root) %{php_extensiondir}/pcre.so | |
2901 | %endif | |
2902 | ||
2903 | %files pdo | |
2904 | %defattr(644,root,root,755) | |
2905 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini | |
2906 | %attr(755,root,root) %{php_extensiondir}/pdo.so | |
2907 | ||
2908 | %if %{with mssql} || %{with sybase_ct} | |
2909 | %files pdo-dblib | |
2910 | %defattr(644,root,root,755) | |
2911 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini | |
2912 | %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so | |
2913 | %endif | |
2914 | ||
2915 | %if %{with interbase} && !%{with interbase_inst} | |
2916 | %files pdo-firebird | |
2917 | %defattr(644,root,root,755) | |
2918 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini | |
2919 | %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so | |
2920 | %endif | |
2921 | ||
2922 | %files pdo-mysql | |
2923 | %defattr(644,root,root,755) | |
2924 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini | |
2925 | %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so | |
2926 | ||
2927 | %if %{with oci8} | |
2928 | %files pdo-oci | |
2929 | %defattr(644,root,root,755) | |
2930 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini | |
2931 | %attr(755,root,root) %{php_extensiondir}/pdo_oci.so | |
2932 | %endif | |
2933 | ||
2934 | %if %{with odbc} | |
2935 | %files pdo-odbc | |
2936 | %defattr(644,root,root,755) | |
2937 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini | |
2938 | %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so | |
2939 | %endif | |
2940 | ||
2941 | %if %{with pgsql} | |
2942 | %files pdo-pgsql | |
2943 | %defattr(644,root,root,755) | |
2944 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini | |
2945 | %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so | |
2946 | %endif | |
2947 | ||
2948 | %if %{with pdo_sqlite} | |
2949 | %files pdo-sqlite | |
2950 | %defattr(644,root,root,755) | |
2951 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini | |
2952 | %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so | |
2953 | %endif | |
2954 | ||
2955 | %if %{with pgsql} | |
2956 | %files pgsql | |
2957 | %defattr(644,root,root,755) | |
2958 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini | |
2959 | %attr(755,root,root) %{php_extensiondir}/pgsql.so | |
2960 | %endif | |
2961 | ||
2962 | %if %{with phar} | |
2963 | %files phar | |
2964 | %defattr(644,root,root,755) | |
2965 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini | |
2966 | %attr(755,root,root) %{php_extensiondir}/phar.so | |
2967 | %attr(755,root,root) %{_bindir}/phar | |
2968 | %attr(755,root,root) %{_bindir}/phar.phar | |
2969 | %endif | |
2970 | ||
2971 | %files posix | |
2972 | %defattr(644,root,root,755) | |
2973 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini | |
2974 | %attr(755,root,root) %{php_extensiondir}/posix.so | |
2975 | ||
2976 | %if %{with pspell} | |
2977 | %files pspell | |
2978 | %defattr(644,root,root,755) | |
2979 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini | |
2980 | %attr(755,root,root) %{php_extensiondir}/pspell.so | |
2981 | %endif | |
2982 | ||
2983 | %files readline | |
2984 | %defattr(644,root,root,755) | |
2985 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini | |
2986 | %attr(755,root,root) %{php_extensiondir}/readline.so | |
2987 | ||
2988 | %if %{with recode} | |
2989 | %files recode | |
2990 | %defattr(644,root,root,755) | |
2991 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini | |
2992 | %attr(755,root,root) %{php_extensiondir}/recode.so | |
2993 | %endif | |
2994 | ||
2995 | %files session | |
2996 | %defattr(644,root,root,755) | |
2997 | %doc ext/session/mod_files.sh | |
2998 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini | |
2999 | %attr(755,root,root) %{php_extensiondir}/session.so | |
3000 | ||
3001 | %files shmop | |
3002 | %defattr(644,root,root,755) | |
3003 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini | |
3004 | %attr(755,root,root) %{php_extensiondir}/shmop.so | |
3005 | ||
3006 | %files simplexml | |
3007 | %defattr(644,root,root,755) | |
3008 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini | |
3009 | %attr(755,root,root) %{php_extensiondir}/simplexml.so | |
3010 | ||
3011 | %if %{with snmp} | |
3012 | %files snmp | |
3013 | %defattr(644,root,root,755) | |
3014 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini | |
3015 | %attr(755,root,root) %{php_extensiondir}/snmp.so | |
3016 | %endif | |
3017 | ||
3018 | %files soap | |
3019 | %defattr(644,root,root,755) | |
3020 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini | |
3021 | %attr(755,root,root) %{php_extensiondir}/soap.so | |
3022 | ||
3023 | %files sockets | |
3024 | %defattr(644,root,root,755) | |
3025 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini | |
3026 | %attr(755,root,root) %{php_extensiondir}/sockets.so | |
3027 | ||
3028 | %files spl | |
3029 | %defattr(644,root,root,755) | |
3030 | %doc ext/spl/{CREDITS,README,TODO} | |
3031 | %doc ext/spl/examples | |
3032 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini | |
3033 | %attr(755,root,root) %{php_extensiondir}/spl.so | |
3034 | ||
c0240cb1 | 3035 | %if %{with sqlite3} |
3036 | %files sqlite3 | |
3037 | %defattr(644,root,root,755) | |
3038 | %doc ext/sqlite3/CREDITS | |
3039 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini | |
3040 | %attr(755,root,root) %{php_extensiondir}/sqlite3.so | |
3041 | %endif | |
3042 | ||
3043 | %if %{with sybase_ct} | |
3044 | %files sybase-ct | |
3045 | %defattr(644,root,root,755) | |
3046 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini | |
3047 | %attr(755,root,root) %{php_extensiondir}/sybase_ct.so | |
3048 | %endif | |
3049 | ||
3050 | %files sysvmsg | |
3051 | %defattr(644,root,root,755) | |
3052 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini | |
3053 | %attr(755,root,root) %{php_extensiondir}/sysvmsg.so | |
3054 | ||
3055 | %files sysvsem | |
3056 | %defattr(644,root,root,755) | |
3057 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini | |
3058 | %attr(755,root,root) %{php_extensiondir}/sysvsem.so | |
3059 | ||
3060 | %files sysvshm | |
3061 | %defattr(644,root,root,755) | |
3062 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini | |
3063 | %attr(755,root,root) %{php_extensiondir}/sysvshm.so | |
3064 | ||
3065 | %files tests | |
3066 | %defattr(644,root,root,755) | |
3067 | %dir %{php_data_dir}/tests/php | |
3068 | %{php_data_dir}/tests/php/basic | |
3069 | %{php_data_dir}/tests/php/classes | |
3070 | %{php_data_dir}/tests/php/func | |
3071 | %{php_data_dir}/tests/php/lang | |
3072 | %{php_data_dir}/tests/php/output | |
3073 | %{php_data_dir}/tests/php/run-test | |
3074 | %{php_data_dir}/tests/php/security | |
3075 | %{php_data_dir}/tests/php/strings | |
3076 | %{php_data_dir}/tests/php/quicktester.inc | |
3077 | %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php | |
3078 | ||
3079 | %if %{with tidy} | |
3080 | %files tidy | |
3081 | %defattr(644,root,root,755) | |
3082 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini | |
3083 | %attr(755,root,root) %{php_extensiondir}/tidy.so | |
3084 | %endif | |
3085 | ||
3086 | %files tokenizer | |
3087 | %defattr(644,root,root,755) | |
3088 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini | |
3089 | %attr(755,root,root) %{php_extensiondir}/tokenizer.so | |
3090 | ||
3091 | %if %{with wddx} | |
3092 | %files wddx | |
3093 | %defattr(644,root,root,755) | |
3094 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini | |
3095 | %attr(755,root,root) %{php_extensiondir}/wddx.so | |
3096 | %endif | |
3097 | ||
3098 | %files xml | |
3099 | %defattr(644,root,root,755) | |
3100 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini | |
3101 | %attr(755,root,root) %{php_extensiondir}/xml.so | |
3102 | ||
3103 | %files xmlreader | |
3104 | %defattr(644,root,root,755) | |
3105 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini | |
3106 | %attr(755,root,root) %{php_extensiondir}/xmlreader.so | |
3107 | ||
3108 | %if %{with xmlrpc} | |
3109 | %files xmlrpc | |
3110 | %defattr(644,root,root,755) | |
3111 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini | |
3112 | %attr(755,root,root) %{php_extensiondir}/xmlrpc.so | |
3113 | %endif | |
3114 | ||
3115 | %files xmlwriter | |
3116 | %defattr(644,root,root,755) | |
3117 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini | |
3118 | %attr(755,root,root) %{php_extensiondir}/xmlwriter.so | |
3119 | ||
3120 | %files xsl | |
3121 | %defattr(644,root,root,755) | |
3122 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini | |
3123 | %attr(755,root,root) %{php_extensiondir}/xsl.so | |
3124 | ||
3125 | %files zip | |
3126 | %defattr(644,root,root,755) | |
3127 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini | |
3128 | %attr(755,root,root) %{php_extensiondir}/zip.so | |
3129 | ||
3130 | %files zlib | |
3131 | %defattr(644,root,root,755) | |
3132 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini | |
3133 | %attr(755,root,root) %{php_extensiondir}/zlib.so |