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