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