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