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