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