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