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