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