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