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