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