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