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