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