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