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