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