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