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