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