2 # - do not remove PatchX: definitions until merged to HEAD, needed for tracking their state
3 # - check php-sapi-ini-file.patch for safe mode removal
4 # - update imap annotations patch (needs api porting)
5 # - update imap myrights patch (needs api porting)
6 # --with-libmbfl=DIR MBSTRING: Use external libmbfl. DIR is the libmbfl base install directory BUNDLED
7 # --with-onig=DIR MBSTRING: Use external oniguruma. DIR is the oniguruma install prefix.
8 # - uses libvpx for webp support, should use libwebp-devel instead?
9 # NOTE: mysqlnd does not support ssl or compression (see FAQ at http://dev.mysql.com/downloads/connector/php-mysqlnd/)
10 # UNPACKAGED EXTENSION NOTES:
11 # - com_dotnet is Win32-only
13 # - fileinfo extension bundles magic db in library: data_file.c (dump of magic.mgc) is 14M
14 # - 2.3M fileinfo.so php54-fileinfo-5.4.6-0.15.x86_64
15 # - 2.3M fileinfo.so php-fileinfo-5.3.16-1.x86_64
16 # - 13K fileinfo.so php-pecl-fileinfo-1.0.4-8.amd64
17 # - ttyname_r() misdetected http://bugs.php.net/bug.php?id=48820
18 # - wddx: restore session support (not compiled in due DL extension check)
19 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
20 # - removed from php 5.0 (currently in php4):
21 # db [pecl-svn], hyperwave [pecl-svn], java [pecl-svn], mcal [pecl-svn], qtdom [pecl-svn]
22 # - removed from php 5.1:
24 # - removed from php 5.2:
25 # filepro [pecl-svn], hwapi [pecl-svn]
26 # - make additional headers and checking added by mail patch configurable
27 # - modularize standard (output from pure php -m)?
28 # - lib64 patch obsolete by $PHP_LIBDIR ?
29 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
30 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
31 # make it runtime dep and add Suggests (or php warning messages)
32 # - some mods should be shared:
43 %bcond_without alternatives # use alternatives system to select default phar and php-fpm
44 %bcond_with default_php # build this PHP as default PHP in system (disables alternatives)
46 %bcond_with embed # disable building Embedded API
47 %bcond_with gcov # Enable Code coverage reporting
48 %bcond_without kerberos5 # without Kerberos5 support
49 %bcond_with suhosin # with suhosin patch, has little point in PHP>=5.3, see https://github.com/stefanesser/suhosin/issues/42#issuecomment-41728178
50 %bcond_with tests # default off; test process very often hangs on builders, approx run time 45m; perform "make test"
51 %bcond_with type_hints # experimental support for strict typing/casting
52 %bcond_with zts # Zend Thread Safety
54 %bcond_without apache1 # disable building Apache 1.3.x SAPI
55 %bcond_without apache2 # disable building Apache 2.x SAPI
56 %bcond_without cgi # disable CGI/FCGI SAPI
57 %bcond_without fpm # disable FPM SAPI
58 %bcond_without litespeed # build litespeed SAPI
60 %bcond_without bcmath # without bcmath extension module
61 %bcond_without bz2 # without bz2 extension module
62 %bcond_without calendar # without calendar extension module
63 %bcond_without ctype # without ctype extension module
64 %bcond_without curl # without CURL extension module
65 %bcond_without enchant # without Enchant extension module
66 %bcond_without filter # without filter extension module
67 %bcond_without imap # without IMAP extension module
68 %bcond_without interbase # without InterBase extension module
69 %bcond_without intl # without Intl extension module
70 %bcond_without ldap # without LDAP extension module
71 %bcond_without mhash # without mhash extension (supported by hash extension)
72 %bcond_without mssql # without MS SQL extension module
73 # don't turn it on by default; see TODO item for mysqlnd in this spec
74 %bcond_with mysqlnd # with mysqlnd support in mysql related extensions
75 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
76 %bcond_with oci # with Oracle oci8 extension module (BR: proprietary libs)
77 %bcond_without odbc # without ODBC extension module
78 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
79 %bcond_without pcre # without PCRE extension module
80 %bcond_without pdo_sqlite # without PDO SQLite extension module
81 %bcond_without pgsql # without PostgreSQL extension module
82 %bcond_without phar # without phar extension module
83 %bcond_without pspell # without pspell extension module
84 %bcond_without recode # without recode extension module
85 %bcond_without snmp # without SNMP extension module
86 %bcond_without sqlite2 # without SQLite extension module
87 %bcond_without sqlite3 # without SQLite3 extension module
88 %bcond_without sybase_ct # without Sybase-CT extension module
89 %bcond_without tidy # without Tidy extension module
90 %bcond_without wddx # without WDDX extension module
91 %bcond_without xmlrpc # without XML-RPC extension module
93 %bcond_without instantclient # build Oracle oci8 extension module against oracle-instantclient package
94 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
95 %bcond_with mm # without mm support for session storage
96 %bcond_with system_gd # with system gd (imageantialias function is missing then)
97 %bcond_with system_libzip # with system libzip (reported broken currently)
98 %bcond_without webp # Without WebP support in GD extension (imagecreatefromwebp)
100 %define apxs1 /usr/sbin/apxs1
101 %define apxs2 /usr/sbin/apxs
105 %undefine with_apache1
106 %undefine with_apache2
108 %undefine with_litespeed
111 %if %{with default_php}
112 %undefine with_alternatives
115 # mm is not thread safe
120 %ifnarch %{ix86} %{x8664} x32 sparc sparcv9 alpha
121 # ppc disabled (broken on th-ppc)
122 %undefine with_interbase
125 %ifnarch %{ix86} %{x8664} x32
126 # unsupported, see sapi/cgi/fpm/fpm_atomic.h
131 %if %{without apache1} && %{without apache2}
132 ERROR: You need to select at least one Apache SAPI to build shared modules.
136 # filter depends on pcre
138 %undefine with_filter
143 %define ver_suffix 54
144 %define php_suffix %{!?with_default_php:%{ver_suffix}}
145 Summary: PHP: Hypertext Preprocessor
146 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
147 Summary(pl.UTF-8): Język skryptowy PHP
148 Summary(pt_BR.UTF-8): A linguagem de script PHP
149 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
150 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
151 Name: %{orgname}%{php_suffix}
153 Release: %{rel}%{?with_type_hints:.th}%{?with_oci8:.oci}
155 # All files licensed under PHP version 3.01, except
156 # Zend is licensed under Zend
157 # TSRM is licensed under BSD
158 License: PHP 3.01 and Zend and BSD
160 Source0: http://www.php.net/distributions/%{orgname}-%{version}.tar.bz2
161 # Source0-md5: 185f67f1ca652b18bc0cca9d7edbde7c
162 Source2: %{orgname}-mod_%{orgname}.conf
163 Source3: %{orgname}-cgi-fcgi.ini
164 Source4: %{orgname}-apache.ini
165 Source5: %{orgname}-cli.ini
166 Source10: %{orgname}-fpm.init
167 Source11: %{orgname}-fpm.logrotate
168 Source12: %{orgname}-branch.sh
169 Source13: dep-tests.sh
170 Source14: skip-tests.sh
171 Patch0: %{orgname}-shared.patch
172 Patch1: %{orgname}-pldlogo.patch
173 Patch2: %{orgname}-mail.patch
174 Patch3: %{orgname}-link-libs.patch
175 Patch4: %{orgname}-libpq_fs_h_path.patch
176 Patch5: %{orgname}-filter-shared.patch
177 Patch6: %{orgname}-build_modules.patch
178 Patch7: %{orgname}-sapi-ini-file.patch
179 Patch8: %{orgname}-config-file-scan-dir.patch
180 Patch9: php-bug-71475.patch
181 Patch10: %{orgname}-ini.patch
183 %if %{with type_hints}
184 Patch12: http://ilia.ws/patch/type_hint_53_v2.txt
186 Patch14: %{orgname}-no_pear_install.patch
187 #Patch15: %{orgname}-zlib.patch # no longer needed?
188 Patch17: %{orgname}-readline.patch
189 Patch18: %{orgname}-nohttpd.patch
190 Patch19: %{orgname}-gd_imagerotate_enable.patch
191 Patch20: %{orgname}-uint32_t.patch
192 Patch21: %{orgname}-dba-link.patch
193 Patch22: %{orgname}-both-apxs.patch
194 Patch23: %{orgname}-builddir.patch
195 Patch24: %{orgname}-zlib-for-getimagesize.patch
196 Patch25: %{orgname}-stupidapache_version.patch
197 Patch26: %{orgname}-pear.patch
198 Patch27: %{orgname}-config-dir.patch
199 Patch29: %{orgname}-fcgi-graceful.patch
200 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
201 #Patch32: %{orgname}-curl-limit-speed.patch # applied upstream
202 Patch34: %{orgname}-libtool.patch
203 Patch35: %{orgname}-tds.patch
204 Patch36: %{orgname}-mysql-charsetphpini.patch
205 Patch37: %{orgname}-mysqli-charsetphpini.patch
206 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
207 Patch39: %{orgname}-use-prog_sendmail.patch
208 Patch41: %{orgname}-fpm-config.patch
209 Patch42: %{orgname}-fpm-shared.patch
210 Patch43: %{orgname}-silent-session-cleanup.patch
211 Patch44: %{orgname}-include_path.patch
212 Patch45: %{orgname}-imap-annotations.patch
213 Patch46: %{orgname}-imap-myrights.patch
214 Patch47: suhosin.patch
215 #Patch49: %{orgname}-m4-divert.patch # no longer needed, upstream supports new ac
216 Patch50: extension-shared-optional-dep.patch
217 Patch51: spl-shared.patch
218 Patch52: pcre-shared.patch
219 Patch53: fix-test-run.patch
220 #Patch54: mysqlnd-shared.patch # shared build supported upstream
221 Patch55: bug-52078-fileinode.patch
222 #Patch57: bug-52448.patch # outdated
223 Patch59: %{orgname}-systzdata.patch
224 Patch60: %{orgname}-oracle-instantclient.patch
225 #Patch61: %{orgname}-krb5-ac.patch # not needed on 5.4 anymore
226 Patch62: mcrypt-libs.patch
227 Patch63: %{orgname}-mysql-nowarning.patch
228 #Patch64: %{orgname}-m4.patch # not needed on 5.4 branch
229 Patch65: system-libzip.patch
230 Patch66: php-db.patch
231 Patch67: mysql-lib-ver-mismatch.patch
233 Patch70: libvpx2.patch
234 Patch71: zend_operators_from_5.5.patch
235 Patch72: mysqli-err.patch
236 Patch73: openssl.patch
237 URL: http://www.php.net/
238 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
239 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
240 BuildRequires: autoconf >= 2.59
241 BuildRequires: automake >= 1.4d
243 BuildRequires: bzip2-devel
244 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
245 BuildRequires: cyrus-sasl-devel
246 BuildRequires: db-devel >= 4.0
247 BuildRequires: elfutils-devel
248 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
249 #BuildRequires: fcgi-devel
250 %{?with_kerberos5:BuildRequires: heimdal-devel}
251 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
252 %{!?with_mysqlnd:BuildRequires: mysql-devel}
253 BuildRequires: pkgconfig
254 BuildRequires: sed >= 4.0
255 %if %{with mssql} || %{with sybase_ct}
256 BuildRequires: freetds-devel >= 0.82
258 BuildRequires: freetype-devel >= 2.0
259 %if %{with system_gd}
260 BuildRequires: gd-devel >= 2.0.28-4
261 BuildRequires: gd-devel(imagerotate) = 5.2.0
263 BuildRequires: gdbm-devel
264 BuildRequires: gmp-devel
265 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
266 %{?with_intl:BuildRequires: libicu-devel}
267 BuildRequires: libjpeg-devel
268 BuildRequires: libltdl-devel >= 1.4
269 BuildRequires: libmcrypt-devel >= 2.4.4
270 BuildRequires: libpng-devel >= 1.0.8
271 #BuildRequires: libtiff-devel
272 %{?with_webp:BuildRequires: libvpx-devel}
273 BuildRequires: tokyocabinet-devel
274 %if "%{pld_release}" != "ac"
275 BuildRequires: libtool >= 2:2.4.6
277 BuildRequires: libtool >= 1.4.3
279 #BuildRequires: libwrap-devel
280 BuildRequires: libxml2-devel >= 1:2.7.6-4
281 BuildRequires: libxslt-devel >= 1.1.0
282 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
283 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
284 %if %{with openssl} || %{with ldap}
285 BuildRequires: openssl-devel >= 0.9.7d
287 %{?with_gcov:BuildRequires: lcov}
288 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
289 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
290 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
291 BuildRequires: pam-devel
292 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
293 BuildRequires: pkgconfig
294 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
295 %{?with_pgsql:BuildRequires: postgresql-devel}
296 BuildRequires: readline-devel
297 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
298 BuildRequires: rpm >= 4.4.9-56
299 BuildRequires: rpm-build >= 4.4.0
300 BuildRequires: rpmbuild(macros) >= 1.566
301 %if %{with sqlite3} || %{with pdo_sqlite}
302 BuildRequires: sqlite3-devel >= 3.3.9
304 BuildRequires: t1lib-devel
305 %{?with_tidy:BuildRequires: tidy-devel}
306 %{?with_odbc:BuildRequires: unixODBC-devel}
307 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
308 BuildRequires: zlib-devel >= 1.0.9
310 BuildRequires: apache1-devel
313 BuildRequires: apache-devel >= 2.0.52-2
314 BuildRequires: apr-devel >= 1:1.0.0
315 BuildRequires: apr-util-devel >= 1:1.0.0
318 #BuildRequires: judy-devel
320 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
322 %define php_sysconfdir /etc/%{name}
323 %define php_extensiondir %{_libdir}/%{name}
324 %define _sysconfdir %{php_sysconfdir}
326 # must be in sync with source. extra check ensuring that it is so is done in %%build
327 %define php_api_version 20100412
328 %define zend_module_api 20100525
329 %define zend_extension_api 220100525
333 %define enchantver 1.1.0
334 %define fileinfover 1.0.5
336 %define intlver 1.1.0
337 %define jsonver 1.2.1
338 %define pharver 2.0.1
339 %define sqlite3ver 0.7
340 %define zipver 1.11.0
342 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
343 %define php_debug %{!?debug:0}%{?debug:1}
346 %undefine with_ccache
350 # ORACLE_HOME is required for oci8 ext to build
351 %define _preserve_env %_preserve_env_base ORACLE_HOME
355 PHP is an HTML-embedded scripting language. PHP attempts to make it
356 easy for developers to write dynamically generated web pages. PHP also
357 offers built-in database integration for several commercial and
358 non-commercial database management systems, so writing a
359 database-enabled web page with PHP is fairly simple. The most common
360 use of PHP coding is probably as a replacement for CGI scripts. The
361 mod_php module enables the Apache web server to understand and process
362 the embedded PHP language in web pages. This package contains PHP
365 %description -l fr.UTF-8
366 PHP est un langage de script embarque dans le HTM. PHP essaye de
367 rendre simple aux developpeurs d'ecrire des pages web generees
368 dynamiquement. PHP incorpore egalement une integration avec plusieurs
369 systemes de gestion de bases de donnees commerciaux et
370 non-connerciaux, qui rent facile la creation de pages web liees avec
371 des bases de donnees. L'utilisation la plus commune de PHP est
372 probablement en remplacement de scripts CGI. Le module mod_php permet
373 au serveur web Apache de comprendre et de traiter le langage PHP
374 integre dans des pages web. Ce package contient PHP version
377 %description -l pl.UTF-8
378 PHP jest językiem skryptowym, którego polecenia umieszcza się w
379 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
380 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
381 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
382 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
383 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
384 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
385 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
388 %description -l pt_BR.UTF-8
389 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
390 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
391 com algumas características únicas, específicas ao PHP. O objetivo da
392 linguagem é permitir que desenvolvedores web escrevam páginas
393 dinamicamente geradas de forma rápida.
395 %description -l ru.UTF-8
396 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
397 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
398 для работы с базами данных относительно просто. Наиболее популярное
399 использование PHP - замена для CGI скриптов.
401 %description -l uk.UTF-8
402 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
403 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
404 роботи з базами даних є доволі простим. Найбільш популярне
405 використання PHP - заміна для CGI скриптів.
407 %package -n apache1-mod_%{name}
408 Summary: PHP DSO module for Apache 1.3.x
409 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
410 Group: Development/Languages/PHP
411 Requires(triggerpostun): sed >= 4.0
412 Requires: %{name}-common = %{epoch}:%{version}-%{release}
413 Requires: apache1(EAPI) >= 1.3.33-2
414 Requires: apache1-mod_mime
415 Provides: webserver(php) = %{version}
416 Obsoletes: apache-mod_php < 1:4.1.1
419 %description -n apache1-mod_%{name}
420 PHP as DSO module for Apache 1.3.x.
422 %description -n apache1-mod_%{name} -l pl.UTF-8
423 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
425 %package -n apache-mod_%{name}
426 Summary: PHP DSO module for Apache 2.x
427 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
428 Group: Development/Languages/PHP
429 Requires: %{name}-common = %{epoch}:%{version}-%{release}
430 Requires: apache(modules-api) = %{apache_modules_api}
431 Requires: apache-mod_mime
432 Provides: webserver(php) = %{version}
435 %description -n apache-mod_%{name}
436 PHP as DSO module for Apache 2.x.
438 %description -n apache-mod_%{name} -l pl.UTF-8
439 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
442 Summary: PHP for litespeed HTTP server
443 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
444 Group: Development/Languages/PHP
445 Requires: %{name}-common = %{epoch}:%{version}-%{release}
446 Provides: php(litespeed)
447 Provides: webserver(php) = %{version}
449 %description litespeed
450 PHP for litespeed HTTP server.
452 %description litespeed -l pl.UTF-8
453 PHP dla serwera HTTP litespeed.
456 Summary: PHP as CGI/FastCGI program
457 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
458 Group: Development/Languages/PHP
459 Requires: %{name}-common = %{epoch}:%{version}-%{release}
460 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
463 Provides: webserver(php) = %{version}
464 Obsoletes: php-fcgi < 4:5.3.0
465 %if "%{pld_release}" != "ac"
466 Conflicts: logrotate < 3.8.0
470 PHP as CGI or FastCGI program.
472 %description cgi -l pl.UTF-8
473 PHP jako program CGI lub FastCGI.
476 Summary: PHP as CLI interpreter
477 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
478 Group: Development/Languages/PHP
479 Requires: %{name}-common = %{epoch}:%{version}-%{release}
482 PHP as CLI interpreter.
484 %description cli -l pl.UTF-8
485 PHP jako interpreter działający z linii poleceń.
488 Summary: PHP library for embedding in applications
489 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
491 Requires: %{name}-common = %{epoch}:%{version}-%{release}
493 %description embedded
494 The php-embedded package contains a library which can be embedded into
495 applications to provide PHP scripting language support.
497 %description embedded -l pl.UTF-8
498 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
499 celu obsługi PHP jako języka skryptowego.
502 Summary: /usr/bin/php symlink
503 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
504 Group: Development/Languages/PHP
505 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
506 Obsoletes: /usr/bin/php
509 Package providing /usr/bin/php symlink to PHP CLI.
511 %description program -l pl.UTF-8
512 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
515 Summary: PHP FastCGI Process Manager
516 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
517 Group: Development/Languages/PHP
518 URL: http://www.php-fpm.org/
519 Requires(post,preun): /sbin/chkconfig
520 Requires(postun): /usr/sbin/userdel
521 Requires(pre): /bin/id
522 Requires(pre): /usr/sbin/useradd
523 Requires: %{name}-common = %{epoch}:%{version}-%{release}
524 %{?with_alternatives:Requires: alternatives}
525 Requires: php-dirs >= 1.4-2
529 Provides: webserver(php) = %{version}
532 PHP FastCGI Process Manager.
534 %description fpm -l pl.UTF-8
535 PHP FastCGI Process Manager - zarządca procesów FastCGI.
538 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
539 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
540 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
541 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
543 Requires(post): sed >= 4.0
544 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
545 Requires: glibc >= 6:2.3.5
546 Requires: php-dirs >= 1.4
547 Requires: rpm-whiteout >= 1.28
549 Provides: %{name}(debug) = %{php_debug}
550 Provides: %{name}(modules_api) = %{php_api_version}
551 Provides: %{name}(thread-safety) = %{zend_zts}
552 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
553 Provides: %{name}(zend_module_api) = %{zend_module_api}
554 Provides: %{name}-core
555 Provides: %{name}-date
556 Provides: %{name}-ereg
557 Provides: %{name}-reflection
558 Provides: %{name}-standard
559 Provides: php(core) = %{version}
562 Provides: php(libxml)
563 Provides: php(reflection)
564 Provides: php(standard)
565 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
566 %{?with_pcre:%requires_ge_to pcre pcre-devel}
568 Obsoletes: php-pecl-domxml
569 Conflicts: php4-common < 3:4.4.4-8
570 Conflicts: rpm < 4.4.2-0.2
573 Common files needed by both Apache modules and CGI/CLI SAPIs.
575 %description common -l pl.UTF-8
576 Wspólne pliki dla modułu Apache'a i programu CGI.
578 %description common -l ru.UTF-8
579 Этот пакет содержит общие файлы для разных вариантов реализации PHP
580 (самодостаточной и в качестве модуля Apache).
582 %description common -l uk.UTF-8
583 Цей пакет містить спільні файли для різних варіантів реалізації PHP
584 (самодостатньої та в якості модуля Apache).
587 Summary: Files for PHP modules development
588 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
589 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
590 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
591 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
592 Group: Development/Languages/PHP
593 Requires: %{name}-common = %{epoch}:%{version}-%{release}
594 Requires: autoconf >= 2.13
596 %if "%{pld_release}" != "ac"
597 Requires: libtool >= 2:2.4.6
601 %{?with_pcre:Requires: pcre-devel >= 8.10}
603 Provides: php-devel = %{epoch}:%{version}-%{release}
605 Obsoletes: php-pear-devel
606 Obsoletes: php4-devel
607 Obsoletes: php52-devel
608 Obsoletes: php53-devel
609 Obsoletes: php55-devel
610 Obsoletes: php56-devel
611 Obsoletes: php70-devel
612 Obsoletes: php71-devel
613 Obsoletes: php72-devel
614 Obsoletes: php73-devel
617 The php-devel package lets you compile dynamic extensions to PHP.
618 Included here is the source for the PHP extensions. Instead of
619 recompiling the whole PHP binary to add support for, say, oracle,
620 install this package and use the new self-contained extensions
621 support. For more information, read the file
622 README.SELF-CONTAINED-EXTENSIONS.
624 %description devel -l pl.UTF-8
625 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
626 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
627 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
628 samodzielnych rozszerzeniach można znaleźć w pliku
629 README.SELF-CONTAINED-EXTENSIONS.
631 %description devel -l pt_BR.UTF-8
632 Este pacote contém arquivos usados no desenvolvimento de programas ou
635 %description devel -l ru.UTF-8
636 Пакет php-devel дает возможность компилировать динамические расширения
637 PHP. Пакет включает исходный код этих расширений. Вместо повторной
638 компиляции бинарного файла PHP для добавления, например, поддержки
639 oracle, установите этот пакет для компилирования отдельных расширений.
640 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
642 %description devel -l uk.UTF-8
643 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
644 До пакету включено вихідний код для розширень. Замість повторної
645 компіляції бінарного файлу PHP для додання, наприклад, підтримки
646 oracle, встановіть цей пакет для компіляції окремих розширень.
647 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
650 Summary: bcmath extension module for PHP
651 Summary(pl.UTF-8): Moduł bcmath dla PHP
653 URL: http://www.php.net/manual/en/book.bc.php
654 Requires: %{name}-common = %{epoch}:%{version}-%{release}
655 Provides: php(bcmath)
658 This is a dynamic shared object (DSO) for PHP that will add bc style
659 precision math functions support.
661 %description bcmath -l pl.UTF-8
662 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
663 matematycznych takich jak w programie bc.
666 Summary: Bzip2 extension module for PHP
667 Summary(pl.UTF-8): Moduł bzip2 dla PHP
669 URL: http://www.php.net/manual/en/book.bzip2.php
670 Requires: %{name}-common = %{epoch}:%{version}-%{release}
671 Provides: php(bz2) = %{bz2ver}
673 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
674 Obsoletes: php-bzip2 < 4:5.2.14-3
675 Obsoletes: php-pecl-bz2 < %{bz2ver}
678 This is a dynamic shared object (DSO) for PHP that will add bzip2
679 compression support to PHP.
681 %description bz2 -l pl.UTF-8
682 Moduł PHP umożliwiający używanie kompresji bzip2.
685 Summary: Calendar extension module for PHP
686 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
688 URL: http://www.php.net/manual/en/book.calendar.php
689 Requires: %{name}-common = %{epoch}:%{version}-%{release}
690 Provides: php(calendar)
692 %description calendar
693 This is a dynamic shared object (DSO) for PHP that will add calendar
696 %description calendar -l pl.UTF-8
697 Moduł PHP dodający wsparcie dla kalendarza.
700 Summary: ctype extension module for PHP
701 Summary(pl.UTF-8): Moduł ctype dla PHP
703 URL: http://www.php.net/manual/en/book.ctype.php
704 Requires: %{name}-common = %{epoch}:%{version}-%{release}
708 This is a dynamic shared object (DSO) for PHP that will add ctype
711 %description ctype -l pl.UTF-8
712 Moduł PHP umożliwiający korzystanie z funkcji ctype.
715 Summary: curl extension module for PHP
716 Summary(pl.UTF-8): Moduł curl dla PHP
718 URL: http://www.php.net/manual/en/book.curl.php
719 Requires: %{name}-common = %{epoch}:%{version}-%{release}
723 This is a dynamic shared object (DSO) for PHP that will add curl
726 %description curl -l pl.UTF-8
727 Moduł PHP umożliwiający korzystanie z biblioteki curl.
730 Summary: DBA extension module for PHP
731 Summary(pl.UTF-8): Moduł DBA dla PHP
733 URL: http://www.php.net/manual/en/book.dba.php
734 Requires: %{name}-common = %{epoch}:%{version}-%{release}
738 This is a dynamic shared object (DSO) for PHP that will add flat-file
739 databases (DBA) support.
741 %description dba -l pl.UTF-8
742 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
746 Summary: DOM extension module for PHP
747 Summary(pl.UTF-8): Moduł DOM dla PHP
749 URL: http://www.php.net/manual/en/book.dom.php
750 Requires: %{name}-common = %{epoch}:%{version}-%{release}
752 # it has some compatibility functions
753 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
754 Provides: php(domxml)
755 Obsoletes: php-domxml <= 3:4.3.8-1
758 This is a dynamic shared object (DSO) for PHP that will add new DOM
761 %description dom -l pl.UTF-8
762 Moduł PHP dodający nową obsługę DOM.
765 Summary: libenchant binder
766 Summary(pl.UTF-8): dowiązania biblioteki libenchant
768 URL: http://www.php.net/manual/en/book.exif.php
769 Requires: %{name}-common = %{epoch}:%{version}-%{release}
770 Provides: php(enchant) = %{enchantver}
771 Obsoletes: php-pecl-enchant < %{enchantver}
774 Enchant is a binder for libenchant. Libenchant provides a common API
775 for many spell libraries:
776 - aspell/pspell (intended to replace ispell)
779 - myspell (OpenOffice.org project, mozilla)
780 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
781 plugin system allows to add custom spell support.
783 %description enchant -l pl.UTF-8
784 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
785 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
786 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
789 - myspell (projekt OpenOffice.org, mozilla)
790 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
791 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
794 Summary: exif extension module for PHP
795 Summary(pl.UTF-8): Moduł exif dla PHP
797 URL: http://www.php.net/manual/en/book.exif.php
798 Requires: %{name}-common = %{epoch}:%{version}-%{release}
802 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
803 support in image files.
805 %description exif -l pl.UTF-8
806 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
809 Summary: libmagic bindings
810 Summary(pl.UTF-8): Wiązania do libmagic
812 URL: http://www.php.net/manual/en/book.fileinfo.php
813 Requires: %{name}-common = %{epoch}:%{version}-%{release}
814 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
815 Provides: php(fileinfo) = %{fileinfover}
816 Obsoletes: php-mime_magic
817 Obsoletes: php-pecl-fileinfo < %{fileinfover}
819 %description fileinfo
820 This extension allows retrieval of information regarding vast majority
821 of file. This information may include dimensions, quality, length
824 Additionally it can also be used to retrieve the MIME type for a
825 particular file and for text files proper language encoding.
827 %description fileinfo -l pl.UTF-8
828 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
829 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
831 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
832 pliku oraz kodowania plików tekstowych.
835 Summary: Extension for safely dealing with input parameters
836 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
838 URL: http://www.php.net/manual/en/book.filter.php
839 Requires: %{name}-common = %{epoch}:%{version}-%{release}
840 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
841 Provides: php(filter)
842 Obsoletes: php-pecl-filter
845 We all know that you should always check input variables, but PHP does
846 not offer really good functionality for doing this in a safe way. The
847 Input Filter extension is meant to address this issue by implementing
848 a set of filters and mechanisms that users can use to safely access
851 %description filter -l pl.UTF-8
852 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
853 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
854 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
855 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
856 mogą bezpiecznie używać do dostępu do danych.
859 Summary: FTP extension module for PHP
860 Summary(pl.UTF-8): Moduł FTP dla PHP
862 URL: http://www.php.net/manual/en/book.ftp.php
863 Requires: %{name}-common = %{epoch}:%{version}-%{release}
867 This is a dynamic shared object (DSO) for PHP that will add FTP
870 %description ftp -l pl.UTF-8
871 Moduł PHP dodający obsługę protokołu FTP.
874 Summary: GD extension module for PHP
875 Summary(pl.UTF-8): Moduł GD dla PHP
877 URL: http://www.php.net/manual/en/book.image.php
878 Requires: %{name}-common = %{epoch}:%{version}-%{release}
879 %if %{with system_gd}
880 Requires: gd >= 2.0.28-4
882 Requires: gd(imagerotate) = 5.2.0
887 This is a dynamic shared object (DSO) for PHP that will add GD
888 support, allowing you to create and manipulate images with PHP.
890 %description gd -l pl.UTF-8
891 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
892 tworzenie i obróbkę obrazków.
895 Summary: gettext extension module for PHP
896 Summary(pl.UTF-8): Moduł gettext dla PHP
898 URL: http://www.php.net/manual/en/book.gettext.php
899 Requires: %{name}-common = %{epoch}:%{version}-%{release}
900 Provides: php(gettext)
903 This is a dynamic shared object (DSO) for PHP that will add gettext
906 %description gettext -l pl.UTF-8
907 Moduł PHP dodający obsługę lokalizacji przez gettext.
910 Summary: gmp extension module for PHP
911 Summary(pl.UTF-8): Moduł gmp dla PHP
913 URL: http://www.php.net/manual/en/book.gmp.php
914 Requires: %{name}-common = %{epoch}:%{version}-%{release}
918 This is a dynamic shared object (DSO) for PHP that will add arbitrary
919 length number support with GNU MP library.
921 %description gmp -l pl.UTF-8
922 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
923 liczbach o dowolnej długości.
926 Summary: HASH Message Digest Framework
927 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
929 URL: http://www.php.net/manual/en/book.gmp.php
930 Requires: %{name}-common = %{epoch}:%{version}-%{release}
931 Provides: php(hash) = %{hashver}
934 Provides: php-mhash = %{epoch}:%{version}-%{release}
935 Obsoletes: php-mhash < 4:5.3.0
937 Obsoletes: php-pecl-hash < %{hashver}
940 Native implementations of common message digest algorithms using a
941 generic factory method.
943 %description hash -l pl.UTF-8
944 Natywne implementacje popularnych algorytmów obliczania skrótów
945 wiadomości przy użyciu wspólnego interfejsu.
948 Summary: iconv extension module for PHP
949 Summary(pl.UTF-8): Moduł iconv dla PHP
951 URL: http://www.php.net/manual/en/book.iconv.php
952 Requires: %{_libdir}/gconv
953 Requires: %{name}-common = %{epoch}:%{version}-%{release}
958 This is a dynamic shared object (DSO) for PHP that will add iconv
961 %description iconv -l pl.UTF-8
962 Moduł PHP dodający obsługę iconv.
965 Summary: IMAP extension module for PHP
966 Summary(pl.UTF-8): Moduł IMAP dla PHP
967 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
969 URL: http://www.php.net/manual/en/book.imap.php
970 Requires: %{name}-common = %{epoch}:%{version}-%{release}
971 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
972 Requires: imap-lib >= 1:2007e-2
976 This is a dynamic shared object (DSO) for PHP that will add IMAP
979 %description imap -l pl.UTF-8
980 Moduł PHP dodający obsługę skrzynek IMAP.
982 %description imap -l pt_BR.UTF-8
983 Um módulo para aplicações PHP que usam IMAP.
986 Summary: InterBase/Firebird database module for PHP
987 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
989 URL: http://www.php.net/manual/en/book.ibase.php
990 Requires: %{name}-common = %{epoch}:%{version}-%{release}
991 Provides: php(interbase)
992 %{?with_interbase_inst:Autoreq: false}
994 %description interbase
995 This is a dynamic shared object (DSO) for PHP that will add InterBase
996 and Firebird database support.
998 %description interbase -l pl.UTF-8
999 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1002 Summary: Internationalization extension (ICU wrapper)
1003 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1005 URL: http://www.php.net/intl
1006 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1007 Provides: php(intl) = %{intlver}
1008 Obsoletes: php-pecl-intl < %{intlver}
1011 Internationalization extension (further is referred as Intl) is a
1012 wrapper for ICU library, enabling PHP programmers to perform
1013 UCA-conformant collation and date/time/number/currency formatting in
1016 %description intl -l pl.UTF-8
1017 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1018 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1019 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1023 Summary: PHP C extension for JSON serialization
1024 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1026 URL: http://www.php.net/manual/en/book.json.php
1027 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1028 Provides: php(json) = %{jsonver}
1029 Obsoletes: php-pecl-json < %{jsonver}
1032 php-json is an extremely fast PHP C extension for JSON (JavaScript
1033 Object Notation) serialisation.
1035 %description json -l pl.UTF-8
1036 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1037 (JavaScript Object Notation).
1040 Summary: LDAP extension module for PHP
1041 Summary(pl.UTF-8): Moduł LDAP dla PHP
1042 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1044 URL: http://www.php.net/manual/en/book.ldap.php
1045 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1049 This is a dynamic shared object (DSO) for PHP that will add LDAP
1052 %description ldap -l pl.UTF-8
1053 Moduł PHP dodający obsługę LDAP.
1055 %description ldap -l pt_BR.UTF-8
1056 Um módulo para aplicações PHP que usam LDAP.
1059 Summary: mbstring extension module for PHP
1060 Summary(pl.UTF-8): Moduł mbstring dla PHP
1062 URL: http://www.php.net/manual/en/book.mbstring.php
1063 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1064 Provides: php(mbstring)
1066 %description mbstring
1067 This is a dynamic shared object (DSO) for PHP that will add multibyte
1070 %description mbstring -l pl.UTF-8
1071 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1074 Summary: mcrypt extension module for PHP
1075 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1077 URL: http://www.php.net/manual/en/book.mcrypt.php
1078 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1079 Provides: php(mcrypt)
1082 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1085 %description mcrypt -l pl.UTF-8
1086 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1089 Summary: MS SQL extension module for PHP
1090 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1092 URL: http://www.php.net/manual/en/book.mssql.php
1093 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1094 Provides: php(mssql)
1097 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1098 databases support through FreeTDS library.
1100 %description mssql -l pl.UTF-8
1101 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1105 Summary: MySQL database module for PHP
1106 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1107 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1109 URL: http://www.php.net/manual/en/book.mysql.php
1110 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1111 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1112 Provides: php(mysql)
1115 This is a dynamic shared object (DSO) for PHP that will add MySQL
1118 %description mysql -l pl.UTF-8
1119 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1121 %description mysql -l pt_BR.UTF-8
1122 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1125 Summary: MySQLi module for PHP
1126 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1128 URL: http://www.php.net/manual/en/book.mysqli.php
1129 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1130 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1131 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1132 Provides: php(mysqli)
1135 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1136 (Improved MySQL) support. The difference between it and mysql module
1137 is that it provides access to functionality of MySQL 4.1 and above.
1139 %description mysqli -l pl.UTF-8
1140 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1141 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1142 MySQL w wersji 4.1 i nowszych.
1145 Summary: MySQL Native Client Driver for PHP
1146 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1148 URL: http://www.php.net/manual/en/book.mysqlnd.php
1149 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1150 Provides: php(mysqlnd)
1152 %description mysqlnd
1153 MySQL Native Driver is a replacement for the MySQL Client Library
1156 Because MySQL Native Driver is written as a PHP extension, it is
1157 tightly coupled to the workings of PHP. This leads to gains in
1158 efficiency, especially when it comes to memory usage, as the driver
1159 uses the PHP memory management system. It also supports the PHP memory
1160 limit. Using MySQL Native Driver leads to comparable or better
1161 performance than using MySQL Client Library, it always ensures the
1162 most efficient use of memory. One example of the memory efficiency is
1163 the fact that when using the MySQL Client Library, each row is stored
1164 in memory twice, whereas with the MySQL Native Driver each row is only
1165 stored once in memory.
1167 %description mysqlnd -l pl.UTF-8
1168 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1169 klienckiej MySQL (libmysql).
1171 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1172 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1173 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1174 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1175 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1176 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1177 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1178 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1179 tym sterowniku - tylko raz.
1182 Summary: Oracle 8+ database module for PHP
1183 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1185 URL: http://www.php.net/manual/en/book.oci8.php
1186 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1191 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1192 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1194 %description oci8 -l pl.UTF-8
1195 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1196 poprzez interfejs Oracle8 Call-Interface (OCI8).
1199 Summary: ODBC extension module for PHP
1200 Summary(pl.UTF-8): Moduł ODBC dla PHP
1201 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1203 URL: http://www.php.net/manual/en/book.uodbc.php
1204 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1205 Requires: unixODBC >= 2.1.1-3
1209 This is a dynamic shared object (DSO) for PHP that will add ODBC
1212 %description odbc -l pl.UTF-8
1213 Moduł PHP ze wsparciem dla ODBC.
1215 %description odbc -l pt_BR.UTF-8
1216 Um módulo para aplicações PHP que usam ODBC.
1219 Summary: OpenSSL extension module for PHP
1220 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1222 URL: http://www.php.net/manual/en/book.openssl.php
1223 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1224 Provides: php(openssl)
1226 %description openssl
1227 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1230 %description openssl -l pl.UTF-8
1231 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1234 Summary: Process Control extension module for PHP
1235 Summary(pl.UTF-8): Moduł Process Control dla PHP
1237 URL: http://www.php.net/manual/en/book.pcntl.php
1238 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1239 Provides: php(pcntl)
1242 This is a dynamic shared object (DSO) for PHP that will add process
1243 spawning and control support. It supports functions like fork(),
1244 waitpid(), signal() etc.
1246 %description pcntl -l pl.UTF-8
1247 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1248 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1251 Summary: PCRE extension module for PHP
1252 Summary(pl.UTF-8): Moduł PCRE dla PHP
1254 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1258 This is a dynamic shared object (DSO) for PHP that will add Perl
1259 Compatible Regular Expression support.
1261 %description pcre -l pl.UTF-8
1262 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1263 (Perl Compatible Regular Expressions)
1266 Summary: PHP Data Objects (PDO)
1267 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1269 URL: http://www.php.net/manual/en/book.pdo.php
1270 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1271 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1273 Obsoletes: php-pecl-PDO
1276 This is a dynamic shared object (DSO) for PHP that will add PDO
1279 %description pdo -l pl.UTF-8
1280 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1283 Summary: PHP Data Objects (PDO) FreeTDS support
1284 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1286 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1287 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1288 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1289 Provides: php(pdo_dblib)
1291 %description pdo-dblib
1292 This is a dynamic shared object (DSO) for PHP that will add PDO
1295 %description pdo-dblib -l pl.UTF-8
1296 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1299 %package pdo-firebird
1300 Summary: PHP Data Objects (PDO) Firebird support
1301 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1303 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1304 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1305 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1306 Provides: php(pdo-firebird)
1307 Provides: php(pdo_firebird)
1308 Obsoletes: php-pecl-PDO_FIREBIRD
1310 %description pdo-firebird
1311 This is a dynamic shared object (DSO) for PHP that will add PDO
1314 %description pdo-firebird -l pl.UTF-8
1315 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1319 Summary: PHP Data Objects (PDO) MySQL support
1320 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1322 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1323 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1324 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1325 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1326 Provides: php(pdo-mysql)
1327 Provides: php(pdo_mysql)
1328 Obsoletes: php-pecl-PDO_MYSQL
1330 %description pdo-mysql
1331 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1334 %description pdo-mysql -l pl.UTF-8
1335 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1339 Summary: PHP Data Objects (PDO) Oracle support
1340 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1342 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1343 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1344 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1345 Provides: php(pdo-oci)
1346 Provides: php(pdo_oci)
1347 Obsoletes: php-pecl-PDO_OCI
1349 %description pdo-oci
1350 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1353 %description pdo-oci -l pl.UTF-8
1354 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1358 Summary: PHP Data Objects (PDO) ODBC support
1359 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1361 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1362 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1363 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1364 Provides: php(pdo-odbc)
1365 Provides: php(pdo_odbc)
1366 Obsoletes: php-pecl-PDO_ODBC
1368 %description pdo-odbc
1369 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1372 %description pdo-odbc -l pl.UTF-8
1373 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1377 Summary: PHP Data Objects (PDO) PostgreSQL support
1378 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1380 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1381 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1382 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1383 Provides: php(pdo-pgsql)
1384 Provides: php(pdo_pgsql)
1385 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1387 %description pdo-pgsql
1388 This is a dynamic shared object (DSO) for PHP that will add PDO
1391 %description pdo-pgsql -l pl.UTF-8
1392 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1396 Summary: PHP Data Objects (PDO) SQLite support
1397 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1399 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1400 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1401 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1402 Provides: php(pdo-sqlite)
1403 Provides: php(pdo_sqlite)
1404 Obsoletes: php-pecl-PDO_SQLITE
1406 %description pdo-sqlite
1407 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1410 %description pdo-sqlite -l pl.UTF-8
1411 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1415 Summary: PostgreSQL database module for PHP
1416 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1418 URL: http://www.php.net/manual/en/book.pgsql.php
1419 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1420 Provides: php(pgsql)
1423 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1426 %description pgsql -l pl.UTF-8
1427 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1429 %description pgsql -l pt_BR.UTF-8
1430 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1433 Summary: Phar archive module for PHP
1434 Summary(pl.UTF-8): Moduł phar dla PHP
1436 URL: http://www.php.net/manual/en/book.phar.php
1437 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1438 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1439 %{?with_alternatives:Requires: alternatives}
1440 Suggests: %{name}-cli
1441 # zlib is required by phar program, but as phar cli is optional should the dep be too
1442 Suggests: %{name}-zlib
1443 Provides: php(phar) = %{pharver}
1444 Obsoletes: php-pecl-phar < %{pharver}
1445 Conflicts: php-ioncube < 4.0.9
1448 This is a dynamic shared object (DSO) for PHP that will add phar
1451 %description phar -l pl.UTF-8
1452 Moduł PHP umożliwiający dostęp do achiwów .phar.
1455 Summary: POSIX extension module for PHP
1456 Summary(pl.UTF-8): Moduł POSIX dla PHP
1458 URL: http://www.php.net/manual/en/book.posix.php
1459 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1460 Provides: php(posix)
1463 This is a dynamic shared object (DSO) for PHP that will add POSIX
1464 functions support to PHP.
1466 %description posix -l pl.UTF-8
1467 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1470 Summary: pspell extension module for PHP
1471 Summary(pl.UTF-8): Moduł pspell dla PHP
1473 URL: http://www.php.net/manual/en/book.pspell.php
1474 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1475 Provides: php(pspell)
1478 This is a dynamic shared object (DSO) for PHP that will add pspell
1479 support to PHP. It allows to check the spelling of a word and offer
1482 %description pspell -l pl.UTF-8
1483 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1484 sprawdzanie pisowni słowa i sugerowanie poprawek.
1487 Summary: readline extension module for PHP
1488 Summary(pl.UTF-8): Moduł readline dla PHP
1490 URL: http://www.php.net/manual/en/book.readline.php
1491 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1492 Provides: php(readline)
1494 %description readline
1495 This PHP module adds support for readline functions (only for cli and
1498 %description readline -l pl.UTF-8
1499 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1502 Summary: recode extension module for PHP
1503 Summary(pl.UTF-8): Moduł recode dla PHP
1505 URL: http://www.php.net/manual/en/book.recode.php
1506 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1507 Requires: recode >= 3.5d-3
1508 Provides: php(recode)
1511 This is a dynamic shared object (DSO) for PHP that will add recode
1514 %description recode -l pl.UTF-8
1515 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1519 Summary: session extension module for PHP
1520 Summary(pl.UTF-8): Moduł session dla PHP
1522 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1523 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1524 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1526 Provides: php(session)
1528 %description session
1529 This is a dynamic shared object (DSO) for PHP that will add session
1532 %description session -l pl.UTF-8
1533 Moduł PHP dodający obsługę sesji.
1536 Summary: Shared Memory Operations extension module for PHP
1537 Summary(pl.UTF-8): Moduł shmop dla PHP
1539 URL: http://www.php.net/manual/en/book.shmop.php
1540 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1541 Provides: php(shmop)
1544 This is a dynamic shared object (DSO) for PHP that will add Shared
1545 Memory Operations support.
1547 %description shmop -l pl.UTF-8
1548 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1551 Summary: Simple XML extension module for PHP
1552 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1554 URL: http://www.php.net/manual/en/book.simplexml.php
1555 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1556 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1557 Provides: php(simplexml)
1559 %description simplexml
1560 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1563 %description simplexml -l pl.UTF-8
1564 Moduł PHP dodający obsługę prostego XML-a.
1567 Summary: SNMP extension module for PHP
1568 Summary(pl.UTF-8): Moduł SNMP dla PHP
1570 URL: http://www.php.net/manual/en/book.snmp.php
1571 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1572 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1573 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1577 This is a dynamic shared object (DSO) for PHP that will add SNMP
1580 %description snmp -l pl.UTF-8
1581 Moduł PHP dodający obsługę SNMP.
1584 Summary: soap extension module for PHP
1585 Summary(pl.UTF-8): Moduł soap dla PHP
1587 URL: http://www.php.net/manual/en/book.soap.php
1588 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1592 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1595 %description soap -l pl.UTF-8
1596 Moduł PHP dodający obsługę SOAP/WSDL.
1599 Summary: sockets extension module for PHP
1600 Summary(pl.UTF-8): Moduł socket dla PHP
1602 URL: http://www.php.net/manual/en/book.sockets.php
1603 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1604 Provides: php(sockets)
1606 %description sockets
1607 This is a dynamic shared object (DSO) for PHP that will add sockets
1610 %description sockets -l pl.UTF-8
1611 Moduł PHP dodający obsługę gniazdek.
1614 Summary: Standard PHP Library module for PHP
1615 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1617 URL: http://php.net/manual/en/book.spl.php
1618 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1619 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1620 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1624 This is a dynamic shared object (DSO) for PHP that will add Standard
1625 PHP Library support.
1627 %description spl -l pl.UTF-8
1628 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1631 Summary: SQLite3 extension module for PHP
1632 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1634 URL: http://php.net/manual/en/book.sqlite3.php
1635 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1636 Provides: php(sqlite3) = %{sqlite3ver}
1638 %description sqlite3
1639 SQLite is a C library that implements an embeddable SQL database
1640 engine. Programs that link with the SQLite library can have SQL
1641 database access without running a separate RDBMS process.
1643 SQLite is not a client library used to connect to a big database
1644 server. SQLite is the server. The SQLite library reads and writes
1645 directly to and from the database files on disk.
1647 %description sqlite3 -l pl.UTF-8
1648 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1649 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1650 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1653 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1654 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1655 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1659 Summary: Sybase-CT extension module for PHP
1660 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1662 URL: http://www.php.net/manual/en/book.sybase.php
1663 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1664 Provides: php(sybase-ct)
1665 Obsoletes: php-sybase
1667 %description sybase-ct
1668 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1669 MS SQL databases support through CT-lib.
1671 %description sybase-ct -l pl.UTF-8
1672 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1676 Summary: SysV msg extension module for PHP
1677 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1679 URL: http://www.php.net/manual/en/book.sem.php
1680 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1681 Provides: php(sysvmsg)
1683 %description sysvmsg
1684 This is a dynamic shared object (DSO) for PHP that will add SysV
1685 message queues support.
1687 %description sysvmsg -l pl.UTF-8
1688 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1691 Summary: SysV sem extension module for PHP
1692 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1694 URL: http://www.php.net/manual/en/book.sem.php
1695 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1696 Provides: php(sysvsem)
1698 %description sysvsem
1699 This is a dynamic shared object (DSO) for PHP that will add SysV
1702 %description sysvsem -l pl.UTF-8
1703 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1706 Summary: SysV shm extension module for PHP
1707 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1709 URL: http://www.php.net/manual/en/book.shmop.php
1710 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1711 Provides: php(sysvshm)
1713 %description sysvshm
1714 This is a dynamic shared object (DSO) for PHP that will add SysV
1715 Shared Memory support.
1717 %description sysvshm -l pl.UTF-8
1718 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1721 Summary: Contains unit test files for PHP and extensions
1722 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1724 URL: http://qa.php.net/
1725 Requires: %{name}-cli
1728 This package contains unit tests for PHP and its extensions.
1730 %description tests -l pl.UTF-8
1731 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1734 Summary: Tidy extension module for PHP
1735 Summary(pl.UTF-8): Moduł Tidy dla PHP
1737 URL: http://www.php.net/manual/en/book.tidy.php
1738 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1743 This is a dynamic shared object (DSO) for PHP that will add Tidy
1746 %description tidy -l pl.UTF-8
1747 Moduł PHP umożliwiający korzystanie z tidy.
1750 Summary: tokenizer extension module for PHP
1751 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1753 URL: http://www.php.net/manual/en/book.tokenizer.php
1754 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1755 Provides: php(tokenizer)
1757 %description tokenizer
1758 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1761 %description tokenizer -l pl.UTF-8
1762 Moduł PHP dodający obsługę tokenizera do PHP.
1765 Summary: wddx extension module for PHP
1766 Summary(pl.UTF-8): Moduł wddx dla PHP
1768 URL: http://www.php.net/manual/en/book.wddx.php
1769 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1770 # - wddx doesn't require session as it's disabled at compile time:
1771 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1772 # see also php.spec#rev1.120.2.22
1773 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1774 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1778 This is a dynamic shared object (DSO) for PHP that will add wddx
1781 %description wddx -l pl.UTF-8
1782 Moduł PHP umożliwiający korzystanie z wddx.
1785 Summary: XML extension module for PHP
1786 Summary(pl.UTF-8): Moduł XML dla PHP
1788 URL: http://www.php.net/manual/en/book.xml.php
1789 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1793 This is a dynamic shared object (DSO) for PHP that will add XML
1794 support. This extension lets you create XML parsers and then define
1795 handlers for different XML events.
1797 %description xml -l pl.UTF-8
1798 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1799 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1800 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1803 Summary: XML Reader extension module for PHP
1804 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1806 URL: http://www.php.net/manual/en/book.xmlreader.php
1807 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1808 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1809 Provides: php(xmlreader)
1811 %description xmlreader
1812 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1813 support. The XMLReader extension is an XML Pull parser. The reader
1814 acts as a cursor going forward on the document stream and stopping at
1815 each node on the way.
1817 %description xmlreader -l pl.UTF-8
1818 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1819 działa jako kursor przechodzący przez strumień dokumentu i
1820 zatrzymujący się na każdym węźle po drodze.
1823 Summary: xmlrpc extension module for PHP
1824 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1826 URL: http://www.php.net/manual/en/book.xmlrpc.php
1827 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1828 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1829 Provides: php(xmlrpc)
1832 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1835 %description xmlrpc -l pl.UTF-8
1836 Moduł PHP dodający obsługę XMLRPC.
1839 Summary: Fast, non-cached, forward-only means to write XML data
1840 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1842 URL: http://www.php.net/manual/en/book.xmlwriter.php
1843 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1844 Provides: php(xmlwriter)
1845 Obsoletes: php-pecl-xmlwriter
1847 %description xmlwriter
1848 This extension wraps the libxml xmlWriter API. Represents a writer
1849 that provides a non-cached, forward-only means of generating streams
1850 or files containing XML data.
1852 %description xmlwriter -l pl.UTF-8
1853 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1854 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1855 plików zawierających dane XML.
1858 Summary: xsl extension module for PHP
1859 Summary(pl.UTF-8): Moduł xsl dla PHP
1861 URL: http://www.php.net/manual/en/book.xsl.php
1862 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1863 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1864 Requires: libxslt >= 1.0.18
1865 # actually not true, functionality is similar, but API differs
1867 Obsoletes: php-xslt <= 3:4.3.8-1
1870 This is a dynamic shared object (DSO) for PHP that will add new XSL
1871 support (using libxslt).
1873 %description xsl -l pl.UTF-8
1874 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1877 Summary: Zip management extension
1878 Summary(pl.UTF-8): Zarządzanie archiwami zip
1880 URL: http://www.php.net/manual/en/book.zip.php
1881 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1882 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
1883 Provides: php(zip) = %{zipver}
1884 Obsoletes: php-pecl-zip < %{zipver}
1887 Zip is an extension to create, modify and read zip files.
1889 %description zip -l pl.UTF-8
1890 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1891 odczyt archiwów zip.
1894 Summary: Zlib extension module for PHP
1895 Summary(pl.UTF-8): Moduł zlib dla PHP
1897 URL: http://www.php.net/manual/en/book.zlib.php
1898 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1902 This is a dynamic shared object (DSO) for PHP that will add zlib
1903 compression support to PHP.
1905 %description zlib -l pl.UTF-8
1906 Moduł PHP umożliwiający używanie kompresji zlib.
1909 %setup -q -n %{orgname}-%{version}
1920 cp -p php.ini-production php.ini
1922 %if %{with type_hints}
1928 %if %{with system_gd}
1941 %if "%{pld_release}" != "ac"
1955 #%patch45 -p1 # imap annotations. fixme
1956 #%patch46 -p1 # imap myrights. fixme
1965 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1971 %{?with_system_libzip:%patch65 -p1}
1977 # asm part of zend_operators.h of php-5.5
1983 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
1985 # cleanup backups after patching
1986 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
1988 # conflict seems to be resolved by recode patches
1989 %{__rm} ext/recode/config9.m4
1991 # remove all bundled libraries not to link with them accidentally
1992 %{__rm} -r ext/sqlite3/libsqlite
1993 #%{__rm} -r ext/bcmath/libbcmath
1994 #%{__rm} -r ext/date/lib
1995 #%{__rm} -r ext/fileinfo/libmagic
1996 #%{__rm} -r ext/dba/libcdb
1997 #%{__rm} -r ext/dba/libflatfile
1998 #%{__rm} -r ext/dba/libinifile
1999 #%{__rm} -r ext/gd/libgd
2000 #%{__rm} -r ext/mbstring/libmbfl
2001 #%{__rm} -r ext/mbstring/oniguruma
2002 %{__rm} -r ext/pcre/pcrelib
2003 #%{__rm} -r ext/soap/interop
2004 %{__rm} -r ext/xmlrpc/libxmlrpc
2005 #%{__rm} -r ext/zip/lib
2007 cp -pf Zend/LICENSE{,.Zend}
2008 install -p %{SOURCE13} dep-tests.sh
2011 sed -i -e 's#-fvisibility=hidden##g' configure*
2013 # disable broken tests
2014 # says just "Terminated" twice and fails
2015 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2017 # really dumb test, executable binary name is .libs/ something when building
2018 # https://bugs.php.net/bug.php?id=54514
2019 %{__mv} tests/basic/bug54514.phpt{,.disable}
2021 # breaks whole testsuite unexpectedly:
2022 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2023 # probably broken as zlib is built as shared
2024 %{__mv} ext/soap/tests/server019.phpt{,disable}
2025 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2026 %{__mv} ext/soap/tests/server020.phpt{,disable}
2028 # runs out of memory and kills carme vserver
2029 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2030 %{__mv} Zend/tests/bug39438.phpt{,.disable}
2032 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2033 %{__rm} ext/standard/tests/file/statpage.phpt
2035 # idiotic test, it will fail if somebody else makes space on disk or if disk
2036 # space is not yet allocated (xfs). report upstream to advice bogus test is
2037 # probably pointless.
2038 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2041 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2042 %{__rm} -r ext/pdo_sqlite/tests
2043 %{__rm} -r ext/sqlite3/tests
2047 # no point testing stuff that is knowingly broken
2048 find -name '*.phpt' | xargs grep XFAIL -l | xargs rm -v
2060 sh -xe %{_sourcedir}/skip-tests.sh
2063 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2064 if [ $API != %{php_api_version} ]; then
2065 echo "Set %%define php_api_version to $API and re-run."
2069 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2070 if [ $API != %{zend_module_api} ]; then
2071 echo "Set %%define zend_module_api to $API and re-run."
2075 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2076 if [ $API != %{zend_extension_api} ]; then
2077 echo "Set %%define zend_extension_api to $API and re-run."
2081 # Check for some extension version
2082 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2083 if test "$ver" != "%{fileinfover}"; then
2084 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2085 : Update the fileinfover macro and rebuild.
2088 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2089 if test "$ver" != "%{pharver}"; then
2090 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2091 : Update the pharver macro and rebuild.
2094 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2095 if test "$ver" != "%{sqlite3ver}"; then
2096 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2097 : Update the sqlite3ver macro and rebuild.
2100 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2101 if test "$ver" != "%{zipver}"; then
2102 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2103 : Update the zipver macro and rebuild.
2106 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2107 if test "$ver" != "%{jsonver}"; then
2108 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2109 : Update the jsonver macro and rebuild.
2112 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2113 if test "$ver" != "%{bz2ver}"; then
2114 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2115 : Update the bz2ver macro and rebuild.
2118 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2119 if test "$ver" != "%{enchantver}"; then
2120 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2121 : Update the enchantver macro and rebuild.
2124 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2125 if test "$ver" != "%{hashver}"; then
2126 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2127 : Update the hashver macro and rebuild.
2130 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2131 if test "$ver" != "%{intlver}"; then
2132 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2133 : Update the intlver macro and rebuild.
2137 export EXTENSION_DIR="%{php_extensiondir}"
2138 # configure once (for faster debugging purposes)
2139 if [ ! -f _built-conf ]; then
2140 # now remove Makefile copies
2141 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2144 cp -f /usr/share/automake/config.* .
2148 export PROG_SENDMAIL="/usr/lib/sendmail"
2149 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2150 -I%{_includedir}/xmlrpc-epi"
2157 %if %{with litespeed}
2173 for sapi in $sapis; do
2175 # skip if already configured (for faster debugging purposes)
2176 [ -f Makefile.$sapi ] && continue
2181 sapi_args='--disable-cli'
2184 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2187 sapi_args='--disable-cli --enable-fpm'
2190 sapi_args='--disable-cli --enable-embed'
2193 ver=$(rpm -q --qf '%{V}' apache1-devel)
2194 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2197 ver=$(rpm -q --qf '%{V}' apache-devel)
2198 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2201 sapi_args='--with-litespeed'
2206 EXTRA_LDFLAGS="%{rpmldflags}" \
2208 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2209 --cache-file=config.cache \
2211 --with-libdir=%{_lib} \
2212 --with-config-file-path=%{_sysconfdir} \
2213 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2214 --with-system-tzdata \
2215 --%{!?debug:dis}%{?debug:en}able-debug \
2216 %{?with_zts:--enable-maintainer-zts} \
2217 --enable-inline-optimization \
2218 --enable-bcmath=shared \
2219 --enable-calendar=shared \
2220 --enable-ctype=shared \
2221 --enable-dba=shared \
2222 --enable-dom=shared \
2223 --enable-exif=shared \
2224 --enable-fileinfo=shared \
2225 --enable-ftp=shared \
2226 --enable-gd-native-ttf \
2227 %{?with_intl:--enable-intl=shared} \
2229 --enable-mbstring=shared,all \
2231 --enable-pcntl=shared \
2232 --enable-pdo=shared \
2233 --enable-json=shared \
2234 --enable-hash=shared \
2235 --enable-xmlwriter=shared \
2237 --with-fpm-user=http \
2238 --with-fpm-group=http \
2240 %if %{with mssql} || %{with sybase_ct}
2241 --with-pdo-dblib=shared \
2243 %if %{with interbase} && %{without interbase_inst}
2244 --with-pdo-firebird=shared,/usr \
2246 %{?with_mhash:--with-mhash=yes} \
2247 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2248 --with-pdo-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2249 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2250 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2251 %{?with_pgsql:--with-pdo-pgsql=shared} \
2252 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2253 %{?with_webp:--with-vpx-dir=/usr} \
2254 --without-libexpat-dir \
2255 --enable-posix=shared \
2257 --enable-session=shared \
2258 --enable-shmop=shared \
2259 --enable-simplexml=shared \
2260 --enable-sysvmsg=shared \
2261 --enable-sysvsem=shared \
2262 --enable-sysvshm=shared \
2263 --enable-soap=shared \
2264 --enable-sockets=shared \
2265 --enable-tokenizer=shared \
2266 %{?with_wddx:--enable-wddx=shared} \
2267 --enable-xml=shared \
2268 --enable-xmlreader=shared \
2270 %{__with_without curl curl shared} \
2272 --with-iconv=shared \
2273 %{?with_enchant:--with-enchant=shared,/usr} \
2274 --with-freetype-dir=shared \
2275 --with-gettext=shared \
2276 --with-gd=shared%{?with_system_gd:,/usr} \
2279 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2280 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2281 --with-jpeg-dir=/usr \
2282 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2283 --with-mcrypt=shared \
2284 %{?with_mm:--with-mm} \
2285 %{?with_mssql:--with-mssql=shared} \
2286 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2287 --with-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2288 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2289 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2290 %{?with_openssl:--with-openssl=shared} \
2291 %{?with_kerberos5:--with-kerberos} \
2293 %{__with_without pcre pcre-regex /usr} \
2294 %{__enable_disable filter filter shared} \
2295 --with-pear=%{php_pear_dir} \
2296 %{__with_without pgsql pgsql shared,/usr} \
2297 %{__enable_disable phar phar shared} \
2298 --with-png-dir=/usr \
2299 %{?with_pspell:--with-pspell=shared} \
2300 --with-readline=shared \
2301 %{?with_recode:--with-recode=shared} \
2302 --with-regex=system \
2303 %{?with_snmp:--with-snmp=shared} \
2304 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2305 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2306 %{__with_without sqlite3 sqlite3 shared,/usr} \
2307 --with-t1lib=shared \
2308 %{?with_tidy:--with-tidy=shared} \
2309 %{?with_odbc:--with-unixODBC=shared,/usr} \
2310 %{__with_without xmlrpc xmlrpc shared,/usr} \
2312 --with-zlib=shared \
2313 --with-zlib-dir=shared,/usr \
2314 %{?with_system_libzip:--with-libzip} \
2315 --enable-zip=shared,/usr \
2318 cp -f Makefile Makefile.$sapi
2319 cp -f main/php_config.h php_config.h.$sapi
2320 cp -f config.log config.log.$sapi
2323 # as we build each SAPI in own make, adjust php-config.in forehead
2324 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2325 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2327 # must make libphp_common first, so modules can link against it.
2328 cp -af php_config.h.cli main/php_config.h
2329 cp -af Makefile.cli Makefile
2330 %{__make} libphp_common.la
2331 %{__make} build-modules
2334 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2338 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2341 %if %{with litespeed}
2342 %{__make} -f Makefile.litespeed
2347 cp -pf php_config.h.cgi-fcgi main/php_config.h
2348 %{__make} -f Makefile.cgi-fcgi
2349 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2354 cp -pf php_config.h.fpm main/php_config.h
2355 %{__make} -f Makefile.fpm
2356 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2360 cp -pf php_config.h.cli main/php_config.h
2361 %{__make} -f Makefile.cli
2362 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2364 # check for stupid xml parse breakage where < and > just get lost in parse result
2365 ./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"]));'
2367 # Generate stub .ini files for each extension
2370 generate_inifiles() {
2371 for so in modules/*.so; do
2372 mod=$(basename $so .so)
2374 # xml needs to be loaded before wddx
2375 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2376 # pre needs to be loaded before SPL
2377 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2378 # spl needs to be loaded before mysqli
2379 [ "$mod" = "spl" ] && conf="SPL.ini"
2380 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2381 [ "$mod" = "session" ] && conf="Session.ini"
2382 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2383 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2385 cat > conf.d/$conf <<-EOF
2386 ; Enable $mod extension module
2393 # Check that the module inner-dependencies are intact
2394 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2395 if grep -v OK dep-tests.log; then
2396 echo >&2 "The results above were not expected"
2402 cp -pf php_config.h.cli main/php_config.h
2403 cp -pf Makefile.cli Makefile
2405 # you really don't want to package result of gcov build
2409 cat <<'EOF' > run-tests.sh
2411 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2412 unset TZ LANG LC_ALL || :
2414 EXTENSION_DIR=modules \
2415 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2416 RUN_TESTS_SETTINGS="-q $*"
2418 chmod +x run-tests.sh
2421 # Run tests, using the CLI SAPI
2422 cp -pf php_config.h.cli main/php_config.h
2423 cp -pf Makefile.cli Makefile
2425 ./run-tests.sh -w failed.log -s tests.log
2427 # collect failed tests into cleanup script used in prep.
2428 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2429 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2430 >> %{_sourcedir}/skip-tests.sh
2432 # if on builders, dump test log
2433 tty -q || cat tests.log
2435 test ! -s failed.log
2439 rm -rf $RPM_BUILD_ROOT
2440 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2441 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2442 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2443 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2445 cp -pf php_config.h.cli main/php_config.h
2446 cp -pf Makefile.cli Makefile
2447 %{__make} install -j1 \
2448 phpbuilddir=%{_libdir}/%{name}/build \
2449 INSTALL_ROOT=$RPM_BUILD_ROOT
2451 %if %{without default_php}
2452 # version the .phar files
2453 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2454 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1
2456 %if %{with alternatives}
2458 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2459 touch $RPM_BUILD_ROOT%{_bindir}/phar
2460 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2464 v=$(echo %{version} | cut -d. -f1-2)
2466 # install Apache1 DSO module
2468 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2469 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2470 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2473 # install Apache2 DSO module
2475 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2476 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2477 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2480 # install litespeed sapi
2481 %if %{with litespeed}
2482 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2485 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2490 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2491 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2492 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2497 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2498 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2499 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2500 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2501 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2502 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2503 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2504 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2505 %if "%{pld_release}" == "ac"
2506 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2509 %if %{with alternatives}
2510 # touch for ghost for alternatives
2511 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2515 s#/usr/lib/php#%{php_extensiondir}#
2516 s#/etc/php#%{_sysconfdir}#
2517 s#@processname@#%{name}-fpm#g
2518 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf}
2521 # install Embedded API
2523 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2524 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2525 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2526 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2530 # versioned suffix is always installed
2531 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2532 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2533 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2534 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2536 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2537 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2540 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2541 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2542 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2546 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2547 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2548 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2551 # ensure that paths are correct for current php version and arch
2552 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2554 s#/usr/lib/php#%{php_extensiondir}#
2555 s#/etc/php#%{_sysconfdir}#
2558 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2559 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2561 # per SAPI ini directories
2562 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2565 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2567 # use system automake and {lib,sh}tool
2568 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2569 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2570 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2571 f=%{_aclocaldir}/$fn
2572 test -f $f || continue
2573 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2575 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2576 f=/usr/share/libtool/$fn
2577 test -f $f || continue
2578 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2581 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2583 # for php-pecl-mailparse
2584 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2585 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2588 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2589 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2590 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2592 # fix install paths, avoid evil rpaths
2593 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2595 # libphp5.la contains our buildroot in dependency_libs
2596 sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2599 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2602 rm -rf $RPM_BUILD_ROOT
2604 %post -n apache1-mod_%{name}
2605 if [ "$1" = "1" ]; then
2606 %service -q apache restart
2609 %postun -n apache1-mod_%{name}
2610 if [ "$1" = "0" ]; then
2611 %service -q apache restart
2614 %post -n apache-mod_%{name}
2615 if [ "$1" = "1" ]; then
2616 %service -q httpd restart
2619 %postun -n apache-mod_%{name}
2620 if [ "$1" = "0" ]; then
2621 %service -q httpd restart
2625 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2628 /sbin/chkconfig --add %{name}-fpm
2629 %service %{name}-fpm restart
2630 %if %{with alternatives}
2631 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2635 if [ "$1" = 0 ]; then
2636 %service %{name}-fpm stop
2637 /sbin/chkconfig --del %{name}-fpm
2638 %if %{with alternatives}
2639 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2644 if [ "$1" = "0" ]; then
2648 %post embedded -p /sbin/ldconfig
2649 %postun embedded -p /sbin/ldconfig
2652 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2653 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2655 . /etc/sysconfig/timezone
2656 if [ "$TIMEZONE" ]; then
2657 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2661 # minimizing apache restarts logics. we restart webserver:
2663 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2664 # 2. first install of extension (post: $1 = 1)
2665 # 2. uninstall of extension (postun: $1 == 0)
2667 # the strict internal deps between extensions (and apache modules) and
2668 # common package are very important for all this to work.
2670 # restart webserver at the end of transaction
2671 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2672 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2674 %triggerpostun common -- %{name}-common < 4:5.4.36-2, php-common < 4:5.4.36-2
2675 # switch to browscap package if the ini file has original value
2676 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2677 # disable browscap, if optional package not present
2678 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2679 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2682 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.4.45-2
2683 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2685 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.4.45-2
2686 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2688 # common macros called at extension post/postun scriptlet
2690 if [ "$1" = "1" ]; then \
2691 %php_webserver_restart \
2695 %define ext_postun \
2696 if [ "$1" = "0" ]; then \
2697 %php_webserver_restart \
2701 %define extension_scripts() \
2709 # extension scripts defines
2710 %extension_scripts bcmath
2711 %extension_scripts bz2
2712 %extension_scripts calendar
2713 %extension_scripts ctype
2714 %extension_scripts curl
2715 %extension_scripts dba
2716 %extension_scripts dom
2717 %extension_scripts enchant
2718 %extension_scripts exif
2719 %extension_scripts fileinfo
2720 %extension_scripts filter
2721 %extension_scripts ftp
2722 %extension_scripts gd
2723 %extension_scripts gettext
2724 %extension_scripts gmp
2725 %extension_scripts hash
2726 %extension_scripts iconv
2727 %extension_scripts imap
2728 %extension_scripts interbase
2729 %extension_scripts intl
2730 %extension_scripts json
2731 %extension_scripts ldap
2732 %extension_scripts mbstring
2733 %extension_scripts mcrypt
2734 %extension_scripts mssql
2735 %extension_scripts mysql
2736 %extension_scripts mysqli
2737 %extension_scripts mysqlnd
2738 %extension_scripts oci8
2739 %extension_scripts odbc
2740 %extension_scripts openssl
2741 %extension_scripts pcre
2742 %extension_scripts pdo
2743 %extension_scripts pdo-dblib
2744 %extension_scripts pdo-firebird
2745 %extension_scripts pdo-oci
2746 %extension_scripts pdo-mysql
2747 %extension_scripts pdo-odbc
2748 %extension_scripts pdo-pgsql
2749 %extension_scripts pdo-sqlite
2750 %extension_scripts pgsql
2751 %extension_scripts pcntl
2752 %extension_scripts posix
2753 %extension_scripts pspell
2754 %extension_scripts recode
2755 %extension_scripts session
2756 %extension_scripts shmop
2757 %extension_scripts simplexml
2758 %extension_scripts snmp
2759 %extension_scripts soap
2760 %extension_scripts sockets
2761 %extension_scripts spl
2762 %extension_scripts sqlite3
2763 %extension_scripts sybase-ct
2764 %extension_scripts sysvmsg
2765 %extension_scripts sysvsem
2766 %extension_scripts sysvshm
2767 %extension_scripts tidy
2768 %extension_scripts tokenizer
2769 %extension_scripts wddx
2770 %extension_scripts xml
2771 %extension_scripts xmlreader
2772 %extension_scripts xmlrpc
2773 %extension_scripts xmlwriter
2774 %extension_scripts xsl
2775 %extension_scripts zip
2776 %extension_scripts zlib
2780 %if %{with alternatives}
2781 update-alternatives \
2782 --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} \
2783 --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{ver_suffix}.1* || :
2788 %if %{with alternatives}
2789 if [ $1 -eq 0 ]; then
2790 update-alternatives --remove phar %{_bindir}/phar || :
2795 %files -n apache1-mod_%{name}
2796 %defattr(644,root,root,755)
2797 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2798 %dir %{_sysconfdir}/apache.d
2799 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2800 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
2801 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
2805 %files -n apache-mod_%{name}
2806 %defattr(644,root,root,755)
2807 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2808 %dir %{_sysconfdir}/apache2handler.d
2809 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2810 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2811 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
2814 %if %{with litespeed}
2816 %defattr(644,root,root,755)
2817 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2822 %defattr(644,root,root,755)
2823 %dir %{_sysconfdir}/cgi-fcgi.d
2824 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2825 %attr(755,root,root) %{_bindir}/%{name}.cgi
2826 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2831 %defattr(644,root,root,755)
2832 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
2836 %defattr(644,root,root,755)
2837 %dir %{_sysconfdir}/cli.d
2838 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2839 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
2840 %{_mandir}/man1/php%{ver_suffix}.1*
2843 %defattr(644,root,root,755)
2844 %attr(755,root,root) %{_bindir}/php
2845 %{_mandir}/man1/php.1*
2849 %defattr(644,root,root,755)
2850 %doc sapi/fpm/{CREDITS,LICENSE}
2851 %dir %{_sysconfdir}/fpm.d
2852 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2853 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2854 %if %{with alternatives}
2855 %ghost %{_sbindir}/php-fpm
2857 %{_mandir}/man8/%{name}-fpm.8*
2858 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2859 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2863 %defattr(644,root,root,755)
2864 %doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
2866 %dir %{_sysconfdir}/conf.d
2867 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2868 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2869 %dir %{php_extensiondir}
2871 %doc ext/session/mod_files.sh
2874 %defattr(644,root,root,755)
2875 %doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
2876 %attr(755,root,root) %{_bindir}/phpize
2877 %attr(755,root,root) %{_bindir}/php-config
2878 %attr(755,root,root) %{_libdir}/libphp_common.so
2879 %{_libdir}/libphp_common.la
2881 %{_libdir}/%{name}/build
2882 %{_mandir}/man1/php-config.1*
2883 %{_mandir}/man1/phpize.1*
2886 %{_libdir}/libphp5.so
2887 %{_libdir}/libphp5.la
2891 %defattr(644,root,root,755)
2892 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2893 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2896 %defattr(644,root,root,755)
2897 %doc ext/bz2/CREDITS
2898 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2899 %attr(755,root,root) %{php_extensiondir}/bz2.so
2902 %defattr(644,root,root,755)
2903 %doc ext/calendar/CREDITS
2904 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2905 %attr(755,root,root) %{php_extensiondir}/calendar.so
2908 %defattr(644,root,root,755)
2909 %doc ext/calendar/CREDITS
2910 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2911 %attr(755,root,root) %{php_extensiondir}/ctype.so
2915 %defattr(644,root,root,755)
2916 %doc ext/curl/CREDITS
2917 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2918 %attr(755,root,root) %{php_extensiondir}/curl.so
2922 %defattr(644,root,root,755)
2923 %doc ext/dba/{CREDITS,README}
2924 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2925 %attr(755,root,root) %{php_extensiondir}/dba.so
2928 %defattr(644,root,root,755)
2929 %doc ext/dom/{CREDITS,TODO}
2930 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2931 %attr(755,root,root) %{php_extensiondir}/dom.so
2935 %defattr(644,root,root,755)
2936 %doc ext/enchant/{CREDITS,docs/examples}
2937 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
2938 %attr(755,root,root) %{php_extensiondir}/enchant.so
2942 %defattr(644,root,root,755)
2943 %doc ext/exif/CREDITS
2944 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2945 %attr(755,root,root) %{php_extensiondir}/exif.so
2948 %defattr(644,root,root,755)
2949 %doc ext/fileinfo/CREDITS
2950 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2951 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2955 %defattr(644,root,root,755)
2956 %doc ext/filter/{CREDITS,docs/*}
2957 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2958 %attr(755,root,root) %{php_extensiondir}/filter.so
2962 %defattr(644,root,root,755)
2963 %doc ext/ftp/CREDITS
2964 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2965 %attr(755,root,root) %{php_extensiondir}/ftp.so
2968 %defattr(644,root,root,755)
2970 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2971 %attr(755,root,root) %{php_extensiondir}/gd.so
2974 %defattr(644,root,root,755)
2975 %doc ext/gettext/CREDITS
2976 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2977 %attr(755,root,root) %{php_extensiondir}/gettext.so
2980 %defattr(644,root,root,755)
2981 %doc ext/gmp/{CREDITS,README,TODO}
2982 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2983 %attr(755,root,root) %{php_extensiondir}/gmp.so
2986 %defattr(644,root,root,755)
2987 %doc ext/hash/{CREDITS,README}
2988 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2989 %attr(755,root,root) %{php_extensiondir}/hash.so
2992 %defattr(644,root,root,755)
2993 %doc ext/iconv/CREDITS
2994 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2995 %attr(755,root,root) %{php_extensiondir}/iconv.so
2999 %defattr(644,root,root,755)
3000 %doc ext/imap/CREDITS
3001 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3002 %attr(755,root,root) %{php_extensiondir}/imap.so
3005 %if %{with interbase}
3007 %defattr(644,root,root,755)
3008 %doc ext/interbase/CREDITS
3009 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3010 %attr(755,root,root) %{php_extensiondir}/interbase.so
3015 %defattr(644,root,root,755)
3016 %doc ext/intl/{CREDITS,TODO}
3017 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3018 %attr(755,root,root) %{php_extensiondir}/intl.so
3022 %defattr(644,root,root,755)
3023 %doc ext/json/CREDITS
3024 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3025 %attr(755,root,root) %{php_extensiondir}/json.so
3029 %defattr(644,root,root,755)
3030 %doc ext/ldap/CREDITS
3031 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3032 %attr(755,root,root) %{php_extensiondir}/ldap.so
3036 %defattr(644,root,root,755)
3037 %doc ext/mbstring/{CREDITS,README*}
3038 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3039 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3042 %defattr(644,root,root,755)
3043 %doc ext/mcrypt/{CREDITS,TODO}
3044 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3045 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3049 %defattr(644,root,root,755)
3050 %doc ext/mssql/CREDITS
3051 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3052 %attr(755,root,root) %{php_extensiondir}/mssql.so
3056 %defattr(644,root,root,755)
3057 %doc ext/mysql/CREDITS
3058 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3059 %attr(755,root,root) %{php_extensiondir}/mysql.so
3063 %defattr(644,root,root,755)
3064 %doc ext/mysqli/{CREDITS,TODO}
3065 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3066 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3071 %defattr(644,root,root,755)
3072 %doc ext/mysqlnd/CREDITS
3073 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3074 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3079 %defattr(644,root,root,755)
3080 %doc ext/oci8/{CREDITS,README}
3081 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3082 %attr(755,root,root) %{php_extensiondir}/oci8.so
3087 %defattr(644,root,root,755)
3088 %doc ext/odbc/CREDITS
3089 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3090 %attr(755,root,root) %{php_extensiondir}/odbc.so
3095 %defattr(644,root,root,755)
3096 %doc ext/openssl/{CREDITS,README}
3097 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3098 %attr(755,root,root) %{php_extensiondir}/openssl.so
3102 %defattr(644,root,root,755)
3103 %doc ext/pcntl/{CREDITS,README}
3104 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3105 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3109 %defattr(644,root,root,755)
3110 %doc ext/pcre/CREDITS
3111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3112 %attr(755,root,root) %{php_extensiondir}/pcre.so
3116 %defattr(644,root,root,755)
3117 %doc ext/pdo/{CREDITS,README,TODO}
3118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3119 %attr(755,root,root) %{php_extensiondir}/pdo.so
3121 %if %{with mssql} || %{with sybase_ct}
3123 %defattr(644,root,root,755)
3124 %doc ext/pdo_dblib/{CREDITS,README}
3125 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3126 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3129 %if %{with interbase} && !%{with interbase_inst}
3131 %defattr(644,root,root,755)
3132 %doc ext/pdo_firebird/CREDITS
3133 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3134 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3138 %defattr(644,root,root,755)
3139 %doc ext/pdo_mysql/CREDITS
3140 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3141 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3145 %defattr(644,root,root,755)
3146 %doc ext/pdo_oci/CREDITS
3147 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3148 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3153 %defattr(644,root,root,755)
3154 %doc ext/pdo_odbc/CREDITS
3155 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3156 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3161 %defattr(644,root,root,755)
3162 %doc ext/pdo_pgsql/CREDITS
3163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3164 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3167 %if %{with pdo_sqlite}
3169 %defattr(644,root,root,755)
3170 %doc ext/pdo_sqlite/CREDITS
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3172 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3177 %defattr(644,root,root,755)
3178 %doc ext/pgsql/{CREDITS,README}
3179 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3180 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3185 %defattr(644,root,root,755)
3186 %doc ext/phar/{CREDITS,TODO}
3187 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3188 %attr(755,root,root) %{php_extensiondir}/phar.so
3189 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3190 %{_mandir}/man1/phar%{php_suffix}.1*
3191 %{_mandir}/man1/phar.phar.1*
3192 %if %{with alternatives}
3193 %ghost %{_bindir}/phar
3194 %ghost %{_mandir}/man1/phar.1
3196 %attr(755,root,root) %{_bindir}/phar
3201 %defattr(644,root,root,755)
3202 %doc ext/posix/CREDITS
3203 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3204 %attr(755,root,root) %{php_extensiondir}/posix.so
3208 %defattr(644,root,root,755)
3209 %doc ext/pspell/{CREDITS,README}
3210 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3211 %attr(755,root,root) %{php_extensiondir}/pspell.so
3215 %defattr(644,root,root,755)
3216 %doc ext/readline/{CREDITS,README*}
3217 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3218 %attr(755,root,root) %{php_extensiondir}/readline.so
3222 %defattr(644,root,root,755)
3223 %doc ext/recode/CREDITS
3224 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3225 %attr(755,root,root) %{php_extensiondir}/recode.so
3229 %defattr(644,root,root,755)
3230 %doc ext/session/CREDITS
3231 %doc ext/session/mod_files.sh
3232 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3233 %attr(755,root,root) %{php_extensiondir}/session.so
3236 %defattr(644,root,root,755)
3237 %doc ext/shmop/{CREDITS,README}
3238 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3239 %attr(755,root,root) %{php_extensiondir}/shmop.so
3242 %defattr(644,root,root,755)
3243 %doc ext/simplexml/{CREDITS,README}
3244 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3245 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3249 %defattr(644,root,root,755)
3250 %doc ext/snmp/CREDITS
3251 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3252 %attr(755,root,root) %{php_extensiondir}/snmp.so
3256 %defattr(644,root,root,755)
3257 %doc ext/soap/{CREDITS,TODO*}
3258 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3259 %attr(755,root,root) %{php_extensiondir}/soap.so
3262 %defattr(644,root,root,755)
3263 %doc ext/sockets/CREDITS
3264 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3265 %attr(755,root,root) %{php_extensiondir}/sockets.so
3268 %defattr(644,root,root,755)
3269 %doc ext/spl/{CREDITS,README,TODO,examples}
3270 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3271 %attr(755,root,root) %{php_extensiondir}/spl.so
3275 %defattr(644,root,root,755)
3276 %doc ext/sqlite3/CREDITS
3277 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3278 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3281 %if %{with sybase_ct}
3283 %defattr(644,root,root,755)
3284 %doc ext/sybase_ct/CREDITS
3285 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3286 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3290 %defattr(644,root,root,755)
3291 %doc ext/sysvmsg/CREDITS
3292 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3293 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3296 %defattr(644,root,root,755)
3297 %doc ext/sysvsem/CREDITS
3298 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3299 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3302 %defattr(644,root,root,755)
3303 %doc ext/sysvshm/CREDITS
3304 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3305 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3308 %defattr(644,root,root,755)
3309 %dir %{php_data_dir}/tests
3310 %dir %{php_data_dir}/tests/php
3311 %{php_data_dir}/tests/php/basic
3312 %{php_data_dir}/tests/php/classes
3313 %{php_data_dir}/tests/php/func
3314 %{php_data_dir}/tests/php/lang
3315 %{php_data_dir}/tests/php/output
3316 %{php_data_dir}/tests/php/run-test
3317 %{php_data_dir}/tests/php/security
3318 %{php_data_dir}/tests/php/strings
3319 %{php_data_dir}/tests/php/quicktester.inc
3320 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3324 %defattr(644,root,root,755)
3325 %doc ext/tidy/{CREDITS,README}
3326 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3327 %attr(755,root,root) %{php_extensiondir}/tidy.so
3331 %defattr(644,root,root,755)
3332 %doc ext/tokenizer/CREDITS
3333 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3334 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3338 %defattr(644,root,root,755)
3339 %doc ext/wddx/CREDITS
3340 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3341 %attr(755,root,root) %{php_extensiondir}/wddx.so
3345 %defattr(644,root,root,755)
3346 %doc ext/xml/CREDITS
3347 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3348 %attr(755,root,root) %{php_extensiondir}/xml.so
3351 %defattr(644,root,root,755)
3352 %doc ext/xmlreader/{CREDITS,README,TODO,examples}
3353 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3354 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3358 %defattr(644,root,root,755)
3359 %doc ext/xmlrpc/CREDITS
3360 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3361 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3365 %defattr(644,root,root,755)
3366 %doc ext/xmlwriter/{CREDITS,TODO}
3367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3368 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3371 %defattr(644,root,root,755)
3372 %doc ext/xsl/CREDITS
3373 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3374 %attr(755,root,root) %{php_extensiondir}/xsl.so
3377 %defattr(644,root,root,755)
3378 %doc ext/zip/{CREDITS,TODO}
3379 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3380 %attr(755,root,root) %{php_extensiondir}/zip.so
3383 %defattr(644,root,root,755)
3384 %doc ext/zlib/CREDITS
3385 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3386 %attr(755,root,root) %{php_extensiondir}/zlib.so