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