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