2 # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere
3 # - removed from php 5.0 (currently in php4):
4 # db, hyperwave, java, mcal, overload, qtdom
5 # - removed from php 5.1:
7 # - removed from php 5.2:
9 # - removed from php 5.3:
10 # dbase, mhash, mime_magic, ming, ncurses, sybase
11 # - make additional headers and checking added by mail patch configurable
12 # - modularize session, standard (output from pure php -m)?
13 # - lib64 patch obsolete by $PHP_LIBDIR ?
14 # - move mysqlnd out of libphp-common.so?
15 # - WARNING: Phar: sha256/sha512 signature support disabled if ext/hash is
16 # built shared, also PHAR_HAVE_OPENSSL is false if openssl is built shared.
17 # make it runtime dep and add Suggests (or php warning messages)
18 # - some mods should be shared:
31 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
32 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
33 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
34 %bcond_with system_gd # with system gd (we prefer internal since it enables few more features)
35 %bcond_without curl # without CURL extension module
36 %bcond_without filter # without filter extension module
37 %bcond_without imap # without IMAP extension module
38 %bcond_without interbase # without InterBase extension module
39 %bcond_without ldap # without LDAP extension module
40 %bcond_without mm # without mm support for session storage
41 %bcond_without mssql # without MS SQL extension module
42 %bcond_without mysqli # without mysqli support (Requires mysql > 4.1)
43 %bcond_without odbc # without ODBC extension module
44 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
45 %bcond_without pgsql # without PostgreSQL extension module
46 %bcond_without phar # without phar extension module
47 %bcond_without pspell # without pspell extension module
48 %bcond_without recode # without recode extension module
49 %bcond_without snmp # without SNMP extension module
50 %bcond_without sqlite # without SQLite extension module
51 %bcond_without sqlite3 # without SQLite3 extension module
52 %bcond_without sybase_ct # without Sybase-CT extension module
53 %bcond_without tidy # without Tidy extension module
54 %bcond_without wddx # without WDDX extension module
55 %bcond_without xmlrpc # without XML-RPC extension module
56 %bcond_without apache1 # disable building apache 1.3.x module
57 %bcond_without apache2 # disable building apache 2.x module
58 %bcond_without zts # disable experimental-zts
59 %bcond_with tests # default off; test process very often hangs on buildersl; perform "make test"
60 %bcond_with type_hints # experimental support for strict typing/casting
62 %define apxs1 /usr/sbin/apxs1
63 %define apxs2 /usr/sbin/apxs
65 # some problems with apache 2.x
70 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
71 # ppc disabled (broken on th-ppc)
72 %undefine with_interbase
75 %if %{without apache1} && %{without apache2}
76 ERROR: You need to select at least one Apache SAPI to build shared modules.
80 Summary: PHP: Hypertext Preprocessor
81 Summary(fr.UTF-8): Le langage de script embarque-HTML PHP
82 Summary(pl.UTF-8): Język skryptowy PHP
83 Summary(pt_BR.UTF-8): A linguagem de script PHP
84 Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере
85 Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері
88 Release: %{rel}%{?with_type_hints:th}
92 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
93 # Source0-md5: 846760cd655c98dfd86d6d97c3d964b0
94 Source2: %{name}-mod_%{name}.conf
95 Source3: %{name}-cgi-fcgi.ini
96 Source4: %{name}-apache.ini
97 Source5: %{name}-cli.ini
98 # Taken from: http://browsers.garykeith.com/downloads.asp
99 Source9: %{name}_browscap.ini
100 Patch0: %{name}-shared.patch
101 Patch1: %{name}-pldlogo.patch
102 Patch2: %{name}-mail.patch
103 Patch3: %{name}-link-libs.patch
104 Patch4: %{name}-libpq_fs_h_path.patch
105 Patch5: %{name}-filter-shared.patch
106 Patch6: %{name}-build_modules.patch
107 Patch7: %{name}-config-file-scan-dir.patch
108 Patch8: %{name}-sapi-ini-file.patch
109 Patch9: %{name}-sh.patch
110 Patch10: %{name}-ini.patch
111 Patch14: %{name}-no_pear_install.patch
112 Patch15: %{name}-zlib.patch
113 Patch17: %{name}-readline.patch
114 Patch18: %{name}-nohttpd.patch
115 Patch19: %{name}-gd_imagerotate_enable.patch
116 Patch20: %{name}-uint32_t.patch
117 Patch21: %{name}-dba-link.patch
118 Patch23: %{name}-both-apxs.patch
119 Patch24: %{name}-builddir.patch
120 Patch25: %{name}-zlib-for-getimagesize.patch
121 Patch29: %{name}-config-dir.patch
122 Patch31: %{name}-fcgi-graceful.patch
123 Patch38: %{name}-tds.patch
124 Patch43: %{name}-use-prog_sendmail.patch
125 %if %{with type_hints}
126 Patch50: http://ilia.ws/patch/type_hint_53_v2.txt
128 URL: http://www.php.net/
129 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
130 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
131 BuildRequires: autoconf >= 2.53
132 BuildRequires: automake >= 1.4d
134 BuildRequires: bzip2-devel
135 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
136 BuildRequires: cyrus-sasl-devel
137 BuildRequires: db-devel >= 4.0
138 BuildRequires: elfutils-devel
140 BuildRequires: expat-devel
142 %{?with_fdf:BuildRequires: fdftk-devel}
145 %if %{with mssql} || %{with sybase_ct}
146 BuildRequires: freetds-devel >= 0.82
148 BuildRequires: freetype-devel >= 2.0
149 %if %{with system_gd}
150 BuildRequires: gd-devel >= 2.0.28-4
151 BuildRequires: gd-devel(imagerotate) = 5.2.0
153 BuildRequires: gdbm-devel
154 BuildRequires: gmp-devel
155 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
156 BuildRequires: libjpeg-devel
157 BuildRequires: libltdl-devel >= 1.4
158 BuildRequires: libmcrypt-devel >= 2.4.4
159 BuildRequires: libpng-devel >= 1.0.8
160 BuildRequires: libtiff-devel
161 %if "%{pld_release}" != "ac"
162 BuildRequires: libtool >= 2:2.2
164 BuildRequires: libtool >= 1.4.3
166 BuildRequires: libwrap-devel
167 BuildRequires: libxml2-devel >= 2.5.10
168 BuildRequires: libxslt-devel >= 1.1.0
169 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
170 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
171 %if %{with openssl} || %{with ldap}
172 BuildRequires: openssl-devel >= 0.9.7d
174 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
175 BuildRequires: pam-devel
176 BuildRequires: pcre-devel >= 6.6
177 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
178 %{?with_pgsql:BuildRequires: postgresql-devel}
179 BuildRequires: readline-devel
180 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
181 BuildRequires: rpm >= 4.4.9-56
182 BuildRequires: rpm-build >= 4.4.0
183 BuildRequires: rpmbuild(macros) >= 1.238
184 %{?with_sqlite:BuildRequires: sqlite-devel}
185 %{?with_sqlite3:BuildRequires: sqlite3-devel >= 3.3.9}
186 BuildRequires: t1lib-devel
187 %{?with_tidy:BuildRequires: tidy-devel}
188 %{?with_odbc:BuildRequires: unixODBC-devel}
189 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
190 BuildRequires: zlib-devel >= 1.0.9
192 BuildRequires: apache1-devel
195 BuildRequires: apache-devel >= 2.0.52-2
196 BuildRequires: apr-devel >= 1:1.0.0
197 BuildRequires: apr-util-devel >= 1:1.0.0
199 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
201 %define php_sysconfdir /etc/php
202 %define php_extensiondir %{_libdir}/php
203 %define _sysconfdir %{php_sysconfdir}
205 # must be in sync with source. extra check ensuring that it is so is done in %%build
206 %define php_api_version 20090626
207 %define zend_module_api 20090626
208 %define zend_extension_api 220090626
210 %define zend_zts %{!?with_zts:0}%{?with_zts:1}
211 %define php_debug %{!?debug:0}%{?debug:1}
214 # ORACLE_HOME is required for oci8 ext to build
215 %define _preserve_env %_preserve_env_base ORACLE_HOME
219 PHP is an HTML-embedded scripting language. PHP attempts to make it
220 easy for developers to write dynamically generated web pages. PHP also
221 offers built-in database integration for several commercial and
222 non-commercial database management systems, so writing a
223 database-enabled web page with PHP is fairly simple. The most common
224 use of PHP coding is probably as a replacement for CGI scripts. The
225 mod_php module enables the Apache web server to understand and process
226 the embedded PHP language in web pages. This package contains php
229 %description -l fr.UTF-8
230 PHP est un langage de script embarque dans le HTM. PHP essaye de
231 rendre simple aux developpeurs d'ecrire des pages web generees
232 dynamiquement. PHP incorpore egalement une integration avec plusieurs
233 systemes de gestion de bases de donnees commerciaux et
234 non-connerciaux, qui rent facile la creation de pages web liees avec
235 des bases de donnees. L'utilisation la plus commune de PHP est
236 probablement en remplacement de scripts CGI. Le module mod_php permet
237 au serveur web apache de comprendre et de traiter le langage PHP
238 integre dans des pages web. Ce package contient php version
241 %description -l pl.UTF-8
242 PHP jest językiem skryptowym, którego polecenia umieszcza się w
243 plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie
244 generowanych stron WWW. Oferuje także wbudowaną integrację z bazami
245 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
246 co czyni tworzenie stron korzystających z baz danych w miarę łatwym.
247 Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów
248 CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać
249 język PHP osadzony w stronach. Ten pakiet zawiera php w wersji
252 %description -l pt_BR.UTF-8
253 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
254 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
255 com algumas características únicas, específicas ao PHP. O objetivo da
256 linguagem é permitir que desenvolvedores web escrevam páginas
257 dinamicamente geradas de forma rápida.
259 %description -l ru.UTF-8
260 PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP
261 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
262 для работы с базами данных относительно просто. Наиболее популярное
263 использование PHP - замена для CGI скриптов.
265 %description -l uk.UTF-8
266 PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP
267 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
268 роботи з базами даних є доволі простим. Найбільш популярне
269 використання PHP - заміна для CGI скриптів.
271 %package -n apache1-mod_php
272 Summary: PHP DSO module for apache 1.3.x
273 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x
274 Group: Development/Languages/PHP
275 Requires(triggerpostun): sed >= 4.0
276 Requires: %{name}-common = %{epoch}:%{version}-%{release}
277 Requires: apache1(EAPI) >= 1.3.33-2
278 Requires: apache1-mod_mime
279 Provides: webserver(php) = %{version}
280 Obsoletes: apache-mod_php < 1:4.1.1
283 %description -n apache1-mod_php
284 PHP as DSO module for apache 1.3.x.
286 %description -n apache1-mod_php -l pl.UTF-8
287 php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
289 %package -n apache-mod_php
290 Summary: PHP DSO module for apache 2.x
291 Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x
292 Group: Development/Languages/PHP
293 Requires: %{name}-common = %{epoch}:%{version}-%{release}
294 Requires: apache(modules-api) = %{apache_modules_api}
295 Requires: apache-mod_mime
296 Provides: webserver(php) = %{version}
299 %description -n apache-mod_php
300 PHP as DSO module for apache 2.x.
302 %description -n apache-mod_php -l pl.UTF-8
303 php jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
306 Summary: php as CGI/FastCGI program
307 Summary(pl.UTF-8): php jako program CGI/FastCGI
308 Group: Development/Languages/PHP
309 Requires: %{name}-common = %{epoch}:%{version}-%{release}
312 Provides: webserver(php)
313 Provides: %{name}-fcgi = %{epoch}:%{version}-%{release}
314 Obsoletes: php-fcgi < 4:5.3.0
317 php as CGI or FastCGI program.
319 %description cgi -l pl.UTF-8
320 php jako program CGI lub FastCGI.
323 Summary: php as CLI interpreter
324 Summary(pl.UTF-8): php jako interpreter działający z linii poleceń
325 Group: Development/Languages/PHP
326 Requires: %{name}-common = %{epoch}:%{version}-%{release}
329 php as CLI interpreter.
331 %description cli -l pl.UTF-8
332 php jako interpreter działający z linii poleceń.
335 Summary: /usr/bin/php symlink
336 Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php
337 Group: Development/Languages/PHP
338 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
339 Obsoletes: /usr/bin/php
342 Package providing /usr/bin/php symlink to PHP CLI.
344 %description program -l pl.UTF-8
345 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
348 Summary: Common files needed by both Apache modules and CGI/CLI SAPI-s.
349 Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI
350 Summary(ru.UTF-8): Разделяемые библиотеки для php
351 Summary(uk.UTF-8): Бібліотеки спільного використання для php
353 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
354 Requires: glibc >= 6:2.3.5
358 Provides: php(libxml)
359 Provides: php(modules_api) = %{php_api_version}
360 Provides: php(overload)
362 Provides: php(reflection)
363 Provides: php(session)
365 Provides: php(standard)
366 Provides: php(zend_extension_api) = %{zend_extension_api}
367 Provides: php(zend_module_api) = %{zend_module_api}
368 Provides: php5(debug) = %{php_debug}
369 Provides: php5(thread-safety) = %{zend_zts}
371 Obsoletes: php-pcre < 4:5.2.0
372 Obsoletes: php-pecl-domxml
373 Obsoletes: php-session < 3:4.2.1-2
374 Conflicts: php4-common < 3:4.4.4-8
375 Conflicts: rpm < 4.4.2-0.2
378 Common files needed by both Apache modules and CGI/CLI SAPI-s.
380 %description common -l pl.UTF-8
381 Wspólne pliki dla modułu apacha i programu CGI.
383 %description common -l ru.UTF-8
384 Этот пакет содержит общие файлы для разных вариантов реализации PHP
385 (самодостаточной и в качестве модуля apache).
387 %description common -l uk.UTF-8
388 Цей пакет містить спільні файли для різних варіантів реалізації PHP
389 (самодостатньої та в якості модуля apache).
392 Summary: Files for PHP modules development
393 Summary(pl.UTF-8): Pliki do kompilacji modułów PHP
394 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP
395 Summary(ru.UTF-8): Пакет разработки для построения расширений PHP
396 Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP
397 Group: Development/Languages/PHP
398 Requires: %{name}-common = %{epoch}:%{version}-%{release}
402 Requires: pcre-devel >= 6.6
404 Obsoletes: php-pear-devel
405 Obsoletes: php4-devel
408 The php-devel package lets you compile dynamic extensions to PHP.
409 Included here is the source for the PHP extensions. Instead of
410 recompiling the whole php binary to add support for, say, oracle,
411 install this package and use the new self-contained extensions
412 support. For more information, read the file
413 README.SELF-CONTAINED-EXTENSIONS.
415 %description devel -l pl.UTF-8
416 Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast
417 rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu
418 tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o
419 samodzielnych rozszerzeniach można znaleźć w pliku
420 README.SELF-CONTAINED-EXTENSIONS.
422 %description devel -l pt_BR.UTF-8
423 Este pacote contém arquivos usados no desenvolvimento de programas ou
426 %description devel -l ru.UTF-8
427 Пакет php-devel дает возможность компилировать динамические расширения
428 PHP. Пакет включает исходный код этих расширений. Вместо повторной
429 компиляции бинарного файла php для добавления, например, поддержки
430 oracle, установите этот пакет для компилирования отдельных расширений.
431 Подробности - в файле README.SELF-CONTAINED-EXTENSIONS.
433 %description devel -l uk.UTF-8
434 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
435 До пакету включено вихідний код для розширень. Замість повторної
436 компіляції бінарного файлу php для додання, наприклад, підтримки
437 oracle, встановіть цей пакет для компіляції окремих розширень.
438 Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS.
441 Summary: bcmath extension module for PHP
442 Summary(pl.UTF-8): Moduł bcmath dla PHP
444 URL: http://www.php.net/manual/en/book.bc.php
445 Requires: %{name}-common = %{epoch}:%{version}-%{release}
446 Provides: php(bcmath)
449 This is a dynamic shared object (DSO) for PHP that will add bc style
450 precision math functions support.
452 %description bcmath -l pl.UTF-8
453 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
454 matematycznych takich jak w programie bc.
457 Summary: Bzip2 extension module for PHP
458 Summary(pl.UTF-8): Moduł bzip2 dla PHP
460 URL: http://www.php.net/manual/en/book.bzip2.php
461 Requires: %{name}-common = %{epoch}:%{version}-%{release}
465 This is a dynamic shared object (DSO) for PHP that will add bzip2
466 compression support to PHP.
468 %description bzip2 -l pl.UTF-8
469 Moduł PHP umożliwiający używanie kompresji bzip2.
472 Summary: Calendar extension module for PHP
473 Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP
475 URL: http://www.php.net/manual/en/book.calendar.php
476 Requires: %{name}-common = %{epoch}:%{version}-%{release}
477 Provides: php(calendar)
479 %description calendar
480 This is a dynamic shared object (DSO) for PHP that will add calendar
483 %description calendar -l pl.UTF-8
484 Moduł PHP dodający wsparcie dla kalendarza.
487 Summary: ctype extension module for PHP
488 Summary(pl.UTF-8): Moduł ctype dla PHP
490 URL: http://www.php.net/manual/en/book.ctype.php
491 Requires: %{name}-common = %{epoch}:%{version}-%{release}
495 This is a dynamic shared object (DSO) for PHP that will add ctype
498 %description ctype -l pl.UTF-8
499 Moduł PHP umożliwiający korzystanie z funkcji ctype.
502 Summary: curl extension module for PHP
503 Summary(pl.UTF-8): Moduł curl dla PHP
505 URL: http://www.php.net/manual/en/book.curl.php
506 Requires: %{name}-common = %{epoch}:%{version}-%{release}
510 This is a dynamic shared object (DSO) for PHP that will add curl
513 %description curl -l pl.UTF-8
514 Moduł PHP umożliwiający korzystanie z biblioteki curl.
517 Summary: DBA extension module for PHP
518 Summary(pl.UTF-8): Moduł DBA dla PHP
520 URL: http://www.php.net/manual/en/book.dba.php
521 Requires: %{name}-common = %{epoch}:%{version}-%{release}
525 This is a dynamic shared object (DSO) for PHP that will add flat-file
526 databases (DBA) support.
528 %description dba -l pl.UTF-8
529 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
533 Summary: DOM extension module for PHP
534 Summary(pl.UTF-8): Moduł DOM dla PHP
536 URL: http://www.php.net/manual/en/book.dom.php
537 Requires: %{name}-common = %{epoch}:%{version}-%{release}
539 # it has some compatibility functions
540 Provides: php(domxml)
541 Obsoletes: php-domxml <= 3:4.3.8-1
544 This is a dynamic shared object (DSO) for PHP that will add new DOM
547 %description dom -l pl.UTF-8
548 Moduł PHP dodający nową obsługę DOM.
551 Summary: exif extension module for PHP
552 Summary(pl.UTF-8): Moduł exif dla PHP
554 URL: http://www.php.net/manual/en/book.exif.php
555 Requires: %{name}-common = %{epoch}:%{version}-%{release}
559 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
560 support in image files.
562 %description exif -l pl.UTF-8
563 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
566 Summary: FDF extension module for PHP
567 Summary(pl.UTF-8): Moduł FDF dla PHP
569 URL: http://www.php.net/manual/en/book.fdf.php
570 Requires: %{name}-common = %{epoch}:%{version}-%{release}
574 This PHP module adds support for PDF Forms through Adobe FDFTK
577 %description fdf -l pl.UTF-8
578 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
582 Summary: libmagic bindings
584 URL: http://www.php.net/manual/en/book.fileinfo.php
585 Requires: %{name}-common = %{epoch}:%{version}-%{release}
586 Provides: php(fileinfo)
587 Obsoletes: php-pecl-fileinfo
589 %description fileinfo
590 This extension allows retrieval of information regarding vast majority
591 of file. This information may include dimensions, quality, length
594 Additionally it can also be used to retrieve the MIME type for a
595 particular file and for text files proper language encoding.
598 Summary: Extension for safely dealing with input parameters
599 Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych
601 URL: http://www.php.net/manual/en/book.filter.php
602 Requires: %{name}-common = %{epoch}:%{version}-%{release}
603 Provides: php(filter)
604 Obsoletes: php-pecl-filter
607 We all know that you should always check input variables, but PHP does
608 not offer really good functionality for doing this in a safe way. The
609 Input Filter extension is meant to address this issue by implementing
610 a set of filters and mechanisms that users can use to safely access
613 %description filter -l pl.UTF-8
614 Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie
615 oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób
616 bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez
617 zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy
618 mogą bezpiecznie używać do dostępu do danych.
621 Summary: FTP extension module for PHP
622 Summary(pl.UTF-8): Moduł FTP dla PHP
624 URL: http://www.php.net/manual/en/book.ftp.php
625 Requires: %{name}-common = %{epoch}:%{version}-%{release}
629 This is a dynamic shared object (DSO) for PHP that will add FTP
632 %description ftp -l pl.UTF-8
633 Moduł PHP dodający obsługę protokołu FTP.
636 Summary: GD extension module for PHP
637 Summary(pl.UTF-8): Moduł GD dla PHP
639 URL: http://www.php.net/manual/en/book.image.php
640 Requires: %{name}-common = %{epoch}:%{version}-%{release}
641 %if %{with system_gd}
642 Requires: gd >= 2.0.28-4
644 Requires: gd(imagerotate) = 5.2.0
649 This is a dynamic shared object (DSO) for PHP that will add GD
650 support, allowing you to create and manipulate images with PHP.
652 %description gd -l pl.UTF-8
653 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
654 tworzenie i obróbkę obrazków.
657 Summary: gettext extension module for PHP
658 Summary(pl.UTF-8): Moduł gettext dla PHP
660 URL: http://www.php.net/manual/en/book.gettext.php
661 Requires: %{name}-common = %{epoch}:%{version}-%{release}
662 Provides: php(gettext)
665 This is a dynamic shared object (DSO) for PHP that will add gettext
668 %description gettext -l pl.UTF-8
669 Moduł PHP dodający obsługę lokalizacji przez gettext.
672 Summary: gmp extension module for PHP
673 Summary(pl.UTF-8): Moduł gmp dla PHP
675 URL: http://www.php.net/manual/en/book.gmp.php
676 Requires: %{name}-common = %{epoch}:%{version}-%{release}
680 This is a dynamic shared object (DSO) for PHP that will add arbitrary
681 length number support with GNU MP library.
683 %description gmp -l pl.UTF-8
684 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
685 liczbach o dowolnej długości.
688 Summary: HASH Message Digest Framework
689 Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości
691 URL: http://www.php.net/manual/en/book.gmp.php
692 Requires: %{name}-common = %{epoch}:%{version}-%{release}
694 Obsoletes: php-pecl-hash
697 Native implementations of common message digest algorithms using a
698 generic factory method.
700 %description hash -l pl.UTF-8
701 Natywne implementacje popularnych algorytmów obliczania skrótów
702 wiadomości przy użyciu wspólnego interfejsu.
705 Summary: iconv extension module for PHP
706 Summary(pl.UTF-8): Moduł iconv dla PHP
708 URL: http://www.php.net/manual/en/book.iconv.php
709 Requires: %{_libdir}/gconv
710 Requires: %{name}-common = %{epoch}:%{version}-%{release}
715 This is a dynamic shared object (DSO) for PHP that will add iconv
718 %description iconv -l pl.UTF-8
719 Moduł PHP dodający obsługę iconv.
722 Summary: IMAP extension module for PHP
723 Summary(pl.UTF-8): Moduł IMAP dla PHP
724 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP
726 URL: http://www.php.net/manual/en/book.imap.php
727 Requires: %{name}-common = %{epoch}:%{version}-%{release}
731 This is a dynamic shared object (DSO) for PHP that will add IMAP
734 %description imap -l pl.UTF-8
735 Moduł PHP dodający obsługę skrzynek IMAP.
737 %description imap -l pt_BR.UTF-8
738 Um módulo para aplicações PHP que usam IMAP.
741 Summary: InterBase/Firebird database module for PHP
742 Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP
744 URL: http://www.php.net/manual/en/book.ibase.php
745 Requires: %{name}-common = %{epoch}:%{version}-%{release}
746 Provides: php(interbase)
747 %{?with_interbase_inst:Autoreq: false}
749 %description interbase
750 This is a dynamic shared object (DSO) for PHP that will add InterBase
751 and Firebird database support.
753 %description interbase -l pl.UTF-8
754 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
757 Summary: Internationalization extension (ICU wrapper)
758 Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (wrapper ICU)
760 URL: http://www.php.net/intl
761 Requires: %{name}-common = %{epoch}:%{version}-%{release}
765 Internationalization extension (further is referred as Intl) is a wrapper
766 for ICU library, enabling PHP programmers to perform UCA-conformant
767 collation and date/time/number/currency formatting in their scripts.
769 %description intl -l pl.UTF-8
770 Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest wrapperem
771 biblioteki ICU, pozwalającym programistom PHP na wykonywanie w skryptach
772 porównań zdgodnych z UCA oraz formatowań daty/czasu/walut.
775 Summary: PHP C extension for JSON serialization
776 Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON
778 URL: http://www.php.net/manual/en/book.json.php
779 Requires: %{name}-common = %{epoch}:%{version}-%{release}
781 Obsoletes: php-pecl-json
784 php-json is an extremely fast PHP C extension for JSON (JavaScript
785 Object Notation) serialisation.
787 %description json -l pl.UTF-8
788 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
789 (JavaScript Object Notation).
792 Summary: LDAP extension module for PHP
793 Summary(pl.UTF-8): Moduł LDAP dla PHP
794 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP
796 URL: http://www.php.net/manual/en/book.ldap.php
797 Requires: %{name}-common = %{epoch}:%{version}-%{release}
801 This is a dynamic shared object (DSO) for PHP that will add LDAP
804 %description ldap -l pl.UTF-8
805 Moduł PHP dodający obsługę LDAP.
807 %description ldap -l pt_BR.UTF-8
808 Um módulo para aplicações PHP que usam LDAP.
811 Summary: mbstring extension module for PHP
812 Summary(pl.UTF-8): Moduł mbstring dla PHP
814 URL: http://www.php.net/manual/en/book.mbstring.php
815 Requires: %{name}-common = %{epoch}:%{version}-%{release}
816 Provides: php(mbstring)
818 %description mbstring
819 This is a dynamic shared object (DSO) for PHP that will add multibyte
822 %description mbstring -l pl.UTF-8
823 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
826 Summary: mcrypt extension module for PHP
827 Summary(pl.UTF-8): Moduł mcrypt dla PHP
829 URL: http://www.php.net/manual/en/book.mcrypt.php
830 Requires: %{name}-common = %{epoch}:%{version}-%{release}
831 Provides: php(mcrypt)
834 This is a dynamic shared object (DSO) for PHP that will add mcrypt
837 %description mcrypt -l pl.UTF-8
838 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
841 Summary: MS SQL extension module for PHP
842 Summary(pl.UTF-8): Moduł MS SQL dla PHP
844 URL: http://www.php.net/manual/en/book.mssql.php
845 Requires: %{name}-common = %{epoch}:%{version}-%{release}
849 This is a dynamic shared object (DSO) for PHP that will add MS SQL
850 databases support through FreeTDS library.
852 %description mssql -l pl.UTF-8
853 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
857 Summary: MySQL database module for PHP
858 Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP
859 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL
861 URL: http://www.php.net/manual/en/book.mysql.php
862 Requires: %{name}-common = %{epoch}:%{version}-%{release}
866 This is a dynamic shared object (DSO) for PHP that will add MySQL
869 %description mysql -l pl.UTF-8
870 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
872 %description mysql -l pt_BR.UTF-8
873 Um módulo para aplicações PHP que usam bancos de dados MySQL.
876 Summary: MySQLi module for PHP
877 Summary(pl.UTF-8): Moduł MySQLi dla PHP
879 URL: http://www.php.net/manual/en/book.mysqli.php
880 Requires: %{name}-common = %{epoch}:%{version}-%{release}
881 Provides: php(mysqli)
884 This is a dynamic shared object (DSO) for PHP that will add MySQLi
885 (Improved MySQL) support. The difference between it and mysql module
886 is that it provides access to functionality of MySQL 4.1 and above.
888 %description mysqli -l pl.UTF-8
889 Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL.
890 Różnicą między nim a modułem mysql jest dostęp do funkcjonalności
891 MySQL w wersji 4.1 i nowszych.
894 Summary: Oracle 8+ database module for PHP
895 Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP
897 URL: http://www.php.net/manual/en/book.oci8.php
898 Requires: %{name}-common = %{epoch}:%{version}-%{release}
903 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
904 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
906 %description oci8 -l pl.UTF-8
907 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10
908 poprzez interfejs Oracle8 Call-Interface (OCI8).
911 Summary: ODBC extension module for PHP
912 Summary(pl.UTF-8): Moduł ODBC dla PHP
913 Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC
915 URL: http://www.php.net/manual/en/book.uodbc.php
916 Requires: %{name}-common = %{epoch}:%{version}-%{release}
917 Requires: unixODBC >= 2.1.1-3
921 This is a dynamic shared object (DSO) for PHP that will add ODBC
924 %description odbc -l pl.UTF-8
925 Moduł PHP ze wsparciem dla ODBC.
927 %description odbc -l pt_BR.UTF-8
928 Um módulo para aplicações PHP que usam ODBC.
931 Summary: OpenSSL extension module for PHP
932 Summary(pl.UTF-8): Moduł OpenSSL dla PHP
934 URL: http://www.php.net/manual/en/book.openssl.php
935 Requires: %{name}-common = %{epoch}:%{version}-%{release}
936 Provides: php(openssl)
939 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
942 %description openssl -l pl.UTF-8
943 Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL.
946 Summary: Process Control extension module for PHP
947 Summary(pl.UTF-8): Moduł Process Control dla PHP
949 URL: http://www.php.net/manual/en/book.pcntl.php
950 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
954 This is a dynamic shared object (DSO) for PHP that will add process
955 spawning and control support. It supports functions like fork(),
956 waitpid(), signal() etc.
958 %description pcntl -l pl.UTF-8
959 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
960 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
963 Summary: PHP Data Objects (PDO)
964 Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO)
966 URL: http://www.php.net/manual/en/book.pdo.php
967 Requires: %{name}-common = %{epoch}:%{version}-%{release}
969 Obsoletes: php-pecl-PDO
972 This is a dynamic shared object (DSO) for PHP that will add PDO
975 %description pdo -l pl.UTF-8
976 Moduł PHP dodający obsługę PDO (PHP Data Objects).
979 Summary: PHP Data Objects (PDO) FreeTDS support
980 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS
982 URL: http://www.php.net/manual/en/ref.pdo-dblib.php
983 Requires: %{name}-common = %{epoch}:%{version}-%{release}
984 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
987 %description pdo-dblib
988 This is a dynamic shared object (DSO) for PHP that will add PDO
991 %description pdo-dblib -l pl.UTF-8
992 Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem
995 %package pdo-firebird
996 Summary: PHP Data Objects (PDO) Firebird support
997 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda
999 URL: http://www.php.net/manual/en/ref.pdo-firebird.php
1000 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1001 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1002 Provides: php(pdo-firebird)
1003 Obsoletes: php-pecl-PDO_FIREBIRD
1005 %description pdo-firebird
1006 This is a dynamic shared object (DSO) for PHP that will add PDO
1009 %description pdo-firebird -l pl.UTF-8
1010 Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem
1014 Summary: PHP Data Objects (PDO) MySQL support
1015 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a
1017 URL: http://www.php.net/manual/en/ref.pdo-mysql.php
1018 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1019 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1020 Provides: php(pdo-mysql)
1021 Obsoletes: php-pecl-PDO_MYSQL
1023 %description pdo-mysql
1024 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1027 %description pdo-mysql -l pl.UTF-8
1028 Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem
1032 Summary: PHP Data Objects (PDO) Oracle support
1033 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a
1035 URL: http://www.php.net/manual/en/ref.pdo-oci.php
1036 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1037 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1038 Provides: php(pdo-oci)
1039 Obsoletes: php-pecl-PDO_OCI
1041 %description pdo-oci
1042 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1045 %description pdo-oci -l pl.UTF-8
1046 Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem
1050 Summary: PHP Data Objects (PDO) ODBC support
1051 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC
1053 URL: http://www.php.net/manual/en/ref.pdo-odbc.php
1054 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1055 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1056 Provides: php(pdo-odbc)
1057 Obsoletes: php-pecl-PDO_ODBC
1059 %description pdo-odbc
1060 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1063 %description pdo-odbc -l pl.UTF-8
1064 Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem
1068 Summary: PHP Data Objects (PDO) PostgreSQL support
1069 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a
1071 URL: http://www.php.net/manual/en/ref.pdo-pgsql.php
1072 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1073 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1074 Provides: php(pdo-pgsql)
1075 Provides: php-pecl-PDO_PGSQL
1076 Obsoletes: php-pecl-PDO_PGSQL
1078 %description pdo-pgsql
1079 This is a dynamic shared object (DSO) for PHP that will add PDO
1082 %description pdo-pgsql -l pl.UTF-8
1083 Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem
1087 Summary: PHP Data Objects (PDO) SQLite support
1088 Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite
1090 URL: http://www.php.net/manual/en/ref.pdo-sqlite.php
1091 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1092 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1093 Provides: php(pdo-sqlite)
1094 Obsoletes: php-pecl-PDO_SQLITE
1096 %description pdo-sqlite
1097 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1100 %description pdo-sqlite -l pl.UTF-8
1101 Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem
1105 Summary: PostgreSQL database module for PHP
1106 Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP
1108 URL: http://www.php.net/manual/en/book.pgsql.php
1109 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1110 Provides: php(pgsql)
1113 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1116 %description pgsql -l pl.UTF-8
1117 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1119 %description pgsql -l pt_BR.UTF-8
1120 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1123 Summary: phar database module for PHP
1124 Summary(pl.UTF-8): Moduł phar dla PHP
1126 URL: http://www.php.net/manual/en/book.phar.php
1127 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1131 This is a dynamic shared object (DSO) for PHP that will add phar
1134 %description phar -l pl.UTF-8
1135 Moduł PHP umożliwiający dostęp do achiwów .phar.
1138 Summary: POSIX extension module for PHP
1139 Summary(pl.UTF-8): Moduł POSIX dla PHP
1141 URL: http://www.php.net/manual/en/book.posix.php
1142 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1143 Provides: php(posix)
1146 This is a dynamic shared object (DSO) for PHP that will add POSIX
1147 functions support to PHP.
1149 %description posix -l pl.UTF-8
1150 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1153 Summary: pspell extension module for PHP
1154 Summary(pl.UTF-8): Moduł pspell dla PHP
1156 URL: http://www.php.net/manual/en/book.pspell.php
1157 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1158 Provides: php(pspell)
1161 This is a dynamic shared object (DSO) for PHP that will add pspell
1162 support to PHP. It allows to check the spelling of a word and offer
1165 %description pspell -l pl.UTF-8
1166 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1167 sprawdzanie pisowni słowa i sugerowanie poprawek.
1170 Summary: readline extension module for PHP
1171 Summary(pl.UTF-8): Moduł readline dla PHP
1173 URL: http://www.php.net/manual/en/book.readline.php
1174 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1175 Provides: php(readline)
1177 %description readline
1178 This PHP module adds support for readline functions (only for cli and
1181 %description readline -l pl.UTF-8
1182 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1185 Summary: recode extension module for PHP
1186 Summary(pl.UTF-8): Moduł recode dla PHP
1188 URL: http://www.php.net/manual/en/book.recode.php
1189 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1190 Requires: recode >= 3.5d-3
1191 Provides: php(recode)
1194 This is a dynamic shared object (DSO) for PHP that will add recode
1197 %description recode -l pl.UTF-8
1198 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1202 Summary: Shared Memory Operations extension module for PHP
1203 Summary(pl.UTF-8): Moduł shmop dla PHP
1205 URL: http://www.php.net/manual/en/book.shmop.php
1206 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1207 Provides: php(shmop)
1210 This is a dynamic shared object (DSO) for PHP that will add Shared
1211 Memory Operations support.
1213 %description shmop -l pl.UTF-8
1214 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1217 Summary: Simple XML extension module for PHP
1218 Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP
1220 URL: http://www.php.net/manual/en/book.simplexml.php
1221 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1222 Provides: php(simplexml)
1224 %description simplexml
1225 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1228 %description simplexml -l pl.UTF-8
1229 Moduł PHP dodający obsługę prostego XML-a.
1232 Summary: SNMP extension module for PHP
1233 Summary(pl.UTF-8): Moduł SNMP dla PHP
1235 URL: http://www.php.net/manual/en/book.snmp.php
1236 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1237 Requires: %{name}-sockets = %{epoch}:%{version}-%{release}
1241 This is a dynamic shared object (DSO) for PHP that will add SNMP
1244 %description snmp -l pl.UTF-8
1245 Moduł PHP dodający obsługę SNMP.
1248 Summary: soap extension module for PHP
1249 Summary(pl.UTF-8): Moduł soap dla PHP
1251 URL: http://www.php.net/manual/en/book.soap.php
1252 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1256 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1259 %description soap -l pl.UTF-8
1260 Moduł PHP dodający obsługę SOAP/WSDL.
1263 Summary: sockets extension module for PHP
1264 Summary(pl.UTF-8): Moduł socket dla PHP
1266 URL: http://www.php.net/manual/en/book.sockets.php
1267 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1268 Provides: php(sockets)
1270 %description sockets
1271 This is a dynamic shared object (DSO) for PHP that will add sockets
1274 %description sockets -l pl.UTF-8
1275 Moduł PHP dodający obsługę gniazdek.
1278 Summary: SQLite extension module for PHP
1279 Summary(pl.UTF-8): Moduł SQLite dla PHP
1281 URL: http://www.php.net/manual/en/book.sqlite.php
1282 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1283 # sqlite ext extends spl and pdo
1284 Requires: %{name}-pdo = %{epoch}:%{version}-%{release}
1285 Provides: php(sqlite)
1288 SQLite is a C library that implements an embeddable SQL database
1289 engine. Programs that link with the SQLite library can have SQL
1290 database access without running a separate RDBMS process.
1292 SQLite is not a client library used to connect to a big database
1293 server. SQLite is the server. The SQLite library reads and writes
1294 directly to and from the database files on disk.
1296 %description sqlite -l pl.UTF-8
1297 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1298 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1299 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1302 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1303 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1304 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1308 Summary: SQLite3 extension module for PHP
1309 Summary(pl.UTF-8): Moduł SQLite3 dla PHP
1311 URL: http://php.net/manual/en/book.sqlite3.php
1312 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1313 Provides: php(sqlite3)
1315 %description sqlite3
1316 SQLite is a C library that implements an embeddable SQL database
1317 engine. Programs that link with the SQLite library can have SQL
1318 database access without running a separate RDBMS process.
1320 SQLite is not a client library used to connect to a big database
1321 server. SQLite is the server. The SQLite library reads and writes
1322 directly to and from the database files on disk.
1324 %description sqlite3 -l pl.UTF-8
1325 SQLite jest napisaną w C biblioteką implementującą osadzalny silnik
1326 bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć
1327 dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1330 SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami
1331 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1332 zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na
1336 Summary: Sybase-CT extension module for PHP
1337 Summary(pl.UTF-8): Moduł Sybase-CT dla PHP
1339 URL: http://www.php.net/manual/en/book.sybase.php
1340 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1341 Provides: php(sybase-ct)
1342 Obsoletes: php-sybase
1343 Conflicts: php-sybase
1345 %description sybase-ct
1346 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1347 MS SQL databases support through CT-lib.
1349 %description sybase-ct -l pl.UTF-8
1350 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1354 Summary: SysV msg extension module for PHP
1355 Summary(pl.UTF-8): Moduł SysV msg dla PHP
1357 URL: http://www.php.net/manual/en/book.sem.php
1358 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1359 Provides: php(sysvmsg)
1361 %description sysvmsg
1362 This is a dynamic shared object (DSO) for PHP that will add SysV
1363 message queues support.
1365 %description sysvmsg -l pl.UTF-8
1366 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1369 Summary: SysV sem extension module for PHP
1370 Summary(pl.UTF-8): Moduł SysV sem dla PHP
1372 URL: http://www.php.net/manual/en/book.sem.php
1373 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1374 Provides: php(sysvsem)
1376 %description sysvsem
1377 This is a dynamic shared object (DSO) for PHP that will add SysV
1380 %description sysvsem -l pl.UTF-8
1381 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1384 Summary: SysV shm extension module for PHP
1385 Summary(pl.UTF-8): Moduł SysV shm dla PHP
1387 URL: http://www.php.net/manual/en/book.shmop.php
1388 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1389 Provides: php(sysvshm)
1391 %description sysvshm
1392 This is a dynamic shared object (DSO) for PHP that will add SysV
1393 Shared Memory support.
1395 %description sysvshm -l pl.UTF-8
1396 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1399 Summary: Contains unit test files for PHP and extensions
1400 Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1402 URL: http://qa.php.net/
1403 Requires: %{name}-cli
1406 This package contains unit tests for PHP and it's extensions.
1408 %description tests -l pl.UTF-8
1409 Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń
1412 Summary: Tidy extension module for PHP
1413 Summary(pl.UTF-8): Moduł Tidy dla PHP
1415 URL: http://www.php.net/manual/en/book.tidy.php
1416 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1421 This is a dynamic shared object (DSO) for PHP that will add Tidy
1424 %description tidy -l pl.UTF-8
1425 Moduł PHP umożliwiający korzystanie z tidy.
1428 Summary: tokenizer extension module for PHP
1429 Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP
1431 URL: http://www.php.net/manual/en/book.tokenizer.php
1432 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1433 Provides: php(tokenizer)
1435 %description tokenizer
1436 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1439 %description tokenizer -l pl.UTF-8
1440 Moduł PHP dodający obsługę tokenizera do PHP.
1443 Summary: wddx extension module for PHP
1444 Summary(pl.UTF-8): Moduł wddx dla PHP
1446 URL: http://www.php.net/manual/en/book.wddx.php
1447 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1448 #Requires: %{name}-session = %{epoch}:%{version}-%{release}
1449 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1453 This is a dynamic shared object (DSO) for PHP that will add wddx
1456 %description wddx -l pl.UTF-8
1457 Moduł PHP umożliwiający korzystanie z wddx.
1460 Summary: XML extension module for PHP
1461 Summary(pl.UTF-8): Moduł XML dla PHP
1463 URL: http://www.php.net/manual/en/book.xml.php
1464 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1468 This is a dynamic shared object (DSO) for PHP that will add XML
1469 support. This extension lets you create XML parsers and then define
1470 handlers for different XML events.
1472 %description xml -l pl.UTF-8
1473 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1474 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1475 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1478 Summary: XML Reader extension module for PHP
1479 Summary(pl.UTF-8): Moduł XML Reader dla PHP
1481 URL: http://www.php.net/manual/en/book.xmlreader.php
1482 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1483 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1484 Provides: php(xmlreader)
1486 %description xmlreader
1487 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1488 support. The XMLReader extension is an XML Pull parser. The reader
1489 acts as a cursor going forward on the document stream and stopping at
1490 each node on the way.
1492 %description xmlreader -l pl.UTF-8
1493 Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik
1494 działa jako kursor przechodzący przez strumień dokumentu i
1495 zatrzymujący się na każdym węźle po drodze.
1498 Summary: xmlrpc extension module for PHP
1499 Summary(pl.UTF-8): Moduł xmlrpc dla PHP
1501 URL: http://www.php.net/manual/en/book.xmlrpc.php
1502 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1503 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1504 Provides: php(xmlrpc)
1507 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1510 %description xmlrpc -l pl.UTF-8
1511 Moduł PHP dodający obsługę XMLRPC.
1514 Summary: Fast, non-cached, forward-only means to write XML data
1515 Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML
1517 URL: http://www.php.net/manual/en/book.xmlwriter.php
1518 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1519 Provides: php(xmlwriter)
1520 Obsoletes: php-pecl-xmlwriter
1522 %description xmlwriter
1523 This extension wraps the libxml xmlWriter API. Represents a writer
1524 that provides a non-cached, forward-only means of generating streams
1525 or files containing XML data.
1527 %description xmlwriter -l pl.UTF-8
1528 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę
1529 zapisu dostarczającą nie cachowanych metod generowania strumieni lub
1530 plików zawierających dane XML.
1533 Summary: xsl extension module for PHP
1534 Summary(pl.UTF-8): Moduł xsl dla PHP
1536 URL: http://www.php.net/manual/en/book.xsl.php
1537 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1538 Requires: %{name}-dom = %{epoch}:%{version}-%{release}
1539 Requires: libxslt >= 1.0.18
1540 # actually not true, functionality is similar, but API differs
1542 Obsoletes: php-xslt <= 3:4.3.8-1
1545 This is a dynamic shared object (DSO) for PHP that will add new XSL
1546 support (using libxslt).
1548 %description xsl -l pl.UTF-8
1549 Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt).
1552 Summary: Zip management extension
1553 Summary(pl.UTF-8): Zarządzanie archiwami zip
1555 URL: http://www.php.net/manual/en/book.zip.php
1556 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1558 Obsoletes: php-pecl-zip
1561 Zip is an extension to create, modify and read zip files.
1563 %description zip -l pl.UTF-8
1564 Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz
1565 odczyt archiwów zip.
1568 Summary: Zlib extension module for PHP
1569 Summary(pl.UTF-8): Moduł zlib dla PHP
1571 URL: http://www.php.net/manual/en/book.zlib.php
1572 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1576 This is a dynamic shared object (DSO) for PHP that will add zlib
1577 compression support to PHP.
1579 %description zlib -l pl.UTF-8
1580 Moduł PHP umożliwiający używanie kompresji zlib.
1585 %if %{with type_hints}
1600 cp php.ini-production php.ini
1607 %if %{with system_gd}
1623 # conflict seems to be resolved by recode patches
1624 rm -f ext/recode/config9.m4
1626 # remove all bundled libraries not to link with them accidentally
1627 #rm -rf ext/sqlite/libsqlite
1628 rm -rf ext/sqlite3/libsqlite
1629 #rm -rf ext/bcmath/libbcmath
1630 #rm -rf ext/date/lib
1631 #rm -rf ext/dba/libcdb
1632 #rm -rf ext/dba/libflatfile
1633 #rm -rf ext/dba/libinifile
1634 #rm -rf ext/gd/libgd
1635 #rm -rf ext/mbstring/libmbfl
1636 #rm -rf ext/mbstring/oniguruma
1637 rm -rf ext/pcre/pcrelib
1638 rm -rf ext/pdo_sqlite/sqlite
1639 #rm -rf ext/soap/interop
1640 rm -rf ext/xmlrpc/libxmlrpc
1643 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1644 if [ $API != %{php_api_version} ]; then
1645 echo "Set %%define php_api_version to $API and re-run."
1649 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1650 if [ $API != %{zend_module_api} ]; then
1651 echo "Set %%define zend_module_api to $API and re-run."
1655 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1656 if [ $API != %{zend_extension_api} ]; then
1657 echo "Set %%define zend_extension_api to $API and re-run."
1661 export EXTENSION_DIR="%{php_extensiondir}"
1662 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1663 rm -f Makefile.{cgi-fcgi,cli,apxs{1,2}} # now remove Makefile copies
1666 cp -f /usr/share/automake/config.* .
1670 export PROG_SENDMAIL="/usr/lib/sendmail"
1671 export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP"
1682 for sapi in $sapis; do
1684 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1692 sapi_args='--disable-cgi'
1695 ver=$(rpm -q --qf '%{V}' apache1-devel)
1696 sapi_args="--with-apxs=%{apxs1}"
1699 ver=$(rpm -q --qf '%{V}' apache-devel)
1700 sapi_args="--with-apxs2=%{apxs2}"
1706 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1707 --cache-file=config.cache \
1709 --with-libdir=%{_lib} \
1710 --with-config-file-path=%{_sysconfdir} \
1711 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1712 --with-exec-dir=%{_bindir} \
1713 --%{!?debug:dis}%{?debug:en}able-debug \
1714 %{?with_zts:--enable-maintainer-zts} \
1715 --enable-inline-optimization \
1716 --enable-bcmath=shared \
1717 --enable-calendar=shared \
1718 --enable-ctype=shared \
1719 --enable-dba=shared \
1720 --enable-dom=shared \
1721 --enable-exif=shared \
1722 --enable-fileinfo=shared \
1723 --enable-ftp=shared \
1724 --enable-gd-native-ttf \
1725 --enable-intl=shared \
1727 --enable-magic-quotes \
1728 --enable-mbstring=shared,all \
1730 --enable-pcntl=shared \
1731 --enable-pdo=shared \
1732 --enable-json=shared \
1733 --enable-hash=shared \
1734 --enable-xmlwriter=shared \
1735 %if %{with mssql} || %{with sybase_ct}
1736 --with-pdo-dblib=shared \
1738 %if %{with interbase} && %{without interbase_inst}
1739 --with-pdo-firebird=shared,/usr \
1741 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1742 --with-pdo-mysql=shared,mysqlnd \
1743 %{?with_oci8:--with-pdo-oci=shared} \
1744 %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1745 %{?with_pgsql:--with-pdo-pgsql=shared} \
1746 %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1747 --enable-mysqlnd-threading \
1748 --enable-posix=shared \
1751 --enable-shmop=shared \
1752 --enable-simplexml=shared \
1753 --enable-sysvmsg=shared \
1754 --enable-sysvsem=shared \
1755 --enable-sysvshm=shared \
1756 --enable-safe-mode \
1757 --enable-soap=shared \
1758 --enable-sockets=shared \
1759 --enable-tokenizer=shared \
1760 --enable-ucd-snmp-hack \
1761 %{?with_wddx:--enable-wddx=shared} \
1762 --enable-xml=shared \
1763 --enable-xmlreader=shared \
1765 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1767 %{?with_fdf:--with-fdftk=shared} \
1768 --with-iconv=shared \
1769 --with-freetype-dir=shared \
1770 --with-gettext=shared \
1771 --with-gd=shared%{?with_system_gd:,/usr} \
1774 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1775 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1776 --with-jpeg-dir=/usr \
1777 %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1778 --with-mcrypt=shared \
1779 %{?with_mm:--with-mm} \
1780 %{?with_mssql:--with-mssql=shared} \
1781 --with-mysql=shared,mysqlnd \
1782 %{?with_mysqli:--with-mysqli=shared,mysqlnd} \
1783 %{?with_oci8:--with-oci8=shared} \
1784 %{?with_openssl:--with-openssl=shared} \
1786 --with-pcre-regex=/usr \
1787 %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1788 --with-pear=%{php_pear_dir} \
1789 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1790 %{!?with_phar:--disable-phar}%{?with_phar:--enable-phar=shared} \
1791 --with-png-dir=/usr \
1792 %{?with_pspell:--with-pspell=shared} \
1793 --with-readline=shared \
1794 %{?with_recode:--with-recode=shared} \
1795 --with-regex=system \
1796 %{?with_snmp:--with-snmp=shared} \
1797 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1798 %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1799 %{!?with_sqlite3:--without-sqlite3}%{?with_sqlite3:--with-sqlite3=shared,/usr} \
1800 --with-t1lib=shared \
1801 %{?with_tidy:--with-tidy=shared} \
1802 %{?with_odbc:--with-unixODBC=shared,/usr} \
1803 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1805 --with-zlib=shared \
1806 --with-zlib-dir=shared,/usr \
1807 --enable-zip=shared,/usr \
1809 cp -f Makefile Makefile.$sapi
1810 cp -f main/php_config.h php_config.h.$sapi
1811 cp -f config.log config.log.$sapi
1814 # must make this first, so modules can link against it.
1815 %{__make} libphp_common.la
1816 %{__make} build-modules
1819 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1823 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1827 cp -af php_config.h.cgi-fcgi main/php_config.h
1828 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1829 %{__make} sapi/cgi/php-cgi -f Makefile.cgi-fcgi
1830 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1
1833 cp -af php_config.h.cli main/php_config.h
1834 %{__make} sapi/cli/php -f Makefile.cli
1835 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1
1838 # Run tests, using the CLI SAPI
1839 export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2
1840 unset TZ LANG LC_ALL || :
1842 unset NO_INTERACTION REPORT_EXIT_STATUS MALLOC_CHECK_
1846 rm -rf $RPM_BUILD_ROOT
1847 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1848 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1849 $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \
1850 $RPM_BUILD_ROOT%{_mandir}/man1 \
1852 # install the apache modules' files
1853 %{__make} install-headers install-build install-modules install-programs \
1854 INSTALL_ROOT=$RPM_BUILD_ROOT
1856 # install apache1 DSO module
1858 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1861 # install apache2 DSO module
1863 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1866 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1867 # fix install paths, avoid evil rpaths
1868 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1870 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1873 libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi
1874 ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1877 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1878 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1879 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1881 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1883 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1885 install -d $RPM_BUILD_ROOT%{_sysconfdir}
1886 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1887 install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1888 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
1891 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1892 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1893 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1897 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf
1898 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1899 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1902 cp -f Zend/LICENSE{,.Zend}
1904 # Generate stub .ini files for each subpackage
1905 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1906 generate_inifiles() {
1907 for so in modules/*.so; do
1908 mod=$(basename $so .so)
1909 conf="%{_sysconfdir}/conf.d/$mod.ini"
1910 # xml needs to be loaded before wddx
1911 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
1913 cat > $RPM_BUILD_ROOT$conf <<-EOF
1914 ; Enable $mod extension module
1921 # per SAPI ini directories
1922 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d
1925 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{pcntl,readline}.ini,cli.d}
1927 # use system automake and {lib,sh}tool
1928 %if "%{pld_release}" != "ac"
1929 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1930 for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
1931 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
1933 ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1935 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1936 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1938 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1940 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1941 # isn't installed by install-headers make target, we do it manually here.
1942 # this header file is required by e.g. filter PECL extension
1943 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1944 # for php-pecl-mailparse
1945 install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
1946 cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring
1949 install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php
1950 install run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php
1951 cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php
1954 rm -rf $RPM_BUILD_ROOT
1956 %post -n apache1-mod_php
1957 if [ "$1" = "1" ]; then
1958 %service -q apache restart
1961 %postun -n apache1-mod_php
1962 if [ "$1" = "0" ]; then
1963 %service -q apache restart
1966 %post -n apache-mod_php
1967 if [ "$1" = "1" ]; then
1968 %service -q httpd restart
1971 %postun -n apache-mod_php
1972 if [ "$1" = "0" ]; then
1973 %service -q httpd restart
1976 %post common -p /sbin/ldconfig
1977 %postun common -p /sbin/ldconfig
1980 # minimizing apache restarts logics. we restart webserver:
1982 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1983 # 2. first install of extension (post: $1 = 1)
1984 # 2. uninstall of extension (postun: $1 == 0)
1986 # the strict internal deps between extensions (and apache modules) and
1987 # common package are very important for all this to work.
1989 # restart webserver at the end of transaction
1990 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1991 [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart
1994 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1996 /^AddType application\/x-httpd-php \.php/s,^,#,
1997 /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1998 ' /etc/apache/apache.conf
1999 %service -q apache restart
2003 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
2004 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2005 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2006 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2007 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2011 # common macros called at extension post/postun scriptlet
2012 %define extension_scripts() \
2014 if [ "$1" = "1" ]; then \
2015 %php_webserver_restart \
2019 if [ "$1" = "0" ]; then \
2020 %php_webserver_restart \
2024 # extension scripts defines
2025 %extension_scripts bcmath
2026 %extension_scripts bzip2
2027 %extension_scripts calendar
2028 %extension_scripts ctype
2029 %extension_scripts curl
2030 %extension_scripts dba
2031 %extension_scripts dom
2032 %extension_scripts exif
2033 %extension_scripts fdf
2034 %extension_scripts fileinfo
2035 %extension_scripts filter
2036 %extension_scripts ftp
2037 %extension_scripts gd
2038 %extension_scripts gettext
2039 %extension_scripts gmp
2040 %extension_scripts hash
2041 %extension_scripts iconv
2042 %extension_scripts imap
2043 %extension_scripts interbase
2044 %extension_scripts intl
2045 %extension_scripts json
2046 %extension_scripts ldap
2047 %extension_scripts mbstring
2048 %extension_scripts mcrypt
2049 %extension_scripts mssql
2050 %extension_scripts mysql
2051 %extension_scripts mysqli
2052 %extension_scripts oci8
2053 %extension_scripts odbc
2054 %extension_scripts openssl
2055 %extension_scripts pdo-dblib
2056 %extension_scripts pdo-firebird
2057 %extension_scripts pdo-mysql
2058 %extension_scripts pdo-odbc
2059 %extension_scripts pdo-pgsql
2060 %extension_scripts pdo-sqlite
2061 %extension_scripts pgsql
2062 %extension_scripts phar
2063 %extension_scripts posix
2064 %extension_scripts pspell
2065 %extension_scripts recode
2066 %extension_scripts shmop
2067 %extension_scripts snmp
2068 %extension_scripts soap
2069 %extension_scripts sockets
2070 %extension_scripts sqlite
2071 %extension_scripts sqlite3
2072 %extension_scripts sybase-ct
2073 %extension_scripts sysvmsg
2074 %extension_scripts sysvsem
2075 %extension_scripts sysvshm
2076 %extension_scripts tidy
2077 %extension_scripts tokenizer
2078 %extension_scripts wddx
2079 %extension_scripts xml
2080 %extension_scripts xmlreader
2081 %extension_scripts xmlrpc
2082 %extension_scripts xmlwriter
2083 %extension_scripts xsl
2084 %extension_scripts zip
2085 %extension_scripts zlib
2087 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2088 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2090 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2091 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2093 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2094 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2096 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2097 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2099 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2100 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2102 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2103 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2105 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2106 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2108 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2109 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2111 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2112 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2114 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2115 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2117 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2118 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2120 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2121 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2123 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2124 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2126 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2127 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2129 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2130 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2132 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2133 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2135 %triggerun intl -- %{name}-intl < 4:5.0.4-9.1
2136 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*intl\.so/d' %{_sysconfdir}/php.ini
2138 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2139 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2141 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2142 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2144 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2145 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2147 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2148 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2150 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2151 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2153 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2154 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2156 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2157 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2159 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2160 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2162 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2163 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2165 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2166 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2167 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2169 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2170 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2173 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2174 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2176 %triggerun phar -- %{name}-phar < 4:5.0.4-9.1
2177 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*phar\.so/d' %{_sysconfdir}/php.ini
2179 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2180 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2182 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2183 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2185 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2186 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2187 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2189 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2190 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2193 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2194 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2196 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2197 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2199 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2200 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2202 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2203 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2205 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2206 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2208 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2209 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2211 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2212 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2214 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2215 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2217 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2218 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2220 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2221 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2223 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2224 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2226 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2227 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2229 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2230 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2232 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2233 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2235 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2236 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2238 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2239 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2242 %files -n apache1-mod_php
2243 %defattr(644,root,root,755)
2244 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2245 %dir %{_sysconfdir}/apache.d
2246 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2247 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2251 %files -n apache-mod_php
2252 %defattr(644,root,root,755)
2253 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf
2254 %dir %{_sysconfdir}/apache2handler.d
2255 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2256 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2260 %defattr(644,root,root,755)
2261 %dir %{_sysconfdir}/cgi-fcgi.d
2262 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2263 %attr(755,root,root) %{_bindir}/php.cgi
2264 %attr(755,root,root) %{_bindir}/php.fcgi
2267 %defattr(644,root,root,755)
2268 %dir %{_sysconfdir}/cli.d
2269 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2270 %attr(755,root,root) %{_bindir}/php.cli
2271 %{_mandir}/man1/php.1*
2272 %{_mandir}/man1/php.cli.1*
2275 %defattr(644,root,root,755)
2276 %attr(755,root,root) %{_bindir}/php
2279 %defattr(644,root,root,755)
2281 %doc CREDITS Zend/ZEND_CHANGES
2282 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2283 %doc README.PHP4-TO-PHP5-THIN-CHANGES
2284 %doc README.namespaces
2287 %dir %{_sysconfdir}/conf.d
2288 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2289 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2290 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2291 %dir %{php_extensiondir}
2293 %doc ext/session/mod_files.sh
2296 %defattr(644,root,root,755)
2297 %doc README.UNIX-BUILD-SYSTEM
2298 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2299 %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS
2300 %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2
2301 %attr(755,root,root) %{_bindir}/phpize
2302 %attr(755,root,root) %{_bindir}/php-config
2303 %attr(755,root,root) %{_libdir}/libphp_common.so
2304 %{_libdir}/libphp_common.la
2306 %{_libdir}/php/build
2307 %{_mandir}/man1/php-config.1*
2308 %{_mandir}/man1/phpize.1*
2311 %defattr(644,root,root,755)
2312 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2313 %attr(755,root,root) %{php_extensiondir}/bcmath.so
2316 %defattr(644,root,root,755)
2317 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2318 %attr(755,root,root) %{php_extensiondir}/bz2.so
2321 %defattr(644,root,root,755)
2322 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2323 %attr(755,root,root) %{php_extensiondir}/calendar.so
2326 %defattr(644,root,root,755)
2327 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2328 %attr(755,root,root) %{php_extensiondir}/ctype.so
2332 %defattr(644,root,root,755)
2333 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2334 %attr(755,root,root) %{php_extensiondir}/curl.so
2338 %defattr(644,root,root,755)
2339 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2340 %attr(755,root,root) %{php_extensiondir}/dba.so
2343 %defattr(644,root,root,755)
2344 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2345 %attr(755,root,root) %{php_extensiondir}/dom.so
2349 %defattr(644,root,root,755)
2350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2351 %attr(755,root,root) %{php_extensiondir}/fdf.so
2355 %defattr(644,root,root,755)
2356 %doc README.input_filter
2357 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini
2358 %attr(755,root,root) %{php_extensiondir}/fileinfo.so
2362 %defattr(644,root,root,755)
2363 %doc README.input_filter
2364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2365 %attr(755,root,root) %{php_extensiondir}/filter.so
2369 %defattr(644,root,root,755)
2370 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2371 %attr(755,root,root) %{php_extensiondir}/exif.so
2374 %defattr(644,root,root,755)
2375 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2376 %attr(755,root,root) %{php_extensiondir}/ftp.so
2379 %defattr(644,root,root,755)
2380 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2381 %attr(755,root,root) %{php_extensiondir}/gd.so
2384 %defattr(644,root,root,755)
2385 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2386 %attr(755,root,root) %{php_extensiondir}/gettext.so
2389 %defattr(644,root,root,755)
2390 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2391 %attr(755,root,root) %{php_extensiondir}/gmp.so
2394 %defattr(644,root,root,755)
2395 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2396 %attr(755,root,root) %{php_extensiondir}/hash.so
2399 %defattr(644,root,root,755)
2400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2401 %attr(755,root,root) %{php_extensiondir}/iconv.so
2405 %defattr(644,root,root,755)
2406 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2407 %attr(755,root,root) %{php_extensiondir}/imap.so
2410 %if %{with interbase}
2412 %defattr(644,root,root,755)
2413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2414 %attr(755,root,root) %{php_extensiondir}/interbase.so
2418 %defattr(644,root,root,755)
2419 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini
2420 %attr(755,root,root) %{php_extensiondir}/intl.so
2423 %defattr(644,root,root,755)
2424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2425 %attr(755,root,root) %{php_extensiondir}/json.so
2429 %defattr(644,root,root,755)
2430 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2431 %attr(755,root,root) %{php_extensiondir}/ldap.so
2435 %defattr(644,root,root,755)
2436 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2437 %attr(755,root,root) %{php_extensiondir}/mbstring.so
2440 %defattr(644,root,root,755)
2441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2442 %attr(755,root,root) %{php_extensiondir}/mcrypt.so
2446 %defattr(644,root,root,755)
2447 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2448 %attr(755,root,root) %{php_extensiondir}/mssql.so
2452 %defattr(644,root,root,755)
2453 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2454 %attr(755,root,root) %{php_extensiondir}/mysql.so
2458 %defattr(644,root,root,755)
2459 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2460 %attr(755,root,root) %{php_extensiondir}/mysqli.so
2465 %defattr(644,root,root,755)
2466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2467 %attr(755,root,root) %{php_extensiondir}/oci8.so
2472 %defattr(644,root,root,755)
2473 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2474 %attr(755,root,root) %{php_extensiondir}/odbc.so
2479 %defattr(644,root,root,755)
2480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2481 %attr(755,root,root) %{php_extensiondir}/openssl.so
2485 %defattr(644,root,root,755)
2486 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2487 %attr(755,root,root) %{php_extensiondir}/pcntl.so
2490 %defattr(644,root,root,755)
2491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2492 %attr(755,root,root) %{php_extensiondir}/pdo.so
2494 %if %{with mssql} || %{with sybase_ct}
2496 %defattr(644,root,root,755)
2497 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2498 %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so
2501 %if %{with interbase} && !%{with interbase_inst}
2503 %defattr(644,root,root,755)
2504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2505 %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so
2509 %defattr(644,root,root,755)
2510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2511 %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so
2515 %defattr(644,root,root,755)
2516 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2517 %attr(755,root,root) %{php_extensiondir}/pdo_oci.so
2522 %defattr(644,root,root,755)
2523 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2524 %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so
2529 %defattr(644,root,root,755)
2530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2531 %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so
2536 %defattr(644,root,root,755)
2537 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2538 %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so
2543 %defattr(644,root,root,755)
2544 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2545 %attr(755,root,root) %{php_extensiondir}/pgsql.so
2550 %defattr(644,root,root,755)
2551 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini
2552 %attr(755,root,root) %{php_extensiondir}/phar.so
2556 %defattr(644,root,root,755)
2557 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2558 %attr(755,root,root) %{php_extensiondir}/posix.so
2562 %defattr(644,root,root,755)
2563 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2564 %attr(755,root,root) %{php_extensiondir}/pspell.so
2568 %defattr(644,root,root,755)
2569 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2570 %attr(755,root,root) %{php_extensiondir}/readline.so
2574 %defattr(644,root,root,755)
2575 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2576 %attr(755,root,root) %{php_extensiondir}/recode.so
2580 %defattr(644,root,root,755)
2581 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2582 %attr(755,root,root) %{php_extensiondir}/simplexml.so
2585 %defattr(644,root,root,755)
2586 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2587 %attr(755,root,root) %{php_extensiondir}/shmop.so
2591 %defattr(644,root,root,755)
2592 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2593 %attr(755,root,root) %{php_extensiondir}/snmp.so
2597 %defattr(644,root,root,755)
2598 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2599 %attr(755,root,root) %{php_extensiondir}/soap.so
2602 %defattr(644,root,root,755)
2603 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2604 %attr(755,root,root) %{php_extensiondir}/sockets.so
2608 %defattr(644,root,root,755)
2609 %doc ext/sqlite/{README,TODO,CREDITS}
2610 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2611 %attr(755,root,root) %{php_extensiondir}/sqlite.so
2616 %defattr(644,root,root,755)
2617 %doc ext/sqlite3/CREDITS
2618 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini
2619 %attr(755,root,root) %{php_extensiondir}/sqlite3.so
2622 %if %{with sybase_ct}
2624 %defattr(644,root,root,755)
2625 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2626 %attr(755,root,root) %{php_extensiondir}/sybase_ct.so
2630 %defattr(644,root,root,755)
2631 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2632 %attr(755,root,root) %{php_extensiondir}/sysvmsg.so
2635 %defattr(644,root,root,755)
2636 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2637 %attr(755,root,root) %{php_extensiondir}/sysvsem.so
2640 %defattr(644,root,root,755)
2641 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2642 %attr(755,root,root) %{php_extensiondir}/sysvshm.so
2645 %defattr(644,root,root,755)
2646 %dir %{php_data_dir}/tests/php
2647 %{php_data_dir}/tests/php/basic
2648 %{php_data_dir}/tests/php/classes
2649 %{php_data_dir}/tests/php/func
2650 %{php_data_dir}/tests/php/lang
2651 %{php_data_dir}/tests/php/output
2652 %{php_data_dir}/tests/php/run-test
2653 %{php_data_dir}/tests/php/security
2654 %{php_data_dir}/tests/php/strings
2655 %{php_data_dir}/tests/php/quicktester.inc
2656 %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php
2660 %defattr(644,root,root,755)
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2662 %attr(755,root,root) %{php_extensiondir}/tidy.so
2666 %defattr(644,root,root,755)
2667 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2668 %attr(755,root,root) %{php_extensiondir}/tokenizer.so
2672 %defattr(644,root,root,755)
2673 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2674 %attr(755,root,root) %{php_extensiondir}/wddx.so
2678 %defattr(644,root,root,755)
2679 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2680 %attr(755,root,root) %{php_extensiondir}/xml.so
2683 %defattr(644,root,root,755)
2684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2685 %attr(755,root,root) %{php_extensiondir}/xmlreader.so
2689 %defattr(644,root,root,755)
2690 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2691 %attr(755,root,root) %{php_extensiondir}/xmlrpc.so
2695 %defattr(644,root,root,755)
2696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2697 %attr(755,root,root) %{php_extensiondir}/xmlwriter.so
2700 %defattr(644,root,root,755)
2701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2702 %attr(755,root,root) %{php_extensiondir}/xsl.so
2705 %defattr(644,root,root,755)
2706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2707 %attr(755,root,root) %{php_extensiondir}/zip.so
2710 %defattr(644,root,root,755)
2711 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2712 %attr(755,root,root) %{php_extensiondir}/zlib.so