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