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