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