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