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