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