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