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