]>
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 |
c14467fd | 217 | %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.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} |
2e5b56fc | 851 | Provides: php(imap) |
e0e8f1c2 AF |
852 | |
853 | %description imap | |
e584ad6b JB |
854 | This is a dynamic shared object (DSO) for PHP that will add IMAP |
855 | support. | |
e0e8f1c2 | 856 | |
ec7f2789 JR |
857 | %description imap -l pl.UTF-8 |
858 | Moduł PHP dodający obsługę skrzynek IMAP. | |
e0e8f1c2 | 859 | |
ec7f2789 JR |
860 | %description imap -l pt_BR.UTF-8 |
861 | Um módulo para aplicações PHP que usam IMAP. | |
795da340 | 862 | |
c2388c7d | 863 | %package interbase |
e2263ce4 | 864 | Summary: InterBase/Firebird database module for PHP |
86784db6 | 865 | Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP |
c2388c7d | 866 | Group: Libraries |
c14467fd | 867 | URL: http://www.php.net/manual/en/book.ibase.php |
dc38d397 | 868 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 869 | Provides: php(interbase) |
6f91d99f | 870 | %{?with_interbase_inst:Autoreq: false} |
c2388c7d | 871 | |
872 | %description interbase | |
e584ad6b JB |
873 | This is a dynamic shared object (DSO) for PHP that will add InterBase |
874 | and Firebird database support. | |
c2388c7d | 875 | |
ec7f2789 JR |
876 | %description interbase -l pl.UTF-8 |
877 | Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird. | |
c2388c7d | 878 | |
c14467fd AM |
879 | %package intl |
880 | Summary: Internationalization extension (ICU wrapper) | |
881 | Summary(pl.UTF-8): Rozszerzenie do internacjonalizacji (wrapper ICU) | |
882 | Group: Libraries | |
883 | URL: http://www.php.net/intl | |
884 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
885 | Provides: php(intl) | |
886 | ||
887 | %description intl | |
2a4d4ef1 ER |
888 | Internationalization extension (further is referred as Intl) is a |
889 | wrapper for ICU library, enabling PHP programmers to perform | |
890 | UCA-conformant collation and date/time/number/currency formatting in | |
891 | their scripts. | |
c14467fd AM |
892 | |
893 | %description intl -l pl.UTF-8 | |
2a4d4ef1 ER |
894 | Rozszerzenie do internacjonalizacji (dalej nazywane Intl) jest |
895 | wrapperem biblioteki ICU, pozwalającym programistom PHP na wykonywanie | |
896 | w skryptach porównań zdgodnych z UCA oraz formatowań daty/czasu/walut. | |
c14467fd | 897 | |
86ceb323 ER |
898 | %package json |
899 | Summary: PHP C extension for JSON serialization | |
86784db6 | 900 | Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON |
86ceb323 | 901 | Group: Libraries |
c14467fd | 902 | URL: http://www.php.net/manual/en/book.json.php |
86ceb323 ER |
903 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
904 | Provides: php(json) | |
60ebfac6 | 905 | Obsoletes: php-pecl-json |
86ceb323 ER |
906 | |
907 | %description json | |
908 | php-json is an extremely fast PHP C extension for JSON (JavaScript | |
909 | Object Notation) serialisation. | |
910 | ||
ec7f2789 | 911 | %description json -l pl.UTF-8 |
86ceb323 ER |
912 | php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON |
913 | (JavaScript Object Notation). | |
914 | ||
38ecdf75 | 915 | %package ldap |
caff8ce9 | 916 | Summary: LDAP extension module for PHP |
86784db6 ER |
917 | Summary(pl.UTF-8): Moduł LDAP dla PHP |
918 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP | |
38ecdf75 | 919 | Group: Libraries |
c14467fd | 920 | URL: http://www.php.net/manual/en/book.ldap.php |
dc38d397 | 921 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 922 | Provides: php(ldap) |
38ecdf75 AF |
923 | |
924 | %description ldap | |
e584ad6b JB |
925 | This is a dynamic shared object (DSO) for PHP that will add LDAP |
926 | support. | |
38ecdf75 | 927 | |
ec7f2789 JR |
928 | %description ldap -l pl.UTF-8 |
929 | Moduł PHP dodający obsługę LDAP. | |
38ecdf75 | 930 | |
ec7f2789 JR |
931 | %description ldap -l pt_BR.UTF-8 |
932 | Um módulo para aplicações PHP que usam LDAP. | |
8c56345a | 933 | |
c2388c7d | 934 | %package mbstring |
935 | Summary: mbstring extension module for PHP | |
86784db6 | 936 | Summary(pl.UTF-8): Moduł mbstring dla PHP |
c2388c7d | 937 | Group: Libraries |
c14467fd | 938 | URL: http://www.php.net/manual/en/book.mbstring.php |
dc38d397 | 939 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 940 | Provides: php(mbstring) |
795da340 | 941 | |
c2388c7d | 942 | %description mbstring |
6e4962cf JB |
943 | This is a dynamic shared object (DSO) for PHP that will add multibyte |
944 | string support. | |
c2388c7d | 945 | |
ec7f2789 JR |
946 | %description mbstring -l pl.UTF-8 |
947 | Moduł PHP dodający obsługę ciągów znaków wielobajtowych. | |
c2388c7d | 948 | |
38ecdf75 | 949 | %package mcrypt |
caff8ce9 | 950 | Summary: mcrypt extension module for PHP |
86784db6 | 951 | Summary(pl.UTF-8): Moduł mcrypt dla PHP |
38ecdf75 | 952 | Group: Libraries |
c14467fd | 953 | URL: http://www.php.net/manual/en/book.mcrypt.php |
dc38d397 | 954 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 955 | Provides: php(mcrypt) |
38ecdf75 AF |
956 | |
957 | %description mcrypt | |
e584ad6b JB |
958 | This is a dynamic shared object (DSO) for PHP that will add mcrypt |
959 | support. | |
38ecdf75 | 960 | |
ec7f2789 JR |
961 | %description mcrypt -l pl.UTF-8 |
962 | Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt. | |
38ecdf75 | 963 | |
7899bacd | 964 | %package mssql |
965 | Summary: MS SQL extension module for PHP | |
86784db6 | 966 | Summary(pl.UTF-8): Moduł MS SQL dla PHP |
7899bacd | 967 | Group: Libraries |
c14467fd | 968 | URL: http://www.php.net/manual/en/book.mssql.php |
dc38d397 | 969 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 970 | Provides: php(mssql) |
7899bacd | 971 | |
972 | %description mssql | |
973 | This is a dynamic shared object (DSO) for PHP that will add MS SQL | |
974 | databases support through FreeTDS library. | |
975 | ||
ec7f2789 JR |
976 | %description mssql -l pl.UTF-8 |
977 | Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę | |
ad48e054 | 978 | FreeTDS. |
7899bacd | 979 | |
b26af6f7 ER |
980 | %package mysqlnd |
981 | Summary: MySQL Native Client Driver for PHP | |
982 | Group: Libraries | |
983 | URL: http://www.php.net/manual/en/book.mysqlnd.php | |
984 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
985 | Provides: php(mysqlnd) | |
986 | ||
987 | %description mysqlnd | |
988 | MySQL Native Driver is a replacement for the MySQL Client Library | |
989 | (libmysql). | |
990 | ||
991 | Because MySQL Native Driver is written as a PHP extension, it is | |
992 | tightly coupled to the workings of PHP. This leads to gains in | |
993 | efficiency, especially when it comes to memory usage, as the driver | |
994 | uses the PHP memory management system. It also supports the PHP memory | |
995 | limit. Using MySQL Native Driver leads to comparable or better | |
996 | performance than using MySQL Client Library, it always ensures the | |
997 | most efficient use of memory. One example of the memory efficiency is | |
998 | the fact that when using the MySQL Client Library, each row is stored | |
999 | in memory twice, whereas with the MySQL Native Driver each row is only | |
1000 | stored once in memory. | |
1001 | ||
c2388c7d | 1002 | %package mysql |
1003 | Summary: MySQL database module for PHP | |
86784db6 ER |
1004 | Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP |
1005 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL | |
c2388c7d | 1006 | Group: Libraries |
c14467fd | 1007 | URL: http://www.php.net/manual/en/book.mysql.php |
dc38d397 | 1008 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
b26af6f7 | 1009 | %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}} |
2e5b56fc | 1010 | Provides: php(mysql) |
dc79ac25 | 1011 | |
c2388c7d | 1012 | %description mysql |
e584ad6b JB |
1013 | This is a dynamic shared object (DSO) for PHP that will add MySQL |
1014 | database support. | |
6290790d | 1015 | |
ec7f2789 JR |
1016 | %description mysql -l pl.UTF-8 |
1017 | Moduł PHP umożliwiający dostęp do bazy danych MySQL. | |
6290790d | 1018 | |
ec7f2789 JR |
1019 | %description mysql -l pt_BR.UTF-8 |
1020 | Um módulo para aplicações PHP que usam bancos de dados MySQL. | |
8487ad4f | 1021 | |
8b37a21e ER |
1022 | %package mysqli |
1023 | Summary: MySQLi module for PHP | |
86784db6 | 1024 | Summary(pl.UTF-8): Moduł MySQLi dla PHP |
8b37a21e | 1025 | Group: Libraries |
c14467fd | 1026 | URL: http://www.php.net/manual/en/book.mysqli.php |
8b37a21e | 1027 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
b26af6f7 | 1028 | %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}} |
40bcf922 | 1029 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} |
2e5b56fc | 1030 | Provides: php(mysqli) |
8b37a21e ER |
1031 | |
1032 | %description mysqli | |
1033 | This is a dynamic shared object (DSO) for PHP that will add MySQLi | |
1c06a766 MC |
1034 | (Improved MySQL) support. The difference between it and mysql module |
1035 | is that it provides access to functionality of MySQL 4.1 and above. | |
1036 | ||
ec7f2789 JR |
1037 | %description mysqli -l pl.UTF-8 |
1038 | Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL. | |
1039 | Różnicą między nim a modułem mysql jest dostęp do funkcjonalności | |
7375f0ff | 1040 | MySQL w wersji 4.1 i nowszych. |
8b37a21e | 1041 | |
c2388c7d | 1042 | %package oci8 |
d902abac | 1043 | Summary: Oracle 8+ database module for PHP |
86784db6 | 1044 | Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP |
c2388c7d | 1045 | Group: Libraries |
c14467fd | 1046 | URL: http://www.php.net/manual/en/book.oci8.php |
dc38d397 | 1047 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1048 | Provides: php(oci8) |
c14467fd | 1049 | AutoReq: false |
795da340 | 1050 | |
c2388c7d | 1051 | %description oci8 |
d902abac JB |
1052 | This is a dynamic shared object (DSO) for PHP that will add Oracle 7, |
1053 | 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8). | |
c2388c7d | 1054 | |
ec7f2789 JR |
1055 | %description oci8 -l pl.UTF-8 |
1056 | Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10 | |
c2388c7d | 1057 | poprzez interfejs Oracle8 Call-Interface (OCI8). |
1058 | ||
1059 | %package odbc | |
1060 | Summary: ODBC extension module for PHP | |
86784db6 ER |
1061 | Summary(pl.UTF-8): Moduł ODBC dla PHP |
1062 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC | |
6997cdef | 1063 | Group: Libraries |
c14467fd | 1064 | URL: http://www.php.net/manual/en/book.uodbc.php |
dc38d397 | 1065 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
c2388c7d | 1066 | Requires: unixODBC >= 2.1.1-3 |
2e5b56fc | 1067 | Provides: php(odbc) |
6997cdef | 1068 | |
c2388c7d | 1069 | %description odbc |
e584ad6b JB |
1070 | This is a dynamic shared object (DSO) for PHP that will add ODBC |
1071 | support. | |
6997cdef | 1072 | |
ec7f2789 JR |
1073 | %description odbc -l pl.UTF-8 |
1074 | Moduł PHP ze wsparciem dla ODBC. | |
5c8d1b4b | 1075 | |
ec7f2789 JR |
1076 | %description odbc -l pt_BR.UTF-8 |
1077 | Um módulo para aplicações PHP que usam ODBC. | |
c2388c7d | 1078 | |
1079 | %package openssl | |
1080 | Summary: OpenSSL extension module for PHP | |
86784db6 | 1081 | Summary(pl.UTF-8): Moduł OpenSSL dla PHP |
c4161e98 | 1082 | Group: Libraries |
c14467fd | 1083 | URL: http://www.php.net/manual/en/book.openssl.php |
dc38d397 | 1084 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1085 | Provides: php(openssl) |
90257fd6 | 1086 | |
c2388c7d | 1087 | %description openssl |
e584ad6b JB |
1088 | This is a dynamic shared object (DSO) for PHP that will add OpenSSL |
1089 | support. | |
c4161e98 | 1090 | |
ec7f2789 JR |
1091 | %description openssl -l pl.UTF-8 |
1092 | Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL. | |
c2388c7d | 1093 | |
c2388c7d | 1094 | %package pcntl |
1095 | Summary: Process Control extension module for PHP | |
86784db6 | 1096 | Summary(pl.UTF-8): Moduł Process Control dla PHP |
c2388c7d | 1097 | Group: Libraries |
c14467fd | 1098 | URL: http://www.php.net/manual/en/book.pcntl.php |
86ee4c6a | 1099 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1100 | Provides: php(pcntl) |
c2388c7d | 1101 | |
1102 | %description pcntl | |
e584ad6b JB |
1103 | This is a dynamic shared object (DSO) for PHP that will add process |
1104 | spawning and control support. It supports functions like fork(), | |
1105 | waitpid(), signal() etc. | |
c2388c7d | 1106 | |
ec7f2789 JR |
1107 | %description pcntl -l pl.UTF-8 |
1108 | Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi. | |
1109 | Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne. | |
c2388c7d | 1110 | |
722f34a7 ER |
1111 | %package pcre |
1112 | Summary: PCRE extension module for PHP | |
1113 | Summary(pl.UTF-8): Moduł PCRE dla PHP | |
1114 | Group: Libraries | |
1115 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1116 | Provides: php(pcre) | |
1117 | ||
1118 | %description pcre | |
1119 | This is a dynamic shared object (DSO) for PHP that will add Perl | |
1120 | Compatible Regular Expression support. | |
1121 | ||
1122 | %description pcre -l pl.UTF-8 | |
1123 | Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych | |
1124 | (Perl Compatible Regular Expressions) | |
1125 | ||
768d3bda AM |
1126 | %package pdo |
1127 | Summary: PHP Data Objects (PDO) | |
86784db6 | 1128 | Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO) |
768d3bda | 1129 | Group: Libraries |
c14467fd | 1130 | URL: http://www.php.net/manual/en/book.pdo.php |
768d3bda | 1131 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
722f34a7 | 1132 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} |
2e5b56fc | 1133 | Provides: php(pdo) |
2ed78af4 | 1134 | Obsoletes: php-pecl-PDO |
768d3bda AM |
1135 | |
1136 | %description pdo | |
1137 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1138 | support. | |
1139 | ||
ec7f2789 JR |
1140 | %description pdo -l pl.UTF-8 |
1141 | Moduł PHP dodający obsługę PDO (PHP Data Objects). | |
7375f0ff | 1142 | |
768d3bda AM |
1143 | %package pdo-dblib |
1144 | Summary: PHP Data Objects (PDO) FreeTDS support | |
86784db6 | 1145 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS |
768d3bda | 1146 | Group: Libraries |
c14467fd | 1147 | URL: http://www.php.net/manual/en/ref.pdo-dblib.php |
768d3bda AM |
1148 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1149 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1150 | Provides: php(dblib) |
768d3bda AM |
1151 | |
1152 | %description pdo-dblib | |
1153 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1154 | FreeTDS support. | |
1155 | ||
ec7f2789 JR |
1156 | %description pdo-dblib -l pl.UTF-8 |
1157 | Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem | |
768d3bda AM |
1158 | interfejsu PDO. |
1159 | ||
f4359077 ER |
1160 | %package pdo-firebird |
1161 | Summary: PHP Data Objects (PDO) Firebird support | |
86784db6 | 1162 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda |
f4359077 | 1163 | Group: Libraries |
c14467fd | 1164 | URL: http://www.php.net/manual/en/ref.pdo-firebird.php |
f4359077 ER |
1165 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1166 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1167 | Provides: php(pdo-firebird) |
2ed78af4 | 1168 | Obsoletes: php-pecl-PDO_FIREBIRD |
f4359077 ER |
1169 | |
1170 | %description pdo-firebird | |
1171 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1172 | Firebird support. | |
1173 | ||
ec7f2789 JR |
1174 | %description pdo-firebird -l pl.UTF-8 |
1175 | Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem | |
cfff29a1 JB |
1176 | interfejsu PDO. |
1177 | ||
768d3bda AM |
1178 | %package pdo-mysql |
1179 | Summary: PHP Data Objects (PDO) MySQL support | |
86784db6 | 1180 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a |
768d3bda | 1181 | Group: Libraries |
c14467fd | 1182 | URL: http://www.php.net/manual/en/ref.pdo-mysql.php |
768d3bda | 1183 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
b26af6f7 | 1184 | %{?with_mysqlnd:Requires: %{name}-mysqlnd = %{epoch}:%{version}-%{release}} |
40bcf922 | 1185 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} |
2e5b56fc | 1186 | Provides: php(pdo-mysql) |
2ed78af4 | 1187 | Obsoletes: php-pecl-PDO_MYSQL |
768d3bda AM |
1188 | |
1189 | %description pdo-mysql | |
1190 | This is a dynamic shared object (DSO) for PHP that will add PDO MySQL | |
1191 | support. | |
1192 | ||
ec7f2789 JR |
1193 | %description pdo-mysql -l pl.UTF-8 |
1194 | Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem | |
768d3bda AM |
1195 | interfejsu PDO. |
1196 | ||
d902abac JB |
1197 | %package pdo-oci |
1198 | Summary: PHP Data Objects (PDO) Oracle support | |
86784db6 | 1199 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a |
d902abac | 1200 | Group: Libraries |
c14467fd | 1201 | URL: http://www.php.net/manual/en/ref.pdo-oci.php |
d902abac JB |
1202 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1203 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1204 | Provides: php(pdo-oci) |
2ed78af4 | 1205 | Obsoletes: php-pecl-PDO_OCI |
d902abac JB |
1206 | |
1207 | %description pdo-oci | |
1208 | This is a dynamic shared object (DSO) for PHP that will add PDO Oracle | |
1209 | support. | |
1210 | ||
ec7f2789 JR |
1211 | %description pdo-oci -l pl.UTF-8 |
1212 | Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem | |
d902abac JB |
1213 | interfejsu PDO. |
1214 | ||
768d3bda AM |
1215 | %package pdo-odbc |
1216 | Summary: PHP Data Objects (PDO) ODBC support | |
86784db6 | 1217 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC |
768d3bda | 1218 | Group: Libraries |
c14467fd | 1219 | URL: http://www.php.net/manual/en/ref.pdo-odbc.php |
768d3bda AM |
1220 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1221 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1222 | Provides: php(pdo-odbc) |
2ed78af4 | 1223 | Obsoletes: php-pecl-PDO_ODBC |
768d3bda AM |
1224 | |
1225 | %description pdo-odbc | |
1226 | This is a dynamic shared object (DSO) for PHP that will add PDO ODBC | |
1227 | support. | |
1228 | ||
ec7f2789 JR |
1229 | %description pdo-odbc -l pl.UTF-8 |
1230 | Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem | |
768d3bda AM |
1231 | interfejsu PDO. |
1232 | ||
1233 | %package pdo-pgsql | |
1234 | Summary: PHP Data Objects (PDO) PostgreSQL support | |
86784db6 | 1235 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a |
768d3bda | 1236 | Group: Libraries |
c14467fd | 1237 | URL: http://www.php.net/manual/en/ref.pdo-pgsql.php |
768d3bda AM |
1238 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1239 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1240 | Provides: php(pdo-pgsql) |
829e1de1 | 1241 | Provides: php-pecl-PDO_PGSQL |
2ed78af4 | 1242 | Obsoletes: php-pecl-PDO_PGSQL |
768d3bda AM |
1243 | |
1244 | %description pdo-pgsql | |
1245 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1246 | PostgreSQL support. | |
1247 | ||
ec7f2789 JR |
1248 | %description pdo-pgsql -l pl.UTF-8 |
1249 | Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem | |
7375f0ff | 1250 | interfejsu PDO. |
768d3bda AM |
1251 | |
1252 | %package pdo-sqlite | |
1253 | Summary: PHP Data Objects (PDO) SQLite support | |
86784db6 | 1254 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite |
768d3bda | 1255 | Group: Libraries |
c14467fd | 1256 | URL: http://www.php.net/manual/en/ref.pdo-sqlite.php |
768d3bda AM |
1257 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1258 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1259 | Provides: php(pdo-sqlite) |
2ed78af4 | 1260 | Obsoletes: php-pecl-PDO_SQLITE |
768d3bda AM |
1261 | |
1262 | %description pdo-sqlite | |
1263 | This is a dynamic shared object (DSO) for PHP that will add PDO SQLite | |
1264 | support. | |
1265 | ||
ec7f2789 JR |
1266 | %description pdo-sqlite -l pl.UTF-8 |
1267 | Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem | |
768d3bda AM |
1268 | interfejsu PDO. |
1269 | ||
c2388c7d | 1270 | %package pgsql |
1271 | Summary: PostgreSQL database module for PHP | |
86784db6 | 1272 | Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP |
c2388c7d | 1273 | Group: Libraries |
c14467fd | 1274 | URL: http://www.php.net/manual/en/book.pgsql.php |
dc38d397 | 1275 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1276 | Provides: php(pgsql) |
c2388c7d | 1277 | |
1278 | %description pgsql | |
e584ad6b JB |
1279 | This is a dynamic shared object (DSO) for PHP that will add PostgreSQL |
1280 | database support. | |
c2388c7d | 1281 | |
ec7f2789 JR |
1282 | %description pgsql -l pl.UTF-8 |
1283 | Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL. | |
c2388c7d | 1284 | |
ec7f2789 JR |
1285 | %description pgsql -l pt_BR.UTF-8 |
1286 | Um módulo para aplicações PHP que usam bancos de dados postgresql. | |
c2388c7d | 1287 | |
c14467fd AM |
1288 | %package phar |
1289 | Summary: phar database module for PHP | |
1290 | Summary(pl.UTF-8): Moduł phar dla PHP | |
1291 | Group: Libraries | |
1292 | URL: http://www.php.net/manual/en/book.phar.php | |
1293 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
722f34a7 | 1294 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} |
c14467fd AM |
1295 | Provides: php(phar) |
1296 | ||
1297 | %description phar | |
1298 | This is a dynamic shared object (DSO) for PHP that will add phar | |
1299 | archive a support. | |
1300 | ||
1301 | %description phar -l pl.UTF-8 | |
1302 | Moduł PHP umożliwiający dostęp do achiwów .phar. | |
1303 | ||
c2388c7d | 1304 | %package posix |
1305 | Summary: POSIX extension module for PHP | |
86784db6 | 1306 | Summary(pl.UTF-8): Moduł POSIX dla PHP |
c2388c7d | 1307 | Group: Libraries |
c14467fd | 1308 | URL: http://www.php.net/manual/en/book.posix.php |
dc38d397 | 1309 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1310 | Provides: php(posix) |
c2388c7d | 1311 | |
1312 | %description posix | |
e584ad6b | 1313 | This is a dynamic shared object (DSO) for PHP that will add POSIX |
c2388c7d | 1314 | functions support to PHP. |
1315 | ||
ec7f2789 JR |
1316 | %description posix -l pl.UTF-8 |
1317 | Moduł PHP umożliwiający korzystanie z funkcji POSIX. | |
c2388c7d | 1318 | |
1319 | %package pspell | |
1320 | Summary: pspell extension module for PHP | |
86784db6 | 1321 | Summary(pl.UTF-8): Moduł pspell dla PHP |
c2388c7d | 1322 | Group: Libraries |
c14467fd | 1323 | URL: http://www.php.net/manual/en/book.pspell.php |
dc38d397 | 1324 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1325 | Provides: php(pspell) |
c2388c7d | 1326 | |
1327 | %description pspell | |
e584ad6b | 1328 | This is a dynamic shared object (DSO) for PHP that will add pspell |
c2388c7d | 1329 | support to PHP. It allows to check the spelling of a word and offer |
1330 | suggestions. | |
1331 | ||
ec7f2789 JR |
1332 | %description pspell -l pl.UTF-8 |
1333 | Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na | |
1334 | sprawdzanie pisowni słowa i sugerowanie poprawek. | |
c2388c7d | 1335 | |
e584ad6b JB |
1336 | %package readline |
1337 | Summary: readline extension module for PHP | |
86784db6 | 1338 | Summary(pl.UTF-8): Moduł readline dla PHP |
e584ad6b | 1339 | Group: Libraries |
c14467fd | 1340 | URL: http://www.php.net/manual/en/book.readline.php |
c3a27469 | 1341 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} |
2e5b56fc | 1342 | Provides: php(readline) |
e584ad6b JB |
1343 | |
1344 | %description readline | |
1345 | This PHP module adds support for readline functions (only for cli and | |
1346 | cgi SAPIs). | |
1347 | ||
ec7f2789 JR |
1348 | %description readline -l pl.UTF-8 |
1349 | Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi). | |
e584ad6b | 1350 | |
c2388c7d | 1351 | %package recode |
1352 | Summary: recode extension module for PHP | |
86784db6 | 1353 | Summary(pl.UTF-8): Moduł recode dla PHP |
c2388c7d | 1354 | Group: Libraries |
c14467fd | 1355 | URL: http://www.php.net/manual/en/book.recode.php |
dc38d397 | 1356 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
c2388c7d | 1357 | Requires: recode >= 3.5d-3 |
2e5b56fc | 1358 | Provides: php(recode) |
c2388c7d | 1359 | |
1360 | %description recode | |
e584ad6b JB |
1361 | This is a dynamic shared object (DSO) for PHP that will add recode |
1362 | support. | |
c2388c7d | 1363 | |
ec7f2789 JR |
1364 | %description recode -l pl.UTF-8 |
1365 | Moduł PHP dodający możliwość konwersji kodowania plików (poprzez | |
1366 | bibliotekę recode). | |
c2388c7d | 1367 | |
722f34a7 ER |
1368 | %package session |
1369 | Summary: session extension module for PHP | |
1370 | Summary(pl.UTF-8): Moduł session dla PHP | |
1371 | Group: Libraries | |
1372 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
f4dbdb8e | 1373 | Suggests: %{name}-hash = %{epoch}:%{version}-%{release} |
722f34a7 ER |
1374 | Provides: php(session) |
1375 | ||
1376 | %description session | |
1377 | This is a dynamic shared object (DSO) for PHP that will add session | |
1378 | support. | |
1379 | ||
1380 | %description session -l pl.UTF-8 | |
1381 | Moduł PHP dodający obsługę sesji. | |
1382 | ||
c2388c7d | 1383 | %package shmop |
1384 | Summary: Shared Memory Operations extension module for PHP | |
86784db6 | 1385 | Summary(pl.UTF-8): Moduł shmop dla PHP |
c2388c7d | 1386 | Group: Libraries |
c14467fd | 1387 | URL: http://www.php.net/manual/en/book.shmop.php |
dc38d397 | 1388 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1389 | Provides: php(shmop) |
c2388c7d | 1390 | |
1391 | %description shmop | |
e584ad6b JB |
1392 | This is a dynamic shared object (DSO) for PHP that will add Shared |
1393 | Memory Operations support. | |
c2388c7d | 1394 | |
ec7f2789 JR |
1395 | %description shmop -l pl.UTF-8 |
1396 | Moduł PHP umożliwiający korzystanie z pamięci dzielonej. | |
c2388c7d | 1397 | |
768d3bda AM |
1398 | %package simplexml |
1399 | Summary: Simple XML extension module for PHP | |
86784db6 | 1400 | Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP |
768d3bda | 1401 | Group: Libraries |
c14467fd | 1402 | URL: http://www.php.net/manual/en/book.simplexml.php |
768d3bda | 1403 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
01638b0b | 1404 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} |
2e5b56fc | 1405 | Provides: php(simplexml) |
768d3bda AM |
1406 | |
1407 | %description simplexml | |
1408 | This is a dynamic shared object (DSO) for PHP that will add Simple XML | |
1409 | support. | |
1410 | ||
ec7f2789 JR |
1411 | %description simplexml -l pl.UTF-8 |
1412 | Moduł PHP dodający obsługę prostego XML-a. | |
7375f0ff | 1413 | |
c2388c7d | 1414 | %package snmp |
1415 | Summary: SNMP extension module for PHP | |
86784db6 | 1416 | Summary(pl.UTF-8): Moduł SNMP dla PHP |
c2388c7d | 1417 | Group: Libraries |
c14467fd | 1418 | URL: http://www.php.net/manual/en/book.snmp.php |
dc38d397 | 1419 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
85a72066 | 1420 | Requires: %{name}-sockets = %{epoch}:%{version}-%{release} |
2e5b56fc | 1421 | Provides: php(snmp) |
c2388c7d | 1422 | |
1423 | %description snmp | |
e584ad6b JB |
1424 | This is a dynamic shared object (DSO) for PHP that will add SNMP |
1425 | support. | |
c2388c7d | 1426 | |
ec7f2789 JR |
1427 | %description snmp -l pl.UTF-8 |
1428 | Moduł PHP dodający obsługę SNMP. | |
c2388c7d | 1429 | |
54eb743b | 1430 | %package soap |
85a72066 | 1431 | Summary: soap extension module for PHP |
86784db6 | 1432 | Summary(pl.UTF-8): Moduł soap dla PHP |
85a72066 | 1433 | Group: Libraries |
c14467fd | 1434 | URL: http://www.php.net/manual/en/book.soap.php |
85a72066 | 1435 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1436 | Provides: php(soap) |
54eb743b AM |
1437 | |
1438 | %description soap | |
1439 | This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL | |
1440 | support. | |
1441 | ||
ec7f2789 JR |
1442 | %description soap -l pl.UTF-8 |
1443 | Moduł PHP dodający obsługę SOAP/WSDL. | |
54eb743b | 1444 | |
c2388c7d | 1445 | %package sockets |
1446 | Summary: sockets extension module for PHP | |
86784db6 | 1447 | Summary(pl.UTF-8): Moduł socket dla PHP |
c2388c7d | 1448 | Group: Libraries |
c14467fd | 1449 | URL: http://www.php.net/manual/en/book.sockets.php |
dc38d397 | 1450 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1451 | Provides: php(sockets) |
c2388c7d | 1452 | |
1453 | %description sockets | |
e584ad6b JB |
1454 | This is a dynamic shared object (DSO) for PHP that will add sockets |
1455 | support. | |
c2388c7d | 1456 | |
ec7f2789 JR |
1457 | %description sockets -l pl.UTF-8 |
1458 | Moduł PHP dodający obsługę gniazdek. | |
c2388c7d | 1459 | |
722f34a7 ER |
1460 | %package spl |
1461 | Summary: Standard PHP Library module for PHP | |
1462 | Summary(pl.UTF-8): Moduł SPL dla PHP | |
1463 | Group: Libraries | |
1464 | URL: http://php.net/manual/en/book.spl.php | |
1465 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1466 | Requires: %{name}-pcre = %{epoch}:%{version}-%{release} | |
1467 | Requires: %{name}-simplexml = %{epoch}:%{version}-%{release} | |
1468 | Provides: php(spl) | |
1469 | ||
1470 | %description spl | |
1471 | This is a dynamic shared object (DSO) for PHP that will add Standard | |
1472 | PHP Library support. | |
1473 | ||
1474 | %description spl -l pl.UTF-8 | |
1475 | Moduł PHP dodający obsługę gniazdek. | |
1476 | ||
8c91402c AM |
1477 | %package sqlite |
1478 | Summary: SQLite extension module for PHP | |
86784db6 | 1479 | Summary(pl.UTF-8): Moduł SQLite dla PHP |
8c91402c | 1480 | Group: Libraries |
c14467fd | 1481 | URL: http://www.php.net/manual/en/book.sqlite.php |
8c91402c | 1482 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
a8a6a24e ER |
1483 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} |
1484 | Requires: %{name}-spl = %{epoch}:%{version}-%{release} | |
2e5b56fc | 1485 | Provides: php(sqlite) |
8c91402c AM |
1486 | |
1487 | %description sqlite | |
ce888321 ER |
1488 | SQLite is a C library that implements an embeddable SQL database |
1489 | engine. Programs that link with the SQLite library can have SQL | |
1490 | database access without running a separate RDBMS process. | |
8c91402c | 1491 | |
ce888321 ER |
1492 | SQLite is not a client library used to connect to a big database |
1493 | server. SQLite is the server. The SQLite library reads and writes | |
1494 | directly to and from the database files on disk. | |
8c91402c | 1495 | |
ec7f2789 JR |
1496 | %description sqlite -l pl.UTF-8 |
1497 | SQLite jest napisaną w C biblioteką implementującą osadzalny silnik | |
1498 | bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć | |
1499 | dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu | |
ce888321 | 1500 | RDBMS. |
8c91402c | 1501 | |
ec7f2789 | 1502 | SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami |
ce888321 | 1503 | baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i |
ec7f2789 | 1504 | zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na |
ce888321 | 1505 | dysku. |
8c91402c | 1506 | |
c14467fd AM |
1507 | %package sqlite3 |
1508 | Summary: SQLite3 extension module for PHP | |
1509 | Summary(pl.UTF-8): Moduł SQLite3 dla PHP | |
e584ad6b | 1510 | Group: Libraries |
c14467fd | 1511 | URL: http://php.net/manual/en/book.sqlite3.php |
dc38d397 | 1512 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
c14467fd | 1513 | Provides: php(sqlite3) |
e584ad6b | 1514 | |
c14467fd AM |
1515 | %description sqlite3 |
1516 | SQLite is a C library that implements an embeddable SQL database | |
1517 | engine. Programs that link with the SQLite library can have SQL | |
1518 | database access without running a separate RDBMS process. | |
e584ad6b | 1519 | |
c14467fd AM |
1520 | SQLite is not a client library used to connect to a big database |
1521 | server. SQLite is the server. The SQLite library reads and writes | |
1522 | directly to and from the database files on disk. | |
1523 | ||
1524 | %description sqlite3 -l pl.UTF-8 | |
1525 | SQLite jest napisaną w C biblioteką implementującą osadzalny silnik | |
1526 | bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć | |
1527 | dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu | |
1528 | RDBMS. | |
1529 | ||
1530 | SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami | |
1531 | baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i | |
1532 | zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na | |
1533 | dysku. | |
e584ad6b | 1534 | |
c2388c7d | 1535 | %package sybase-ct |
1536 | Summary: Sybase-CT extension module for PHP | |
86784db6 | 1537 | Summary(pl.UTF-8): Moduł Sybase-CT dla PHP |
c2388c7d | 1538 | Group: Libraries |
c14467fd | 1539 | URL: http://www.php.net/manual/en/book.sybase.php |
dc38d397 | 1540 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1541 | Provides: php(sybase-ct) |
8c91402c | 1542 | Obsoletes: php-sybase |
cdef5afa | 1543 | Conflicts: php-sybase |
c2388c7d | 1544 | |
1545 | %description sybase-ct | |
e584ad6b JB |
1546 | This is a dynamic shared object (DSO) for PHP that will add Sybase and |
1547 | MS SQL databases support through CT-lib. | |
c2388c7d | 1548 | |
ec7f2789 JR |
1549 | %description sybase-ct -l pl.UTF-8 |
1550 | Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez | |
c2388c7d | 1551 | CT-lib. |
1552 | ||
e584ad6b JB |
1553 | %package sysvmsg |
1554 | Summary: SysV msg extension module for PHP | |
86784db6 | 1555 | Summary(pl.UTF-8): Moduł SysV msg dla PHP |
e584ad6b | 1556 | Group: Libraries |
c14467fd | 1557 | URL: http://www.php.net/manual/en/book.sem.php |
dc38d397 | 1558 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1559 | Provides: php(sysvmsg) |
e584ad6b JB |
1560 | |
1561 | %description sysvmsg | |
1562 | This is a dynamic shared object (DSO) for PHP that will add SysV | |
1563 | message queues support. | |
1564 | ||
ec7f2789 JR |
1565 | %description sysvmsg -l pl.UTF-8 |
1566 | Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV. | |
e584ad6b | 1567 | |
c2388c7d | 1568 | %package sysvsem |
1569 | Summary: SysV sem extension module for PHP | |
86784db6 | 1570 | Summary(pl.UTF-8): Moduł SysV sem dla PHP |
c2388c7d | 1571 | Group: Libraries |
c14467fd | 1572 | URL: http://www.php.net/manual/en/book.sem.php |
dc38d397 | 1573 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1574 | Provides: php(sysvsem) |
c2388c7d | 1575 | |
1576 | %description sysvsem | |
e584ad6b JB |
1577 | This is a dynamic shared object (DSO) for PHP that will add SysV |
1578 | semaphores support. | |
c2388c7d | 1579 | |
ec7f2789 JR |
1580 | %description sysvsem -l pl.UTF-8 |
1581 | Moduł PHP umożliwiający korzystanie z semaforów SysV. | |
c2388c7d | 1582 | |
1583 | %package sysvshm | |
1584 | Summary: SysV shm extension module for PHP | |
86784db6 | 1585 | Summary(pl.UTF-8): Moduł SysV shm dla PHP |
c2388c7d | 1586 | Group: Libraries |
c14467fd | 1587 | URL: http://www.php.net/manual/en/book.shmop.php |
dc38d397 | 1588 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1589 | Provides: php(sysvshm) |
c2388c7d | 1590 | |
1591 | %description sysvshm | |
e584ad6b JB |
1592 | This is a dynamic shared object (DSO) for PHP that will add SysV |
1593 | Shared Memory support. | |
c2388c7d | 1594 | |
ec7f2789 JR |
1595 | %description sysvshm -l pl.UTF-8 |
1596 | Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV. | |
c4161e98 | 1597 | |
c14467fd AM |
1598 | %package tests |
1599 | Summary: Contains unit test files for PHP and extensions | |
1600 | Summary(pl.UTF-8): Zawiera pliki testów jednostkowych dla PHP i rozszerzeń | |
1601 | Group: Libraries | |
1602 | URL: http://qa.php.net/ | |
1603 | Requires: %{name}-cli | |
1604 | ||
1605 | %description tests | |
1606 | This package contains unit tests for PHP and it's extensions. | |
1607 | ||
1608 | %description tests -l pl.UTF-8 | |
1609 | Ten pakiet zawiera pliki testów jednostkowych dla PHP i rozszerzeń | |
1610 | ||
8c91402c AM |
1611 | %package tidy |
1612 | Summary: Tidy extension module for PHP | |
86784db6 | 1613 | Summary(pl.UTF-8): Moduł Tidy dla PHP |
8c91402c | 1614 | Group: Libraries |
c14467fd | 1615 | URL: http://www.php.net/manual/en/book.tidy.php |
8c91402c | 1616 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
b80a7e2c | 1617 | Requires: tidy |
2e5b56fc | 1618 | Provides: php(tidy) |
8c91402c AM |
1619 | |
1620 | %description tidy | |
1621 | This is a dynamic shared object (DSO) for PHP that will add Tidy | |
1622 | support. | |
1623 | ||
ec7f2789 JR |
1624 | %description tidy -l pl.UTF-8 |
1625 | Moduł PHP umożliwiający korzystanie z tidy. | |
8c91402c | 1626 | |
f476635d ER |
1627 | %package tokenizer |
1628 | Summary: tokenizer extension module for PHP | |
86784db6 | 1629 | Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP |
f476635d | 1630 | Group: Libraries |
c14467fd | 1631 | URL: http://www.php.net/manual/en/book.tokenizer.php |
f476635d | 1632 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1633 | Provides: php(tokenizer) |
f476635d ER |
1634 | |
1635 | %description tokenizer | |
1636 | This is a dynamic shared object (DSO) for PHP that will add tokenizer | |
1637 | support. | |
1638 | ||
ec7f2789 JR |
1639 | %description tokenizer -l pl.UTF-8 |
1640 | Moduł PHP dodający obsługę tokenizera do PHP. | |
c1b8af09 | 1641 | |
c4161e98 | 1642 | %package wddx |
1643 | Summary: wddx extension module for PHP | |
86784db6 | 1644 | Summary(pl.UTF-8): Moduł wddx dla PHP |
c4161e98 | 1645 | Group: Libraries |
c14467fd | 1646 | URL: http://www.php.net/manual/en/book.wddx.php |
21169c08 | 1647 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
a8a6a24e ER |
1648 | # - wddx doesn't require session as it's disabled at compile time: |
1649 | # if HAVE_PHP_SESSION && !defined(COMPILE_DL_SESSION) | |
1650 | # see also php.spec#rev1.120.2.22 | |
1651 | #Requires: %{name}-session = %{epoch}:%{version}-%{release} | |
037da132 | 1652 | Requires: %{name}-xml = %{epoch}:%{version}-%{release} |
2e5b56fc | 1653 | Provides: php(wddx) |
c4161e98 | 1654 | |
1655 | %description wddx | |
e584ad6b JB |
1656 | This is a dynamic shared object (DSO) for PHP that will add wddx |
1657 | support. | |
c4161e98 | 1658 | |
ec7f2789 JR |
1659 | %description wddx -l pl.UTF-8 |
1660 | Moduł PHP umożliwiający korzystanie z wddx. | |
6997cdef | 1661 | |
c2388c7d | 1662 | %package xml |
1663 | Summary: XML extension module for PHP | |
86784db6 | 1664 | Summary(pl.UTF-8): Moduł XML dla PHP |
386054ee | 1665 | Group: Libraries |
c14467fd | 1666 | URL: http://www.php.net/manual/en/book.xml.php |
dc38d397 | 1667 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1668 | Provides: php(xml) |
386054ee | 1669 | |
c2388c7d | 1670 | %description xml |
e584ad6b JB |
1671 | This is a dynamic shared object (DSO) for PHP that will add XML |
1672 | support. This extension lets you create XML parsers and then define | |
1673 | handlers for different XML events. | |
386054ee | 1674 | |
ec7f2789 JR |
1675 | %description xml -l pl.UTF-8 |
1676 | Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń | |
1677 | związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i | |
1678 | następnie definiować procedury obsługi dla różnych zdarzeń XML. | |
386054ee | 1679 | |
768d3bda AM |
1680 | %package xmlreader |
1681 | Summary: XML Reader extension module for PHP | |
86784db6 | 1682 | Summary(pl.UTF-8): Moduł XML Reader dla PHP |
768d3bda | 1683 | Group: Libraries |
c14467fd | 1684 | URL: http://www.php.net/manual/en/book.xmlreader.php |
768d3bda | 1685 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
f4dbdb8e | 1686 | Suggests: %{name}-dom = %{epoch}:%{version}-%{release} |
2e5b56fc | 1687 | Provides: php(xmlreader) |
768d3bda AM |
1688 | |
1689 | %description xmlreader | |
1690 | This is a dynamic shared object (DSO) for PHP that will add XML Reader | |
1691 | support. The XMLReader extension is an XML Pull parser. The reader | |
1692 | acts as a cursor going forward on the document stream and stopping at | |
1693 | each node on the way. | |
1694 | ||
ec7f2789 JR |
1695 | %description xmlreader -l pl.UTF-8 |
1696 | Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik | |
1697 | działa jako kursor przechodzący przez strumień dokumentu i | |
1698 | zatrzymujący się na każdym węźle po drodze. | |
768d3bda | 1699 | |
c2388c7d | 1700 | %package xmlrpc |
1701 | Summary: xmlrpc extension module for PHP | |
86784db6 | 1702 | Summary(pl.UTF-8): Moduł xmlrpc dla PHP |
1adf90d7 | 1703 | Group: Libraries |
c14467fd | 1704 | URL: http://www.php.net/manual/en/book.xmlrpc.php |
dc38d397 | 1705 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
37873df0 | 1706 | Requires: %{name}-xml = %{epoch}:%{version}-%{release} |
2e5b56fc | 1707 | Provides: php(xmlrpc) |
1adf90d7 | 1708 | |
c2388c7d | 1709 | %description xmlrpc |
e584ad6b JB |
1710 | This is a dynamic shared object (DSO) for PHP that will add XMLRPC |
1711 | support. | |
1adf90d7 | 1712 | |
ec7f2789 JR |
1713 | %description xmlrpc -l pl.UTF-8 |
1714 | Moduł PHP dodający obsługę XMLRPC. | |
c2388c7d | 1715 | |
86ceb323 | 1716 | %package xmlwriter |
05582439 | 1717 | Summary: Fast, non-cached, forward-only means to write XML data |
86784db6 | 1718 | Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML |
86ceb323 | 1719 | Group: Libraries |
c14467fd | 1720 | URL: http://www.php.net/manual/en/book.xmlwriter.php |
86ceb323 ER |
1721 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1722 | Provides: php(xmlwriter) | |
15f70a0e | 1723 | Obsoletes: php-pecl-xmlwriter |
86ceb323 ER |
1724 | |
1725 | %description xmlwriter | |
1726 | This extension wraps the libxml xmlWriter API. Represents a writer | |
1727 | that provides a non-cached, forward-only means of generating streams | |
1728 | or files containing XML data. | |
1729 | ||
ec7f2789 JR |
1730 | %description xmlwriter -l pl.UTF-8 |
1731 | To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę | |
1732 | zapisu dostarczającą nie cachowanych metod generowania strumieni lub | |
1733 | plików zawierających dane XML. | |
86ceb323 | 1734 | |
dc49e336 JB |
1735 | %package xsl |
1736 | Summary: xsl extension module for PHP | |
86784db6 | 1737 | Summary(pl.UTF-8): Moduł xsl dla PHP |
dc49e336 | 1738 | Group: Libraries |
c14467fd | 1739 | URL: http://www.php.net/manual/en/book.xsl.php |
dc49e336 | 1740 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
dbd7433e | 1741 | Requires: %{name}-dom = %{epoch}:%{version}-%{release} |
dc49e336 | 1742 | Requires: libxslt >= 1.0.18 |
737e42ad | 1743 | # actually not true, functionality is similar, but API differs |
2e5b56fc | 1744 | Provides: php(xsl) |
737e42ad | 1745 | Obsoletes: php-xslt <= 3:4.3.8-1 |
dc49e336 JB |
1746 | |
1747 | %description xsl | |
1748 | This is a dynamic shared object (DSO) for PHP that will add new XSL | |
1749 | support (using libxslt). | |
1750 | ||
ec7f2789 JR |
1751 | %description xsl -l pl.UTF-8 |
1752 | Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt). | |
dc49e336 | 1753 | |
b27cf2ef ER |
1754 | %package zip |
1755 | Summary: Zip management extension | |
86784db6 | 1756 | Summary(pl.UTF-8): Zarządzanie archiwami zip |
b27cf2ef | 1757 | Group: Libraries |
c14467fd | 1758 | URL: http://www.php.net/manual/en/book.zip.php |
b27cf2ef | 1759 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1760 | Provides: php(zip) |
5cad965e | 1761 | Obsoletes: php-pecl-zip |
b27cf2ef ER |
1762 | |
1763 | %description zip | |
1764 | Zip is an extension to create, modify and read zip files. | |
1765 | ||
ec7f2789 JR |
1766 | %description zip -l pl.UTF-8 |
1767 | Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz | |
1768 | odczyt archiwów zip. | |
b27cf2ef | 1769 | |
c2388c7d | 1770 | %package zlib |
1771 | Summary: Zlib extension module for PHP | |
86784db6 | 1772 | Summary(pl.UTF-8): Moduł zlib dla PHP |
7bd1e950 | 1773 | Group: Libraries |
c14467fd | 1774 | URL: http://www.php.net/manual/en/book.zlib.php |
dc38d397 | 1775 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
2e5b56fc | 1776 | Provides: php(zlib) |
7bd1e950 | 1777 | |
c2388c7d | 1778 | %description zlib |
e584ad6b JB |
1779 | This is a dynamic shared object (DSO) for PHP that will add zlib |
1780 | compression support to PHP. | |
7bd1e950 | 1781 | |
ec7f2789 JR |
1782 | %description zlib -l pl.UTF-8 |
1783 | Moduł PHP umożliwiający używanie kompresji zlib. | |
7bd1e950 | 1784 | |
9af2b7db | 1785 | %prep |
38881d3e | 1786 | %setup -q |
722f34a7 | 1787 | # prep for suhosin patch |
552732b5 | 1788 | %{__sed} -i -e 's,\r$,,' Zend/Zend.dsp Zend/ZendTS.dsp |
554abb27 | 1789 | %patch0 -p1 |
670f5db5 | 1790 | %patch1 -p1 |
b45729b9 | 1791 | %patch2 -p1 |
670f5db5 | 1792 | %patch3 -p1 |
c027c256 | 1793 | %patch4 -p1 |
12295c68 | 1794 | %patch5 -p1 |
6ab586ad | 1795 | %patch6 -p1 |
8a574ba7 | 1796 | %patch8 -p1 |
c7bdf151 | 1797 | %patch7 -p1 |
fcc61680 | 1798 | %patch9 -p1 |
c14467fd | 1799 | cp php.ini-production php.ini |
b45729b9 | 1800 | %patch10 -p1 |
722f34a7 ER |
1801 | %if %{with type_hints} |
1802 | %patch12 -p0 | |
1803 | %endif | |
d76e208d JB |
1804 | %patch14 -p1 |
1805 | %patch15 -p1 | |
37c3c2bc | 1806 | %patch17 -p1 |
37c3c2bc | 1807 | %patch18 -p1 |
a04a599a | 1808 | %if %{with system_gd} |
9062e238 | 1809 | %patch19 -p1 |
a04a599a | 1810 | %endif |
c9f5f7a9 ER |
1811 | %patch20 -p1 |
1812 | %patch21 -p1 | |
c7bdf151 | 1813 | %patch22 -p1 |
d76e208d JB |
1814 | %patch23 -p1 |
1815 | %patch24 -p1 | |
c14467fd | 1816 | %patch25 -p1 |
f90b1bf0 | 1817 | %patch26 -p1 |
c7bdf151 | 1818 | %patch27 -p1 |
d76e208d | 1819 | %patch29 -p1 |
f90b1bf0 ER |
1820 | %patch31 -p1 |
1821 | %patch32 -p1 | |
ee8c1bce | 1822 | %if "%{pld_release}" != "ac" |
f90b1bf0 | 1823 | %patch34 -p1 |
ee8c1bce | 1824 | %endif |
c7bdf151 | 1825 | %patch35 -p1 |
04ee120e ER |
1826 | %patch36 -p1 |
1827 | %patch37 -p1 | |
1828 | %patch38 -p1 | |
32c3ab62 | 1829 | %patch39 -p1 |
e66fb762 | 1830 | %if %{with fpm} |
8b9d2ebd ER |
1831 | %patch41 -p1 |
1832 | %patch42 -p1 | |
e66fb762 | 1833 | %endif |
c14467fd | 1834 | %patch43 -p1 |
d7e3303a ER |
1835 | %patch44 -p1 |
1836 | %patch45 -p1 | |
1837 | %patch46 -p1 | |
552732b5 ER |
1838 | %if %{with suhosin} |
1839 | %patch47 -p1 | |
1840 | %endif | |
c7bdf151 ER |
1841 | %patch49 -p1 |
1842 | %patch50 -p1 | |
722f34a7 ER |
1843 | %patch51 -p1 |
1844 | %patch52 -p1 | |
71f4af01 | 1845 | %patch53 -p1 |
b26af6f7 | 1846 | %patch54 -p1 |
6f4bcfe8 | 1847 | %undos ext/spl/tests/SplFileInfo_getInode_basic.phpt |
b1558782 | 1848 | %patch55 -p1 |
d3b63428 ER |
1849 | %patch56 -p0 |
1850 | %patch57 -p1 | |
6f4bcfe8 | 1851 | %patch58 -p1 |
528a1414 | 1852 | %patch59 -p1 |
3fce81c7 | 1853 | %patch60 -p1 |
8bbe764e | 1854 | %patch61 -p1 |
552732b5 | 1855 | |
770f0d90 | 1856 | %if "%{pld_release}" != "ac" |
192aa796 | 1857 | sed -i -e '/PHP_ADD_LIBRARY_WITH_PATH/s#xmlrpc,#xmlrpc-epi,#' ext/xmlrpc/config.m4 |
770f0d90 | 1858 | %endif |
192aa796 | 1859 | |
cc446d0d ER |
1860 | # cleanup backups after patching |
1861 | find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f | |
1862 | ||
9e22b6ba JB |
1863 | # conflict seems to be resolved by recode patches |
1864 | rm -f ext/recode/config9.m4 | |
1865 | ||
f4359077 ER |
1866 | # remove all bundled libraries not to link with them accidentally |
1867 | #rm -rf ext/sqlite/libsqlite | |
c14467fd | 1868 | rm -rf ext/sqlite3/libsqlite |
f4359077 ER |
1869 | #rm -rf ext/bcmath/libbcmath |
1870 | #rm -rf ext/date/lib | |
b1558782 | 1871 | #rm -rf ext/fileinfo/libmagic |
f4359077 ER |
1872 | #rm -rf ext/dba/libcdb |
1873 | #rm -rf ext/dba/libflatfile | |
1874 | #rm -rf ext/dba/libinifile | |
1875 | #rm -rf ext/gd/libgd | |
b1b8d706 | 1876 | #rm -rf ext/mbstring/libmbfl |
f4359077 ER |
1877 | #rm -rf ext/mbstring/oniguruma |
1878 | rm -rf ext/pcre/pcrelib | |
b1558782 | 1879 | rm -rf ext/pdo_sqlite/libsqlite |
f4359077 | 1880 | #rm -rf ext/soap/interop |
192aa796 | 1881 | rm -r ext/xmlrpc/libxmlrpc |
b1558782 | 1882 | #rm -rf ext/zip/lib |
6756a8ae | 1883 | |
cc446d0d | 1884 | cp -af Zend/LICENSE{,.Zend} |
a8a6a24e | 1885 | install -p %{SOURCE13} dep-tests.sh |
cc446d0d | 1886 | |
49137d2e AM |
1887 | # breaks build |
1888 | sed -i -e 's#-fvisibility=hidden##g' configure* | |
1889 | ||
71f4af01 ER |
1890 | # disable broken tests |
1891 | # says just "Terminated" twice and fails | |
1892 | mv sapi/cli/tests/022.phpt{,.broken} | |
1893 | ||
d3b63428 ER |
1894 | # php-5.3.3/ext/standard/tests/file/statpage.phpt |
1895 | rm ext/standard/tests/file/statpage.phpt | |
1896 | ||
1897 | # idiotic test, it will fail if somebody else makes space on disk or if disk | |
1898 | # space is not yet allocated (xfs). report upstream to advice bogus test is | |
1899 | # probably pointless. | |
1900 | rm ext/standard/tests/file/disk_free_space_basic.phpt | |
1901 | ||
58d2b4fa | 1902 | sh -xe %{_sourcedir}/skip-tests.sh |
71f4af01 | 1903 | |
9af2b7db | 1904 | %build |
6756a8ae ER |
1905 | API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) |
1906 | if [ $API != %{php_api_version} ]; then | |
1907 | echo "Set %%define php_api_version to $API and re-run." | |
17c07ea5 ER |
1908 | exit 1 |
1909 | fi | |
1910 | ||
6756a8ae ER |
1911 | API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) |
1912 | if [ $API != %{zend_module_api} ]; then | |
1913 | echo "Set %%define zend_module_api to $API and re-run." | |
17c07ea5 ER |
1914 | exit 1 |
1915 | fi | |
1916 | ||
6756a8ae ER |
1917 | API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) |
1918 | if [ $API != %{zend_extension_api} ]; then | |
1919 | echo "Set %%define zend_extension_api to $API and re-run." | |
17c07ea5 ER |
1920 | exit 1 |
1921 | fi | |
1922 | ||
98ab5057 | 1923 | export EXTENSION_DIR="%{php_extensiondir}" |
cc446d0d ER |
1924 | # configure once (for faster debugging purposes) |
1925 | if [ ! -f _built-conf ]; then | |
1926 | # now remove Makefile copies | |
b213498a | 1927 | rm -f Makefile.{cgi-fcgi,fpm,cli,apxs1,apxs2,litespeed} |
3f700db8 ER |
1928 | %{__libtoolize} |
1929 | %{__aclocal} | |
8b0a87ec | 1930 | cp -f /usr/share/automake/config.* . |
678e6844 | 1931 | ./buildconf --force |
3f700db8 ER |
1932 | touch _built-conf |
1933 | fi | |
98ab5057 | 1934 | export PROG_SENDMAIL="/usr/lib/sendmail" |
192aa796 | 1935 | export CPPFLAGS="-DDEBUG_FASTCGI -DHAVE_STRNDUP %{rpmcppflags} \ |
1936 | -I%{_includedir}/xmlrpc-epi" | |
3f700db8 ER |
1937 | |
1938 | sapis=" | |
b1558782 ER |
1939 | cli |
1940 | %if %{with cgi} | |
1941 | cgi-fcgi | |
1942 | %endif | |
cc446d0d ER |
1943 | %if %{with fpm} |
1944 | fpm | |
1945 | %endif | |
3f700db8 ER |
1946 | %if %{with apache1} |
1947 | apxs1 | |
43fe8384 | 1948 | %endif |
3f700db8 ER |
1949 | %if %{with apache2} |
1950 | apxs2 | |
1951 | %endif | |
1b142d44 | 1952 | %if %{with litespeed} |
1953 | litespeed | |
1954 | %endif | |
3f700db8 ER |
1955 | " |
1956 | for sapi in $sapis; do | |
189be387 | 1957 | : SAPI $sapi |
cc446d0d ER |
1958 | # skip if already configured (for faster debugging purposes) |
1959 | [ -f Makefile.$sapi ] && continue | |
3f700db8 | 1960 | |
189be387 | 1961 | sapi_args='' |
3f700db8 | 1962 | case $sapi in |
c14467fd | 1963 | cgi-fcgi) |
cc446d0d | 1964 | sapi_args='--disable-cli' |
c14467fd | 1965 | ;; |
3f700db8 | 1966 | cli) |
d09cbf07 | 1967 | sapi_args='--disable-cgi %{?with_gcov:--enable-gcov}' |
c14467fd | 1968 | ;; |
cc446d0d | 1969 | fpm) |
b5727ab6 | 1970 | sapi_args='--disable-cli --enable-fpm' |
cc446d0d | 1971 | ;; |
3f700db8 | 1972 | apxs1) |
189be387 | 1973 | ver=$(rpm -q --qf '%{V}' apache1-devel) |
cc446d0d | 1974 | sapi_args="--disable-cli --with-apxs=%{apxs1} --with-apache-version=$ver" |
c14467fd | 1975 | ;; |
3f700db8 | 1976 | apxs2) |
189be387 | 1977 | ver=$(rpm -q --qf '%{V}' apache-devel) |
cc446d0d | 1978 | sapi_args="--disable-cli --with-apxs2=%{apxs2} --with-apache-version=$ver" |
c14467fd | 1979 | ;; |
1b142d44 | 1980 | litespeed) |
1981 | sapi_args='--with-litespeed' | |
1982 | ;; | |
3f700db8 | 1983 | esac |
189be387 ER |
1984 | |
1985 | %configure \ | |
1986 | $sapi_args \ | |
996cde82 | 1987 | %if "%{!?configure_cache:0}%{?configure_cache}" == "0" |
3f700db8 | 1988 | --cache-file=config.cache \ |
996cde82 | 1989 | %endif |
768d3bda | 1990 | --with-libdir=%{_lib} \ |
6ee9f55b ER |
1991 | --with-config-file-path=%{_sysconfdir} \ |
1992 | --with-config-file-scan-dir=%{_sysconfdir}/conf.d \ | |
9af2b7db | 1993 | --with-exec-dir=%{_bindir} \ |
528a1414 | 1994 | --with-system-tzdata \ |
38c4a978 | 1995 | --%{!?debug:dis}%{?debug:en}able-debug \ |
1a64b68d | 1996 | %{?with_zts:--enable-maintainer-zts} \ |
3b414131 | 1997 | --enable-inline-optimization \ |
38c4a978 | 1998 | --enable-bcmath=shared \ |
1999 | --enable-calendar=shared \ | |
c2388c7d | 2000 | --enable-ctype=shared \ |
38c4a978 | 2001 | --enable-dba=shared \ |
51312e8d | 2002 | --enable-dom=shared \ |
38c4a978 | 2003 | --enable-exif=shared \ |
c14467fd | 2004 | --enable-fileinfo=shared \ |
8c91402c | 2005 | --enable-ftp=shared \ |
38c4a978 | 2006 | --enable-gd-native-ttf \ |
c14467fd | 2007 | --enable-intl=shared \ |
768d3bda | 2008 | --enable-libxml \ |
9af2b7db | 2009 | --enable-magic-quotes \ |
c14467fd | 2010 | --enable-mbstring=shared,all \ |
8c91402c | 2011 | --enable-mbregex \ |
010f42f4 | 2012 | --enable-pcntl=shared \ |
768d3bda | 2013 | --enable-pdo=shared \ |
86ceb323 ER |
2014 | --enable-json=shared \ |
2015 | --enable-hash=shared \ | |
2016 | --enable-xmlwriter=shared \ | |
cc446d0d | 2017 | %if %{with fpm} |
cc446d0d ER |
2018 | --with-fpm-user=http \ |
2019 | --with-fpm-group=http \ | |
2020 | %endif | |
c14467fd | 2021 | %if %{with mssql} || %{with sybase_ct} |
768d3bda AM |
2022 | --with-pdo-dblib=shared \ |
2023 | %endif | |
c14467fd | 2024 | %if %{with interbase} && %{without interbase_inst} |
75f51563 | 2025 | --with-pdo-firebird=shared,/usr \ |
768d3bda | 2026 | %endif |
c14467fd | 2027 | --with-mysql-sock=/var/lib/mysql/mysql.sock \ |
b26af6f7 | 2028 | --with-pdo-mysql=shared%{?with_mysqlnd:,mysqlnd} \ |
3fce81c7 | 2029 | %{?with_oci8:--with-pdo-oci=shared%{?with_instantclient:,instantclient,%{_libdir}}} \ |
768d3bda AM |
2030 | %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \ |
2031 | %{?with_pgsql:--with-pdo-pgsql=shared} \ | |
f4359077 | 2032 | %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \ |
952c232b | 2033 | --without-libexpat-dir \ |
f90b1bf0 | 2034 | --enable-overload=shared \ |
38c4a978 | 2035 | --enable-posix=shared \ |
b9e5df0a | 2036 | --enable-shared \ |
722f34a7 | 2037 | --enable-session=shared \ |
38c4a978 | 2038 | --enable-shmop=shared \ |
c14467fd | 2039 | --enable-simplexml=shared \ |
722f34a7 | 2040 | --enable-spl=shared \ |
e584ad6b | 2041 | --enable-sysvmsg=shared \ |
defaa0de AF |
2042 | --enable-sysvsem=shared \ |
2043 | --enable-sysvshm=shared \ | |
38c4a978 | 2044 | --enable-safe-mode \ |
ad48e054 | 2045 | --enable-soap=shared \ |
38c4a978 | 2046 | --enable-sockets=shared \ |
f476635d | 2047 | --enable-tokenizer=shared \ |
38c4a978 | 2048 | --enable-ucd-snmp-hack \ |
6f91d99f | 2049 | %{?with_wddx:--enable-wddx=shared} \ |
3f51cc4a | 2050 | --enable-xml=shared \ |
b1b8d706 | 2051 | --enable-xmlreader=shared \ |
253c0459 | 2052 | --with-bz2=shared \ |
192aa796 | 2053 | %{__with_without curl curl shared} \ |
62493084 | 2054 | --with-db4 \ |
6f91d99f | 2055 | %{?with_fdf:--with-fdftk=shared} \ |
c2388c7d | 2056 | --with-iconv=shared \ |
38c4a978 | 2057 | --with-freetype-dir=shared \ |
2058 | --with-gettext=shared \ | |
a04a599a | 2059 | --with-gd=shared%{?with_system_gd:,/usr} \ |
38c4a978 | 2060 | --with-gdbm \ |
253c0459 | 2061 | --with-gmp=shared \ |
6f91d99f JB |
2062 | %{?with_imap:--with-imap=shared --with-imap-ssl} \ |
2063 | %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \ | |
8c91402c | 2064 | --with-jpeg-dir=/usr \ |
768d3bda | 2065 | %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \ |
38c4a978 | 2066 | --with-mcrypt=shared \ |
6f91d99f | 2067 | %{?with_mm:--with-mm} \ |
6f91d99f | 2068 | %{?with_mssql:--with-mssql=shared} \ |
b26af6f7 ER |
2069 | %{?with_mysqlnd:--with-mysqlnd=shared} \ |
2070 | --with-mysql=shared%{?with_mysqlnd:,mysqlnd} \ | |
2071 | %{?with_mysqli:--with-mysqli=shared%{?with_mysqlnd:,mysqlnd}} \ | |
3fce81c7 | 2072 | %{?with_oci8:--with-oci8=shared%{?with_instantclient:,instantclient,%{_libdir}}} \ |
8c91402c | 2073 | %{?with_openssl:--with-openssl=shared} \ |
768d3bda | 2074 | --with-kerberos \ |
192aa796 | 2075 | %{__with_without pcre pcre-regex /usr} \ |
2076 | %{__enable_disable filter filter shared} \ | |
ec86be0a | 2077 | --with-pear=%{php_pear_dir} \ |
192aa796 | 2078 | %{__with_without pgsql pgsql shared,/usr} \ |
2079 | %{__enable_disable phar phar shared} \ | |
8c91402c | 2080 | --with-png-dir=/usr \ |
6f91d99f | 2081 | %{?with_pspell:--with-pspell=shared} \ |
e584ad6b | 2082 | --with-readline=shared \ |
6f91d99f | 2083 | %{?with_recode:--with-recode=shared} \ |
c14467fd | 2084 | --with-regex=system \ |
6f91d99f | 2085 | %{?with_snmp:--with-snmp=shared} \ |
4cc60252 | 2086 | %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \ |
c14467fd | 2087 | %{!?with_sqlite:--without-sqlite --without-pdo-sqlite}%{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \ |
192aa796 | 2088 | %{__with_without sqlite3 sqlite3 shared,/usr} \ |
38c4a978 | 2089 | --with-t1lib=shared \ |
8c91402c | 2090 | %{?with_tidy:--with-tidy=shared} \ |
768d3bda | 2091 | %{?with_odbc:--with-unixODBC=shared,/usr} \ |
192aa796 | 2092 | %{__with_without xmlrpc xmlrpc shared,/usr} \ |
dc49e336 | 2093 | --with-xsl=shared \ |
38c4a978 | 2094 | --with-zlib=shared \ |
7aa94fdb ER |
2095 | --with-zlib-dir=shared,/usr \ |
2096 | --enable-zip=shared,/usr \ | |
554abb27 | 2097 | |
8b9d2ebd | 2098 | # save for debug |
3f700db8 | 2099 | cp -f Makefile Makefile.$sapi |
3f700db8 | 2100 | cp -f main/php_config.h php_config.h.$sapi |
228ae8d4 | 2101 | cp -f config.log config.log.$sapi |
228fa3d1 | 2102 | done |
38ecdf75 | 2103 | |
e66fb762 ER |
2104 | # as we build each SAPI in own make, adjust php-config.in forehead |
2105 | sapis=$(awk '/^PHP_SAPI = /{print $3}' Makefile.* | sort -u | xargs) | |
2106 | sed -i -e "s,@PHP_INSTALLED_SAPIS@,$sapis," "scripts/php-config.in" | |
2107 | ||
2108 | # must make libphp_common first, so modules can link against it. | |
ac044162 ER |
2109 | cp -af php_config.h.cli main/php_config.h |
2110 | cp -af Makefile.cli Makefile | |
561725b8 | 2111 | %{__make} libphp_common.la |
3f700db8 | 2112 | %{__make} build-modules |
554abb27 | 2113 | |
3f700db8 | 2114 | %if %{with apache1} |
189be387 | 2115 | %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1 |
3f700db8 ER |
2116 | %endif |
2117 | ||
2118 | %if %{with apache2} | |
2119 | %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2 | |
3f700db8 | 2120 | %endif |
18ad4238 | 2121 | |
1b142d44 | 2122 | %if %{with litespeed} |
ad6283f3 | 2123 | gzip -dc %{SOURCE15} | tar xf - -C sapi/ |
1b142d44 | 2124 | %{__make} -f Makefile.litespeed |
2125 | %endif | |
2126 | ||
cc446d0d | 2127 | # CGI/FCGI |
b1558782 | 2128 | %if %{with cgi} |
c14467fd | 2129 | cp -af php_config.h.cgi-fcgi main/php_config.h |
cc446d0d | 2130 | %{__make} -f Makefile.cgi-fcgi |
c14467fd | 2131 | [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php-cgi -qn)" = cgi-fcgi ] || exit 1 |
b1558782 | 2132 | %endif |
4342041a | 2133 | |
bbfc63bf | 2134 | # PHP FPM |
cc446d0d ER |
2135 | %if %{with fpm} |
2136 | cp -af php_config.h.fpm main/php_config.h | |
2137 | %{__make} -f Makefile.fpm | |
2138 | ./sapi/fpm/php-fpm -qn -m > /dev/null | |
2139 | %endif | |
2140 | ||
a8a6a24e ER |
2141 | # CLI |
2142 | cp -af php_config.h.cli main/php_config.h | |
2143 | %{__make} -f Makefile.cli | |
2144 | [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -qn)" = cli ] || exit 1 | |
2145 | ||
40bcf922 ER |
2146 | # check for stupid xml parse breakage where < and > just get lost in parse result |
2147 | ./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"]));' | |
2148 | ||
5d7633e2 ER |
2149 | # Generate stub .ini files for each extension |
2150 | rm -rf conf.d | |
2151 | install -d conf.d | |
2152 | generate_inifiles() { | |
2153 | for so in modules/*.so; do | |
2154 | mod=$(basename $so .so) | |
2155 | conf="$mod.ini" | |
2156 | # xml needs to be loaded before wddx | |
2157 | [ "$mod" = "wddx" ] && conf="xml_$mod.ini" | |
2158 | # pre needs to be loaded before SPL | |
2159 | [ "$mod" = "pcre" ] && conf="PCRE.ini" | |
2160 | # spl needs to be loaded before mysqli | |
2161 | [ "$mod" = "spl" ] && conf="SPL.ini" | |
b26af6f7 ER |
2162 | # mysqlnd needs to be loaded before mysql,mysqli,pdo_mysqli |
2163 | [ "$mod" = "mysqlnd" ] && conf="MySQLND.ini" | |
5d7633e2 ER |
2164 | echo "+ $conf" |
2165 | cat > conf.d/$conf <<-EOF | |
2166 | ; Enable $mod extension module | |
2167 | extension=$mod.so | |
2168 | EOF | |
2169 | done | |
2170 | } | |
2171 | generate_inifiles | |
2172 | ||
a8a6a24e | 2173 | # Check that the module inner-dependencies are intact |
01638b0b | 2174 | PHP=./sapi/cli/php EXTENSION_DIR=modules CONFIG_DIR=conf.d ./dep-tests.sh > dep-tests.log |
a8a6a24e ER |
2175 | if grep -v OK dep-tests.log; then |
2176 | echo >&2 "The results above were not expected" | |
2177 | exit 1 | |
2178 | fi | |
2179 | ||
b1558782 ER |
2180 | %if %{with gcov} |
2181 | # Use CLI SAPI | |
2182 | cp -af php_config.h.cli main/php_config.h | |
2183 | cp -af Makefile.cli Makefile | |
2184 | %{__make} lcov | |
2185 | # you really don't want to package result of gcov build | |
2186 | exit 1 | |
2187 | %endif | |
5d7633e2 | 2188 | |
aac36e23 | 2189 | %if %{with tests} |
f4625853 | 2190 | # Run tests, using the CLI SAPI |
bbfc63bf ER |
2191 | cp -af php_config.h.cli main/php_config.h |
2192 | cp -af Makefile.cli Makefile | |
b1558782 ER |
2193 | |
2194 | cat <<'EOF' > run-tests.sh | |
2195 | #!/bin/sh | |
f4625853 ER |
2196 | export NO_INTERACTION=1 REPORT_EXIT_STATUS=1 MALLOC_CHECK_=2 |
2197 | unset TZ LANG LC_ALL || : | |
b1558782 | 2198 | %{__make} test \ |
64483ce3 | 2199 | EXTENSION_DIR=modules \ |
b1558782 ER |
2200 | PHP_TEST_SHARED_SYSTEM_EXTENSIONS= \ |
2201 | RUN_TESTS_SETTINGS="-q $*" | |
2202 | EOF | |
2203 | chmod +x run-tests.sh | |
2204 | ./run-tests.sh -w failed.log -s test.log | |
71f4af01 ER |
2205 | |
2206 | # collect failed tests into cleanup script used in prep. | |
58d2b4fa ER |
2207 | sed -ne '/FAILED TEST SUMMARY/,/^===/p' test.log | sed -e '1,/^---/d;/^===/,$d' > tests-failed.log |
2208 | sed -ne '/\[.*\]/{s/\(.*\) \[\(.*\)\]/# \1\nmv \2{,.skip}/p}' tests-failed.log \ | |
2209 | >> %{_sourcedir}/skip-tests.sh | |
71f4af01 | 2210 | |
58d2b4fa | 2211 | failed=$(wc -l < tests-failed.log) |
29a16bb6 | 2212 | if [ "$failed" != 0 ]; then |
58d2b4fa ER |
2213 | exit 1 |
2214 | fi | |
aac36e23 | 2215 | %endif |
f4625853 | 2216 | |
9af2b7db AF |
2217 | %install |
2218 | rm -rf $RPM_BUILD_ROOT | |
6ee9f55b | 2219 | install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \ |
b21fb6bb | 2220 | $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \ |
6756a8ae | 2221 | $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/conf.d} \ |
d7cc709f | 2222 | $RPM_BUILD_ROOT%{_mandir}/man1 \ |
3f700db8 | 2223 | |
ac044162 ER |
2224 | cp -af php_config.h.cli main/php_config.h |
2225 | cp -af Makefile.cli Makefile | |
2226 | %{__make} install \ | |
561725b8 ER |
2227 | INSTALL_ROOT=$RPM_BUILD_ROOT |
2228 | ||
87985b3f ER |
2229 | # make link relative |
2230 | ln -sfn phar.phar $RPM_BUILD_ROOT%{_bindir}/phar | |
2231 | ||
ddbfc7aa | 2232 | # install Apache1 DSO module |
3f700db8 | 2233 | %if %{with apache1} |
561725b8 | 2234 | libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1 |
6e4962cf | 2235 | %endif |
345124d0 | 2236 | |
ddbfc7aa | 2237 | # install Apache2 DSO module |
3f700db8 | 2238 | %if %{with apache2} |
561725b8 | 2239 | libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache |
3f700db8 ER |
2240 | %endif |
2241 | ||
1b142d44 | 2242 | # install litespeed sapi |
2243 | %if %{with litespeed} | |
a800f7dd | 2244 | libtool --silent --mode=install install sapi/litespeed/php $RPM_BUILD_ROOT%{_sbindir}/php.litespeed |
1b142d44 | 2245 | %endif |
2246 | ||
3f700db8 | 2247 | libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir} |
8005e5bb ER |
2248 | # fix install paths, avoid evil rpaths |
2249 | sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la | |
2250 | # better solution? | |
2251 | sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4 | |
3f700db8 | 2252 | |
cc446d0d | 2253 | # install CGI/FCGI |
b1558782 | 2254 | %if %{with cgi} |
00d653fe | 2255 | libtool --silent --mode=install install sapi/cgi/php-cgi $RPM_BUILD_ROOT%{_bindir}/php.cgi |
c14467fd | 2256 | ln -sf php.cgi $RPM_BUILD_ROOT%{_bindir}/php.fcgi |
b1558782 ER |
2257 | cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini |
2258 | %endif | |
5473c982 | 2259 | |
cc446d0d ER |
2260 | # install FCGI PM |
2261 | %if %{with fpm} | |
6a65c24a ER |
2262 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/fpm.d,%{_sbindir}} |
2263 | libtool --silent --mode=install install sapi/fpm/php-fpm $RPM_BUILD_ROOT%{_sbindir} | |
b5727ab6 ER |
2264 | cp -a sapi/fpm/php-fpm.1 $RPM_BUILD_ROOT%{_mandir}/man1 |
2265 | cp -a sapi/fpm/php-fpm.conf $RPM_BUILD_ROOT%{_sysconfdir} | |
cc446d0d ER |
2266 | install -d $RPM_BUILD_ROOT/etc/rc.d/init.d |
2267 | install -p %{SOURCE10} $RPM_BUILD_ROOT/etc/rc.d/init.d/php-fpm | |
2268 | install -d $RPM_BUILD_ROOT/etc/logrotate.d | |
2269 | cp -a %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/php-fpm | |
2270 | %endif | |
2271 | ||
3f700db8 ER |
2272 | # install CLI |
2273 | libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli | |
2274 | install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1 | |
194505ba | 2275 | echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1 |
fa8f481d | 2276 | ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php |
345124d0 | 2277 | |
6ee9f55b | 2278 | sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini |
c14467fd | 2279 | |
26a10e8e | 2280 | cp -a %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini |
cc446d0d | 2281 | cp -a %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini |
3f700db8 | 2282 | |
aa39c584 | 2283 | %if %{with apache1} |
cc446d0d | 2284 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf |
26a10e8e | 2285 | cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini |
09b77d65 | 2286 | rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la |
aa39c584 | 2287 | %endif |
77d149f2 | 2288 | |
aa39c584 | 2289 | %if %{with apache2} |
cc446d0d | 2290 | cp -a %{SOURCE2} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php.conf |
26a10e8e | 2291 | cp -a %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini |
09b77d65 | 2292 | rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la |
aa39c584 | 2293 | %endif |
c2388c7d | 2294 | |
6ee9f55b | 2295 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d |
5d7633e2 | 2296 | cp -a conf.d/*.ini $RPM_BUILD_ROOT%{_sysconfdir}/conf.d |
3f700db8 | 2297 | |
26a10e8e JR |
2298 | # per SAPI ini directories |
2299 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi-fcgi,cli,apache,apache2handler}.d | |
2300 | ||
dbfbeab3 | 2301 | # for CLI SAPI only |
86ee4c6a | 2302 | mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/readline.ini,cli.d} |
e584ad6b | 2303 | |
6b2e14c1 | 2304 | # use system automake and {lib,sh}tool |
1cc99586 | 2305 | %if "%{pld_release}" != "ac" |
1cb33721 ER |
2306 | ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build |
2307 | for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do | |
2308 | ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build | |
2309 | done | |
2310 | ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build | |
1cc99586 | 2311 | %else |
1cb33721 ER |
2312 | ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build |
2313 | ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build | |
1cc99586 | 2314 | %endif |
6b2e14c1 ER |
2315 | ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build |
2316 | ||
93945336 ER |
2317 | # for php-pecl-mailparse |
2318 | install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring | |
2319 | cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring | |
c57891a4 | 2320 | |
c14467fd AM |
2321 | # tests |
2322 | install -d $RPM_BUILD_ROOT%{php_data_dir}/tests/php | |
cc446d0d | 2323 | install -p run-tests.php $RPM_BUILD_ROOT%{php_data_dir}/tests/php/run-tests.php |
c14467fd AM |
2324 | cp -a tests/* $RPM_BUILD_ROOT%{php_data_dir}/tests/php |
2325 | ||
38c4a978 | 2326 | %clean |
2327 | rm -rf $RPM_BUILD_ROOT | |
2328 | ||
3f700db8 ER |
2329 | %post -n apache1-mod_php |
2330 | if [ "$1" = "1" ]; then | |
2331 | %service -q apache restart | |
2332 | fi | |
2333 | ||
2334 | %postun -n apache1-mod_php | |
0b8eb3e3 | 2335 | if [ "$1" = "0" ]; then |
3f700db8 ER |
2336 | %service -q apache restart |
2337 | fi | |
2338 | ||
2339 | %post -n apache-mod_php | |
2340 | if [ "$1" = "1" ]; then | |
2341 | %service -q httpd restart | |
2342 | fi | |
2343 | ||
2344 | %postun -n apache-mod_php | |
2345 | if [ "$1" = "0" ]; then | |
2346 | %service -q httpd restart | |
2347 | fi | |
2348 | ||
f4fc4f50 ER |
2349 | %pre fpm |
2350 | %useradd -u 51 -r -s /bin/false -c "HTTP User" -g http http | |
2351 | ||
cc446d0d ER |
2352 | %post fpm |
2353 | /sbin/chkconfig --add php-fpm | |
2354 | %service php-fpm restart | |
2355 | ||
2356 | %preun fpm | |
2357 | if [ "$1" = 0 ]; then | |
2358 | %service php-fpm stop | |
2359 | /sbin/chkconfig --del php-fpm | |
2360 | fi | |
2361 | ||
f4fc4f50 ER |
2362 | %postun fpm |
2363 | if [ "$1" = "0" ]; then | |
2364 | %userremove http | |
2365 | fi | |
2366 | ||
5b79f5e4 | 2367 | %post common |
5b79f5e4 | 2368 | # PHP 5.3 requires timezone being setup, try setup it from tzdata |
dc2009bc | 2369 | if ! grep -q '^date.timezone[[:space:]]*=' %{_sysconfdir}/php.ini && [ -f /etc/sysconfig/timezone ]; then |
5b79f5e4 ER |
2370 | TIMEZONE= |
2371 | . /etc/sysconfig/timezone | |
2372 | if [ "$TIMEZONE" ]; then | |
dc2009bc | 2373 | %{__sed} -i -e "s,^;date.timezone[[:space:]]*=.*,date.timezone = $TIMEZONE," %{_sysconfdir}/php.ini |
5b79f5e4 ER |
2374 | fi |
2375 | fi | |
2376 | ||
4e86443d ER |
2377 | %posttrans common |
2378 | # minimizing apache restarts logics. we restart webserver: | |
2379 | # | |
2380 | # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2) | |
2381 | # 2. first install of extension (post: $1 = 1) | |
2382 | # 2. uninstall of extension (postun: $1 == 0) | |
2383 | # | |
2384 | # the strict internal deps between extensions (and apache modules) and | |
2385 | # common package are very important for all this to work. | |
2386 | ||
2387 | # restart webserver at the end of transaction | |
3f700db8 | 2388 | [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart |
6756a8ae | 2389 | [ ! -f /etc/httpd/conf.d/??_mod_php.conf ] || %service -q httpd restart |
253c0459 | 2390 | |
3b414131 ER |
2391 | %if %{with apache1} |
2392 | %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11 | |
2393 | sed -i -e ' | |
2394 | /^AddType application\/x-httpd-php \.php/s,^,#, | |
2395 | /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d | |
2396 | ' /etc/apache/apache.conf | |
2397 | %service -q apache restart | |
2398 | %endif | |
3f700db8 | 2399 | |
3b414131 | 2400 | %if %{with apache2} |
2ab49b75 | 2401 | %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1 |
3f700db8 | 2402 | # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2 |
35a4400e ER |
2403 | if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then |
2404 | cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew} | |
2405 | mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini | |
defaa0de | 2406 | fi |
3f700db8 ER |
2407 | %endif |
2408 | ||
98ab5057 | 2409 | # common macros called at extension post/postun scriptlet |
c7812384 ER |
2410 | %define extension_scripts() \ |
2411 | %post %1 \ | |
98ab5057 ER |
2412 | if [ "$1" = "1" ]; then \ |
2413 | %php_webserver_restart \ | |
0a7bb090 | 2414 | fi \ |
c7812384 ER |
2415 | \ |
2416 | %postun %1 \ | |
98ab5057 ER |
2417 | if [ "$1" = "0" ]; then \ |
2418 | %php_webserver_restart \ | |
2419 | fi | |
0a7bb090 | 2420 | %{nil} |
b27cf2ef | 2421 | |
c7812384 ER |
2422 | # extension scripts defines |
2423 | %extension_scripts bcmath | |
3d687f71 | 2424 | %extension_scripts bz2 |
c7812384 ER |
2425 | %extension_scripts calendar |
2426 | %extension_scripts ctype | |
2427 | %extension_scripts curl | |
2428 | %extension_scripts dba | |
c7812384 ER |
2429 | %extension_scripts dom |
2430 | %extension_scripts exif | |
2431 | %extension_scripts fdf | |
c14467fd | 2432 | %extension_scripts fileinfo |
12295c68 | 2433 | %extension_scripts filter |
c7812384 ER |
2434 | %extension_scripts ftp |
2435 | %extension_scripts gd | |
2436 | %extension_scripts gettext | |
2437 | %extension_scripts gmp | |
2438 | %extension_scripts hash | |
2439 | %extension_scripts iconv | |
2440 | %extension_scripts imap | |
2441 | %extension_scripts interbase | |
c14467fd | 2442 | %extension_scripts intl |
c7812384 ER |
2443 | %extension_scripts json |
2444 | %extension_scripts ldap | |
2445 | %extension_scripts mbstring | |
2446 | %extension_scripts mcrypt | |
c7812384 | 2447 | %extension_scripts mssql |
b26af6f7 | 2448 | %extension_scripts mysqlnd |
c7812384 ER |
2449 | %extension_scripts mysql |
2450 | %extension_scripts mysqli | |
2451 | %extension_scripts oci8 | |
2452 | %extension_scripts odbc | |
2453 | %extension_scripts openssl | |
722f34a7 | 2454 | %extension_scripts pcre |
c7812384 ER |
2455 | %extension_scripts pdo-dblib |
2456 | %extension_scripts pdo-firebird | |
2457 | %extension_scripts pdo-mysql | |
2458 | %extension_scripts pdo-odbc | |
2459 | %extension_scripts pdo-pgsql | |
2460 | %extension_scripts pdo-sqlite | |
2461 | %extension_scripts pgsql | |
c14467fd | 2462 | %extension_scripts phar |
c7812384 ER |
2463 | %extension_scripts posix |
2464 | %extension_scripts pspell | |
2465 | %extension_scripts recode | |
722f34a7 | 2466 | %extension_scripts session |
c7812384 ER |
2467 | %extension_scripts shmop |
2468 | %extension_scripts snmp | |
2469 | %extension_scripts soap | |
2470 | %extension_scripts sockets | |
722f34a7 | 2471 | %extension_scripts spl |
c7812384 | 2472 | %extension_scripts sqlite |
c14467fd | 2473 | %extension_scripts sqlite3 |
c7812384 ER |
2474 | %extension_scripts sybase-ct |
2475 | %extension_scripts sysvmsg | |
2476 | %extension_scripts sysvsem | |
2477 | %extension_scripts sysvshm | |
2478 | %extension_scripts tidy | |
2479 | %extension_scripts tokenizer | |
2480 | %extension_scripts wddx | |
2481 | %extension_scripts xml | |
2482 | %extension_scripts xmlreader | |
2483 | %extension_scripts xmlrpc | |
2484 | %extension_scripts xmlwriter | |
2485 | %extension_scripts xsl | |
2486 | %extension_scripts zip | |
2487 | %extension_scripts zlib | |
3f700db8 ER |
2488 | |
2489 | %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1 | |
35a4400e | 2490 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2491 | |
3f700db8 | 2492 | %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1 |
35a4400e | 2493 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2494 | |
3f700db8 | 2495 | %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1 |
35a4400e | 2496 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2497 | |
2498 | %triggerun curl -- %{name}-curl < 4:5.0.4-9.1 | |
35a4400e | 2499 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2500 | |
2501 | %triggerun dba -- %{name}-dba < 4:5.0.4-9.1 | |
35a4400e | 2502 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2503 | |
3f700db8 | 2504 | %triggerun dom -- %{name}-dom < 4:5.0.4-9.1 |
35a4400e | 2505 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2506 | |
2507 | %triggerun exif -- %{name}-exif < 4:5.0.4-9.1 | |
35a4400e | 2508 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2509 | |
3f700db8 | 2510 | %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1 |
35a4400e | 2511 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2512 | |
3f700db8 | 2513 | %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1 |
35a4400e | 2514 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2515 | |
2516 | %triggerun gd -- %{name}-gd < 4:5.0.4-9.1 | |
35a4400e | 2517 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2518 | |
2519 | %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1 | |
35a4400e | 2520 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2521 | |
2522 | %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1 | |
35a4400e | 2523 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2524 | |
3f700db8 | 2525 | %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1 |
35a4400e | 2526 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2527 | |
2528 | %triggerun imap -- %{name}-imap < 4:5.0.4-9.1 | |
35a4400e | 2529 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2530 | |
2531 | %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1 | |
35a4400e | 2532 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2533 | |
2534 | %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1 | |
35a4400e | 2535 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2536 | |
2537 | %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1 | |
35a4400e | 2538 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2539 | |
2540 | %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1 | |
35a4400e | 2541 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2542 | |
3f700db8 | 2543 | %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1 |
35a4400e | 2544 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2545 | |
2546 | %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1 | |
35a4400e | 2547 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini |
dbfbeab3 | 2548 | |
3f700db8 | 2549 | %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1 |
35a4400e | 2550 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2551 | |
2552 | %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1 | |
35a4400e | 2553 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2554 | |
2555 | %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1 | |
35a4400e | 2556 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2557 | |
2558 | %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1 | |
35a4400e | 2559 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini |
dbfbeab3 ER |
2560 | |
2561 | %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5 | |
35a4400e ER |
2562 | if [ -f %{_sysconfdir}/php-cgi.ini ]; then |
2563 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini | |
dbfbeab3 | 2564 | fi |
35a4400e ER |
2565 | if [ -f %{_sysconfdir}/php-cli.ini ]; then |
2566 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini | |
dbfbeab3 | 2567 | fi |
3f700db8 | 2568 | |
722f34a7 ER |
2569 | %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1 |
2570 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini | |
2571 | ||
3f700db8 | 2572 | %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1 |
35a4400e | 2573 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2574 | |
2575 | %triggerun posix -- %{name}-posix < 4:5.0.4-9.1 | |
35a4400e | 2576 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2577 | |
2578 | %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1 | |
35a4400e | 2579 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini |
dbfbeab3 ER |
2580 | |
2581 | %triggerun readline -- %{name}-readline < 4:5.1.2-9.5 | |
35a4400e ER |
2582 | if [ -f %{_sysconfdir}/php-cgi.ini ]; then |
2583 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini | |
dbfbeab3 | 2584 | fi |
35a4400e ER |
2585 | if [ -f %{_sysconfdir}/php-cli.ini ]; then |
2586 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini | |
dbfbeab3 | 2587 | fi |
3f700db8 ER |
2588 | |
2589 | %triggerun recode -- %{name}-recode < 4:5.0.4-9.1 | |
35a4400e | 2590 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2591 | |
722f34a7 ER |
2592 | %triggerun session -- %{name}-session < 4:5.0.4-9.1 |
2593 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*session\.so/d' %{_sysconfdir}/php.ini | |
2594 | ||
3f700db8 | 2595 | %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1 |
35a4400e | 2596 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2597 | |
2598 | %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1 | |
35a4400e | 2599 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2600 | |
2601 | %triggerun soap -- %{name}-soap < 4:5.0.4-9.1 | |
35a4400e | 2602 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2603 | |
2604 | %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1 | |
35a4400e | 2605 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2606 | |
2607 | %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1 | |
35a4400e | 2608 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2609 | |
3f700db8 | 2610 | %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1 |
35a4400e | 2611 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2612 | |
2613 | %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1 | |
35a4400e | 2614 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2615 | |
2616 | %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1 | |
35a4400e | 2617 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2618 | |
2619 | %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1 | |
35a4400e | 2620 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2621 | |
2622 | %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1 | |
35a4400e | 2623 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2624 | |
2625 | %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1 | |
35a4400e | 2626 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2627 | |
2628 | %triggerun xml -- %{name}-xml < 4:5.0.4-9.1 | |
35a4400e | 2629 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2630 | |
2631 | %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1 | |
35a4400e | 2632 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini |
3f700db8 ER |
2633 | |
2634 | %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1 | |
35a4400e | 2635 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini |
3f700db8 | 2636 | |
3f700db8 | 2637 | %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1 |
35a4400e | 2638 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini |
7bd1e950 | 2639 | |
3f700db8 | 2640 | %if %{with apache1} |
aa39c584 | 2641 | %files -n apache1-mod_php |
3f700db8 | 2642 | %defattr(644,root,root,755) |
ce888321 | 2643 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf |
6ee9f55b | 2644 | %dir %{_sysconfdir}/apache.d |
26a10e8e | 2645 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini |
3f700db8 | 2646 | %attr(755,root,root) %{_libdir}/apache1/libphp5.so |
3f700db8 ER |
2647 | %endif |
2648 | ||
2649 | %if %{with apache2} | |
aa39c584 | 2650 | %files -n apache-mod_php |
9af2b7db | 2651 | %defattr(644,root,root,755) |
6756a8ae | 2652 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php.conf |
6ee9f55b | 2653 | %dir %{_sysconfdir}/apache2handler.d |
26a10e8e | 2654 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini |
3f700db8 | 2655 | %attr(755,root,root) %{_libdir}/apache/libphp5.so |
6e4962cf | 2656 | %endif |
1b142d44 | 2657 | |
2658 | %if %{with litespeed} | |
2659 | %files litespeed | |
2660 | %defattr(644,root,root,755) | |
a800f7dd | 2661 | %attr(755,root,root) %{_sbindir}/php.litespeed |
1b142d44 | 2662 | %endif |
345124d0 | 2663 | |
b1558782 | 2664 | %if %{with cgi} |
c14467fd | 2665 | %files cgi |
18ad4238 | 2666 | %defattr(644,root,root,755) |
6ee9f55b | 2667 | %dir %{_sysconfdir}/cgi-fcgi.d |
26a10e8e | 2668 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini |
dbfbeab3 | 2669 | %attr(755,root,root) %{_bindir}/php.cgi |
c14467fd | 2670 | %attr(755,root,root) %{_bindir}/php.fcgi |
b1558782 | 2671 | %endif |
345124d0 | 2672 | |
4342041a JB |
2673 | %files cli |
2674 | %defattr(644,root,root,755) | |
6ee9f55b | 2675 | %dir %{_sysconfdir}/cli.d |
26a10e8e | 2676 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini |
dbfbeab3 | 2677 | %attr(755,root,root) %{_bindir}/php.cli |
e584ad6b | 2678 | %{_mandir}/man1/php.1* |
194505ba | 2679 | %{_mandir}/man1/php.cli.1* |
4342041a | 2680 | |
067e71d9 ER |
2681 | %files program |
2682 | %defattr(644,root,root,755) | |
2683 | %attr(755,root,root) %{_bindir}/php | |
2684 | ||
cc446d0d ER |
2685 | %if %{with fpm} |
2686 | %files fpm | |
2687 | %defattr(644,root,root,755) | |
0a63e0da ER |
2688 | %doc sapi/fpm/CREDITS |
2689 | %doc sapi/fpm/LICENSE | |
b5727ab6 ER |
2690 | %dir %{_sysconfdir}/fpm.d |
2691 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-fpm.conf | |
6a65c24a | 2692 | %attr(755,root,root) %{_sbindir}/php-fpm |
cc446d0d ER |
2693 | %{_mandir}/man1/php-fpm.1* |
2694 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/php-fpm | |
2695 | %attr(754,root,root) /etc/rc.d/init.d/php-fpm | |
2696 | %endif | |
2697 | ||
345124d0 JR |
2698 | %files common |
2699 | %defattr(644,root,root,755) | |
9f43e43c | 2700 | %doc php.ini-* |
c965b36e | 2701 | %doc CREDITS Zend/ZEND_CHANGES |
c2388c7d | 2702 | %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO* |
c14467fd AM |
2703 | %doc README.PHP4-TO-PHP5-THIN-CHANGES |
2704 | %doc README.namespaces | |
9af2b7db | 2705 | |
6ee9f55b ER |
2706 | %dir %{_sysconfdir} |
2707 | %dir %{_sysconfdir}/conf.d | |
2708 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini | |
2709 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini | |
35ef43f3 | 2710 | %attr(755,root,root) %{_libdir}/libphp_common-*.so |
98ab5057 | 2711 | %dir %{php_extensiondir} |
6290790d | 2712 | |
90bc78d4 ER |
2713 | %doc ext/session/mod_files.sh |
2714 | ||
6290790d AF |
2715 | %files devel |
2716 | %defattr(644,root,root,755) | |
c965b36e ER |
2717 | %doc README.UNIX-BUILD-SYSTEM |
2718 | %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS | |
b1aec54d ER |
2719 | %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS |
2720 | %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2 | |
6290790d AF |
2721 | %attr(755,root,root) %{_bindir}/phpize |
2722 | %attr(755,root,root) %{_bindir}/php-config | |
35ef43f3 | 2723 | %attr(755,root,root) %{_libdir}/libphp_common.so |
80259e0d | 2724 | %{_libdir}/libphp_common.la |
35ef43f3 JB |
2725 | %{_includedir}/php |
2726 | %{_libdir}/php/build | |
e45dd143 ER |
2727 | %{_mandir}/man1/php-config.1* |
2728 | %{_mandir}/man1/phpize.1* | |
6290790d | 2729 | |
c2388c7d | 2730 | %files bcmath |
3756f78e | 2731 | %defattr(644,root,root,755) |
6ee9f55b | 2732 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini |
98ab5057 | 2733 | %attr(755,root,root) %{php_extensiondir}/bcmath.so |
3756f78e | 2734 | |
3d687f71 | 2735 | %files bz2 |
defaa0de | 2736 | %defattr(644,root,root,755) |
6ee9f55b | 2737 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini |
98ab5057 | 2738 | %attr(755,root,root) %{php_extensiondir}/bz2.so |
defaa0de | 2739 | |
c2388c7d | 2740 | %files calendar |
253c0459 | 2741 | %defattr(644,root,root,755) |
6ee9f55b | 2742 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini |
98ab5057 | 2743 | %attr(755,root,root) %{php_extensiondir}/calendar.so |
0d0f2f4c | 2744 | |
c2388c7d | 2745 | %files ctype |
0818fbbe | 2746 | %defattr(644,root,root,755) |
6ee9f55b | 2747 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini |
98ab5057 | 2748 | %attr(755,root,root) %{php_extensiondir}/ctype.so |
b9e5df0a | 2749 | |
6f91d99f | 2750 | %if %{with curl} |
c2388c7d | 2751 | %files curl |
e7a3c495 | 2752 | %defattr(644,root,root,755) |
6ee9f55b | 2753 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini |
98ab5057 | 2754 | %attr(755,root,root) %{php_extensiondir}/curl.so |
311c6870 | 2755 | %endif |
b9e5df0a | 2756 | |
defaa0de AF |
2757 | %files dba |
2758 | %defattr(644,root,root,755) | |
6ee9f55b | 2759 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini |
98ab5057 | 2760 | %attr(755,root,root) %{php_extensiondir}/dba.so |
defaa0de | 2761 | |
51312e8d JB |
2762 | %files dom |
2763 | %defattr(644,root,root,755) | |
6ee9f55b | 2764 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini |
98ab5057 | 2765 | %attr(755,root,root) %{php_extensiondir}/dom.so |
51312e8d | 2766 | |
6f91d99f | 2767 | %if %{with fdf} |
e584ad6b JB |
2768 | %files fdf |
2769 | %defattr(644,root,root,755) | |
6ee9f55b | 2770 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini |
98ab5057 | 2771 | %attr(755,root,root) %{php_extensiondir}/fdf.so |
e584ad6b JB |
2772 | %endif |
2773 | ||
c14467fd AM |
2774 | %files fileinfo |
2775 | %defattr(644,root,root,755) | |
2776 | %doc README.input_filter | |
2777 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fileinfo.ini | |
2778 | %attr(755,root,root) %{php_extensiondir}/fileinfo.so | |
2779 | ||
696cac8d | 2780 | %if %{with filter} |
12295c68 ER |
2781 | %files filter |
2782 | %defattr(644,root,root,755) | |
348a9a39 | 2783 | %doc README.input_filter |
6ee9f55b | 2784 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini |
98ab5057 | 2785 | %attr(755,root,root) %{php_extensiondir}/filter.so |
696cac8d | 2786 | %endif |
12295c68 | 2787 | |
c2388c7d | 2788 | %files exif |
defaa0de | 2789 | %defattr(644,root,root,755) |
6ee9f55b | 2790 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini |
98ab5057 | 2791 | %attr(755,root,root) %{php_extensiondir}/exif.so |
defaa0de | 2792 | |
defaa0de AF |
2793 | %files ftp |
2794 | %defattr(644,root,root,755) | |
6ee9f55b | 2795 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini |
98ab5057 | 2796 | %attr(755,root,root) %{php_extensiondir}/ftp.so |
defaa0de | 2797 | |
c2388c7d | 2798 | %files gd |
defaa0de | 2799 | %defattr(644,root,root,755) |
6ee9f55b | 2800 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini |
98ab5057 | 2801 | %attr(755,root,root) %{php_extensiondir}/gd.so |
defaa0de | 2802 | |
c2388c7d | 2803 | %files gettext |
7bd1e950 | 2804 | %defattr(644,root,root,755) |
6ee9f55b | 2805 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini |
98ab5057 | 2806 | %attr(755,root,root) %{php_extensiondir}/gettext.so |
7bd1e950 | 2807 | |
c2388c7d | 2808 | %files gmp |
501cd767 | 2809 | %defattr(644,root,root,755) |
6ee9f55b | 2810 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini |
98ab5057 | 2811 | %attr(755,root,root) %{php_extensiondir}/gmp.so |
501cd767 | 2812 | |
86ceb323 ER |
2813 | %files hash |
2814 | %defattr(644,root,root,755) | |
6ee9f55b | 2815 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini |
98ab5057 | 2816 | %attr(755,root,root) %{php_extensiondir}/hash.so |
86ceb323 | 2817 | |
c2388c7d | 2818 | %files iconv |
501cd767 | 2819 | %defattr(644,root,root,755) |
6ee9f55b | 2820 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini |
98ab5057 | 2821 | %attr(755,root,root) %{php_extensiondir}/iconv.so |
501cd767 | 2822 | |
6f91d99f | 2823 | %if %{with imap} |
e0e8f1c2 AF |
2824 | %files imap |
2825 | %defattr(644,root,root,755) | |
6ee9f55b | 2826 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini |
98ab5057 | 2827 | %attr(755,root,root) %{php_extensiondir}/imap.so |
e1126429 | 2828 | %endif |
e0e8f1c2 | 2829 | |
6f91d99f | 2830 | %if %{with interbase} |
c2388c7d | 2831 | %files interbase |
501cd767 | 2832 | %defattr(644,root,root,755) |
6ee9f55b | 2833 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini |
98ab5057 | 2834 | %attr(755,root,root) %{php_extensiondir}/interbase.so |
e1126429 | 2835 | %endif |
501cd767 | 2836 | |
c14467fd AM |
2837 | %files intl |
2838 | %defattr(644,root,root,755) | |
2839 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/intl.ini | |
2840 | %attr(755,root,root) %{php_extensiondir}/intl.so | |
2841 | ||
86ceb323 ER |
2842 | %files json |
2843 | %defattr(644,root,root,755) | |
6ee9f55b | 2844 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini |
98ab5057 | 2845 | %attr(755,root,root) %{php_extensiondir}/json.so |
86ceb323 | 2846 | |
6f91d99f | 2847 | %if %{with ldap} |
38ecdf75 | 2848 | %files ldap |
2ad2afe6 | 2849 | %defattr(644,root,root,755) |
6ee9f55b | 2850 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini |
98ab5057 | 2851 | %attr(755,root,root) %{php_extensiondir}/ldap.so |
253c0459 | 2852 | %endif |
38ecdf75 | 2853 | |
c2388c7d | 2854 | %files mbstring |
2ad2afe6 | 2855 | %defattr(644,root,root,755) |
6ee9f55b | 2856 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini |
98ab5057 | 2857 | %attr(755,root,root) %{php_extensiondir}/mbstring.so |
c2388c7d | 2858 | |
38ecdf75 | 2859 | %files mcrypt |
2ad2afe6 | 2860 | %defattr(644,root,root,755) |
6ee9f55b | 2861 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini |
98ab5057 | 2862 | %attr(755,root,root) %{php_extensiondir}/mcrypt.so |
38ecdf75 | 2863 | |
6f91d99f | 2864 | %if %{with mssql} |
7899bacd | 2865 | %files mssql |
2866 | %defattr(644,root,root,755) | |
6ee9f55b | 2867 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini |
98ab5057 | 2868 | %attr(755,root,root) %{php_extensiondir}/mssql.so |
7899bacd | 2869 | %endif |
2870 | ||
b26af6f7 ER |
2871 | %if %{with mysqlnd} |
2872 | %files mysqlnd | |
2873 | %defattr(644,root,root,755) | |
2874 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/MySQLND.ini | |
2875 | %attr(755,root,root) %{php_extensiondir}/mysqlnd.so | |
2876 | %endif | |
2877 | ||
c2388c7d | 2878 | %files mysql |
2879 | %defattr(644,root,root,755) | |
6ee9f55b | 2880 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini |
98ab5057 | 2881 | %attr(755,root,root) %{php_extensiondir}/mysql.so |
c2388c7d | 2882 | |
8b37a21e ER |
2883 | %if %{with mysqli} |
2884 | %files mysqli | |
2885 | %defattr(644,root,root,755) | |
6ee9f55b | 2886 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini |
98ab5057 | 2887 | %attr(755,root,root) %{php_extensiondir}/mysqli.so |
8b37a21e ER |
2888 | %endif |
2889 | ||
6f91d99f | 2890 | %if %{with oci8} |
c2388c7d | 2891 | %files oci8 |
2892 | %defattr(644,root,root,755) | |
6ee9f55b | 2893 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini |
98ab5057 | 2894 | %attr(755,root,root) %{php_extensiondir}/oci8.so |
c2388c7d | 2895 | %endif |
2896 | ||
6f91d99f | 2897 | %if %{with odbc} |
253c0459 AF |
2898 | %files odbc |
2899 | %defattr(644,root,root,755) | |
6ee9f55b | 2900 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini |
98ab5057 | 2901 | %attr(755,root,root) %{php_extensiondir}/odbc.so |
e1126429 | 2902 | %endif |
253c0459 | 2903 | |
51d4ceac AM |
2904 | %if %{with openssl} |
2905 | %files openssl | |
2906 | %defattr(644,root,root,755) | |
6ee9f55b | 2907 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini |
98ab5057 | 2908 | %attr(755,root,root) %{php_extensiondir}/openssl.so |
51d4ceac | 2909 | %endif |
6997cdef | 2910 | |
efe52553 JB |
2911 | %files pcntl |
2912 | %defattr(644,root,root,755) | |
86ee4c6a | 2913 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcntl.ini |
98ab5057 | 2914 | %attr(755,root,root) %{php_extensiondir}/pcntl.so |
c2388c7d | 2915 | |
722f34a7 ER |
2916 | %if %{with pcre} |
2917 | %files pcre | |
2918 | %defattr(644,root,root,755) | |
2919 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/PCRE.ini | |
2920 | %attr(755,root,root) %{php_extensiondir}/pcre.so | |
2921 | %endif | |
2922 | ||
768d3bda AM |
2923 | %files pdo |
2924 | %defattr(644,root,root,755) | |
6ee9f55b | 2925 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini |
98ab5057 | 2926 | %attr(755,root,root) %{php_extensiondir}/pdo.so |
768d3bda | 2927 | |
c14467fd | 2928 | %if %{with mssql} || %{with sybase_ct} |
768d3bda AM |
2929 | %files pdo-dblib |
2930 | %defattr(644,root,root,755) | |
6ee9f55b | 2931 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini |
98ab5057 | 2932 | %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so |
768d3bda AM |
2933 | %endif |
2934 | ||
f6477c6e | 2935 | %if %{with interbase} && !%{with interbase_inst} |
f4359077 ER |
2936 | %files pdo-firebird |
2937 | %defattr(644,root,root,755) | |
6ee9f55b | 2938 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini |
98ab5057 | 2939 | %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so |
f4359077 ER |
2940 | %endif |
2941 | ||
768d3bda AM |
2942 | %files pdo-mysql |
2943 | %defattr(644,root,root,755) | |
6ee9f55b | 2944 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini |
98ab5057 | 2945 | %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so |
768d3bda | 2946 | |
d902abac JB |
2947 | %if %{with oci8} |
2948 | %files pdo-oci | |
768d3bda | 2949 | %defattr(644,root,root,755) |
6ee9f55b | 2950 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini |
98ab5057 | 2951 | %attr(755,root,root) %{php_extensiondir}/pdo_oci.so |
768d3bda AM |
2952 | %endif |
2953 | ||
2954 | %if %{with odbc} | |
2955 | %files pdo-odbc | |
2956 | %defattr(644,root,root,755) | |
6ee9f55b | 2957 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini |
98ab5057 | 2958 | %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so |
768d3bda AM |
2959 | %endif |
2960 | ||
2961 | %if %{with pgsql} | |
2962 | %files pdo-pgsql | |
2963 | %defattr(644,root,root,755) | |
6ee9f55b | 2964 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini |
98ab5057 | 2965 | %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so |
768d3bda AM |
2966 | %endif |
2967 | ||
2968 | %if %{with sqlite} | |
2969 | %files pdo-sqlite | |
2970 | %defattr(644,root,root,755) | |
6ee9f55b | 2971 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini |
98ab5057 | 2972 | %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so |
768d3bda AM |
2973 | %endif |
2974 | ||
6f91d99f | 2975 | %if %{with pgsql} |
c2388c7d | 2976 | %files pgsql |
2977 | %defattr(644,root,root,755) | |
6ee9f55b | 2978 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini |
98ab5057 | 2979 | %attr(755,root,root) %{php_extensiondir}/pgsql.so |
311c6870 | 2980 | %endif |
c2388c7d | 2981 | |
c14467fd AM |
2982 | %if %{with phar} |
2983 | %files phar | |
2984 | %defattr(644,root,root,755) | |
2985 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/phar.ini | |
2986 | %attr(755,root,root) %{php_extensiondir}/phar.so | |
ac044162 ER |
2987 | %attr(755,root,root) %{_bindir}/phar |
2988 | %attr(755,root,root) %{_bindir}/phar.phar | |
c14467fd AM |
2989 | %endif |
2990 | ||
c2388c7d | 2991 | %files posix |
2992 | %defattr(644,root,root,755) | |
6ee9f55b | 2993 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini |
98ab5057 | 2994 | %attr(755,root,root) %{php_extensiondir}/posix.so |
c2388c7d | 2995 | |
6f91d99f | 2996 | %if %{with pspell} |
c2388c7d | 2997 | %files pspell |
2998 | %defattr(644,root,root,755) | |
6ee9f55b | 2999 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini |
98ab5057 | 3000 | %attr(755,root,root) %{php_extensiondir}/pspell.so |
90df7549 | 3001 | %endif |
c2388c7d | 3002 | |
e584ad6b JB |
3003 | %files readline |
3004 | %defattr(644,root,root,755) | |
6ee9f55b | 3005 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini |
98ab5057 | 3006 | %attr(755,root,root) %{php_extensiondir}/readline.so |
e584ad6b | 3007 | |
6f91d99f | 3008 | %if %{with recode} |
c2388c7d | 3009 | %files recode |
3010 | %defattr(644,root,root,755) | |
6ee9f55b | 3011 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini |
98ab5057 | 3012 | %attr(755,root,root) %{php_extensiondir}/recode.so |
c2388c7d | 3013 | %endif |
3014 | ||
768d3bda AM |
3015 | %files simplexml |
3016 | %defattr(644,root,root,755) | |
6ee9f55b | 3017 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini |
98ab5057 | 3018 | %attr(755,root,root) %{php_extensiondir}/simplexml.so |
768d3bda | 3019 | |
722f34a7 ER |
3020 | %files session |
3021 | %defattr(644,root,root,755) | |
3022 | %doc ext/session/mod_files.sh | |
3023 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/session.ini | |
3024 | %attr(755,root,root) %{php_extensiondir}/session.so | |
3025 | ||
c2388c7d | 3026 | %files shmop |
3027 | %defattr(644,root,root,755) | |
6ee9f55b | 3028 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini |
98ab5057 | 3029 | %attr(755,root,root) %{php_extensiondir}/shmop.so |
c2388c7d | 3030 | |
6f91d99f | 3031 | %if %{with snmp} |
c2388c7d | 3032 | %files snmp |
3033 | %defattr(644,root,root,755) | |
6ee9f55b | 3034 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini |
98ab5057 | 3035 | %attr(755,root,root) %{php_extensiondir}/snmp.so |
c2388c7d | 3036 | %endif |
3037 | ||
54eb743b AM |
3038 | %files soap |
3039 | %defattr(644,root,root,755) | |
6ee9f55b | 3040 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini |
98ab5057 | 3041 | %attr(755,root,root) %{php_extensiondir}/soap.so |
54eb743b | 3042 | |
c2388c7d | 3043 | %files sockets |
3044 | %defattr(644,root,root,755) | |
6ee9f55b | 3045 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini |
98ab5057 | 3046 | %attr(755,root,root) %{php_extensiondir}/sockets.so |
c2388c7d | 3047 | |
722f34a7 ER |
3048 | %files spl |
3049 | %defattr(644,root,root,755) | |
3050 | %doc ext/spl/{CREDITS,README,TODO} | |
3051 | %doc ext/spl/examples | |
3052 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/SPL.ini | |
3053 | %attr(755,root,root) %{php_extensiondir}/spl.so | |
3054 | ||
8c91402c AM |
3055 | %if %{with sqlite} |
3056 | %files sqlite | |
3057 | %defattr(644,root,root,755) | |
c14467fd | 3058 | %doc ext/sqlite/{README,TODO,CREDITS} |
6ee9f55b | 3059 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini |
98ab5057 | 3060 | %attr(755,root,root) %{php_extensiondir}/sqlite.so |
8c91402c AM |
3061 | %endif |
3062 | ||
c14467fd AM |
3063 | %if %{with sqlite3} |
3064 | %files sqlite3 | |
e584ad6b | 3065 | %defattr(644,root,root,755) |
c14467fd AM |
3066 | %doc ext/sqlite3/CREDITS |
3067 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite3.ini | |
3068 | %attr(755,root,root) %{php_extensiondir}/sqlite3.so | |
afba0b54 | 3069 | %endif |
e584ad6b | 3070 | |
afba0b54 | 3071 | %if %{with sybase_ct} |
c2388c7d | 3072 | %files sybase-ct |
3073 | %defattr(644,root,root,755) | |
6ee9f55b | 3074 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini |
98ab5057 | 3075 | %attr(755,root,root) %{php_extensiondir}/sybase_ct.so |
38c4a978 | 3076 | %endif |
386054ee | 3077 | |
e584ad6b JB |
3078 | %files sysvmsg |
3079 | %defattr(644,root,root,755) | |
6ee9f55b | 3080 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini |
98ab5057 | 3081 | %attr(755,root,root) %{php_extensiondir}/sysvmsg.so |
e584ad6b | 3082 | |
c2388c7d | 3083 | %files sysvsem |
3084 | %defattr(644,root,root,755) | |
6ee9f55b | 3085 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini |
98ab5057 | 3086 | %attr(755,root,root) %{php_extensiondir}/sysvsem.so |
c2388c7d | 3087 | |
3088 | %files sysvshm | |
3089 | %defattr(644,root,root,755) | |
6ee9f55b | 3090 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini |
98ab5057 | 3091 | %attr(755,root,root) %{php_extensiondir}/sysvshm.so |
c2388c7d | 3092 | |
c14467fd AM |
3093 | %files tests |
3094 | %defattr(644,root,root,755) | |
3095 | %dir %{php_data_dir}/tests/php | |
3096 | %{php_data_dir}/tests/php/basic | |
3097 | %{php_data_dir}/tests/php/classes | |
3098 | %{php_data_dir}/tests/php/func | |
3099 | %{php_data_dir}/tests/php/lang | |
3100 | %{php_data_dir}/tests/php/output | |
3101 | %{php_data_dir}/tests/php/run-test | |
3102 | %{php_data_dir}/tests/php/security | |
3103 | %{php_data_dir}/tests/php/strings | |
3104 | %{php_data_dir}/tests/php/quicktester.inc | |
3105 | %attr(755,root,root) %{php_data_dir}/tests/php/run-tests.php | |
3106 | ||
8c91402c AM |
3107 | %if %{with tidy} |
3108 | %files tidy | |
3109 | %defattr(644,root,root,755) | |
6ee9f55b | 3110 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini |
98ab5057 | 3111 | %attr(755,root,root) %{php_extensiondir}/tidy.so |
8c91402c AM |
3112 | %endif |
3113 | ||
f476635d ER |
3114 | %files tokenizer |
3115 | %defattr(644,root,root,755) | |
6ee9f55b | 3116 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini |
98ab5057 | 3117 | %attr(755,root,root) %{php_extensiondir}/tokenizer.so |
f476635d | 3118 | |
6f91d99f | 3119 | %if %{with wddx} |
386054ee JB |
3120 | %files wddx |
3121 | %defattr(644,root,root,755) | |
6ee9f55b | 3122 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini |
98ab5057 | 3123 | %attr(755,root,root) %{php_extensiondir}/wddx.so |
386054ee | 3124 | %endif |
1adf90d7 | 3125 | |
c2388c7d | 3126 | %files xml |
3127 | %defattr(644,root,root,755) | |
6ee9f55b | 3128 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini |
98ab5057 | 3129 | %attr(755,root,root) %{php_extensiondir}/xml.so |
8c91402c | 3130 | |
768d3bda AM |
3131 | %files xmlreader |
3132 | %defattr(644,root,root,755) | |
6ee9f55b | 3133 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini |
98ab5057 | 3134 | %attr(755,root,root) %{php_extensiondir}/xmlreader.so |
768d3bda | 3135 | |
6f91d99f | 3136 | %if %{with xmlrpc} |
c2388c7d | 3137 | %files xmlrpc |
1adf90d7 | 3138 | %defattr(644,root,root,755) |
6ee9f55b | 3139 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini |
98ab5057 | 3140 | %attr(755,root,root) %{php_extensiondir}/xmlrpc.so |
efe52553 | 3141 | %endif |
c2388c7d | 3142 | |
86ceb323 ER |
3143 | %files xmlwriter |
3144 | %defattr(644,root,root,755) | |
6ee9f55b | 3145 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini |
98ab5057 | 3146 | %attr(755,root,root) %{php_extensiondir}/xmlwriter.so |
86ceb323 | 3147 | |
dc49e336 JB |
3148 | %files xsl |
3149 | %defattr(644,root,root,755) | |
6ee9f55b | 3150 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini |
98ab5057 | 3151 | %attr(755,root,root) %{php_extensiondir}/xsl.so |
dc49e336 | 3152 | |
b27cf2ef ER |
3153 | %files zip |
3154 | %defattr(644,root,root,755) | |
6ee9f55b | 3155 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini |
98ab5057 | 3156 | %attr(755,root,root) %{php_extensiondir}/zip.so |
b27cf2ef | 3157 | |
c2388c7d | 3158 | %files zlib |
3159 | %defattr(644,root,root,755) | |
6ee9f55b | 3160 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini |
98ab5057 | 3161 | %attr(755,root,root) %{php_extensiondir}/zlib.so |