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