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 Patch17: %{orgname}-readline.patch
188 Patch18: %{orgname}-nohttpd.patch
189 Patch19: %{orgname}-gd_imagerotate_enable.patch
190 Patch20: %{orgname}-uint32_t.patch
191 Patch21: %{orgname}-dba-link.patch
192 Patch22: %{orgname}-both-apxs.patch
193 Patch23: %{orgname}-builddir.patch
194 Patch24: %{orgname}-zlib-for-getimagesize.patch
195 Patch25: %{orgname}-stupidapache_version.patch
196 Patch26: %{orgname}-pear.patch
197 Patch27: %{orgname}-config-dir.patch
198 Patch29: %{orgname}-fcgi-graceful.patch
199 Patch31: %{orgname}-fcgi-error_log-no-newlines.patch
200 Patch34: %{orgname}-libtool.patch
201 Patch35: %{orgname}-tds.patch
202 Patch36: %{orgname}-mysql-charsetphpini.patch
203 Patch37: %{orgname}-mysqli-charsetphpini.patch
204 Patch38: %{orgname}-pdo_mysql-charsetphpini.patch
205 Patch39: %{orgname}-use-prog_sendmail.patch
206 Patch41: %{orgname}-fpm-config.patch
207 Patch42: %{orgname}-fpm-shared.patch
208 Patch43: %{orgname}-silent-session-cleanup.patch
209 Patch44: %{orgname}-include_path.patch
210 Patch45: %{orgname}-imap-annotations.patch
211 Patch46: %{orgname}-imap-myrights.patch
212 Patch47: suhosin.patch
213 Patch50: extension-shared-optional-dep.patch
214 Patch51: spl-shared.patch
215 Patch52: pcre-shared.patch
216 Patch53: fix-test-run.patch
217 Patch55: bug-52078-fileinode.patch
218 Patch59: %{orgname}-systzdata.patch
219 Patch60: %{orgname}-oracle-instantclient.patch
220 Patch62: mcrypt-libs.patch
221 Patch63: %{orgname}-mysql-nowarning.patch
222 Patch65: system-libzip.patch
223 Patch66: php-db.patch
224 Patch67: mysql-lib-ver-mismatch.patch
226 Patch70: libvpx2.patch
227 Patch71: zend_operators_from_5.5.patch
228 Patch72: mysqli-err.patch
229 Patch73: openssl.patch
230 Patch74: php-icu64.patch
232 URL: http://www.php.net/
233 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
234 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
235 BuildRequires: autoconf >= 2.59
236 BuildRequires: automake >= 1.4d
238 BuildRequires: bzip2-devel
239 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
240 BuildRequires: cyrus-sasl-devel
241 BuildRequires: db-devel >= 4.0
242 BuildRequires: elfutils-devel
243 %{?with_enchant:BuildRequires: enchant-devel >= 1.1.3}
244 #BuildRequires: fcgi-devel
245 %{?with_kerberos5:BuildRequires: heimdal-devel}
246 %{!?with_mysql:BuildRequires: libatomic-devel}
247 %{?with_system_libzip:BuildRequires: libzip-devel >= 0.10.1-2}
248 %{!?with_mysqlnd:BuildRequires: mysql-devel}
249 BuildRequires: pkgconfig
250 BuildRequires: sed >= 4.0
251 %if %{with mssql} || %{with sybase_ct}
252 BuildRequires: freetds-devel >= 0.82
254 BuildRequires: freetype-devel >= 2.0
255 %if %{with system_gd}
256 BuildRequires: gd-devel >= 2.0.28-4
257 BuildRequires: gd-devel(imagerotate) = 5.2.0
259 BuildRequires: gdbm-devel
260 BuildRequires: gmp-devel
261 %{?with_imap:BuildRequires: imap-devel >= 1:2007e-2}
262 %{?with_intl:BuildRequires: libicu-devel}
263 BuildRequires: libjpeg-devel
264 BuildRequires: libltdl-devel >= 1.4
265 BuildRequires: libmcrypt-devel >= 2.4.4
266 BuildRequires: libpng-devel >= 1.0.8
267 #BuildRequires: libtiff-devel
268 %{?with_webp:BuildRequires: libvpx-devel}
269 BuildRequires: tokyocabinet-devel
270 %if "%{pld_release}" != "ac"
271 BuildRequires: libtool >= 2:2.4.6
273 BuildRequires: libtool >= 1.4.3
275 #BuildRequires: libwrap-devel
276 BuildRequires: libxml2-devel >= 1:2.7.6-4
277 BuildRequires: libxslt-devel >= 1.1.0
278 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
279 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
280 %if %{with openssl} || %{with ldap}
281 BuildRequires: openssl-devel >= 0.9.7d
283 %{?with_gcov:BuildRequires: lcov}
284 %{?with_snmp:%{?with_tests:BuildRequires: mibs-net-snmp}}
285 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
286 %{?with_oci:%{?with_instantclient:BuildRequires: oracle-instantclient-devel}}
287 BuildRequires: pam-devel
288 %{?with_pcre:BuildRequires: pcre-devel >= 8.10}
289 BuildRequires: pkgconfig
290 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
291 %{?with_pgsql:BuildRequires: postgresql-devel}
292 BuildRequires: readline-devel
293 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
294 BuildRequires: rpm >= 4.4.9-56
295 BuildRequires: rpm-build >= 4.4.0
296 BuildRequires: rpmbuild(macros) >= 1.566
297 %if %{with sqlite3} || %{with pdo_sqlite}
298 BuildRequires: sqlite3-devel >= 3.3.9
300 BuildRequires: t1lib-devel
301 %{?with_tidy:BuildRequires: tidy-devel}
302 %{?with_odbc:BuildRequires: unixODBC-devel}
303 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel >= 0.54.1}
304 BuildRequires: zlib-devel >= 1.0.9
306 BuildRequires: apache1-devel
309 BuildRequires: apache-devel >= 2.0.52-2
310 BuildRequires: apr-devel >= 1:1.0.0
311 BuildRequires: apr-util-devel >= 1:1.0.0
314 #BuildRequires: judy-devel
316 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
318 %define php_sysconfdir /etc/%{name}
319 %define php_extensiondir %{_libdir}/%{name}
320 %define _sysconfdir %{php_sysconfdir}
322 # must be in sync with source. extra check ensuring that it is so is done in %%build
323 %define php_api_version 20100412
324 %define zend_module_api 20100525
325 %define zend_extension_api 220100525
329 %define enchantver 1.1.0
330 %define fileinfover 1.0.5
332 %define intlver 1.1.0
333 %define jsonver 1.2.1
334 %define pharver 2.0.1
335 %define sqlite3ver 0.7
336 %define zipver 1.11.0
338 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
339 %define php_debug %{!?debug:0}%{?debug:1}
342 %undefine with_ccache
346 # ORACLE_HOME is required for oci8 ext to build
347 %define _preserve_env %_preserve_env_base ORACLE_HOME
351 PHP is an HTML-embedded scripting language. PHP attempts to make it
352 easy for developers to write dynamically generated web pages. PHP also
353 offers built-in database integration for several commercial and
354 non-commercial database management systems, so writing a
355 database-enabled web page with PHP is fairly simple. The most common
356 use of PHP coding is probably as a replacement for CGI scripts. The
357 mod_php module enables the Apache web server to understand and process
358 the embedded PHP language in web pages. This package contains PHP
361 %description -l fr.UTF-8
362 PHP est un langage de script embarque dans le HTM. PHP essaye de
363 rendre simple aux developpeurs d'ecrire des pages web generees
364 dynamiquement. PHP incorpore egalement une integration avec plusieurs
365 systemes de gestion de bases de donnees commerciaux et
366 non-connerciaux, qui rent facile la creation de pages web liees avec
367 des bases de donnees. L'utilisation la plus commune de PHP est
368 probablement en remplacement de scripts CGI. Le module mod_php permet
369 au serveur web Apache de comprendre et de traiter le langage PHP
370 integre dans des pages web. Ce package contient PHP version
373 %description -l pl.UTF-8
374 PHP jest językiem skryptowym, którego polecenia umieszcza się w
375 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
376 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
377 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
378 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
379 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
380 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
381 język PHP osadzony w stronach. Ten pakiet zawiera PHP w wersji
384 %description -l pt_BR.UTF-8
385 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
386 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
387 com algumas características únicas, específicas ao PHP. O objetivo da
388 linguagem é permitir que desenvolvedores web escrevam páginas
389 dinamicamente geradas de forma rápida.
391 %description -l ru.UTF-8
392 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
393 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
394 для работы с базами данных относительно просто. Наиболее популярное
395 использование PHP - замена для CGI скриптов.
397 %description -l uk.UTF-8
398 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
399 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
400 роботи з базами даних є доволі простим. Найбільш популярне
401 використання PHP - заміна для CGI скриптів.
403 %package -n apache1-mod_%{name}
404 Summary: PHP DSO module for Apache 1.3.x
405 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 1.3.x
406 Group: Development/Languages/PHP
407 Requires: %{name}-common = %{epoch}:%{version}-%{release}
408 Requires: apache1(EAPI) >= 1.3.33-2
409 Requires: apache1-mod_mime
410 Provides: webserver(php) = %{version}
411 Obsoletes: apache-mod_php < 1:4.1.1
414 %description -n apache1-mod_%{name}
415 PHP as DSO module for Apache 1.3.x.
417 %description -n apache1-mod_%{name} -l pl.UTF-8
418 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 1.3.x.
420 %package -n apache-mod_%{name}
421 Summary: PHP DSO module for Apache 2.x
422 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) PHP dla Apache 2.x
423 Group: Development/Languages/PHP
424 Requires: %{name}-common = %{epoch}:%{version}-%{release}
425 Requires: apache(modules-api) = %{apache_modules_api}
426 Requires: apache-mod_mime
427 Provides: webserver(php) = %{version}
430 %description -n apache-mod_%{name}
431 PHP as DSO module for Apache 2.x.
433 %description -n apache-mod_%{name} -l pl.UTF-8
434 PHP jako moduł DSO (Dynamic Shared Object) dla Apache 2.x.
437 Summary: PHP for litespeed HTTP server
438 Summary(pl.UTF-8): PHP dla serwera HTTP litespeed
439 Group: Development/Languages/PHP
440 Requires: %{name}-common = %{epoch}:%{version}-%{release}
441 Provides: php(litespeed)
442 Provides: webserver(php) = %{version}
444 %description litespeed
445 PHP for litespeed HTTP server.
447 %description litespeed -l pl.UTF-8
448 PHP dla serwera HTTP litespeed.
451 Summary: PHP as CGI/FastCGI program
452 Summary(pl.UTF-8): PHP jako program CGI/FastCGI
453 Group: Development/Languages/PHP
454 Requires: %{name}-common = %{epoch}:%{version}-%{release}
455 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
458 Provides: webserver(php) = %{version}
459 Obsoletes: php-fcgi < 4:5.3.0
460 %if "%{pld_release}" != "ac"
461 Conflicts: logrotate < 3.8.0
465 PHP as CGI or FastCGI program.
467 %description cgi -l pl.UTF-8
468 PHP jako program CGI lub FastCGI.
471 Summary: PHP as CLI interpreter
472 Summary(pl.UTF-8): PHP jako interpreter działający z linii poleceń
473 Group: Development/Languages/PHP
474 Requires: %{name}-common = %{epoch}:%{version}-%{release}
477 PHP as CLI interpreter.
479 %description cli -l pl.UTF-8
480 PHP jako interpreter działający z linii poleceń.
483 Summary: PHP library for embedding in applications
484 Summary(pl.UTF-8): Biblioteka PHP do osadzania w aplikacjach
486 Requires: %{name}-common = %{epoch}:%{version}-%{release}
488 %description embedded
489 The php-embedded package contains a library which can be embedded into
490 applications to provide PHP scripting language support.
492 %description embedded -l pl.UTF-8
493 Ten pakiet zawiera bibliotekę, którą można osadzać w aplikacjach w
494 celu obsługi PHP jako języka skryptowego.
497 Summary: /usr/bin/php symlink
498 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
499 Group: Development/Languages/PHP
500 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
501 Obsoletes: php-program < 4:5.3.28-7
502 Obsoletes: php4-program
503 Obsoletes: php52-program
504 Obsoletes: php53-program
505 Obsoletes: php55-program
506 Obsoletes: php56-program
507 Obsoletes: php70-program
508 Obsoletes: php71-program
509 Obsoletes: php72-program
510 Obsoletes: php73-program
511 Obsoletes: php74-program
512 Obsoletes: php80-program
513 Obsoletes: php81-program
516 Package providing /usr/bin/php symlink to PHP CLI.
518 %description program -l pl.UTF-8
519 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
522 Summary: PHP FastCGI Process Manager
523 Summary(pl.UTF-8): PHP FastCGI Process Manager - zarządca procesów FastCGI
524 Group: Development/Languages/PHP
525 URL: http://www.php-fpm.org/
526 Requires(post,preun): /sbin/chkconfig
527 Requires(postun): /usr/sbin/userdel
528 Requires(pre): /bin/id
529 Requires(pre): /usr/sbin/useradd
530 Requires: %{name}-common = %{epoch}:%{version}-%{release}
531 %{?with_alternatives:Requires: alternatives}
532 Requires: php-dirs >= 1.4-2
536 Provides: webserver(php) = %{version}
539 PHP FastCGI Process Manager.
541 %description fpm -l pl.UTF-8
542 PHP FastCGI Process Manager - zarządca procesów FastCGI.
545 Summary: Common files needed by both Apache modules and CGI/CLI SAPIs
546 Summary(pl.UTF-8): Wspólne pliki dla modułu Apache'a i programu CGI
547 Summary(ru.UTF-8): Разделяемые библиотеки для PHP
548 Summary(uk.UTF-8): Бібліотеки спільного використання для PHP
550 Requires(post): sed >= 4.0
551 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
552 Requires: glibc >= 6:2.3.5
553 Requires: php-dirs >= 1.4
554 Requires: rpm-whiteout >= 1.28
556 Provides: %{name}(debug) = %{php_debug}
557 Provides: %{name}(modules_api) = %{php_api_version}
558 Provides: %{name}(thread-safety) = %{zend_zts}
559 Provides: %{name}(zend_extension_api) = %{zend_extension_api}
560 Provides: %{name}(zend_module_api) = %{zend_module_api}
561 Provides: %{name}-core
562 Provides: %{name}-date
563 Provides: %{name}-ereg
564 Provides: %{name}-reflection
565 Provides: %{name}-standard
566 Provides: php(core) = %{version}
569 Provides: php(libxml)
570 Provides: php(reflection)
571 Provides: php(standard)
572 %{!?with_mysqlnd:Obsoletes: php-mysqlnd}
573 %{?with_pcre:%requires_ge_to pcre pcre-devel}
575 Obsoletes: php-pecl-domxml
576 Conflicts: php4-common < 3:4.4.4-8
577 Conflicts: rpm < 4.4.2-0.2
580 Common files needed by both Apache modules and CGI/CLI SAPIs.
582 %description common -l pl.UTF-8
583 Wspólne pliki dla modułu Apache'a i programu CGI.
585 %description common -l ru.UTF-8
586 Этот пакет содержит общие файлы для разных вариантов реализации PHP
587 (самодостаточной и в качестве модуля Apache).
589 %description common -l uk.UTF-8
590 Цей пакет містить спільні файли для різних варіантів реалізації PHP
591 (самодостатньої та в якості модуля Apache).
594 Summary: Files for PHP modules development
595 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
596 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
597 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
598 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
599 Group: Development/Languages/PHP
600 Requires: %{name}-common = %{epoch}:%{version}-%{release}
601 Requires: autoconf >= 2.13
603 %if "%{pld_release}" != "ac"
604 Requires: libtool >= 2:2.4.6
608 %{?with_pcre:Requires: pcre-devel >= 8.10}
610 Provides: php-devel = %{epoch}:%{version}-%{release}
612 Obsoletes: php-pear-devel
613 Obsoletes: php4-devel
614 Obsoletes: php52-devel
615 Obsoletes: php53-devel
616 Obsoletes: php55-devel
617 Obsoletes: php56-devel
618 Obsoletes: php70-devel
619 Obsoletes: php71-devel
620 Obsoletes: php72-devel
621 Obsoletes: php73-devel
622 Obsoletes: php74-devel
623 Obsoletes: php80-devel
624 Obsoletes: php81-devel
627 The php-devel package lets you compile dynamic extensions to PHP.
628 Included here is the source for the PHP extensions. Instead of
629 recompiling the whole PHP binary to add support for, say, oracle,
630 install this package and use the new self-contained extensions
631 support. For more information, read the file
632 README.SELF-CONTAINED-EXTENSIONS.
634 %description devel -l pl.UTF-8
635 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
636 rekompilować całe PHP aby dodać obsługę np. oracle, można przy użyciu
637 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
638 samodzielnych rozszerzeniach można znaleźć w pliku
639 README.SELF-CONTAINED-EXTENSIONS.
641 %description devel -l pt_BR.UTF-8
642 Este pacote contém arquivos usados no desenvolvimento de programas ou
645 %description devel -l ru.UTF-8
646 Пакет php-devel дает возможность компилировать динамические расширения
647 PHP. Пакет включает исходный код этих расширений. Вместо повторной
648 компиляции бинарного файла PHP для добавления, например, поддержки
649 oracle, установите этот пакет для компилирования отдельных расширений.
650 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
652 %description devel -l uk.UTF-8
653 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
654 До пакету включено вихідний код для розширень. Замість повторної
655 компіляції бінарного файлу PHP для додання, наприклад, підтримки
656 oracle, встановіть цей пакет для компіляції окремих розширень.
657 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
660 Summary: bcmath extension module for PHP
661 Summary(pl.UTF-8): Moduł bcmath dla PHP
663 URL: http://www.php.net/manual/en/book.bc.php
664 Requires: %{name}-common = %{epoch}:%{version}-%{release}
665 Provides: php(bcmath)
668 This is a dynamic shared object (DSO) for PHP that will add bc style
669 precision math functions support.
671 %description bcmath -l pl.UTF-8
672 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
673 matematycznych takich jak w programie bc.
676 Summary: Bzip2 extension module for PHP
677 Summary(pl.UTF-8): Moduł bzip2 dla PHP
679 URL: http://www.php.net/manual/en/book.bzip2.php
680 Requires: %{name}-common = %{epoch}:%{version}-%{release}
681 Provides: php(bz2) = %{bz2ver}
683 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
684 Obsoletes: php-bzip2 < 4:5.2.14-3
685 Obsoletes: php-pecl-bz2 < %{bz2ver}
688 This is a dynamic shared object (DSO) for PHP that will add bzip2
689 compression support to PHP.
691 %description bz2 -l pl.UTF-8
692 Moduł PHP umożliwiający używanie kompresji bzip2.
695 Summary: Calendar extension module for PHP
696 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
698 URL: http://www.php.net/manual/en/book.calendar.php
699 Requires: %{name}-common = %{epoch}:%{version}-%{release}
700 Provides: php(calendar)
702 %description calendar
703 This is a dynamic shared object (DSO) for PHP that will add calendar
706 %description calendar -l pl.UTF-8
707 Moduł PHP dodający wsparcie dla kalendarza.
710 Summary: ctype extension module for PHP
711 Summary(pl.UTF-8): Moduł ctype dla PHP
713 URL: http://www.php.net/manual/en/book.ctype.php
714 Requires: %{name}-common = %{epoch}:%{version}-%{release}
718 This is a dynamic shared object (DSO) for PHP that will add ctype
721 %description ctype -l pl.UTF-8
722 Moduł PHP umożliwiający korzystanie z funkcji ctype.
725 Summary: curl extension module for PHP
726 Summary(pl.UTF-8): Moduł curl dla PHP
728 URL: http://www.php.net/manual/en/book.curl.php
729 Requires: %{name}-common = %{epoch}:%{version}-%{release}
733 This is a dynamic shared object (DSO) for PHP that will add curl
736 %description curl -l pl.UTF-8
737 Moduł PHP umożliwiający korzystanie z biblioteki curl.
740 Summary: DBA extension module for PHP
741 Summary(pl.UTF-8): Moduł DBA dla PHP
743 URL: http://www.php.net/manual/en/book.dba.php
744 Requires: %{name}-common = %{epoch}:%{version}-%{release}
748 This is a dynamic shared object (DSO) for PHP that will add flat-file
749 databases (DBA) support.
751 %description dba -l pl.UTF-8
752 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
756 Summary: DOM extension module for PHP
757 Summary(pl.UTF-8): Moduł DOM dla PHP
759 URL: http://www.php.net/manual/en/book.dom.php
760 Requires: %{name}-common = %{epoch}:%{version}-%{release}
762 # it has some compatibility functions
763 Provides: %{name}-domxml = %{epoch}:%{version}-%{release}
764 Provides: php(domxml)
765 Obsoletes: php-domxml <= 3:4.3.8-1
768 This is a dynamic shared object (DSO) for PHP that will add new DOM
771 %description dom -l pl.UTF-8
772 Moduł PHP dodający nową obsługę DOM.
775 Summary: libenchant binder
776 Summary(pl.UTF-8): dowiązania biblioteki libenchant
778 URL: http://www.php.net/manual/en/book.exif.php
779 Requires: %{name}-common = %{epoch}:%{version}-%{release}
780 Provides: php(enchant) = %{enchantver}
781 Obsoletes: php-pecl-enchant < %{enchantver}
784 Enchant is a binder for libenchant. Libenchant provides a common API
785 for many spell libraries:
786 - aspell/pspell (intended to replace ispell)
789 - myspell (OpenOffice.org project, mozilla)
790 - uspell (primarily Yiddish, Hebrew, and Eastern European languages) A
791 plugin system allows to add custom spell support.
793 %description enchant -l pl.UTF-8
794 Enchant jest dowiązaniem do biblioteki libenchant, która udostępnia
795 ujednolicone API dla wielu narzędzi sprawdzających pisownię:
796 - aspell/pspell (w zamierzeniu ma zastąpić ispell)
799 - myspell (projekt OpenOffice.org, mozilla)
800 - uspell (głównie Jidysz, Hebrajski oraz języki wschodnioeuropejskie)
801 System wtyczek pozwala na dodanie wsparcia dla kolejnych narzędzi.
804 Summary: exif extension module for PHP
805 Summary(pl.UTF-8): Moduł exif dla PHP
807 URL: http://www.php.net/manual/en/book.exif.php
808 Requires: %{name}-common = %{epoch}:%{version}-%{release}
812 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
813 support in image files.
815 %description exif -l pl.UTF-8
816 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
819 Summary: libmagic bindings
820 Summary(pl.UTF-8): Wiązania do libmagic
822 URL: http://www.php.net/manual/en/book.fileinfo.php
823 Requires: %{name}-common = %{epoch}:%{version}-%{release}
824 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
825 Provides: php(fileinfo) = %{fileinfover}
826 Obsoletes: php-mime_magic
827 Obsoletes: php-pecl-fileinfo < %{fileinfover}
829 %description fileinfo
830 This extension allows retrieval of information regarding vast majority
831 of file. This information may include dimensions, quality, length
834 Additionally it can also be used to retrieve the MIME type for a
835 particular file and for text files proper language encoding.
837 %description fileinfo -l pl.UTF-8
838 To rozszerzenie pozwala na uzyskanie informacji dotyczących większości
839 plików. Informacje mogą zawierać wymiary, jakość, długość itp.
841 Ponadto rozszerzenie można wykorzystać do odczytania typu MIME danego
842 pliku oraz kodowania plików tekstowych.
845 Summary: Extension for safely dealing with input parameters
846 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
848 URL: http://www.php.net/manual/en/book.filter.php
849 Requires: %{name}-common = %{epoch}:%{version}-%{release}
850 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
851 Provides: php(filter)
852 Obsoletes: php-pecl-filter
855 We all know that you should always check input variables, but PHP does
856 not offer really good functionality for doing this in a safe way. The
857 Input Filter extension is meant to address this issue by implementing
858 a set of filters and mechanisms that users can use to safely access
861 %description filter -l pl.UTF-8
862 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
863 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
864 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
865 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
866 mogą bezpiecznie używać do dostępu do danych.
869 Summary: FTP extension module for PHP
870 Summary(pl.UTF-8): Moduł FTP dla PHP
872 URL: http://www.php.net/manual/en/book.ftp.php
873 Requires: %{name}-common = %{epoch}:%{version}-%{release}
877 This is a dynamic shared object (DSO) for PHP that will add FTP
880 %description ftp -l pl.UTF-8
881 Moduł PHP dodający obsługę protokołu FTP.
884 Summary: GD extension module for PHP
885 Summary(pl.UTF-8): Moduł GD dla PHP
887 URL: http://www.php.net/manual/en/book.image.php
888 Requires: %{name}-common = %{epoch}:%{version}-%{release}
889 %if %{with system_gd}
890 Requires: gd >= 2.0.28-4
892 Requires: gd(imagerotate) = 5.2.0
897 This is a dynamic shared object (DSO) for PHP that will add GD
898 support, allowing you to create and manipulate images with PHP.
900 %description gd -l pl.UTF-8
901 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
902 tworzenie i obróbkę obrazków.
905 Summary: gettext extension module for PHP
906 Summary(pl.UTF-8): Moduł gettext dla PHP
908 URL: http://www.php.net/manual/en/book.gettext.php
909 Requires: %{name}-common = %{epoch}:%{version}-%{release}
910 Provides: php(gettext)
913 This is a dynamic shared object (DSO) for PHP that will add gettext
916 %description gettext -l pl.UTF-8
917 Moduł PHP dodający obsługę lokalizacji przez gettext.
920 Summary: gmp extension module for PHP
921 Summary(pl.UTF-8): Moduł gmp dla PHP
923 URL: http://www.php.net/manual/en/book.gmp.php
924 Requires: %{name}-common = %{epoch}:%{version}-%{release}
928 This is a dynamic shared object (DSO) for PHP that will add arbitrary
929 length number support with GNU MP library.
931 %description gmp -l pl.UTF-8
932 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
933 liczbach o dowolnej długości.
936 Summary: HASH Message Digest Framework
937 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
939 URL: http://www.php.net/manual/en/book.gmp.php
940 Requires: %{name}-common = %{epoch}:%{version}-%{release}
941 Provides: php(hash) = %{hashver}
944 Provides: php-mhash = %{epoch}:%{version}-%{release}
945 Obsoletes: php-mhash < 4:5.3.0
947 Obsoletes: php-pecl-hash < %{hashver}
950 Native implementations of common message digest algorithms using a
951 generic factory method.
953 %description hash -l pl.UTF-8
954 Natywne implementacje popularnych algorytmów obliczania skrótów
955 wiadomości przy użyciu wspólnego interfejsu.
958 Summary: iconv extension module for PHP
959 Summary(pl.UTF-8): Moduł iconv dla PHP
961 URL: http://www.php.net/manual/en/book.iconv.php
962 Requires: %{_libdir}/gconv
963 Requires: %{name}-common = %{epoch}:%{version}-%{release}
968 This is a dynamic shared object (DSO) for PHP that will add iconv
971 %description iconv -l pl.UTF-8
972 Moduł PHP dodający obsługę iconv.
975 Summary: IMAP extension module for PHP
976 Summary(pl.UTF-8): Moduł IMAP dla PHP
977 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
979 URL: http://www.php.net/manual/en/book.imap.php
980 Requires: %{name}-common = %{epoch}:%{version}-%{release}
981 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
982 Requires: imap-lib >= 1:2007e-2
986 This is a dynamic shared object (DSO) for PHP that will add IMAP
989 %description imap -l pl.UTF-8
990 Moduł PHP dodający obsługę skrzynek IMAP.
992 %description imap -l pt_BR.UTF-8
993 Um módulo para aplicações PHP que usam IMAP.
996 Summary: InterBase/Firebird database module for PHP
997 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
999 URL: http://www.php.net/manual/en/book.ibase.php
1000 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1001 Provides: php(interbase)
1002 %{?with_interbase_inst:Autoreq: false}
1004 %description interbase
1005 This is a dynamic shared object (DSO) for PHP that will add InterBase
1006 and Firebird database support.
1008 %description interbase -l pl.UTF-8
1009 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
1012 Summary: Internationalization extension (ICU wrapper)
1013 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (interfejs do ICU)
1015 URL: http://www.php.net/intl
1016 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1017 Provides: php(intl) = %{intlver}
1018 Obsoletes: php-pecl-intl < %{intlver}
1021 Internationalization extension (further is referred as Intl) is a
1022 wrapper for ICU library, enabling PHP programmers to perform
1023 UCA-conformant collation and date/time/number/currency formatting in
1026 %description intl -l pl.UTF-8
1027 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest
1028 interfejsem do biblioteki ICU, pozwalającym programistom PHP na
1029 wykonywanie w skryptach porównań zgodnych z UCA oraz formatowania
1033 Summary: PHP C extension for JSON serialization
1034 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
1036 URL: http://www.php.net/manual/en/book.json.php
1037 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1038 Provides: php(json) = %{jsonver}
1039 Obsoletes: php-pecl-json < %{jsonver}
1042 php-json is an extremely fast PHP C extension for JSON (JavaScript
1043 Object Notation) serialisation.
1045 %description json -l pl.UTF-8
1046 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
1047 (JavaScript Object Notation).
1050 Summary: LDAP extension module for PHP
1051 Summary(pl.UTF-8): Moduł LDAP dla PHP
1052 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
1054 URL: http://www.php.net/manual/en/book.ldap.php
1055 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1059 This is a dynamic shared object (DSO) for PHP that will add LDAP
1062 %description ldap -l pl.UTF-8
1063 Moduł PHP dodający obsługę LDAP.
1065 %description ldap -l pt_BR.UTF-8
1066 Um módulo para aplicações PHP que usam LDAP.
1069 Summary: mbstring extension module for PHP
1070 Summary(pl.UTF-8): Moduł mbstring dla PHP
1072 URL: http://www.php.net/manual/en/book.mbstring.php
1073 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1074 Provides: php(mbstring)
1076 %description mbstring
1077 This is a dynamic shared object (DSO) for PHP that will add multibyte
1080 %description mbstring -l pl.UTF-8
1081 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
1084 Summary: mcrypt extension module for PHP
1085 Summary(pl.UTF-8): Moduł mcrypt dla PHP
1087 URL: http://www.php.net/manual/en/book.mcrypt.php
1088 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1089 Provides: php(mcrypt)
1092 This is a dynamic shared object (DSO) for PHP that will add mcrypt
1095 %description mcrypt -l pl.UTF-8
1096 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
1099 Summary: MS SQL extension module for PHP
1100 Summary(pl.UTF-8): Moduł MS SQL dla PHP
1102 URL: http://www.php.net/manual/en/book.mssql.php
1103 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1104 Provides: php(mssql)
1107 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1108 databases support through FreeTDS library.
1110 %description mssql -l pl.UTF-8
1111 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1115 Summary: MySQL database module for PHP
1116 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
1117 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
1119 URL: http://www.php.net/manual/en/book.mysql.php
1120 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1121 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1122 Provides: php(mysql)
1125 This is a dynamic shared object (DSO) for PHP that will add MySQL
1128 %description mysql -l pl.UTF-8
1129 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1131 %description mysql -l pt_BR.UTF-8
1132 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1135 Summary: MySQLi module for PHP
1136 Summary(pl.UTF-8): Moduł MySQLi dla PHP
1138 URL: http://www.php.net/manual/en/book.mysqli.php
1139 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1140 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1141 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1142 Provides: php(mysqli)
1145 This is a dynamic shared object (DSO) for PHP that will add MySQLi
1146 (Improved MySQL) support. The difference between it and mysql module
1147 is that it provides access to functionality of MySQL 4.1 and above.
1149 %description mysqli -l pl.UTF-8
1150 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
1151 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
1152 MySQL w wersji 4.1 i nowszych.
1155 Summary: MySQL Native Client Driver for PHP
1156 Summary(pl.UTF-8): Sterownik natywnego klienta MySQL dla PHP
1158 URL: http://www.php.net/manual/en/book.mysqlnd.php
1159 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1160 Provides: php(mysqlnd)
1162 %description mysqlnd
1163 MySQL Native Driver is a replacement for the MySQL Client Library
1166 Because MySQL Native Driver is written as a PHP extension, it is
1167 tightly coupled to the workings of PHP. This leads to gains in
1168 efficiency, especially when it comes to memory usage, as the driver
1169 uses the PHP memory management system. It also supports the PHP memory
1170 limit. Using MySQL Native Driver leads to comparable or better
1171 performance than using MySQL Client Library, it always ensures the
1172 most efficient use of memory. One example of the memory efficiency is
1173 the fact that when using the MySQL Client Library, each row is stored
1174 in memory twice, whereas with the MySQL Native Driver each row is only
1175 stored once in memory.
1177 %description mysqlnd -l pl.UTF-8
1178 MySQL Native Driver (natywny sterownik MySQL) to zamiennik biblioteki
1179 klienckiej MySQL (libmysql).
1181 Ponieważ sterownik natywny jest napisany jako rozszerzenie PHP, jest
1182 ściśle powiązany z pracą PHP. Daje to większą wydajność, zwłaszcza
1183 jeśli chodzi o wykorzystanie pamięci, jako że sterownik wykorzystuje
1184 system zarządzania pamięcią PHP; obsługuje także ograniczenie pamięci
1185 z PHP. Niniejszy sterownik ma wydajność porównywalną lub lepszą niż
1186 biblioteka kliencka MySQL, a pamięć zawsze wykorzystuje efektywniej.
1187 Przykładem tego może być fakt, że w przypadku biblioteki klienckiej
1188 każdy wiersz jest przechowywany w pamięci dwukrotnie, natomiast przy
1189 tym sterowniku - tylko raz.
1192 Summary: Oracle 8+ database module for PHP
1193 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
1195 URL: http://www.php.net/manual/en/book.oci8.php
1196 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1201 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
1202 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
1204 %description oci8 -l pl.UTF-8
1205 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
1206 poprzez interfejs Oracle8 Call-Interface (OCI8).
1209 Summary: ODBC extension module for PHP
1210 Summary(pl.UTF-8): Moduł ODBC dla PHP
1211 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
1213 URL: http://www.php.net/manual/en/book.uodbc.php
1214 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1215 Requires: unixODBC >= 2.1.1-3
1219 This is a dynamic shared object (DSO) for PHP that will add ODBC
1222 %description odbc -l pl.UTF-8
1223 Moduł PHP ze wsparciem dla ODBC.
1225 %description odbc -l pt_BR.UTF-8
1226 Um módulo para aplicações PHP que usam ODBC.
1229 Summary: OpenSSL extension module for PHP
1230 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
1232 URL: http://www.php.net/manual/en/book.openssl.php
1233 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1234 Provides: php(openssl)
1236 %description openssl
1237 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
1240 %description openssl -l pl.UTF-8
1241 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
1244 Summary: Process Control extension module for PHP
1245 Summary(pl.UTF-8): Moduł Process Control dla PHP
1247 URL: http://www.php.net/manual/en/book.pcntl.php
1248 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1249 Provides: php(pcntl)
1252 This is a dynamic shared object (DSO) for PHP that will add process
1253 spawning and control support. It supports functions like fork(),
1254 waitpid(), signal() etc.
1256 %description pcntl -l pl.UTF-8
1257 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1258 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1261 Summary: PCRE extension module for PHP
1262 Summary(pl.UTF-8): Moduł PCRE dla PHP
1264 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1268 This is a dynamic shared object (DSO) for PHP that will add Perl
1269 Compatible Regular Expression support.
1271 %description pcre -l pl.UTF-8
1272 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1273 (Perl Compatible Regular Expressions)
1276 Summary: PHP Data Objects (PDO)
1277 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
1279 URL: http://www.php.net/manual/en/book.pdo.php
1280 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1281 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1283 Obsoletes: php-pecl-PDO
1286 This is a dynamic shared object (DSO) for PHP that will add PDO
1289 %description pdo -l pl.UTF-8
1290 Moduł PHP dodający obsługę PDO (PHP Data Objects).
1293 Summary: PHP Data Objects (PDO) FreeTDS support
1294 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
1296 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
1297 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1298 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1299 Provides: php(pdo_dblib)
1301 %description pdo-dblib
1302 This is a dynamic shared object (DSO) for PHP that will add PDO
1305 %description pdo-dblib -l pl.UTF-8
1306 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
1309 %package pdo-firebird
1310 Summary: PHP Data Objects (PDO) Firebird support
1311 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
1313 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1314 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1315 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1316 Provides: php(pdo-firebird)
1317 Provides: php(pdo_firebird)
1318 Obsoletes: php-pecl-PDO_FIREBIRD
1320 %description pdo-firebird
1321 This is a dynamic shared object (DSO) for PHP that will add PDO
1324 %description pdo-firebird -l pl.UTF-8
1325 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1329 Summary: PHP Data Objects (PDO) MySQL support
1330 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1332 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1333 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1334 %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}}
1335 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1336 Provides: php(pdo-mysql)
1337 Provides: php(pdo_mysql)
1338 Obsoletes: php-pecl-PDO_MYSQL
1340 %description pdo-mysql
1341 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1344 %description pdo-mysql -l pl.UTF-8
1345 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1349 Summary: PHP Data Objects (PDO) Oracle support
1350 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1352 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1353 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1354 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1355 Provides: php(pdo-oci)
1356 Provides: php(pdo_oci)
1357 Obsoletes: php-pecl-PDO_OCI
1359 %description pdo-oci
1360 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1363 %description pdo-oci -l pl.UTF-8
1364 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1368 Summary: PHP Data Objects (PDO) ODBC support
1369 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1371 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1372 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1373 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1374 Provides: php(pdo-odbc)
1375 Provides: php(pdo_odbc)
1376 Obsoletes: php-pecl-PDO_ODBC
1378 %description pdo-odbc
1379 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1382 %description pdo-odbc -l pl.UTF-8
1383 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1387 Summary: PHP Data Objects (PDO) PostgreSQL support
1388 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1390 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1391 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1392 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1393 Provides: php(pdo-pgsql)
1394 Provides: php(pdo_pgsql)
1395 Obsoletes: php-pecl-PDO_PGSQL < 4:5.2.1-2
1397 %description pdo-pgsql
1398 This is a dynamic shared object (DSO) for PHP that will add PDO
1401 %description pdo-pgsql -l pl.UTF-8
1402 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1406 Summary: PHP Data Objects (PDO) SQLite support
1407 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1409 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1410 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1411 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1412 Provides: php(pdo-sqlite)
1413 Provides: php(pdo_sqlite)
1414 Obsoletes: php-pecl-PDO_SQLITE
1416 %description pdo-sqlite
1417 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1420 %description pdo-sqlite -l pl.UTF-8
1421 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1425 Summary: PostgreSQL database module for PHP
1426 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1428 URL: http://www.php.net/manual/en/book.pgsql.php
1429 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1430 Provides: php(pgsql)
1433 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1436 %description pgsql -l pl.UTF-8
1437 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1439 %description pgsql -l pt_BR.UTF-8
1440 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1443 Summary: Phar archive module for PHP
1444 Summary(pl.UTF-8): Moduł phar dla PHP
1446 URL: http://www.php.net/manual/en/book.phar.php
1447 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1448 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1449 %{?with_alternatives:Requires: alternatives}
1450 Suggests: %{name}-cli
1451 # zlib is required by phar program, but as phar cli is optional should the dep be too
1452 Suggests: %{name}-zlib
1453 Provides: php(phar) = %{pharver}
1454 Obsoletes: php-pecl-phar < %{pharver}
1455 Conflicts: php-ioncube < 4.0.9
1458 This is a dynamic shared object (DSO) for PHP that will add phar
1461 %description phar -l pl.UTF-8
1462 Moduł PHP umożliwiający dostęp do achiwów .phar.
1465 Summary: POSIX extension module for PHP
1466 Summary(pl.UTF-8): Moduł POSIX dla PHP
1468 URL: http://www.php.net/manual/en/book.posix.php
1469 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1470 Provides: php(posix)
1473 This is a dynamic shared object (DSO) for PHP that will add POSIX
1474 functions support to PHP.
1476 %description posix -l pl.UTF-8
1477 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1480 Summary: pspell extension module for PHP
1481 Summary(pl.UTF-8): Moduł pspell dla PHP
1483 URL: http://www.php.net/manual/en/book.pspell.php
1484 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1485 Provides: php(pspell)
1488 This is a dynamic shared object (DSO) for PHP that will add pspell
1489 support to PHP. It allows to check the spelling of a word and offer
1492 %description pspell -l pl.UTF-8
1493 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1494 sprawdzanie pisowni słowa i sugerowanie poprawek.
1497 Summary: readline extension module for PHP
1498 Summary(pl.UTF-8): Moduł readline dla PHP
1500 URL: http://www.php.net/manual/en/book.readline.php
1501 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1502 Provides: php(readline)
1504 %description readline
1505 This PHP module adds support for readline functions (only for cli and
1508 %description readline -l pl.UTF-8
1509 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1512 Summary: recode extension module for PHP
1513 Summary(pl.UTF-8): Moduł recode dla PHP
1515 URL: http://www.php.net/manual/en/book.recode.php
1516 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1517 Requires: recode >= 3.5d-3
1518 Provides: php(recode)
1521 This is a dynamic shared object (DSO) for PHP that will add recode
1524 %description recode -l pl.UTF-8
1525 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1529 Summary: session extension module for PHP
1530 Summary(pl.UTF-8): Moduł session dla PHP
1532 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1533 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1534 Suggests: %{name}-hash = %{epoch}:%{version}-%{release}
1536 Provides: php(session)
1538 %description session
1539 This is a dynamic shared object (DSO) for PHP that will add session
1542 %description session -l pl.UTF-8
1543 Moduł PHP dodający obsługę sesji.
1546 Summary: Shared Memory Operations extension module for PHP
1547 Summary(pl.UTF-8): Moduł shmop dla PHP
1549 URL: http://www.php.net/manual/en/book.shmop.php
1550 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1551 Provides: php(shmop)
1554 This is a dynamic shared object (DSO) for PHP that will add Shared
1555 Memory Operations support.
1557 %description shmop -l pl.UTF-8
1558 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1561 Summary: Simple XML extension module for PHP
1562 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1564 URL: http://www.php.net/manual/en/book.simplexml.php
1565 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1566 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1567 Provides: php(simplexml)
1569 %description simplexml
1570 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1573 %description simplexml -l pl.UTF-8
1574 Moduł PHP dodający obsługę prostego XML-a.
1577 Summary: SNMP extension module for PHP
1578 Summary(pl.UTF-8): Moduł SNMP dla PHP
1580 URL: http://www.php.net/manual/en/book.snmp.php
1581 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1582 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1583 Requires: %{name}-spl = %{epoch}:%{version}-%{release}
1587 This is a dynamic shared object (DSO) for PHP that will add SNMP
1590 %description snmp -l pl.UTF-8
1591 Moduł PHP dodający obsługę SNMP.
1594 Summary: soap extension module for PHP
1595 Summary(pl.UTF-8): Moduł soap dla PHP
1597 URL: http://www.php.net/manual/en/book.soap.php
1598 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1602 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1605 %description soap -l pl.UTF-8
1606 Moduł PHP dodający obsługę SOAP/WSDL.
1609 Summary: sockets extension module for PHP
1610 Summary(pl.UTF-8): Moduł socket dla PHP
1612 URL: http://www.php.net/manual/en/book.sockets.php
1613 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1614 Provides: php(sockets)
1616 %description sockets
1617 This is a dynamic shared object (DSO) for PHP that will add sockets
1620 %description sockets -l pl.UTF-8
1621 Moduł PHP dodający obsługę gniazdek.
1624 Summary: Standard PHP Library module for PHP
1625 Summary(pl.UTF-8): Moduł biblioteki standardowej (Standard PHP Library) dla PHP
1627 URL: http://php.net/manual/en/book.spl.php
1628 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1629 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1630 Requires: %{name}-simplexml = %{epoch}:%{version}-%{release}
1634 This is a dynamic shared object (DSO) for PHP that will add Standard
1635 PHP Library support.
1637 %description spl -l pl.UTF-8
1638 Moduł PHP z biblioteką standardową PHP (SPL - Standard PHP Library).
1641 Summary: SQLite3 extension module for PHP
1642 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1644 URL: http://php.net/manual/en/book.sqlite3.php
1645 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1646 Provides: php(sqlite3) = %{sqlite3ver}
1648 %description sqlite3
1649 SQLite is a C library that implements an embeddable SQL database
1650 engine. Programs that link with the SQLite library can have SQL
1651 database access without running a separate RDBMS process.
1653 SQLite is not a client library used to connect to a big database
1654 server. SQLite is the server. The SQLite library reads and writes
1655 directly to and from the database files on disk.
1657 %description sqlite3 -l pl.UTF-8
1658 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1659 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1660 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1663 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1664 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1665 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1669 Summary: Sybase-CT extension module for PHP
1670 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1672 URL: http://www.php.net/manual/en/book.sybase.php
1673 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1674 Provides: php(sybase-ct)
1675 Obsoletes: php-sybase
1677 %description sybase-ct
1678 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1679 MS SQL databases support through CT-lib.
1681 %description sybase-ct -l pl.UTF-8
1682 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1686 Summary: SysV msg extension module for PHP
1687 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1689 URL: http://www.php.net/manual/en/book.sem.php
1690 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1691 Provides: php(sysvmsg)
1693 %description sysvmsg
1694 This is a dynamic shared object (DSO) for PHP that will add SysV
1695 message queues support.
1697 %description sysvmsg -l pl.UTF-8
1698 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1701 Summary: SysV sem extension module for PHP
1702 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1704 URL: http://www.php.net/manual/en/book.sem.php
1705 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1706 Provides: php(sysvsem)
1708 %description sysvsem
1709 This is a dynamic shared object (DSO) for PHP that will add SysV
1712 %description sysvsem -l pl.UTF-8
1713 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1716 Summary: SysV shm extension module for PHP
1717 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1719 URL: http://www.php.net/manual/en/book.shmop.php
1720 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1721 Provides: php(sysvshm)
1723 %description sysvshm
1724 This is a dynamic shared object (DSO) for PHP that will add SysV
1725 Shared Memory support.
1727 %description sysvshm -l pl.UTF-8
1728 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1731 Summary: Contains unit test files for PHP and extensions
1732 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1734 URL: http://qa.php.net/
1735 Requires: %{name}-cli
1738 This package contains unit tests for PHP and its extensions.
1740 %description tests -l pl.UTF-8
1741 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń.
1744 Summary: Tidy extension module for PHP
1745 Summary(pl.UTF-8): Moduł Tidy dla PHP
1747 URL: http://www.php.net/manual/en/book.tidy.php
1748 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1753 This is a dynamic shared object (DSO) for PHP that will add Tidy
1756 %description tidy -l pl.UTF-8
1757 Moduł PHP umożliwiający korzystanie z tidy.
1760 Summary: tokenizer extension module for PHP
1761 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1763 URL: http://www.php.net/manual/en/book.tokenizer.php
1764 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1765 Provides: php(tokenizer)
1767 %description tokenizer
1768 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1771 %description tokenizer -l pl.UTF-8
1772 Moduł PHP dodający obsługę tokenizera do PHP.
1775 Summary: wddx extension module for PHP
1776 Summary(pl.UTF-8): Moduł wddx dla PHP
1778 URL: http://www.php.net/manual/en/book.wddx.php
1779 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1780 # - wddx doesn't require session as it's disabled at compile time:
1781 # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION)
1782 # see also php.spec#rev1.120.2.22
1783 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1784 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1788 This is a dynamic shared object (DSO) for PHP that will add wddx
1791 %description wddx -l pl.UTF-8
1792 Moduł PHP umożliwiający korzystanie z wddx.
1795 Summary: XML extension module for PHP
1796 Summary(pl.UTF-8): Moduł XML dla PHP
1798 URL: http://www.php.net/manual/en/book.xml.php
1799 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1803 This is a dynamic shared object (DSO) for PHP that will add XML
1804 support. This extension lets you create XML parsers and then define
1805 handlers for different XML events.
1807 %description xml -l pl.UTF-8
1808 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1809 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1810 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1813 Summary: XML Reader extension module for PHP
1814 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1816 URL: http://www.php.net/manual/en/book.xmlreader.php
1817 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1818 Suggests: %{name}-dom = %{epoch}:%{version}-%{release}
1819 Provides: php(xmlreader)
1821 %description xmlreader
1822 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1823 support. The XMLReader extension is an XML Pull parser. The reader
1824 acts as a cursor going forward on the document stream and stopping at
1825 each node on the way.
1827 %description xmlreader -l pl.UTF-8
1828 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1829 działa jako kursor przechodzący przez strumień dokumentu i
1830 zatrzymujący się na każdym węźle po drodze.
1833 Summary: xmlrpc extension module for PHP
1834 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1836 URL: http://www.php.net/manual/en/book.xmlrpc.php
1837 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1838 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1839 Provides: php(xmlrpc)
1842 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1845 %description xmlrpc -l pl.UTF-8
1846 Moduł PHP dodający obsługę XMLRPC.
1849 Summary: Fast, non-cached, forward-only means to write XML data
1850 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1852 URL: http://www.php.net/manual/en/book.xmlwriter.php
1853 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1854 Provides: php(xmlwriter)
1855 Obsoletes: php-pecl-xmlwriter
1857 %description xmlwriter
1858 This extension wraps the libxml xmlWriter API. Represents a writer
1859 that provides a non-cached, forward-only means of generating streams
1860 or files containing XML data.
1862 %description xmlwriter -l pl.UTF-8
1863 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1864 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1865 plików zawierających dane XML.
1868 Summary: xsl extension module for PHP
1869 Summary(pl.UTF-8): Moduł xsl dla PHP
1871 URL: http://www.php.net/manual/en/book.xsl.php
1872 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1873 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1874 Requires: libxslt >= 1.0.18
1875 # actually not true, functionality is similar, but API differs
1877 Obsoletes: php-xslt <= 3:4.3.8-1
1880 This is a dynamic shared object (DSO) for PHP that will add new XSL
1881 support (using libxslt).
1883 %description xsl -l pl.UTF-8
1884 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1887 Summary: Zip management extension
1888 Summary(pl.UTF-8): Zarządzanie archiwami zip
1890 URL: http://www.php.net/manual/en/book.zip.php
1891 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1892 %{?with_system_libzip:Requires: libzip >= 0.10.1-2}
1893 Provides: php(zip) = %{zipver}
1894 Obsoletes: php-pecl-zip < %{zipver}
1897 Zip is an extension to create, modify and read zip files.
1899 %description zip -l pl.UTF-8
1900 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1901 odczyt archiwów zip.
1904 Summary: Zlib extension module for PHP
1905 Summary(pl.UTF-8): Moduł zlib dla PHP
1907 URL: http://www.php.net/manual/en/book.zlib.php
1908 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1912 This is a dynamic shared object (DSO) for PHP that will add zlib
1913 compression support to PHP.
1915 %description zlib -l pl.UTF-8
1916 Moduł PHP umożliwiający używanie kompresji zlib.
1919 %setup -q -n %{orgname}-%{version}
1930 cp -p php.ini-production php.ini
1932 %if %{with type_hints}
1938 %if %{with system_gd}
1951 %if "%{pld_release}" != "ac"
1965 #%patch45 -p1 # imap annotations. fixme
1966 #%patch46 -p1 # imap myrights. fixme
1975 %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt
1981 %{?with_system_libzip:%patch65 -p1}
1987 # asm part of zend_operators.h of php-5.5
1995 sed -E -i -e '1s,#!\s*/usr/bin/env\s+(.*),#!%{__bindir}\1,' \
1998 %{__sed} -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4
2000 # cleanup backups after patching
2001 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
2003 # conflict seems to be resolved by recode patches
2004 %{__rm} ext/recode/config9.m4
2006 # remove all bundled libraries not to link with them accidentally
2007 %{__rm} -r ext/sqlite3/libsqlite
2008 #%{__rm} -r ext/bcmath/libbcmath
2009 #%{__rm} -r ext/date/lib
2010 #%{__rm} -r ext/fileinfo/libmagic
2011 #%{__rm} -r ext/dba/libcdb
2012 #%{__rm} -r ext/dba/libflatfile
2013 #%{__rm} -r ext/dba/libinifile
2014 #%{__rm} -r ext/gd/libgd
2015 #%{__rm} -r ext/mbstring/libmbfl
2016 #%{__rm} -r ext/mbstring/oniguruma
2017 %{__rm} -r ext/pcre/pcrelib
2018 #%{__rm} -r ext/soap/interop
2019 %{__rm} -r ext/xmlrpc/libxmlrpc
2020 #%{__rm} -r ext/zip/lib
2022 cp -pf Zend/LICENSE{,.Zend}
2023 install -p %{SOURCE13} dep-tests.sh
2026 sed -i -e 's#-fvisibility=hidden##g' configure*
2028 # disable broken tests
2029 # says just "Terminated" twice and fails
2030 %{__mv} sapi/cli/tests/022.phpt{,.broken}
2032 # really dumb test, executable binary name is .libs/ something when building
2033 # https://bugs.php.net/bug.php?id=54514
2034 %{__mv} tests/basic/bug54514.phpt{,.disable}
2036 # breaks whole testsuite unexpectedly:
2037 # Fatal error: Call to undefined function gzencode() in run-tests.php on line 1714
2038 # probably broken as zlib is built as shared
2039 %{__mv} ext/soap/tests/server019.phpt{,disable}
2040 # Fatal error: Call to undefined function gzcompress() in run-tests.php on line 1728
2041 %{__mv} ext/soap/tests/server020.phpt{,disable}
2043 # runs out of memory and kills carme vserver
2044 # PASS Bug #39438 (Fatal error: Out of memory) [Zend/tests/bug39438.phpt]
2045 %{__mv} Zend/tests/bug39438.phpt{,.disable}
2047 # php-5.3.3/ext/standard/tests/file/statpage.phpt
2048 %{__rm} ext/standard/tests/file/statpage.phpt
2050 # idiotic test, it will fail if somebody else makes space on disk or if disk
2051 # space is not yet allocated (xfs). report upstream to advice bogus test is
2052 # probably pointless.
2053 %{__rm} ext/standard/tests/file/disk_free_space_basic.phpt
2056 # all pdo_sqlite, sqlite3 tests die with Aborted on carme
2057 %{__rm} -r ext/pdo_sqlite/tests
2058 %{__rm} -r ext/sqlite3/tests
2062 # no point testing stuff that is knowingly broken
2063 find -name '*.phpt' | xargs grep XFAIL -l | xargs rm -v
2075 sh -xe %{_sourcedir}/skip-tests.sh
2078 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
2079 if [ $API != %{php_api_version} ]; then
2080 echo "Set %%define php_api_version to $API and re-run."
2084 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
2085 if [ $API != %{zend_module_api} ]; then
2086 echo "Set %%define zend_module_api to $API and re-run."
2090 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
2091 if [ $API != %{zend_extension_api} ]; then
2092 echo "Set %%define zend_extension_api to $API and re-run."
2096 # Check for some extension version
2097 ver=$(sed -n '/#define PHP_FILEINFO_VERSION /{s/.* "//;s/".*$//;p}' ext/fileinfo/php_fileinfo.h)
2098 if test "$ver" != "%{fileinfover}"; then
2099 : Error: Upstream FILEINFO version is now ${ver}, expecting %{fileinfover}.
2100 : Update the fileinfover macro and rebuild.
2103 ver=$(sed -n '/#define PHP_PHAR_VERSION /{s/.* "//;s/".*$//;p}' ext/phar/php_phar.h)
2104 if test "$ver" != "%{pharver}"; then
2105 : Error: Upstream PHAR version is now ${ver}, expecting %{pharver}.
2106 : Update the pharver macro and rebuild.
2109 ver=$(sed -n '/#define PHP_SQLITE3_VERSION/{s/.* "//;s/".*$//;p}' ext/sqlite3/php_sqlite3.h)
2110 if test "$ver" != "%{sqlite3ver}"; then
2111 : Error: Upstream Sqlite3 version is now ${ver}, expecting %{sqlite3ver}.
2112 : Update the sqlite3ver macro and rebuild.
2115 ver=$(sed -n '/#define PHP_ZIP_VERSION_STRING /{s/.* "//;s/".*$//;p}' ext/zip/php_zip.h)
2116 if test "$ver" != "%{zipver}"; then
2117 : Error: Upstream ZIP version is now ${ver}, expecting %{zipver}.
2118 : Update the zipver macro and rebuild.
2121 ver=$(sed -n '/#define PHP_JSON_VERSION /{s/.* "//;s/".*$//;p}' ext/json/php_json.h)
2122 if test "$ver" != "%{jsonver}"; then
2123 : Error: Upstream JSON version is now ${ver}, expecting %{jsonver}.
2124 : Update the jsonver macro and rebuild.
2127 ver=$(sed -rne 's,.*<version>(.+)</version>,\1,p' ext/bz2/package.xml)
2128 if test "$ver" != "%{bz2ver}"; then
2129 : Error: Upstream BZIP2 version is now ${ver}, expecting %{bz2ver}.
2130 : Update the bz2ver macro and rebuild.
2133 ver=$(sed -n '/#define PHP_ENCHANT_VERSION /{s/.* "//;s/".*$//;p}' ext/enchant/php_enchant.h)
2134 if test "$ver" != "%{enchantver}"; then
2135 : Error: Upstream Enchant version is now ${ver}, expecting %{enchantver}.
2136 : Update the enchantver macro and rebuild.
2139 ver=$(awk '/#define PHP_HASH_EXTVER/ {print $3}' ext/hash/php_hash.h | xargs)
2140 if test "$ver" != "%{hashver}"; then
2141 : Error: Upstream HASH version is now ${ver}, expecting %{hashver}.
2142 : Update the hashver macro and rebuild.
2145 ver=$(sed -n '/#define PHP_INTL_VERSION /{s/.* "//;s/".*$//;p}' ext/intl/php_intl.h)
2146 if test "$ver" != "%{intlver}"; then
2147 : Error: Upstream Intl version is now ${ver}, expecting %{intlver}.
2148 : Update the intlver macro and rebuild.
2152 export EXTENSION_DIR="%{php_extensiondir}"
2153 # configure once (for faster debugging purposes)
2154 if [ ! -f _built-conf ]; then
2155 # now remove Makefile copies
2156 rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed}
2159 cp -f /usr/share/automake/config.* .
2163 export PROG_SENDMAIL="/usr/lib/sendmail"
2164 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \
2165 -I%{_includedir}/xmlrpc-epi"
2172 %if %{with litespeed}
2188 for sapi in $sapis; do
2190 # skip if already configured (for faster debugging purposes)
2191 [ -f Makefile.$sapi ] && continue
2196 sapi_args='--disable-cli'
2199 sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}'
2202 sapi_args='--disable-cli --enable-fpm'
2205 sapi_args='--disable-cli --enable-embed'
2208 ver=$(rpm -q --qf '%{V}' apache1-devel)
2209 sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver"
2212 ver=$(rpm -q --qf '%{V}' apache-devel)
2213 sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver"
2216 sapi_args='--with-litespeed'
2221 CFLAGS="%{rpmcflags} -DOPENSSL_NO_SSL2=1 -DOPENSSL_NO_SSL3=1" \
2222 EXTRA_LDFLAGS="%{rpmldflags}" \
2224 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
2225 --cache-file=config.cache \
2227 --with-libdir=%{_lib} \
2228 --with-config-file-path=%{_sysconfdir} \
2229 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
2230 --with-system-tzdata \
2231 --%{!?debug:dis}%{?debug:en}able-debug \
2232 %{?with_zts:--enable-maintainer-zts} \
2233 --enable-inline-optimization \
2234 --enable-bcmath=shared \
2235 --enable-calendar=shared \
2236 --enable-ctype=shared \
2237 --enable-dba=shared \
2238 --enable-dom=shared \
2239 --enable-exif=shared \
2240 --enable-fileinfo=shared \
2241 --enable-ftp=shared \
2242 --enable-gd-native-ttf \
2243 %{?with_intl:--enable-intl=shared} \
2245 --enable-mbstring=shared,all \
2247 --enable-pcntl=shared \
2248 --enable-pdo=shared \
2249 --enable-json=shared \
2250 --enable-hash=shared \
2251 --enable-xmlwriter=shared \
2253 --with-fpm-user=http \
2254 --with-fpm-group=http \
2256 %if %{with mssql} || %{with sybase_ct}
2257 --with-pdo-dblib=shared \
2259 %if %{with interbase} && %{without interbase_inst}
2260 --with-pdo-firebird=shared,/usr \
2262 %{?with_mhash:--with-mhash=yes} \
2263 --with-mysql-sock=/var/lib/mysql/mysql.sock \
2264 --with-pdo-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2265 %{?with_oci:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2266 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
2267 %{?with_pgsql:--with-pdo-pgsql=shared} \
2268 %{?with_pdo_sqlite:--with-pdo-sqlite=shared,/usr} \
2269 %{?with_webp:--with-vpx-dir=/usr} \
2270 --without-libexpat-dir \
2271 --enable-posix=shared \
2273 --enable-session=shared \
2274 --enable-shmop=shared \
2275 --enable-simplexml=shared \
2276 --enable-sysvmsg=shared \
2277 --enable-sysvsem=shared \
2278 --enable-sysvshm=shared \
2279 --enable-soap=shared \
2280 --enable-sockets=shared \
2281 --enable-tokenizer=shared \
2282 %{?with_wddx:--enable-wddx=shared} \
2283 --enable-xml=shared \
2284 --enable-xmlreader=shared \
2286 %{__with_without curl curl shared} \
2288 --with-iconv=shared \
2289 %{?with_enchant:--with-enchant=shared,/usr} \
2290 --with-freetype-dir=shared \
2291 --with-gettext=shared \
2292 --with-gd=shared%{?with_system_gd:,/usr} \
2295 %{?with_imap:--with-imap=shared --with-imap-ssl} \
2296 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
2297 --with-jpeg-dir=/usr \
2298 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
2299 --with-mcrypt=shared \
2300 %{?with_mm:--with-mm} \
2301 %{?with_mssql:--with-mssql=shared} \
2302 %{?with_mysqlnd:--enable-mysqlnd=shared} \
2303 --with-mysql=shared,%{!?with_mysqlnd:/usr}%{?with_mysqlnd:mysqlnd} \
2304 %{?with_mysqli:--with-mysqli=shared,%{!?with_mysqlnd:/usr/bin/mysql_config}%{?with_mysqlnd:mysqlnd}} \
2305 %{?with_oci:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \
2306 %{?with_openssl:--with-openssl=shared} \
2307 %{?with_kerberos5:--with-kerberos} \
2309 %{__with_without pcre pcre-regex /usr} \
2310 %{__enable_disable filter filter shared} \
2311 --with-pear=%{php_pear_dir} \
2312 %{__with_without pgsql pgsql shared,/usr} \
2313 %{__enable_disable phar phar shared} \
2314 --with-png-dir=/usr \
2315 %{?with_pspell:--with-pspell=shared} \
2316 --with-readline=shared \
2317 %{?with_recode:--with-recode=shared} \
2318 --with-regex=system \
2319 %{?with_snmp:--with-snmp=shared} \
2320 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
2321 %{!?with_pdo_sqlite:--without-pdo-sqlite} \
2322 %{__with_without sqlite3 sqlite3 shared,/usr} \
2323 --with-t1lib=shared \
2324 %{?with_tidy:--with-tidy=shared} \
2325 %{?with_odbc:--with-unixODBC=shared,/usr} \
2326 %{__with_without xmlrpc xmlrpc shared,/usr} \
2328 --with-zlib=shared \
2329 --with-zlib-dir=shared,/usr \
2330 %{?with_system_libzip:--with-libzip} \
2331 --enable-zip=shared,/usr \
2334 cp -f Makefile Makefile.$sapi
2335 cp -f main/php_config.h php_config.h.$sapi
2336 cp -f config.log config.log.$sapi
2339 # as we build each SAPI in own make, adjust php-config.in forehead
2340 sapis=$(%{__sed} -rne 's/^PHP_INSTALLED_SAPIS = (.+)/\1/p' Makefile.* | tr ' ' '\n' | sort -u | xargs)
2341 %{__sed} -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," scripts/php-config.in
2343 # must make libphp_common first, so modules can link against it.
2344 cp -af php_config.h.cli main/php_config.h
2345 cp -af Makefile.cli Makefile
2346 %{__make} libphp_common.la
2347 %{__make} build-modules
2350 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
2354 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
2357 %if %{with litespeed}
2358 %{__make} -f Makefile.litespeed
2363 cp -pf php_config.h.cgi-fcgi main/php_config.h
2364 %{__make} -f Makefile.cgi-fcgi
2365 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = "cgi-fcgi" ]
2370 cp -pf php_config.h.fpm main/php_config.h
2371 %{__make} -f Makefile.fpm
2372 [ $(./sapi/fpm/php-fpm -n -m | grep cgi-fcgi) = "cgi-fcgi" ]
2376 cp -pf php_config.h.cli main/php_config.h
2377 %{__make} -f Makefile.cli
2378 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = "cli" ]
2380 # check for stupid xml parse breakage where < and > just get lost in parse result
2381 ./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"]));'
2383 # Generate stub .ini files for each extension
2386 generate_inifiles() {
2387 for so in modules/*.so; do
2388 mod=$(basename $so .so)
2390 # xml needs to be loaded before wddx
2391 [ "$mod" = "wddx" ] && conf="xml_$mod.ini"
2392 # pre needs to be loaded before SPL
2393 [ "$mod" = "pcre" ] && conf="PCRE.ini"
2394 # spl needs to be loaded before mysqli
2395 [ "$mod" = "spl" ] && conf="SPL.ini"
2396 # session needs to be loaded before php-pecl-http, php-pecl-memcache, php-pecl-session_mysql
2397 [ "$mod" = "session" ] && conf="Session.ini"
2398 # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli
2399 [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini"
2401 cat > conf.d/$conf <<-EOF
2402 ; Enable $mod extension module
2409 # Check that the module inner-dependencies are intact
2410 PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log
2411 if grep -v OK dep-tests.log; then
2412 echo >&2 "The results above were not expected"
2418 cp -pf php_config.h.cli main/php_config.h
2419 cp -pf Makefile.cli Makefile
2421 # you really don't want to package result of gcov build
2425 cat <<'EOF' > run-tests.sh
2427 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
2428 unset TZ LANG LC_ALL || :
2430 EXTENSION_DIR=modules \
2431 PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \
2432 RUN_TESTS_SETTINGS="-q $*"
2434 chmod +x run-tests.sh
2437 # Run tests, using the CLI SAPI
2438 cp -pf php_config.h.cli main/php_config.h
2439 cp -pf Makefile.cli Makefile
2441 ./run-tests.sh -w failed.log -s tests.log
2443 # collect failed tests into cleanup script used in prep.
2444 sed -ne '/^FAILED TEST SUMMARY/,/^===/p' tests.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log
2445 sed -ne '/^via/d;/\[.*\]/{s/\t*\(.*\) \[\(.*\)\]\(.*\)/# \1\3\nmv \2{,.skip}/p}' tests-failed.log \
2446 >> %{_sourcedir}/skip-tests.sh
2448 # if on builders, dump test log
2449 tty -q || cat tests.log
2451 test ! -s failed.log
2455 rm -rf $RPM_BUILD_ROOT
2456 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
2457 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
2458 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
2459 $RPM_BUILD_ROOT%{_mandir}/man{1,8} \
2461 cp -pf php_config.h.cli main/php_config.h
2462 cp -pf Makefile.cli Makefile
2463 %{__make} install -j1 \
2464 phpbuilddir=%{_libdir}/%{name}/build \
2465 INSTALL_ROOT=$RPM_BUILD_ROOT
2467 %if %{without default_php}
2468 # version the .phar files
2469 %{__mv} $RPM_BUILD_ROOT%{_bindir}/phar{,%{php_suffix}}.phar
2470 %{__mv} $RPM_BUILD_ROOT%{_mandir}/man1/phar{,%{php_suffix}}.1
2472 %if %{with alternatives}
2474 %{__rm} $RPM_BUILD_ROOT%{_bindir}/phar
2475 touch $RPM_BUILD_ROOT%{_bindir}/phar
2476 touch $RPM_BUILD_ROOT%{_mandir}/man1/phar.1
2480 v=$(echo %{version} | cut -d. -f1-2)
2482 # install Apache1 DSO module
2484 libtool --mode=install install -p sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
2485 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5{,-$v}.so
2486 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache1/mod_php.so
2489 # install Apache2 DSO module
2491 libtool --mode=install install -p sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
2492 %{__mv} $RPM_BUILD_ROOT%{_libdir}/apache/libphp5{,-$v}.so
2493 ln -s libphp5-$v.so $RPM_BUILD_ROOT%{_libdir}/apache/mod_php.so
2496 # install litespeed sapi
2497 %if %{with litespeed}
2498 libtool --mode=install install -p sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/%{name}.litespeed
2501 libtool --mode=install install -p libphp_common.la $RPM_BUILD_ROOT%{_libdir}
2506 libtool --mode=install install -p sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.cgi
2507 ln -sf %{name}.cgi $RPM_BUILD_ROOT%{_bindir}/%{name}.fcgi
2508 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
2513 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}}
2514 libtool --mode=install install -p sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir}/%{name}-fpm
2515 cp -p sapi/fpm/php-fpm.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}-fpm.8
2516 cp -p sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir}
2517 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
2518 install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}-fpm
2519 install -d $RPM_BUILD_ROOT/etc/logrotate.d
2520 cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2521 %if "%{pld_release}" == "ac"
2522 %{__sed} -i -e '/su/d' $RPM_BUILD_ROOT/etc/logrotate.d/%{name}-fpm
2525 %if %{with alternatives}
2526 # touch for ghost for alternatives
2527 touch $RPM_BUILD_ROOT%{_sbindir}/php-fpm
2531 s#/usr/lib/php#%{php_extensiondir}#
2532 s#/etc/php#%{_sysconfdir}#
2533 s#@processname@#%{name}-fpm#g
2534 ' $RPM_BUILD_ROOT{/etc/{rc.d/init.d/%{name}-fpm,logrotate.d/%{name}-fpm},%{_sysconfdir}/php-fpm.conf}
2537 # install Embedded API
2539 %{__make} -f Makefile.embed install-sapi INSTALL_ROOT=$RPM_BUILD_ROOT
2540 # we could use install-headers from Makefile.embed, but that would reinstall all headers
2541 install -d $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2542 cp -p sapi/embed/php_embed.h $RPM_BUILD_ROOT%{_includedir}/php/sapi/embed
2546 # versioned suffix is always installed
2547 libtool --mode=install install -p sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php%{ver_suffix}
2548 cp -p sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php%{ver_suffix}.1
2549 echo ".so php%{ver_suffix}.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.1
2550 ln -sf php%{ver_suffix} $RPM_BUILD_ROOT%{_bindir}/php
2552 cp -p php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
2553 cp -p %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
2556 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
2557 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
2558 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
2562 cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
2563 cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
2564 %{__rm} -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
2567 # ensure that paths are correct for current php version and arch
2568 grep -El '/etc/php/|/usr/lib/php/' $RPM_BUILD_ROOT%{_sysconfdir}/*.ini | xargs -r \
2570 s#/usr/lib/php#%{php_extensiondir}#
2571 s#/etc/php#%{_sysconfdir}#
2574 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2575 cp -p conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
2577 # per SAPI ini directories
2578 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
2581 %{__mv} $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d}
2583 # use system automake and {lib,sh}tool
2584 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2585 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2586 for fn in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
2587 f=%{_aclocaldir}/$fn
2588 test -f $f || continue
2589 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2591 for fn in ltmain.sh config/ltmain.sh build-aux/ltmain.sh; do
2592 f=/usr/share/libtool/$fn
2593 test -f $f || continue
2594 ln -snf $f $RPM_BUILD_ROOT%{_libdir}/%{name}/build
2597 sed -i -e '/^phpdir/ s,/php/build,/%{name}/build,' $RPM_BUILD_ROOT%{_bindir}/phpize
2599 # for php-pecl-mailparse
2600 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2601 cp -p ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
2604 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2605 install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
2606 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
2608 # fix install paths, avoid evil rpaths
2609 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
2611 # libphp5.la contains our buildroot in dependency_libs
2612 sed -i -e "/dependency_libs/ s,/[^ ]*/libs/libphp_common.la,%{_libdir}/libphp_common.la," $RPM_BUILD_ROOT%{_libdir}/libphp5.la
2615 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/%{name}/build/acinclude.m4
2618 rm -rf $RPM_BUILD_ROOT
2620 %post -n apache1-mod_%{name}
2621 if [ "$1" = "1" ]; then
2622 %service -q apache restart
2625 %postun -n apache1-mod_%{name}
2626 if [ "$1" = "0" ]; then
2627 %service -q apache restart
2630 %post -n apache-mod_%{name}
2631 if [ "$1" = "1" ]; then
2632 %service -q httpd restart
2635 %postun -n apache-mod_%{name}
2636 if [ "$1" = "0" ]; then
2637 %service -q httpd restart
2641 %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http
2644 /sbin/chkconfig --add %{name}-fpm
2645 %service %{name}-fpm restart
2646 %if %{with alternatives}
2647 update-alternatives --install %{_sbindir}/php-fpm php-fpm %{_sbindir}/php%{ver_suffix}-fpm %{ver_suffix} || :
2651 if [ "$1" = 0 ]; then
2652 %service %{name}-fpm stop
2653 /sbin/chkconfig --del %{name}-fpm
2654 %if %{with alternatives}
2655 update-alternatives --remove php-fpm %{_sbindir}/php-fpm || :
2660 if [ "$1" = "0" ]; then
2664 %post embedded -p /sbin/ldconfig
2665 %postun embedded -p /sbin/ldconfig
2668 # PHP 5.3 requires timezone being setup, try setup it from tzdata
2669 if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then
2671 . /etc/sysconfig/timezone
2672 if [ "$TIMEZONE" ]; then
2673 %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini
2677 # minimizing apache restarts logics. we restart webserver:
2679 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
2680 # 2. first install of extension (post: $1 = 1)
2681 # 2. uninstall of extension (postun: $1 == 0)
2683 # the strict internal deps between extensions (and apache modules) and
2684 # common package are very important for all this to work.
2686 # restart webserver at the end of transaction
2687 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
2688 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
2690 %triggerpostun common -- %{name}-common < 4:5.4.36-2, php-common < 4:5.4.36-2
2691 # switch to browscap package if the ini file has original value
2692 %{__sed} -i -e 's#%{_sysconfdir}/browscap.ini#/usr/share/browscap/php_browscap.ini#' %{_sysconfdir}/php.ini
2693 # disable browscap, if optional package not present
2694 if [ ! -e /usr/share/browscap/php_browscap.ini ]; then
2695 %{__sed} -i -e 's#^browscap = /usr/share/browscap/php_browscap.ini#;&#' %{_sysconfdir}/php.ini
2698 %triggerpostun -n apache1-mod_%{name} -- apache1-mod_%{name} < 4:5.4.45-2
2699 sed -i -e 's#modules/libphp5.so#modules/mod_php.so#g' /etc/apache/conf.d/*_mod_php.conf
2701 %triggerpostun -n apache-mod_%{name} -- apache-mod_%{name} < 4:5.4.45-2
2702 sed -i -e 's#modules/libphp[57].so#modules/mod_php.so#g' /etc/httpd/conf.d/*_mod_php.conf
2704 # common macros called at extension post/postun scriptlet
2706 if [ "$1" = "1" ]; then \
2707 %php_webserver_restart \
2711 %define ext_postun \
2712 if [ "$1" = "0" ]; then \
2713 %php_webserver_restart \
2717 %define extension_scripts() \
2725 # extension scripts defines
2726 %extension_scripts bcmath
2727 %extension_scripts bz2
2728 %extension_scripts calendar
2729 %extension_scripts ctype
2730 %extension_scripts curl
2731 %extension_scripts dba
2732 %extension_scripts dom
2733 %extension_scripts enchant
2734 %extension_scripts exif
2735 %extension_scripts fileinfo
2736 %extension_scripts filter
2737 %extension_scripts ftp
2738 %extension_scripts gd
2739 %extension_scripts gettext
2740 %extension_scripts gmp
2741 %extension_scripts hash
2742 %extension_scripts iconv
2743 %extension_scripts imap
2744 %extension_scripts interbase
2745 %extension_scripts intl
2746 %extension_scripts json
2747 %extension_scripts ldap
2748 %extension_scripts mbstring
2749 %extension_scripts mcrypt
2750 %extension_scripts mssql
2751 %extension_scripts mysql
2752 %extension_scripts mysqli
2753 %extension_scripts mysqlnd
2754 %extension_scripts oci8
2755 %extension_scripts odbc
2756 %extension_scripts openssl
2757 %extension_scripts pcre
2758 %extension_scripts pdo
2759 %extension_scripts pdo-dblib
2760 %extension_scripts pdo-firebird
2761 %extension_scripts pdo-oci
2762 %extension_scripts pdo-mysql
2763 %extension_scripts pdo-odbc
2764 %extension_scripts pdo-pgsql
2765 %extension_scripts pdo-sqlite
2766 %extension_scripts pgsql
2767 %extension_scripts pcntl
2768 %extension_scripts posix
2769 %extension_scripts pspell
2770 %extension_scripts recode
2771 %extension_scripts session
2772 %extension_scripts shmop
2773 %extension_scripts simplexml
2774 %extension_scripts snmp
2775 %extension_scripts soap
2776 %extension_scripts sockets
2777 %extension_scripts spl
2778 %extension_scripts sqlite3
2779 %extension_scripts sybase-ct
2780 %extension_scripts sysvmsg
2781 %extension_scripts sysvsem
2782 %extension_scripts sysvshm
2783 %extension_scripts tidy
2784 %extension_scripts tokenizer
2785 %extension_scripts wddx
2786 %extension_scripts xml
2787 %extension_scripts xmlreader
2788 %extension_scripts xmlrpc
2789 %extension_scripts xmlwriter
2790 %extension_scripts xsl
2791 %extension_scripts zip
2792 %extension_scripts zlib
2796 %if %{with alternatives}
2797 update-alternatives \
2798 --install %{_bindir}/phar phar %{_bindir}/phar%{ver_suffix}.phar %{ver_suffix} \
2799 --slave %{_mandir}/man1/phar.1 phar.1 %{_mandir}/man1/phar%{ver_suffix}.1* || :
2804 %if %{with alternatives}
2805 if [ $1 -eq 0 ]; then
2806 update-alternatives --remove phar %{_bindir}/phar || :
2811 %files -n apache1-mod_%{name}
2812 %defattr(644,root,root,755)
2813 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2814 %dir %{_sysconfdir}/apache.d
2815 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2816 %attr(755,root,root) %{_libdir}/apache1/mod_php.so
2817 %attr(755,root,root) %{_libdir}/apache1/libphp5-*.*.so
2821 %files -n apache-mod_%{name}
2822 %defattr(644,root,root,755)
2823 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2824 %dir %{_sysconfdir}/apache2handler.d
2825 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2826 %attr(755,root,root) %{_libdir}/apache/mod_php.so
2827 %attr(755,root,root) %{_libdir}/apache/libphp5-*.*.so
2830 %if %{with litespeed}
2832 %defattr(644,root,root,755)
2833 %attr(755,root,root) %{_sbindir}/%{name}.litespeed
2838 %defattr(644,root,root,755)
2839 %dir %{_sysconfdir}/cgi-fcgi.d
2840 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2841 %attr(755,root,root) %{_bindir}/%{name}.cgi
2842 %attr(755,root,root) %{_bindir}/%{name}.fcgi
2847 %defattr(644,root,root,755)
2848 %attr(755,root,root) %{_libdir}/libphp5-%{version}.so
2852 %defattr(644,root,root,755)
2853 %dir %{_sysconfdir}/cli.d
2854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2855 %attr(755,root,root) %{_bindir}/php%{ver_suffix}
2856 %{_mandir}/man1/php%{ver_suffix}.1*
2859 %defattr(644,root,root,755)
2860 %attr(755,root,root) %{_bindir}/php
2861 %{_mandir}/man1/php.1*
2865 %defattr(644,root,root,755)
2866 %doc sapi/fpm/{CREDITS,LICENSE}
2867 %dir %{_sysconfdir}/fpm.d
2868 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf
2869 %attr(755,root,root) %{_sbindir}/%{name}-fpm
2870 %if %{with alternatives}
2871 %ghost %{_sbindir}/php-fpm
2873 %{_mandir}/man8/%{name}-fpm.8*
2874 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/%{name}-fpm
2875 %attr(754,root,root) /etc/rc.d/init.d/%{name}-fpm
2879 %defattr(644,root,root,755)
2880 %doc CREDITS EXTENSIONS LICENSE NEWS README.{PHP4-TO-PHP5-THIN-CHANGES,namespaces} UPGRADING* Zend/{LICENSE.Zend,ZEND_CHANGES} php.ini-*
2882 %dir %{_sysconfdir}/conf.d
2883 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2884 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2885 %dir %{php_extensiondir}
2887 %doc ext/session/mod_files.sh
2890 %defattr(644,root,root,755)
2891 %doc CODING_STANDARDS README.{EXTENSIONS,EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
2892 %attr(755,root,root) %{_bindir}/phpize
2893 %attr(755,root,root) %{_bindir}/php-config
2894 %attr(755,root,root) %{_libdir}/libphp_common.so
2895 %{_libdir}/libphp_common.la
2897 %{_libdir}/%{name}/build
2898 %{_mandir}/man1/php-config.1*
2899 %{_mandir}/man1/phpize.1*
2902 %{_libdir}/libphp5.so
2903 %{_libdir}/libphp5.la
2907 %defattr(644,root,root,755)
2908 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2909 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2912 %defattr(644,root,root,755)
2913 %doc ext/bz2/CREDITS
2914 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2915 %attr(755,root,root) %{php_extensiondir}/bz2.so
2918 %defattr(644,root,root,755)
2919 %doc ext/calendar/CREDITS
2920 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2921 %attr(755,root,root) %{php_extensiondir}/calendar.so
2924 %defattr(644,root,root,755)
2925 %doc ext/calendar/CREDITS
2926 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2927 %attr(755,root,root) %{php_extensiondir}/ctype.so
2931 %defattr(644,root,root,755)
2932 %doc ext/curl/CREDITS
2933 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2934 %attr(755,root,root) %{php_extensiondir}/curl.so
2938 %defattr(644,root,root,755)
2939 %doc ext/dba/{CREDITS,README}
2940 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2941 %attr(755,root,root) %{php_extensiondir}/dba.so
2944 %defattr(644,root,root,755)
2945 %doc ext/dom/{CREDITS,TODO}
2946 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2947 %attr(755,root,root) %{php_extensiondir}/dom.so
2951 %defattr(644,root,root,755)
2952 %doc ext/enchant/{CREDITS,docs/examples}
2953 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/enchant.ini
2954 %attr(755,root,root) %{php_extensiondir}/enchant.so
2958 %defattr(644,root,root,755)
2959 %doc ext/exif/CREDITS
2960 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2961 %attr(755,root,root) %{php_extensiondir}/exif.so
2964 %defattr(644,root,root,755)
2965 %doc ext/fileinfo/CREDITS
2966 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2967 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2971 %defattr(644,root,root,755)
2972 %doc ext/filter/{CREDITS,docs/*}
2973 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2974 %attr(755,root,root) %{php_extensiondir}/filter.so
2978 %defattr(644,root,root,755)
2979 %doc ext/ftp/CREDITS
2980 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2981 %attr(755,root,root) %{php_extensiondir}/ftp.so
2984 %defattr(644,root,root,755)
2986 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2987 %attr(755,root,root) %{php_extensiondir}/gd.so
2990 %defattr(644,root,root,755)
2991 %doc ext/gettext/CREDITS
2992 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2993 %attr(755,root,root) %{php_extensiondir}/gettext.so
2996 %defattr(644,root,root,755)
2997 %doc ext/gmp/{CREDITS,README,TODO}
2998 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2999 %attr(755,root,root) %{php_extensiondir}/gmp.so
3002 %defattr(644,root,root,755)
3003 %doc ext/hash/{CREDITS,README}
3004 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
3005 %attr(755,root,root) %{php_extensiondir}/hash.so
3008 %defattr(644,root,root,755)
3009 %doc ext/iconv/CREDITS
3010 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
3011 %attr(755,root,root) %{php_extensiondir}/iconv.so
3015 %defattr(644,root,root,755)
3016 %doc ext/imap/CREDITS
3017 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
3018 %attr(755,root,root) %{php_extensiondir}/imap.so
3021 %if %{with interbase}
3023 %defattr(644,root,root,755)
3024 %doc ext/interbase/CREDITS
3025 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
3026 %attr(755,root,root) %{php_extensiondir}/interbase.so
3031 %defattr(644,root,root,755)
3032 %doc ext/intl/{CREDITS,TODO}
3033 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
3034 %attr(755,root,root) %{php_extensiondir}/intl.so
3038 %defattr(644,root,root,755)
3039 %doc ext/json/CREDITS
3040 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
3041 %attr(755,root,root) %{php_extensiondir}/json.so
3045 %defattr(644,root,root,755)
3046 %doc ext/ldap/CREDITS
3047 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
3048 %attr(755,root,root) %{php_extensiondir}/ldap.so
3052 %defattr(644,root,root,755)
3053 %doc ext/mbstring/{CREDITS,README*}
3054 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
3055 %attr(755,root,root) %{php_extensiondir}/mbstring.so
3058 %defattr(644,root,root,755)
3059 %doc ext/mcrypt/{CREDITS,TODO}
3060 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
3061 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
3065 %defattr(644,root,root,755)
3066 %doc ext/mssql/CREDITS
3067 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
3068 %attr(755,root,root) %{php_extensiondir}/mssql.so
3072 %defattr(644,root,root,755)
3073 %doc ext/mysql/CREDITS
3074 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
3075 %attr(755,root,root) %{php_extensiondir}/mysql.so
3079 %defattr(644,root,root,755)
3080 %doc ext/mysqli/{CREDITS,TODO}
3081 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
3082 %attr(755,root,root) %{php_extensiondir}/mysqli.so
3087 %defattr(644,root,root,755)
3088 %doc ext/mysqlnd/CREDITS
3089 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini
3090 %attr(755,root,root) %{php_extensiondir}/mysqlnd.so
3095 %defattr(644,root,root,755)
3096 %doc ext/oci8/{CREDITS,README}
3097 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
3098 %attr(755,root,root) %{php_extensiondir}/oci8.so
3103 %defattr(644,root,root,755)
3104 %doc ext/odbc/CREDITS
3105 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
3106 %attr(755,root,root) %{php_extensiondir}/odbc.so
3111 %defattr(644,root,root,755)
3112 %doc ext/openssl/{CREDITS,README}
3113 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
3114 %attr(755,root,root) %{php_extensiondir}/openssl.so
3118 %defattr(644,root,root,755)
3119 %doc ext/pcntl/{CREDITS,README}
3120 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini
3121 %attr(755,root,root) %{php_extensiondir}/pcntl.so
3125 %defattr(644,root,root,755)
3126 %doc ext/pcre/CREDITS
3127 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini
3128 %attr(755,root,root) %{php_extensiondir}/pcre.so
3132 %defattr(644,root,root,755)
3133 %doc ext/pdo/{CREDITS,README,TODO}
3134 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
3135 %attr(755,root,root) %{php_extensiondir}/pdo.so
3137 %if %{with mssql} || %{with sybase_ct}
3139 %defattr(644,root,root,755)
3140 %doc ext/pdo_dblib/{CREDITS,README}
3141 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
3142 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
3145 %if %{with interbase} && !%{with interbase_inst}
3147 %defattr(644,root,root,755)
3148 %doc ext/pdo_firebird/CREDITS
3149 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
3150 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
3154 %defattr(644,root,root,755)
3155 %doc ext/pdo_mysql/CREDITS
3156 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
3157 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
3161 %defattr(644,root,root,755)
3162 %doc ext/pdo_oci/CREDITS
3163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
3164 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
3169 %defattr(644,root,root,755)
3170 %doc ext/pdo_odbc/CREDITS
3171 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
3172 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
3177 %defattr(644,root,root,755)
3178 %doc ext/pdo_pgsql/CREDITS
3179 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
3180 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
3183 %if %{with pdo_sqlite}
3185 %defattr(644,root,root,755)
3186 %doc ext/pdo_sqlite/CREDITS
3187 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
3188 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
3193 %defattr(644,root,root,755)
3194 %doc ext/pgsql/{CREDITS,README}
3195 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3196 %attr(755,root,root) %{php_extensiondir}/pgsql.so
3201 %defattr(644,root,root,755)
3202 %doc ext/phar/{CREDITS,TODO}
3203 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
3204 %attr(755,root,root) %{php_extensiondir}/phar.so
3205 %attr(755,root,root) %{_bindir}/phar%{php_suffix}.phar
3206 %{_mandir}/man1/phar%{php_suffix}.1*
3207 %{_mandir}/man1/phar.phar.1*
3208 %if %{with alternatives}
3209 %ghost %{_bindir}/phar
3210 %ghost %{_mandir}/man1/phar.1
3212 %attr(755,root,root) %{_bindir}/phar
3217 %defattr(644,root,root,755)
3218 %doc ext/posix/CREDITS
3219 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3220 %attr(755,root,root) %{php_extensiondir}/posix.so
3224 %defattr(644,root,root,755)
3225 %doc ext/pspell/{CREDITS,README}
3226 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3227 %attr(755,root,root) %{php_extensiondir}/pspell.so
3231 %defattr(644,root,root,755)
3232 %doc ext/readline/{CREDITS,README*}
3233 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3234 %attr(755,root,root) %{php_extensiondir}/readline.so
3238 %defattr(644,root,root,755)
3239 %doc ext/recode/CREDITS
3240 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3241 %attr(755,root,root) %{php_extensiondir}/recode.so
3245 %defattr(644,root,root,755)
3246 %doc ext/session/CREDITS
3247 %doc ext/session/mod_files.sh
3248 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/Session.ini
3249 %attr(755,root,root) %{php_extensiondir}/session.so
3252 %defattr(644,root,root,755)
3253 %doc ext/shmop/{CREDITS,README}
3254 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3255 %attr(755,root,root) %{php_extensiondir}/shmop.so
3258 %defattr(644,root,root,755)
3259 %doc ext/simplexml/{CREDITS,README}
3260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
3261 %attr(755,root,root) %{php_extensiondir}/simplexml.so
3265 %defattr(644,root,root,755)
3266 %doc ext/snmp/CREDITS
3267 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3268 %attr(755,root,root) %{php_extensiondir}/snmp.so
3272 %defattr(644,root,root,755)
3273 %doc ext/soap/{CREDITS,TODO*}
3274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
3275 %attr(755,root,root) %{php_extensiondir}/soap.so
3278 %defattr(644,root,root,755)
3279 %doc ext/sockets/CREDITS
3280 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3281 %attr(755,root,root) %{php_extensiondir}/sockets.so
3284 %defattr(644,root,root,755)
3285 %doc ext/spl/{CREDITS,README,TODO,examples}
3286 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini
3287 %attr(755,root,root) %{php_extensiondir}/spl.so
3291 %defattr(644,root,root,755)
3292 %doc ext/sqlite3/CREDITS
3293 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
3294 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
3297 %if %{with sybase_ct}
3299 %defattr(644,root,root,755)
3300 %doc ext/sybase_ct/CREDITS
3301 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3302 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
3306 %defattr(644,root,root,755)
3307 %doc ext/sysvmsg/CREDITS
3308 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3309 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
3312 %defattr(644,root,root,755)
3313 %doc ext/sysvsem/CREDITS
3314 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3315 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
3318 %defattr(644,root,root,755)
3319 %doc ext/sysvshm/CREDITS
3320 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3321 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
3324 %defattr(644,root,root,755)
3325 %dir %{php_data_dir}/tests
3326 %dir %{php_data_dir}/tests/php
3327 %{php_data_dir}/tests/php/basic
3328 %{php_data_dir}/tests/php/classes
3329 %{php_data_dir}/tests/php/func
3330 %{php_data_dir}/tests/php/lang
3331 %{php_data_dir}/tests/php/output
3332 %{php_data_dir}/tests/php/run-test
3333 %{php_data_dir}/tests/php/security
3334 %{php_data_dir}/tests/php/strings
3335 %{php_data_dir}/tests/php/quicktester.inc
3336 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
3340 %defattr(644,root,root,755)
3341 %doc ext/tidy/{CREDITS,README}
3342 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
3343 %attr(755,root,root) %{php_extensiondir}/tidy.so
3347 %defattr(644,root,root,755)
3348 %doc ext/tokenizer/CREDITS
3349 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3350 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
3354 %defattr(644,root,root,755)
3355 %doc ext/wddx/CREDITS
3356 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3357 %attr(755,root,root) %{php_extensiondir}/wddx.so
3361 %defattr(644,root,root,755)
3362 %doc ext/xml/CREDITS
3363 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3364 %attr(755,root,root) %{php_extensiondir}/xml.so
3367 %defattr(644,root,root,755)
3368 %doc ext/xmlreader/{CREDITS,README,TODO,examples}
3369 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
3370 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
3374 %defattr(644,root,root,755)
3375 %doc ext/xmlrpc/CREDITS
3376 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3377 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
3381 %defattr(644,root,root,755)
3382 %doc ext/xmlwriter/{CREDITS,TODO}
3383 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
3384 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
3387 %defattr(644,root,root,755)
3388 %doc ext/xsl/CREDITS
3389 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
3390 %attr(755,root,root) %{php_extensiondir}/xsl.so
3393 %defattr(644,root,root,755)
3394 %doc ext/zip/{CREDITS,TODO}
3395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3396 %attr(755,root,root) %{php_extensiondir}/zip.so
3399 %defattr(644,root,root,755)
3400 %doc ext/zlib/CREDITS
3401 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3402 %attr(755,root,root) %{php_extensiondir}/zlib.so