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