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