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