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