]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- cosmetics
[packages/php.git] / php.spec
1 # TODO:
2 # - think of including support for:
3 #    - mcve,
4 #    - ovrimos,
5 #    - pfpro,
6 #   These extensions BuildRequires proprietary libraries...
7 # - deal with modules removed from php and not moved to PECL
8 #   (existing only in php4):
9 #   db, hyperwave, java, mcal, overload, qtdom
10 #   and removed from php 5.1:
11 #   cpdf, fam, yp, oracle
12 #   and removed from php 5.1.3:
13 #   msession
14 #   and removed from php 5.2:
15 #   filepro, hw
16 # - mime_magic can't handle new "string/*" entries in magic.mime
17 #   thus doesn't work with system magic.mime database
18 # - make additional headers added by mail patch configurable
19 # - apply -hardened patch by default ?
20 # - modularize session, standard (output from pure php -m)?
21 #
22 # Conditional build:
23 %bcond_with     db3             # use db3 packages instead of db (4.x) for Berkeley DB support
24 %bcond_with     fdf             # with FDF (PDF forms) module           (BR: proprietary lib)
25 %bcond_with     hardening       # build with hardening patch applied (http://www.hardened-php.net/)
26 %bcond_with     interbase_inst  # use InterBase install., not Firebird  (BR: proprietary libs)
27 %bcond_with     oci8            # with Oracle oci8 extension module     (BR: proprietary libs)
28 %bcond_without  curl            # without CURL extension module
29 %bcond_without  imap            # without IMAP extension module
30 %bcond_with     interbase       # with InterBase extension module
31 %bcond_without  ldap            # without LDAP extension module
32 %bcond_without  mhash           # without mhash extension module
33 %bcond_without  ming            # without ming extension module
34 %bcond_without  mm              # without mm support for session storage
35 %bcond_without  mssql           # without MS SQL extension module
36 %bcond_without  mysqli          # without mysqli support (Requires mysql > 4.1)
37 %bcond_without  mime_magic      # without mime-magic module
38 %bcond_without  odbc            # without ODBC extension module
39 %bcond_without  openssl         # without OpenSSL support and OpenSSL extension (module)
40 %bcond_without  pcre            # without PCRE extension module
41 %bcond_without  pgsql           # without PostgreSQL extension module
42 %bcond_without  pspell          # without pspell extension module
43 %bcond_without  recode          # without recode extension module
44 %bcond_without  snmp            # without SNMP extension module
45 %bcond_without  sqlite          # without SQLite extension module
46 %bcond_without  sybase          # without Sybase extension module
47 %bcond_without  sybase_ct       # without Sybase-CT extension module
48 %bcond_without  tidy            # without Tidy extension module
49 %bcond_without  wddx            # without WDDX extension module
50 %bcond_without  xmlrpc          # without XML-RPC extension module
51 %bcond_without  apache1         # disable building apache 1.3.x module
52 %bcond_without  apache2         # disable building apache 2.x module
53 %bcond_without  fcgi            # disable building FCGI SAPI
54 %bcond_without  zts             # disable experimental-zts
55 %bcond_with             versioning      # build with experimental versioning (to load php4/php5 into same apache)
56
57 %define apxs1           /usr/sbin/apxs1
58 %define apxs2           /usr/sbin/apxs
59
60 # some problems with apache 2.x
61 %if %{with apache2}
62 %undefine       with_mm
63 %endif
64
65 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
66 %undefine       with_interbase
67 %endif
68
69 %if !%{with apache1} && !%{with apache2}
70 ERROR: You need to select at least one Apache SAPI to build shared modules.
71 %endif
72
73 %define _rel 0.20
74 Summary:        PHP: Hypertext Preprocessor
75 Summary(fr):    Le langage de script embarque-HTML PHP
76 Summary(pl):    Jêzyk skryptowy PHP
77 Summary(pt_BR): A linguagem de script PHP
78 Summary(ru):    PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
79 Summary(uk):    PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
80 Name:           php
81 Version:        5.2.0
82 Release:        %{_rel}%{?with_hardening:hardened}
83 Epoch:          4
84 License:        PHP
85 Group:          Libraries
86 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.bz2
87 # Source0-md5:  e6029fafcee029edcfa2ceed7a005333
88 Source2:        zend.gif
89 Source3:        %{name}-mod_%{name}.conf
90 Source4:        %{name}-cgi-fcgi.ini
91 Source5:        %{name}-cgi.ini
92 Source6:        %{name}-apache.ini
93 Source7:        %{name}-cli.ini
94 Source8:        http://www.hardened-php.net/hardening-patch-5.0.4-0.3.0.patch.gz
95 # Source8-md5:  47a742fa9fab2826ad10c13a2376111a
96 # Taken from: http://browsers.garykeith.com/downloads.asp
97 Source9:        %{name}_browscap.ini
98 Patch0:         %{name}-shared.patch
99 Patch1:         %{name}-pldlogo.patch
100 Patch2:         %{name}-mail.patch
101 Patch3:         %{name}-link-libs.patch
102 Patch4:         %{name}-libpq_fs_h_path.patch
103 Patch5:         %{name}-filter-shared.patch
104 Patch6:         %{name}-build_modules.patch
105 Patch7:         %{name}-sapi-ini-file.patch
106 Patch8:         %{name}-no-metaccld.patch
107 Patch9:         %{name}-sh.patch
108 Patch10:        %{name}-ini.patch
109 Patch11:        %{name}-acam.patch
110 Patch12:        %{name}-curl.patch
111 Patch14:        %{name}-allow-db31.patch
112 Patch15:        %{name}-threads-acfix.patch
113 Patch16:        %{name}-tsrmlsfetchgcc2.patch
114 Patch17:        %{name}-no_pear_install.patch
115 Patch18:        %{name}-zlib.patch
116 Patch19:        %{name}-sybase-fix.patch
117 Patch20:        %{name}-readline.patch
118 Patch21:        %{name}-nohttpd.patch
119 Patch23:        %{name}-gd_imagerotate_enable.patch
120 Patch24:        %{name}-uint32_t.patch
121 Patch26:        %{name}-dba-link.patch
122 Patch30:        %{name}-hardening-fix.patch
123 Patch31:        %{name}-both-apxs.patch
124 Patch32:        %{name}-builddir.patch
125 Patch33:        %{name}-zlib-for-getimagesize.patch
126 Patch35:        %{name}-versioning.patch
127 Patch36:        %{name}-linkflags-clean.patch
128 Patch38:        %{name}-amd64.patch
129 Patch39:        %{name}-pear.patch
130 Patch40:        %{name}-db4.5.patch
131 URL:            http://www.php.net/
132 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:        Firebird-devel >= 1.0.2.908-2}}
133 %{?with_pspell:BuildRequires:   aspell-devel >= 2:0.50.0}
134 BuildRequires:  autoconf >= 2.53
135 BuildRequires:  automake >= 1.4d
136 BuildRequires:  bison
137 BuildRequires:  bzip2-devel
138 %{?with_curl:BuildRequires:     curl-devel >= 7.12.0}
139 BuildRequires:  cyrus-sasl-devel
140 %{!?with_db3:BuildRequires:     db-devel >= 4.0}
141 %{?with_db3:BuildRequires:      db3-devel >= 3.1}
142 BuildRequires:  elfutils-devel
143 %if %{with xmlrpc}
144 BuildRequires:  expat-devel
145 %endif
146 %{?with_fcgi:BuildRequires:     fcgi-devel}
147 %{?with_fdf:BuildRequires:      fdftk-devel}
148 BuildRequires:  flex
149 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
150 BuildRequires:  freetds-devel
151 %endif
152 BuildRequires:  freetype-devel >= 2.0
153 BuildRequires:  gd-devel >= 2.0.28-4
154 BuildRequires:  gdbm-devel
155 BuildRequires:  gmp-devel
156 %{?with_imap:BuildRequires:     imap-devel >= 1:2001-0.BETA.200107022325.2}
157 BuildRequires:  libjpeg-devel
158 BuildRequires:  libltdl-devel >= 1.4
159 BuildRequires:  libmcrypt-devel >= 2.4.4
160 BuildRequires:  libpng-devel >= 1.0.8
161 BuildRequires:  libtiff-devel
162 BuildRequires:  libtool >= 1.4.3
163 BuildRequires:  libwrap-devel
164 BuildRequires:  libxml2-devel >= 2.5.10
165 BuildRequires:  libxslt-devel >= 1.1.0
166 %{?with_mhash:BuildRequires:    mhash-devel}
167 %{?with_ming:BuildRequires:     ming-devel >= 0.2a-11}
168 %{?with_mm:BuildRequires:       mm-devel >= 1.3.0}
169 BuildRequires:  mysql-devel >= 4.0.0
170 %{?with_mysqli:BuildRequires:   mysql-devel >= 4.1.0}
171 BuildRequires:  ncurses-ext-devel
172 %{?with_ldap:BuildRequires:     openldap-devel >= 2.3.0}
173 %if %{with openssl} || %{with ldap}
174 BuildRequires:  openssl-devel >= 0.9.7d
175 %endif
176 %{?with_snmp:BuildRequires:     net-snmp-devel >= 5.0.7}
177 BuildRequires:  pam-devel
178 %{?with_pcre:BuildRequires:     pcre-devel >= 6.6}
179 %{?with_pgsql:BuildRequires:    postgresql-backend-devel >= 7.2}
180 %{?with_pgsql:BuildRequires:    postgresql-devel}
181 BuildRequires:  readline-devel
182 %{?with_recode:BuildRequires:   recode-devel >= 3.5d-3}
183 BuildRequires:  rpm-build >= 4.4.0
184 BuildRequires:  rpmbuild(macros) >= 1.238
185 %{?with_sqlite:BuildRequires:   sqlite-devel}
186 %{?with_sqlite:BuildRequires:   sqlite3-devel}
187 BuildRequires:  t1lib-devel
188 %{?with_tidy:BuildRequires:     tidy-devel}
189 %{?with_odbc:BuildRequires:     unixODBC-devel}
190 %{?with_xmlrpc:BuildRequires:   xmlrpc-epi-devel}
191 BuildRequires:  zlib-devel >= 1.0.9
192 %if %{with apache1}
193 BuildRequires:  apache1-devel
194 %endif
195 %if %{with apache2}
196 BuildRequires:  apache-devel >= 2.0.52-2
197 BuildRequires:  apr-devel >= 1:1.0.0
198 BuildRequires:  apr-util-devel >= 1:1.0.0
199 %endif
200 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
201
202 %define         _sysconfdir     /etc/php
203 %define         extensionsdir   %{_libdir}/php
204
205 # must be in sync with source. extra check ensuring that it is so is done in %%build
206 %define         php_api_version         20041225
207 %define         zend_module_api         20060613
208 %define         zend_extension_api      220060519
209 %define         zend_zts                        %{!?with_zts:0}%{?with_zts:1}
210 %define         php_debug                       %{!?debug:0}%{?debug:1}
211
212 %description
213 PHP is an HTML-embedded scripting language. PHP attempts to make it
214 easy for developers to write dynamically generated web pages. PHP also
215 offers built-in database integration for several commercial and
216 non-commercial database management systems, so writing a
217 database-enabled web page with PHP is fairly simple. The most common
218 use of PHP coding is probably as a replacement for CGI scripts. The
219 mod_php module enables the Apache web server to understand and process
220 the embedded PHP language in web pages. This package contains php
221 version %{version}.
222
223 %description -l fr
224 PHP est un langage de script embarque dans le HTM. PHP essaye de
225 rendre simple aux developpeurs d'ecrire des pages web generees
226 dynamiquement. PHP incorpore egalement une integration avec plusieurs
227 systemes de gestion de bases de donnees commerciaux et
228 non-connerciaux, qui rent facile la creation de pages web liees avec
229 des bases de donnees. L'utilisation la plus commune de PHP est
230 probablement en remplacement de scripts CGI. Le module mod_php permet
231 au serveur web apache de comprendre et de traiter le langage PHP
232 integre dans des pages web. Ce package contient php version
233 %{version}.
234
235 %description -l pl
236 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
237 plikach HTML. Jest prób± u³atwienia programistom pisania dynamicznie
238 generowanych stron WWW. Oferuje tak¿e wbudowan± integracjê z bazami
239 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
240 co czyni tworzenie stron korzystaj±cych z baz danych w miarê ³atwym.
241 Najczê¶ciej PHP jest u¿ywany prawdopodobnie jako zamiennik skryptów
242 CGI. Modu³ mod_php pozwala serwerowi WWW Apache rozumieæ i przetwarzaæ
243 jêzyk PHP osadzony w stronach. Ten pakiet zawiera php w wersji
244 %{version}.
245
246 %description -l pt_BR
247 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
248 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
249 com algumas características únicas, específicas ao PHP. O objetivo da
250 linguagem é permitir que desenvolvedores web escrevam páginas
251 dinamicamente geradas de forma rápida.
252
253 %description -l ru
254 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
255 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
256 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
257 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
258
259 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
260 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
261 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
262 apache-mod_php.
263
264 %description -l uk
265 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
266 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐԦנÄÌÑ
267 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
268 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
269
270 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
271 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
272 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ
273 apache-mod_php.
274
275 %package -n apache1-mod_php
276 Summary:        PHP DSO module for apache 1.3.x
277 Summary(pl):    Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
278 Group:          Development/Languages/PHP
279 Requires(triggerpostun):        sed >= 4.0
280 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
281 Requires:       apache1(EAPI) >= 1.3.33-2
282 Requires:       apache1-mod_mime
283 Provides:       php = %{epoch}:%{version}-%{release}
284 Provides:       webserver(php) = %{version}
285 Obsoletes:      apache-mod_php < 1:4.1.1
286 Obsoletes:      phpfi
287
288 %description -n apache1-mod_php
289 PHP as DSO module for apache 1.3.x.
290
291 %description -n apache1-mod_php -l pl
292 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
293
294 %package -n apache-mod_php
295 Summary:        PHP DSO module for apache 2.x
296 Summary(pl):    Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
297 Group:          Development/Languages/PHP
298 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
299 Requires:       apache(modules-api) = %{apache_modules_api}
300 Requires:       apache-mod_mime
301 Provides:       php = %{epoch}:%{version}-%{release}
302 Provides:       webserver(php) = %{version}
303 Obsoletes:      phpfi
304
305 %description -n apache-mod_php
306 PHP as DSO module for apache 2.x.
307
308 %description -n apache-mod_php -l pl
309 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
310
311 %package fcgi
312 Summary:        php as FastCGI program
313 Summary(pl):    php jako program FastCGI
314 Group:          Development/Languages/PHP
315 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
316 Provides:       php = %{epoch}:%{version}-%{release}
317 Provides:       webserver(php) = %{version}
318
319 %description fcgi
320 php as FastCGI program.
321
322 %description fcgi -l pl
323 php jako program FastCGI.
324
325 %package cgi
326 Summary:        php as CGI program
327 Summary(pl):    php jako program CGI
328 Group:          Development/Languages/PHP
329 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
330
331 %description cgi
332 php as CGI program.
333
334 %description cgi -l pl
335 php jako program CGI.
336
337 %package cli
338 Summary:        php as CLI interpreter
339 Summary(pl):    php jako interpreter dzia³aj±cy z linii poleceñ
340 Group:          Development/Languages/PHP
341 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
342
343 %description cli
344 php as CLI interpreter.
345
346 %description cli -l pl
347 php jako interpreter dzia³aj±cy z linii poleceñ.
348
349 %package program
350 Summary:        /usr/bin/php symlink
351 Summary(pl):    Dowi±zanie symboliczne /usr/bin/php
352 Group:          Development/Languages/PHP
353 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
354 Obsoletes:      /usr/bin/php
355
356 %description program
357 Package providing /usr/bin/php symlink to PHP CLI.
358
359 %description program -l pl
360 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
361
362 %package common
363 Summary:        Common files needed by both apache module and CGI
364 Summary(pl):    Wspólne pliki dla modu³u apache'a i programu CGI
365 Summary(ru):    òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
366 Summary(uk):    â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
367 Group:          Libraries
368 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
369 Requires:       glibc >= 6:2.3.5
370 Requires:       php-dirs
371 Provides:       %{name}-libxml = %{epoch}:%{version}-%{release}
372 Provides:       %{name}-overload = %{epoch}:%{version}-%{release}
373 %{?with_pcre:Provides:  %{name}-pcre = %{epoch}:%{version}-%{release}}
374 Provides:       %{name}-session = %{epoch}:%{version}-%{release}
375 Provides:       %{name}-simplexml = %{epoch}:%{version}-%{release}
376 Provides:       %{name}-spl = %{epoch}:%{version}-%{release}
377 Provides:       %{name}-standard = %{epoch}:%{version}-%{release}
378 Provides:       php(libxml)
379 Provides:       php(modules_api) = %{php_api_version}
380 Provides:       php(overload)
381 %{?with_pcre:Provides:  php(pcre)}
382 Provides:       php(session)
383 Provides:       php(simplexml)
384 Provides:       php(spl)
385 Provides:       php(standard)
386 Provides:       php(zend_extension_api) = %{zend_extension_api}
387 Provides:       php(zend_module_api) = %{zend_module_api}
388 Provides:       php5(debug) = %{php_debug}
389 Provides:       php5(thread-safety) = %{zend_zts}
390 #Obsoletes:     php-pcre < 4:5.2.0
391 Obsoletes:      php-pecl-domxml
392 Obsoletes:      php-session < 3:4.2.1-2
393 # for the posttrans scriptlet, conflicts because in vserver enviroinment rpm package is not installed.
394 Conflicts:      rpm < 4.4.2-0.2
395
396 %description common
397 Common files needed by both apache module and CGI.
398
399 %description common -l pl
400 Wspólne pliki dla modu³u apacha i programu CGI.
401
402 %description common -l ru
403 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
404 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
405
406 %description common -l uk
407 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎԦנÒÅÁ̦ÚÁ槠PHP
408 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
409
410 %package devel
411 Summary:        Files for PHP modules development
412 Summary(pl):    Pliki do kompilacji modu³ów PHP
413 Summary(pt_BR): Arquivos de desenvolvimento para PHP
414 Summary(ru):    ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
415 Summary(uk):    ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
416 Group:          Development/Languages/PHP
417 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
418 Requires:       autoconf
419 Requires:       automake
420 Requires:       libtool
421 Requires:       shtool
422 Obsoletes:      php-pear-devel
423 Obsoletes:      php4-devel
424
425 %description devel
426 The php-devel package lets you compile dynamic extensions to PHP.
427 Included here is the source for the PHP extensions. Instead of
428 recompiling the whole php binary to add support for, say, oracle,
429 install this package and use the new self-contained extensions
430 support. For more information, read the file
431 README.SELF-CONTAINED-EXTENSIONS.
432
433 %description devel -l pl
434 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
435 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
436 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
437 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
438 README.SELF-CONTAINED-EXTENSIONS.
439
440 %description devel -l pt_BR
441 Este pacote contém arquivos usados no desenvolvimento de programas ou
442 módulos PHP.
443
444 %description devel -l ru
445 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
446 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
447 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
448 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
449 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
450
451 %description devel -l uk
452 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
453 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
454 ËÏÍЦÌÑ槠¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, Ð¦ÄÔÒÉÍËÉ
455 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑ槠ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
456 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁæѠ- × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
457
458 %package bcmath
459 Summary:        bcmath extension module for PHP
460 Summary(pl):    Modu³ bcmath dla PHP
461 Group:          Libraries
462 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
463 Provides:       php(bcmath)
464
465 %description bcmath
466 This is a dynamic shared object (DSO) for PHP that will add bc style
467 precision math functions support.
468
469 %description bcmath -l pl
470 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
471 matematycznych takich jak w programie bc.
472
473 %package bzip2
474 Summary:        Bzip2 extension module for PHP
475 Summary(pl):    Modu³ bzip2 dla PHP
476 Group:          Libraries
477 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
478 Provides:       php(bzip2)
479
480 %description bzip2
481 This is a dynamic shared object (DSO) for PHP that will add bzip2
482 compression support to PHP.
483
484 %description bzip2 -l pl
485 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
486
487 %package calendar
488 Summary:        Calendar extension module for PHP
489 Summary(pl):    Modu³ funkcji kalendarza dla PHP
490 Group:          Libraries
491 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
492 Provides:       php(calendar)
493
494 %description calendar
495 This is a dynamic shared object (DSO) for PHP that will add calendar
496 support.
497
498 %description calendar -l pl
499 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
500
501 %package ctype
502 Summary:        ctype extension module for PHP
503 Summary(pl):    Modu³ ctype dla PHP
504 Group:          Libraries
505 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
506 Provides:       php(ctype)
507
508 %description ctype
509 This is a dynamic shared object (DSO) for PHP that will add ctype
510 support.
511
512 %description ctype -l pl
513 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
514
515 %package curl
516 Summary:        curl extension module for PHP
517 Summary(pl):    Modu³ curl dla PHP
518 Group:          Libraries
519 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
520 Provides:       php(curl)
521
522 %description curl
523 This is a dynamic shared object (DSO) for PHP that will add curl
524 support.
525
526 %description curl -l pl
527 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
528
529 %package dba
530 Summary:        DBA extension module for PHP
531 Summary(pl):    Modu³ DBA dla PHP
532 Group:          Libraries
533 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
534 Provides:       php(dba)
535
536 %description dba
537 This is a dynamic shared object (DSO) for PHP that will add flat-file
538 databases (DBA) support.
539
540 %description dba -l pl
541 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
542 (DBA).
543
544 %package dbase
545 Summary:        DBase extension module for PHP
546 Summary(pl):    Modu³ DBase dla PHP
547 Group:          Libraries
548 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
549 Provides:       php(dbase)
550
551 %description dbase
552 This is a dynamic shared object (DSO) for PHP that will add DBase
553 support.
554
555 %description dbase -l pl
556 Modu³ PHP ze wsparciem dla DBase.
557
558 %package dom
559 Summary:        DOM extension module for PHP
560 Summary(pl):    Modu³ DOM dla PHP
561 Group:          Libraries
562 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
563 # it has some compatibility functions
564 Provides:       php(dom)
565 Provides:       php(domxml)
566 Provides:       php-domxml = %{epoch}:%{version}-%{release}
567 Obsoletes:      php-domxml <= 3:4.3.8-1
568
569 %description dom
570 This is a dynamic shared object (DSO) for PHP that will add new DOM
571 support.
572
573 %description dom -l pl
574 Modu³ PHP dodaj±cy now± obs³ugê DOM.
575
576 %package exif
577 Summary:        exif extension module for PHP
578 Summary(pl):    Modu³ exif dla PHP
579 Group:          Libraries
580 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
581 Provides:       php(exif)
582
583 %description exif
584 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
585 support in image files.
586
587 %description exif -l pl
588 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
589
590 %package fdf
591 Summary:        FDF extension module for PHP
592 Summary(pl):    Modu³ FDF dla PHP
593 Group:          Libraries
594 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
595 Provides:       php(fdf)
596
597 %description fdf
598 This PHP module adds support for PDF Forms through Adobe FDFTK
599 library.
600
601 %description fdf -l pl
602 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
603 FDFTK.
604
605 %package filter
606 Summary:        Extension for safely dealing with input parameters
607 Summary(pl):    Rozszerzenie do bezpiecznej obs³ugi danych wej¶ciowych
608 Group:          Libraries
609 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
610 Provides:       php(filter)
611
612 %description filter
613 We all know that you should always check input variables, but PHP does
614 not offer really good functionality for doing this in a safe way. The
615 Input Filter extension is meant to address this issue by implementing
616 a set of filters and mechanisms that users can use to safely access
617 their input data.
618
619 %description filter -l pl
620 Wiadomo, ¿e trzeba zawsze sprawdzaæ zmienne wej¶ciowe, ale PHP nie
621 oferuje naprawdê dobrej funkcjonalno¶ci do robienia tego w sposób
622 bezpieczny. Rozszerzenie Input Filter ma rozwi±zaæ ten problem poprzez
623 zaimplementowanie zestawu filtrów i mechanizmów, których u¿ytkownicy
624 mog± bezpiecznie u¿ywaæ do dostêpu do danych.
625
626 %package ftp
627 Summary:        FTP extension module for PHP
628 Summary(pl):    Modu³ FTP dla PHP
629 Group:          Libraries
630 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
631 Provides:       php(ftp)
632
633 %description ftp
634 This is a dynamic shared object (DSO) for PHP that will add FTP
635 support.
636
637 %description ftp -l pl
638 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
639
640 %package gd
641 Summary:        GD extension module for PHP
642 Summary(pl):    Modu³ GD dla PHP
643 Group:          Libraries
644 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
645 Requires:       gd >= 2.0.28-4
646 Requires:       gd(gif)
647 Provides:       php(gd)
648
649 %description gd
650 This is a dynamic shared object (DSO) for PHP that will add GD
651 support, allowing you to create and manipulate images with PHP.
652
653 %description gd -l pl
654 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
655 tworzenie i obróbkê obrazków.
656
657 %package gettext
658 Summary:        gettext extension module for PHP
659 Summary(pl):    Modu³ gettext dla PHP
660 Group:          Libraries
661 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
662 Provides:       php(gettext)
663
664 %description gettext
665 This is a dynamic shared object (DSO) for PHP that will add gettext
666 support.
667
668 %description gettext -l pl
669 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
670
671 %package gmp
672 Summary:        gmp extension module for PHP
673 Summary(pl):    Modu³ gmp dla PHP
674 Group:          Libraries
675 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
676 Provides:       php(gmp)
677
678 %description gmp
679 This is a dynamic shared object (DSO) for PHP that will add arbitrary
680 length number support with GNU MP library.
681
682 %description gmp -l pl
683 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
684 liczbach o dowolnej d³ugo¶ci.
685
686 %package hash
687 Summary:        HASH Message Digest Framework
688 Summary(pl):    szkielet do obliczania skrótów wiadomo¶ci
689 Group:          Libraries
690 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
691 Provides:       php(hash)
692
693 %description hash
694 Native implementations of common message digest algorithms using a
695 generic factory method.
696
697 %description hash -l pl
698 Natywne implementacje popularnych algorytmów obliczania skrótów
699 wiadomo¶ci przy u¿yciu wspólnego interfejsu.
700
701 %package iconv
702 Summary:        iconv extension module for PHP
703 Summary(pl):    Modu³ iconv dla PHP
704 Group:          Libraries
705 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
706 Provides:       php(iconv)
707
708 %description iconv
709 This is a dynamic shared object (DSO) for PHP that will add iconv
710 support.
711
712 %description iconv -l pl
713 Modu³ PHP dodaj±cy obs³ugê iconv.
714
715 %package imap
716 Summary:        IMAP extension module for PHP
717 Summary(pl):    Modu³ IMAP dla PHP
718 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
719 Group:          Libraries
720 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
721 Provides:       php(imap)
722
723 %description imap
724 This is a dynamic shared object (DSO) for PHP that will add IMAP
725 support.
726
727 %description imap -l pl
728 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
729
730 %description imap -l pt_BR
731 Um módulo para aplicações PHP que usam IMAP.
732
733 %package interbase
734 Summary:        InterBase/Firebird database module for PHP
735 Summary(pl):    Modu³ bazy danych InterBase/Firebird dla PHP
736 Group:          Libraries
737 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
738 Provides:       php(interbase)
739 %{?with_interbase_inst:Autoreq: false}
740
741 %description interbase
742 This is a dynamic shared object (DSO) for PHP that will add InterBase
743 and Firebird database support.
744
745 %description interbase -l pl
746 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
747
748 %package json
749 Summary:        PHP C extension for JSON serialization
750 Summary(pl):    Rozszerzenie C PHP dla serializacji JSON
751 Group:          Libraries
752 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
753 Provides:       php(json)
754
755 %description json
756 php-json is an extremely fast PHP C extension for JSON (JavaScript
757 Object Notation) serialisation.
758
759 %description json -l pl
760 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
761 (JavaScript Object Notation).
762
763 %package ldap
764 Summary:        LDAP extension module for PHP
765 Summary(pl):    Modu³ LDAP dla PHP
766 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
767 Group:          Libraries
768 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
769 Provides:       php(ldap)
770
771 %description ldap
772 This is a dynamic shared object (DSO) for PHP that will add LDAP
773 support.
774
775 %description ldap -l pl
776 Modu³ PHP dodaj±cy obs³ugê LDAP.
777
778 %description ldap -l pt_BR
779 Um módulo para aplicações PHP que usam LDAP.
780
781 %package mbstring
782 Summary:        mbstring extension module for PHP
783 Summary(pl):    Modu³ mbstring dla PHP
784 Group:          Libraries
785 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
786 Provides:       php(mbstring)
787
788 %description mbstring
789 This is a dynamic shared object (DSO) for PHP that will add multibyte
790 string support.
791
792 %description mbstring -l pl
793 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
794
795 %package mcrypt
796 Summary:        mcrypt extension module for PHP
797 Summary(pl):    Modu³ mcrypt dla PHP
798 Group:          Libraries
799 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
800 Provides:       php(mcrypt)
801
802 %description mcrypt
803 This is a dynamic shared object (DSO) for PHP that will add mcrypt
804 support.
805
806 %description mcrypt -l pl
807 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
808
809 %package mhash
810 Summary:        mhash extension module for PHP
811 Summary(pl):    Modu³ mhash dla PHP
812 Group:          Libraries
813 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
814 Provides:       php(mhash)
815
816 %description mhash
817 This is a dynamic shared object (DSO) for PHP that will add mhash
818 support.
819
820 %description mhash -l pl
821 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
822
823 %package mime_magic
824 Summary:        mime_magic extension module for PHP
825 Summary(pl):    Modu³ mime_magic dla PHP
826 Group:          Libraries
827 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
828 Requires:       /usr/share/file/magic.mime
829 Provides:       php(mime_magic)
830
831 %description mime_magic
832 This PHP module adds support for MIME type lookup via file magic
833 numbers using magic.mime database.
834
835 %description mime_magic -l pl
836 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
837 znaczników plików z u¿yciem bazy danych magic.mime.
838
839 %package ming
840 Summary:        ming extension module for PHP
841 Summary(pl):    Modu³ ming dla PHP
842 Group:          Libraries
843 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
844 Provides:       php(ming)
845
846 %description ming
847 This is a dynamic shared object (DSO) for PHP that will add ming
848 (Flash - .swf files) support.
849
850 %description ming -l pl
851 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
852 ming.
853
854 %package mssql
855 Summary:        MS SQL extension module for PHP
856 Summary(pl):    Modu³ MS SQL dla PHP
857 Group:          Libraries
858 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
859 Provides:       php(mssql)
860
861 %description mssql
862 This is a dynamic shared object (DSO) for PHP that will add MS SQL
863 databases support through FreeTDS library.
864
865 %description mssql -l pl
866 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
867 FreeTDS.
868
869 %package mysql
870 Summary:        MySQL database module for PHP
871 Summary(pl):    Modu³ bazy danych MySQL dla PHP
872 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
873 Group:          Libraries
874 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
875 Provides:       php(mysql)
876
877 %description mysql
878 This is a dynamic shared object (DSO) for PHP that will add MySQL
879 database support.
880
881 %description mysql -l pl
882 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
883
884 %description mysql -l pt_BR
885 Um módulo para aplicações PHP que usam bancos de dados MySQL.
886
887 %package mysqli
888 Summary:        MySQLi module for PHP
889 Summary(pl):    Modu³ MySQLi dla PHP
890 Group:          Libraries
891 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
892 Requires:       mysql-libs >= 4.1.0
893 Provides:       php(mysqli)
894
895 %description mysqli
896 This is a dynamic shared object (DSO) for PHP that will add MySQLi
897 (Improved MySQL) support. The difference between it and mysql module
898 is that it provides access to functionality of MySQL 4.1 and above.
899
900 %description mysqli -l pl
901 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
902 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
903 MySQL w wersji 4.1 i nowszych.
904
905 %package ncurses
906 Summary:        ncurses module for PHP
907 Summary(pl):    Modu³ ncurses dla PHP
908 Group:          Libraries
909 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
910 Provides:       php(ncurses)
911
912 %description ncurses
913 This PHP module adds support for ncurses functions (only for cli and
914 cgi SAPIs).
915
916 %description ncurses -l pl
917 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
918
919 %package oci8
920 Summary:        Oracle 8+ database module for PHP
921 Summary(pl):    Modu³ bazy danych Oracle 8+ dla PHP
922 Group:          Libraries
923 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
924 Provides:       php(oci8)
925 Autoreq:        false
926
927 %description oci8
928 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
929 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
930
931 %description oci8 -l pl
932 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
933 poprzez interfejs Oracle8 Call-Interface (OCI8).
934
935 %package odbc
936 Summary:        ODBC extension module for PHP
937 Summary(pl):    Modu³ ODBC dla PHP
938 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
939 Group:          Libraries
940 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
941 Requires:       unixODBC >= 2.1.1-3
942 Provides:       php(odbc)
943
944 %description odbc
945 This is a dynamic shared object (DSO) for PHP that will add ODBC
946 support.
947
948 %description odbc -l pl
949 Modu³ PHP ze wsparciem dla ODBC.
950
951 %description odbc -l pt_BR
952 Um módulo para aplicações PHP que usam ODBC.
953
954 %package openssl
955 Summary:        OpenSSL extension module for PHP
956 Summary(pl):    Modu³ OpenSSL dla PHP
957 Group:          Libraries
958 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
959 Provides:       php(openssl)
960
961 %description openssl
962 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
963 support.
964
965 Warning: this is an experimental module.
966
967 %description openssl -l pl
968 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
969
970 Uwaga: to jest modu³ eksperymentalny.
971
972 %package pcntl
973 Summary:        Process Control extension module for PHP
974 Summary(pl):    Modu³ Process Control dla PHP
975 Group:          Libraries
976 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
977 Provides:       php(pcntl)
978
979 %description pcntl
980 This is a dynamic shared object (DSO) for PHP that will add process
981 spawning and control support. It supports functions like fork(),
982 waitpid(), signal() etc.
983
984 Warning: this is an experimental module. Also, don't use it in
985 webserver environment!
986
987 %description pcntl -l pl
988 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
989 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
990
991 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
992 u¿ywania z serwerem WWW - nie próbuj tego!
993
994 %package pdo
995 Summary:        PHP Data Objects (PDO)
996 Summary(pl):    Obs³uga PHP Data Objects (PDO)
997 Group:          Libraries
998 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
999 Provides:       php(pdo)
1000 Obsoletes:      php-pecl-PDO
1001
1002 %description pdo
1003 This is a dynamic shared object (DSO) for PHP that will add PDO
1004 support.
1005
1006 %description pdo -l pl
1007 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
1008
1009 %package pdo-dblib
1010 Summary:        PHP Data Objects (PDO) FreeTDS support
1011 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
1012 Group:          Libraries
1013 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1014 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1015 Provides:       php(dblib)
1016
1017 %description pdo-dblib
1018 This is a dynamic shared object (DSO) for PHP that will add PDO
1019 FreeTDS support.
1020
1021 %description pdo-dblib -l pl
1022 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1023 interfejsu PDO.
1024
1025 %package pdo-firebird
1026 Summary:        PHP Data Objects (PDO) Firebird support
1027 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
1028 Group:          Libraries
1029 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1030 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1031 Provides:       php(pdo-firebird)
1032 Obsoletes:      php-pecl-PDO_FIREBIRD
1033
1034 %description pdo-firebird
1035 This is a dynamic shared object (DSO) for PHP that will add PDO
1036 Firebird support.
1037
1038 %description pdo-firebird -l pl
1039 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
1040 interfejsu PDO.
1041
1042 %package pdo-mysql
1043 Summary:        PHP Data Objects (PDO) MySQL support
1044 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1045 Group:          Libraries
1046 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1047 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1048 Provides:       php(pdo-mysql)
1049 Obsoletes:      php-pecl-PDO_MYSQL
1050
1051 %description pdo-mysql
1052 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1053 support.
1054
1055 %description pdo-mysql -l pl
1056 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1057 interfejsu PDO.
1058
1059 %package pdo-oci
1060 Summary:        PHP Data Objects (PDO) Oracle support
1061 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1062 Group:          Libraries
1063 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1064 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1065 Provides:       php(pdo-oci)
1066 Obsoletes:      php-pecl-PDO_OCI
1067
1068 %description pdo-oci
1069 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1070 support.
1071
1072 %description pdo-oci -l pl
1073 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1074 interfejsu PDO.
1075
1076 %package pdo-odbc
1077 Summary:        PHP Data Objects (PDO) ODBC support
1078 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1079 Group:          Libraries
1080 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1081 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1082 Provides:       php(pdo-odbc)
1083 Obsoletes:      php-pecl-PDO_ODBC
1084
1085 %description pdo-odbc
1086 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1087 support.
1088
1089 %description pdo-odbc -l pl
1090 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1091 interfejsu PDO.
1092
1093 %package pdo-pgsql
1094 Summary:        PHP Data Objects (PDO) PostgreSQL support
1095 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1096 Group:          Libraries
1097 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1098 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1099 Provides:       php(pdo-pgsql)
1100 Obsoletes:      php-pecl-PDO_PGSQL
1101
1102 %description pdo-pgsql
1103 This is a dynamic shared object (DSO) for PHP that will add PDO
1104 PostgreSQL support.
1105
1106 %description pdo-pgsql -l pl
1107 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1108 interfejsu PDO.
1109
1110 %package pdo-sqlite
1111 Summary:        PHP Data Objects (PDO) SQLite support
1112 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1113 Group:          Libraries
1114 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1115 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1116 Provides:       php(pdo-sqlite)
1117 Obsoletes:      php-pecl-PDO_SQLITE
1118
1119 %description pdo-sqlite
1120 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1121 support.
1122
1123 %description pdo-sqlite -l pl
1124 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1125 interfejsu PDO.
1126
1127 %package pgsql
1128 Summary:        PostgreSQL database module for PHP
1129 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
1130 Group:          Libraries
1131 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1132 Provides:       php(pgsql)
1133
1134 %description pgsql
1135 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1136 database support.
1137
1138 %description pgsql -l pl
1139 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1140
1141 %description pgsql -l pt_BR
1142 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1143
1144 %package posix
1145 Summary:        POSIX extension module for PHP
1146 Summary(pl):    Modu³ POSIX dla PHP
1147 Group:          Libraries
1148 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1149 Provides:       php(posix)
1150
1151 %description posix
1152 This is a dynamic shared object (DSO) for PHP that will add POSIX
1153 functions support to PHP.
1154
1155 %description posix -l pl
1156 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1157
1158 %package pspell
1159 Summary:        pspell extension module for PHP
1160 Summary(pl):    Modu³ pspell dla PHP
1161 Group:          Libraries
1162 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1163 Provides:       php(pspell)
1164
1165 %description pspell
1166 This is a dynamic shared object (DSO) for PHP that will add pspell
1167 support to PHP. It allows to check the spelling of a word and offer
1168 suggestions.
1169
1170 %description pspell -l pl
1171 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1172 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1173
1174 %package readline
1175 Summary:        readline extension module for PHP
1176 Summary(pl):    Modu³ readline dla PHP
1177 Group:          Libraries
1178 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1179 Provides:       php(readline)
1180
1181 %description readline
1182 This PHP module adds support for readline functions (only for cli and
1183 cgi SAPIs).
1184
1185 %description readline -l pl
1186 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1187
1188 %package recode
1189 Summary:        recode extension module for PHP
1190 Summary(pl):    Modu³ recode dla PHP
1191 Group:          Libraries
1192 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1193 Requires:       recode >= 3.5d-3
1194 Provides:       php(recode)
1195
1196 %description recode
1197 This is a dynamic shared object (DSO) for PHP that will add recode
1198 support.
1199
1200 %description recode -l pl
1201 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1202 bibliotekê recode).
1203
1204 %package shmop
1205 Summary:        Shared Memory Operations extension module for PHP
1206 Summary(pl):    Modu³ shmop dla PHP
1207 Group:          Libraries
1208 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1209 Provides:       php(shmop)
1210
1211 %description shmop
1212 This is a dynamic shared object (DSO) for PHP that will add Shared
1213 Memory Operations support.
1214
1215 Warning: this is an experimental module.
1216
1217 %description shmop -l pl
1218 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1219
1220 Uwaga: to jest modu³ eksperymentalny.
1221
1222 %package simplexml
1223 Summary:        Simple XML extension module for PHP
1224 Summary(pl):    Modu³ prostego rozszerzenia XML dla PHP
1225 Group:          Libraries
1226 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1227 Provides:       php(simplexml)
1228
1229 %description simplexml
1230 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1231 support.
1232
1233 %description simplexml -l pl
1234 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1235
1236 %package snmp
1237 Summary:        SNMP extension module for PHP
1238 Summary(pl):    Modu³ SNMP dla PHP
1239 Group:          Libraries
1240 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1241 Requires:       %{name}-sockets = %{epoch}:%{version}-%{release}
1242 Provides:       php(snmp)
1243
1244 %description snmp
1245 This is a dynamic shared object (DSO) for PHP that will add SNMP
1246 support.
1247
1248 %description snmp -l pl
1249 Modu³ PHP dodaj±cy obs³ugê SNMP.
1250
1251 %package soap
1252 Summary:        soap extension module for PHP
1253 Summary(pl):    Modu³ soap dla PHP
1254 Group:          Libraries
1255 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1256 Provides:       php(soap)
1257
1258 %description soap
1259 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1260 support.
1261
1262 %description soap -l pl
1263 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1264
1265 %package sockets
1266 Summary:        sockets extension module for PHP
1267 Summary(pl):    Modu³ socket dla PHP
1268 Group:          Libraries
1269 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1270 Provides:       php(sockets)
1271
1272 %description sockets
1273 This is a dynamic shared object (DSO) for PHP that will add sockets
1274 support.
1275
1276 Warning: this is an experimental module.
1277
1278 %description sockets -l pl
1279 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1280
1281 Uwaga: to jest modu³ eksperymentalny.
1282
1283 %package sqlite
1284 Summary:        SQLite extension module for PHP
1285 Summary(pl):    Modu³ SQLite dla PHP
1286 Group:          Libraries
1287 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1288 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1289 Provides:       php(sqlite)
1290
1291 %description sqlite
1292 SQLite is a C library that implements an embeddable SQL database
1293 engine. Programs that link with the SQLite library can have SQL
1294 database access without running a separate RDBMS process.
1295
1296 SQLite is not a client library used to connect to a big database
1297 server. SQLite is the server. The SQLite library reads and writes
1298 directly to and from the database files on disk.
1299
1300 %description sqlite -l pl
1301 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1302 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1303 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1304 RDBMS.
1305
1306 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1307 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1308 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1309 dysku.
1310
1311 %package sybase
1312 Summary:        Sybase DB extension module for PHP
1313 Summary(pl):    Modu³ Sybase DB dla PHP
1314 Group:          Libraries
1315 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1316 Provides:       php(sybase)
1317 Obsoletes:      php-sybase-ct
1318
1319 %description sybase
1320 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1321 MS SQL databases support through SYBDB library. Currently Sybase
1322 module is not maintained. Using Sybase-CT module is recommended
1323 instead.
1324
1325 %description sybase -l pl
1326 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1327 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1328 Zaleca siê u¿ywanie modu³u Sybase-CT.
1329
1330 %package sybase-ct
1331 Summary:        Sybase-CT extension module for PHP
1332 Summary(pl):    Modu³ Sybase-CT dla PHP
1333 Group:          Libraries
1334 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1335 Provides:       php(sybase-ct)
1336 Obsoletes:      php-sybase
1337
1338 %description sybase-ct
1339 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1340 MS SQL databases support through CT-lib.
1341
1342 %description sybase-ct -l pl
1343 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1344 CT-lib.
1345
1346 %package sysvmsg
1347 Summary:        SysV msg extension module for PHP
1348 Summary(pl):    Modu³ SysV msg dla PHP
1349 Group:          Libraries
1350 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1351 Provides:       php(sysvmsg)
1352
1353 %description sysvmsg
1354 This is a dynamic shared object (DSO) for PHP that will add SysV
1355 message queues support.
1356
1357 %description sysvmsg -l pl
1358 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1359
1360 %package sysvsem
1361 Summary:        SysV sem extension module for PHP
1362 Summary(pl):    Modu³ SysV sem dla PHP
1363 Group:          Libraries
1364 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1365 Provides:       php(sysvsem)
1366
1367 %description sysvsem
1368 This is a dynamic shared object (DSO) for PHP that will add SysV
1369 semaphores support.
1370
1371 %description sysvsem -l pl
1372 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1373
1374 %package sysvshm
1375 Summary:        SysV shm extension module for PHP
1376 Summary(pl):    Modu³ SysV shm dla PHP
1377 Group:          Libraries
1378 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1379 Provides:       php(sysvshm)
1380
1381 %description sysvshm
1382 This is a dynamic shared object (DSO) for PHP that will add SysV
1383 Shared Memory support.
1384
1385 %description sysvshm -l pl
1386 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1387
1388 %package tidy
1389 Summary:        Tidy extension module for PHP
1390 Summary(pl):    Modu³ Tidy dla PHP
1391 Group:          Libraries
1392 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1393 Requires:       tidy
1394 Provides:       php(tidy)
1395
1396 %description tidy
1397 This is a dynamic shared object (DSO) for PHP that will add Tidy
1398 support.
1399
1400 %description tidy -l pl
1401 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1402
1403 %package tokenizer
1404 Summary:        tokenizer extension module for PHP
1405 Summary(pl):    Modu³ rozszerzenia tokenizer dla PHP
1406 Group:          Libraries
1407 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1408 Provides:       php(tokenizer)
1409
1410 %description tokenizer
1411 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1412 support.
1413
1414 %description tokenizer -l pl
1415 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1416
1417 %package wddx
1418 Summary:        wddx extension module for PHP
1419 Summary(pl):    Modu³ wddx dla PHP
1420 Group:          Libraries
1421 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1422 #Requires:      %{name}-session = %{epoch}:%{version}-%{release}
1423 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
1424 Provides:       php(wddx)
1425
1426 %description wddx
1427 This is a dynamic shared object (DSO) for PHP that will add wddx
1428 support.
1429
1430 %description wddx -l pl
1431 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1432
1433 %package xml
1434 Summary:        XML extension module for PHP
1435 Summary(pl):    Modu³ XML dla PHP
1436 Group:          Libraries
1437 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1438 Provides:       php(xml)
1439
1440 %description xml
1441 This is a dynamic shared object (DSO) for PHP that will add XML
1442 support. This extension lets you create XML parsers and then define
1443 handlers for different XML events.
1444
1445 %description xml -l pl
1446 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1447 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1448 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1449
1450 %package xmlreader
1451 Summary:        XML Reader extension module for PHP
1452 Summary(pl):    Modu³ XML Reader dla PHP
1453 Group:          Libraries
1454 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1455 Requires:       %{name}-dom = %{epoch}:%{version}-%{release}
1456 Provides:       php(xmlreader)
1457
1458 %description xmlreader
1459 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1460 support. The XMLReader extension is an XML Pull parser. The reader
1461 acts as a cursor going forward on the document stream and stopping at
1462 each node on the way.
1463
1464 %description xmlreader -l pl
1465 Modu³ PHP umo¿liwiaj±cy analizê plików XML w trybie Pull. Czytnik
1466 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1467 zatrzymuj±cy siê na ka¿dym wê¼le po drodze.
1468
1469 %package xmlrpc
1470 Summary:        xmlrpc extension module for PHP
1471 Summary(pl):    Modu³ xmlrpc dla PHP
1472 Group:          Libraries
1473 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1474 Provides:       php(xmlrpc)
1475
1476 %description xmlrpc
1477 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1478 support.
1479
1480 Warning: this is an experimental module.
1481
1482 %description xmlrpc -l pl
1483 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1484
1485 Uwaga: to jest modu³ eksperymentalny.
1486
1487 %package xmlwriter
1488 Summary:        Fast, non-cached, forward-only means to write XML data
1489 Summary(pl):    Szybka, nie cachowana metoda zapisu danych w formacie XML
1490 Group:          Libraries
1491 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1492 Provides:       php(xmlwriter)
1493
1494 %description xmlwriter
1495 This extension wraps the libxml xmlWriter API. Represents a writer
1496 that provides a non-cached, forward-only means of generating streams
1497 or files containing XML data.
1498
1499 %description xmlwriter -l pl
1500 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obs³ugê
1501 zapisu dostarczaj±c± nie cachowanych metod generowania strumieni lub
1502 plików zawieraj±cych dane XML.
1503
1504 %package xsl
1505 Summary:        xsl extension module for PHP
1506 Summary(pl):    Modu³ xsl dla PHP
1507 Group:          Libraries
1508 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1509 Requires:       libxslt >= 1.0.18
1510 # actually not true, functionality is similar, but API differs
1511 Provides:       php(xsl)
1512 Obsoletes:      php-xslt <= 3:4.3.8-1
1513
1514 %description xsl
1515 This is a dynamic shared object (DSO) for PHP that will add new XSL
1516 support (using libxslt).
1517
1518 %description xsl -l pl
1519 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1520
1521 %package zip
1522 Summary:        Zip management extension
1523 Summary(pl):    Zarz±dzanie archiwami zip
1524 Group:          Libraries
1525 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1526 Provides:       php(zip)
1527
1528 %description zip
1529 Zip is an extension to create, modify and read zip files.
1530
1531 %description zip -l pl
1532 Zip jest rozszerzeniem umo¿liwiaj±cym tworzenie, modyfikacjê oraz
1533 odczyt archiwów zip.
1534
1535 %package zlib
1536 Summary:        Zlib extension module for PHP
1537 Summary(pl):    Modu³ zlib dla PHP
1538 Group:          Libraries
1539 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1540 Provides:       php(zlib)
1541
1542 %description zlib
1543 This is a dynamic shared object (DSO) for PHP that will add zlib
1544 compression support to PHP.
1545
1546 %description zlib -l pl
1547 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1548
1549 %prep
1550 %setup -q
1551 %patch36 -p1
1552 %patch0 -p1
1553 %patch1 -p1
1554 %patch2 -p1
1555 %patch3 -p1
1556 %patch4 -p1
1557 %patch5 -p1
1558 %patch6 -p1
1559 %patch7 -p1
1560 %patch8 -p1
1561 %patch9 -p1
1562
1563 cp php.ini-dist php.ini
1564 %patch10 -p1
1565 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1566 # conditionally...
1567 %patch11 -p1
1568 %patch12 -p1
1569 %patch14 -p1
1570 %patch15 -p1
1571 %patch16 -p1
1572 %patch17 -p1
1573 %patch18 -p1
1574 %patch19 -p1
1575 %patch20 -p1
1576 %patch21 -p1
1577 #%patch23 -p1 # UPDATE?
1578 %patch24 -p1
1579 %patch26 -p1
1580
1581 %if %{with hardening}
1582 zcat %{SOURCE8} | patch -p1 || exit 1
1583 patch -p1 < %{PATCH30} || exit 1
1584 %endif
1585 %patch31 -p1
1586 %patch32 -p1
1587 %patch33 -p1
1588 %{?with_versioning:%patch35 -p1}
1589 %if "%{_lib}" == "lib64"
1590 %patch38 -p1
1591 %endif
1592 %patch39 -p1
1593 %patch40 -p1
1594
1595 # conflict seems to be resolved by recode patches
1596 rm -f ext/recode/config9.m4
1597
1598 # remove all bundled libraries not to link with them accidentally
1599 #rm -rf ext/sqlite/libsqlite
1600 #rm -rf ext/bcmath/libbcmath
1601 #rm -rf ext/date/lib
1602 #rm -rf ext/dba/libcdb
1603 #rm -rf ext/dba/libflatfile
1604 #rm -rf ext/dba/libinifile
1605 #rm -rf ext/gd/libgd
1606 #rm -rf ext/mbstring/libmbfl
1607 #rm -rf ext/mbstring/oniguruma
1608 rm -rf ext/pcre/pcrelib
1609 rm -rf ext/pdo_sqlite/sqlite
1610 #rm -rf ext/soap/interop
1611 rm -rf ext/xmlrpc/libxmlrpc
1612
1613 %build
1614 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1615         echo "Set %%define php_api_version to $API and rerun."
1616         exit 1
1617 fi
1618
1619 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1620         echo "Set %%define zend_module_api to $API and rerun."
1621         exit 1
1622 fi
1623
1624 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1625         echo "Set %%define zend_extension_api to $API and rerun."
1626         exit 1
1627 fi
1628
1629 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1630 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1631         rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1632         %{__libtoolize}
1633         %{__aclocal}
1634         ./buildconf --force
1635         touch _built-conf
1636 fi
1637 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1638
1639 sapis="
1640 %if %{with fcgi}
1641 fcgi
1642 %endif
1643 cgi cli
1644 %if %{with apache1}
1645 apxs1
1646 %endif
1647 %if %{with apache2}
1648 apxs2
1649 %endif
1650 "
1651 for sapi in $sapis; do
1652         [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1653
1654         %configure \
1655         `
1656         case $sapi in
1657         cgi)
1658                 echo --enable-discard-path --enable-force-cgi-redirect
1659         ;;
1660         cli)
1661                 echo --disable-cgi
1662         ;;
1663         fcgi)
1664                 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1665         ;;
1666         apxs1)
1667                 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1668                 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1669         ;;
1670         apxs2)
1671                 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1672                 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1673         ;;
1674         esac
1675         ` \
1676 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1677         --cache-file=config.cache \
1678 %endif
1679         --with-libdir=%{_lib} \
1680         --with-config-file-path=%{_sysconfdir} \
1681         --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1682         --with-exec-dir=%{_bindir} \
1683         --%{!?debug:dis}%{?debug:en}able-debug \
1684         %{?with_zts:--enable-maintainer-zts} \
1685         --enable-inline-optimization \
1686         --enable-memory-limit \
1687         --enable-bcmath=shared \
1688         --enable-calendar=shared \
1689         --enable-ctype=shared \
1690         --enable-dba=shared \
1691         --with-inifile \
1692         --with-flatfile \
1693         --enable-dom=shared \
1694         --enable-exif=shared \
1695         --enable-ftp=shared \
1696         --enable-gd-native-ttf \
1697         --enable-gd-jus-conf \
1698         --enable-libxml \
1699         --enable-magic-quotes \
1700         --enable-mbstring=shared,all \
1701         --enable-mbregex \
1702         --enable-pcntl=shared \
1703         --enable-pdo=shared \
1704         --enable-json=shared \
1705         --enable-hash=shared \
1706         --enable-xmlwriter=shared \
1707 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1708         --with-pdo-dblib=shared \
1709 %endif
1710 %if %{with interbase} && !%{with interbase_inst}
1711         --with-pdo-firebird=shared \
1712 %endif
1713         --with-pdo-mysql=shared \
1714         %{?with_oci8:--with-pdo-oci=shared} \
1715         %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1716         %{?with_pgsql:--with-pdo-pgsql=shared} \
1717         %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1718         --enable-posix=shared \
1719         --enable-reflection \
1720         --enable-session \
1721         --enable-shared \
1722         --enable-shmop=shared \
1723         --enable-simplexml \
1724         --enable-sysvmsg=shared \
1725         --enable-sysvsem=shared \
1726         --enable-sysvshm=shared \
1727         --enable-track-vars \
1728         --enable-trans-sid \
1729         --enable-safe-mode \
1730         --enable-soap=shared \
1731         --enable-sockets=shared \
1732         --enable-tokenizer=shared \
1733         --enable-ucd-snmp-hack \
1734         %{?with_wddx:--enable-wddx=shared} \
1735         --enable-xml=shared \
1736         --enable-xmlreader=shared \
1737         --with-bz2=shared \
1738         %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1739         %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1740         --enable-dbase=shared \
1741 %if %{with xmlrpc}
1742         --with-expat-dir=shared,/usr \
1743 %else
1744         --without-expat-dir \
1745 %endif
1746         %{?with_fdf:--with-fdftk=shared} \
1747         --with-iconv=shared \
1748         --with-freetype-dir=shared \
1749         --with-gettext=shared \
1750         --with-gd=shared,/usr \
1751         --with-gdbm \
1752         --with-gmp=shared \
1753         %{?with_imap:--with-imap=shared --with-imap-ssl} \
1754         %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1755         --with-jpeg-dir=/usr \
1756         %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1757         --with-mcrypt=shared \
1758         %{?with_mhash:--with-mhash=shared} \
1759         %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1760         %{?with_ming:--with-ming=shared} \
1761         %{?with_mm:--with-mm} \
1762         %{?with_mssql:--with-mssql=shared} \
1763         --with-mysql=shared,/usr \
1764         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1765         %{?with_mysqli:--with-mysqli=shared} \
1766         --with-ncurses=shared \
1767         %{?with_oci8:--with-oci8=shared} \
1768         %{?with_openssl:--with-openssl=shared} \
1769         --with-kerberos \
1770         %{!?with_pcre:--without-pcre-regex --disable-filter}%{?with_pcre:--with-pcre-regex=/usr --enable-filter=shared} \
1771         --with-pear=%{php_pear_dir} \
1772         %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1773         --with-png-dir=/usr \
1774         %{?with_pspell:--with-pspell=shared} \
1775         --with-readline=shared \
1776         %{?with_recode:--with-recode=shared} \
1777         --with-regex=php \
1778         --without-sablot-js \
1779         %{?with_snmp:--with-snmp=shared} \
1780         %{?with_sybase:--with-sybase=shared,/usr} \
1781         %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1782         %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1783         --with-t1lib=shared \
1784         %{?with_tidy:--with-tidy=shared} \
1785         --with-tiff-dir=/usr \
1786         %{?with_odbc:--with-unixODBC=shared,/usr} \
1787         %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1788         --with-xsl=shared \
1789         --with-zlib=shared \
1790         --with-zlib-dir=shared,/usr \
1791         --enable-zip=shared,/usr \
1792
1793         cp -f Makefile Makefile.$sapi
1794         cp -f main/php_config.h php_config.h.$sapi
1795 done
1796
1797 # must make this first, so modules can link against it.
1798 %{__make} libphp_common.la
1799 %{__make} build-modules
1800
1801 %if %{with apache1}
1802 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1803 %endif
1804
1805 %if %{with apache2}
1806 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1807 %endif
1808
1809 # FCGI
1810 %if %{with fcgi}
1811 cp -af php_config.h.fcgi main/php_config.h
1812 %{__make} sapi/cgi/php -f Makefile.fcgi
1813 cp -r sapi/cgi sapi/fcgi
1814 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1815 %endif
1816
1817 # CGI
1818 cp -af php_config.h.cgi main/php_config.h
1819 %{__make} sapi/cgi/php -f Makefile.cgi
1820
1821 # CLI
1822 cp -af php_config.h.cli main/php_config.h
1823 %{__make} sapi/cli/php -f Makefile.cli
1824
1825 %install
1826 rm -rf $RPM_BUILD_ROOT
1827 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1828         $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1829         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1830         $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1831         $RPM_BUILD_ROOT%{_mandir}/man1 \
1832
1833 # install the apache modules' files
1834 %{__make} install-headers install-build install-modules install-programs \
1835         INSTALL_ROOT=$RPM_BUILD_ROOT
1836
1837 # install apache1 DSO module
1838 %if %{with apache1}
1839 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1840 %endif
1841
1842 # install apache2 DSO module
1843 %if %{with apache2}
1844 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1845 %endif
1846
1847 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1848 # fix install paths, avoid evil rpaths
1849 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1850 # better solution?
1851 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1852
1853 # install CGI
1854 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1855
1856 # install FCGI
1857 %if %{with fcgi}
1858 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1859 %endif
1860
1861 # install CLI
1862 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1863 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1864 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1865
1866 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1867
1868 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1869 %if %{with fcgi}
1870 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1871 %endif
1872 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1873 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1874 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
1875
1876 %if %{with apache1}
1877 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1878 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1879 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1880 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1881 %endif
1882
1883 %if %{with apache2}
1884 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1885 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1886 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1887 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1888 %endif
1889
1890 cp -f Zend/LICENSE{,.Zend}
1891
1892 # Generate stub .ini files for each subpackage
1893 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1894 for so in modules/*.so; do
1895         mod=$(basename $so .so)
1896         conf="%{_sysconfdir}/conf.d/${mod}.ini"
1897         # xml needs to be loaded before wddx
1898         [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1899         cat > $RPM_BUILD_ROOT${conf} <<EOF
1900 ; Enable ${mod} extension module
1901 extension=${mod}.so
1902 EOF
1903 done
1904
1905 # per SAPI ini directories
1906 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1907
1908 # for CLI SAPI only
1909 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1910
1911 # use system automake and {lib,sh}tool
1912 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1913 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1914 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1915 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1916
1917 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1918 # isn't installed by install-headers make target, we do it manually here.
1919 # this header file is required by e.g. filter PECL extension
1920 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1921
1922 %clean
1923 rm -rf $RPM_BUILD_ROOT
1924
1925 %post -n apache1-mod_php
1926 if [ "$1" = "1" ]; then
1927         %service -q apache restart
1928 fi
1929
1930 %postun -n apache1-mod_php
1931 if [ "$1" = "0" ]; then
1932         %service -q apache restart
1933 fi
1934
1935 %post -n apache-mod_php
1936 if [ "$1" = "1" ]; then
1937         %service -q httpd restart
1938 fi
1939
1940 %postun -n apache-mod_php
1941 if [ "$1" = "0" ]; then
1942         %service -q httpd restart
1943 fi
1944
1945 %post   common -p /sbin/ldconfig
1946 %postun common -p /sbin/ldconfig
1947
1948 %posttrans common
1949 # minimizing apache restarts logics. we restart webserver:
1950 #
1951 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1952 # 2. first install of extension (post: $1 = 1)
1953 # 2. uninstall of extension (postun: $1 == 0)
1954 #
1955 # the strict internal deps between extensions (and apache modules) and
1956 # common package are very important for all this to work.
1957
1958 # restart webserver at the end of transaction
1959 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1960 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1961
1962 %if %{with apache1}
1963 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1964 sed -i -e '
1965         /^AddType application\/x-httpd-php \.php/s,^,#,
1966         /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1967 ' /etc/apache/apache.conf
1968 %service -q apache restart
1969 %endif
1970
1971 %if %{with apache2}
1972 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
1973 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1974 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1975         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1976         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1977 fi
1978 %endif
1979
1980 # macro called at extension post scriptlet
1981 %define extension_post \
1982 if [ "$1" = "1" ]; then \
1983         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1984         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1985 fi
1986
1987 # macro called at extension postun scriptlet
1988 %define extension_postun \
1989 if [ "$1" = "0" ]; then \
1990         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1991         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1992 fi
1993
1994 %define extension_scripts() \
1995 %post %1 \
1996 %extension_post \
1997 \
1998 %postun %1 \
1999 %extension_postun
2000
2001 # extension scripts defines
2002 %extension_scripts bcmath
2003 %extension_scripts bzip2
2004 %extension_scripts calendar
2005 %extension_scripts ctype
2006 %extension_scripts curl
2007 %extension_scripts dba
2008 %extension_scripts dbase
2009 %extension_scripts dom
2010 %extension_scripts exif
2011 %extension_scripts fdf
2012 %extension_scripts filter
2013 %extension_scripts ftp
2014 %extension_scripts gd
2015 %extension_scripts gettext
2016 %extension_scripts gmp
2017 %extension_scripts hash
2018 %extension_scripts iconv
2019 %extension_scripts imap
2020 %extension_scripts interbase
2021 %extension_scripts json
2022 %extension_scripts ldap
2023 %extension_scripts mbstring
2024 %extension_scripts mcrypt
2025 %extension_scripts mhash
2026 %extension_scripts mime_magic
2027 %extension_scripts ming
2028 %extension_scripts mssql
2029 %extension_scripts mysql
2030 %extension_scripts mysqli
2031 %extension_scripts oci8
2032 %extension_scripts odbc
2033 %extension_scripts openssl
2034 %extension_scripts pdo-dblib
2035 %extension_scripts pdo-firebird
2036 %extension_scripts pdo-mysql
2037 %extension_scripts pdo-odbc
2038 %extension_scripts pdo-pgsql
2039 %extension_scripts pdo-sqlite
2040 %extension_scripts pgsql
2041 %extension_scripts posix
2042 %extension_scripts pspell
2043 %extension_scripts recode
2044 %extension_scripts shmop
2045 %extension_scripts snmp
2046 %extension_scripts soap
2047 %extension_scripts sockets
2048 %extension_scripts sqlite
2049 %extension_scripts sybase
2050 %extension_scripts sybase-ct
2051 %extension_scripts sysvmsg
2052 %extension_scripts sysvsem
2053 %extension_scripts sysvshm
2054 %extension_scripts tidy
2055 %extension_scripts tokenizer
2056 %extension_scripts wddx
2057 %extension_scripts xml
2058 %extension_scripts xmlreader
2059 %extension_scripts xmlrpc
2060 %extension_scripts xmlwriter
2061 %extension_scripts xsl
2062 %extension_scripts zip
2063 %extension_scripts zlib
2064
2065 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2066 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2067
2068 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2069 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2070
2071 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2072 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2073
2074 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2075 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2076
2077 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2078 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2079
2080 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2081 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2082
2083 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2084 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2085
2086 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2087 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2088
2089 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2090 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2091
2092 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2093 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2094
2095 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2096 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2097
2098 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2099 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2100
2101 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2102 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2103
2104 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2105 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2106
2107 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2108 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2109
2110 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2111 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2112
2113 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2114 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2115
2116 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2117 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2118
2119 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2120 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2121
2122 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2123 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2124
2125 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2126 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2127
2128 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2129 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2130
2131 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2132 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2133
2134 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2135 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2136
2137 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2138 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2139
2140 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2141 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2142         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2143 fi
2144 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2145         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2146 fi
2147
2148 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2149 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2150
2151 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2152 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2153
2154 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2155 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2156
2157 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2158 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2159
2160 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2161 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2162         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2163 fi
2164 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2165         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2166 fi
2167
2168 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2169 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2170
2171 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2172 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2173
2174 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2175 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2176
2177 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2178 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2179         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2180 fi
2181 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2182         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2183 fi
2184
2185 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2186 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2187
2188 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2189 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2190
2191 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2192 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2193
2194 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2195 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2196
2197 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2198 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2199
2200 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2201 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2202
2203 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2204 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2205
2206 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2207 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2208
2209 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2210 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2211
2212 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2213 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2214
2215 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2216 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2217
2218 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2219 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2220
2221 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2222 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2223
2224 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2225 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2226
2227 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2228 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2229
2230 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2231 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2232
2233 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2234 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2235
2236 %if %{with apache1}
2237 %files -n apache1-mod_php
2238 %defattr(644,root,root,755)
2239 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2240 %dir %{_sysconfdir}/apache.d
2241 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2242 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2243 /home/services/apache/icons/*
2244 %endif
2245
2246 %if %{with apache2}
2247 %files -n apache-mod_php
2248 %defattr(644,root,root,755)
2249 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2250 %dir %{_sysconfdir}/apache2handler.d
2251 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2252 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2253 /home/services/httpd/icons/*
2254 %endif
2255
2256 %if %{with fcgi}
2257 %files fcgi
2258 %defattr(644,root,root,755)
2259 %doc sapi/cgi/README.FastCGI
2260 %dir %{_sysconfdir}/cgi-fcgi.d
2261 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2262 %attr(755,root,root) %{_bindir}/php.fcgi
2263 %endif
2264
2265 %files cgi
2266 %defattr(644,root,root,755)
2267 %dir %{_sysconfdir}/cgi.d
2268 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2269 %attr(755,root,root) %{_bindir}/php.cgi
2270
2271 %files cli
2272 %defattr(644,root,root,755)
2273 %dir %{_sysconfdir}/cli.d
2274 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2275 %attr(755,root,root) %{_bindir}/php.cli
2276 %{_mandir}/man1/php.1*
2277 %{_mandir}/man1/php.cli.1*
2278
2279 %files program
2280 %defattr(644,root,root,755)
2281 %attr(755,root,root) %{_bindir}/php
2282
2283 %files common
2284 %defattr(644,root,root,755)
2285 %doc php.ini-*
2286 %doc CREDITS Zend/ZEND_CHANGES
2287 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2288
2289 %dir %{_sysconfdir}
2290 %dir %{_sysconfdir}/conf.d
2291 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2292 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2293 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2294 %dir %{extensionsdir}
2295
2296 %doc ext/session/mod_files.sh
2297
2298 %files devel
2299 %defattr(644,root,root,755)
2300 %doc README.UNIX-BUILD-SYSTEM
2301 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2302 %doc CODING_STANDARDS
2303 %attr(755,root,root) %{_bindir}/phpize
2304 %attr(755,root,root) %{_bindir}/php-config
2305 %attr(755,root,root) %{_libdir}/libphp_common.so
2306 %{_libdir}/libphp_common.la
2307 %{_includedir}/php
2308 %{_libdir}/php/build
2309 %{_mandir}/man1/*
2310
2311 %files bcmath
2312 %defattr(644,root,root,755)
2313 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2314 %attr(755,root,root) %{extensionsdir}/bcmath.so
2315
2316 %files bzip2
2317 %defattr(644,root,root,755)
2318 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2319 %attr(755,root,root) %{extensionsdir}/bz2.so
2320
2321 %files calendar
2322 %defattr(644,root,root,755)
2323 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2324 %attr(755,root,root) %{extensionsdir}/calendar.so
2325
2326 %files ctype
2327 %defattr(644,root,root,755)
2328 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2329 %attr(755,root,root) %{extensionsdir}/ctype.so
2330
2331 %if %{with curl}
2332 %files curl
2333 %defattr(644,root,root,755)
2334 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2335 %attr(755,root,root) %{extensionsdir}/curl.so
2336 %endif
2337
2338 %files dba
2339 %defattr(644,root,root,755)
2340 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2341 %attr(755,root,root) %{extensionsdir}/dba.so
2342
2343 %files dbase
2344 %defattr(644,root,root,755)
2345 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2346 %attr(755,root,root) %{extensionsdir}/dbase.so
2347
2348 %files dom
2349 %defattr(644,root,root,755)
2350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2351 %attr(755,root,root) %{extensionsdir}/dom.so
2352
2353 %if %{with fdf}
2354 %files fdf
2355 %defattr(644,root,root,755)
2356 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2357 %attr(755,root,root) %{extensionsdir}/fdf.so
2358 %endif
2359
2360 %files filter
2361 %defattr(644,root,root,755)
2362 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2363 %attr(755,root,root) %{extensionsdir}/filter.so
2364
2365 %files exif
2366 %defattr(644,root,root,755)
2367 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2368 %attr(755,root,root) %{extensionsdir}/exif.so
2369
2370 %files ftp
2371 %defattr(644,root,root,755)
2372 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2373 %attr(755,root,root) %{extensionsdir}/ftp.so
2374
2375 %files gd
2376 %defattr(644,root,root,755)
2377 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2378 %attr(755,root,root) %{extensionsdir}/gd.so
2379
2380 %files gettext
2381 %defattr(644,root,root,755)
2382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2383 %attr(755,root,root) %{extensionsdir}/gettext.so
2384
2385 %files gmp
2386 %defattr(644,root,root,755)
2387 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2388 %attr(755,root,root) %{extensionsdir}/gmp.so
2389
2390 %files hash
2391 %defattr(644,root,root,755)
2392 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2393 %attr(755,root,root) %{extensionsdir}/hash.so
2394
2395 %files iconv
2396 %defattr(644,root,root,755)
2397 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2398 %attr(755,root,root) %{extensionsdir}/iconv.so
2399
2400 %if %{with imap}
2401 %files imap
2402 %defattr(644,root,root,755)
2403 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2404 %attr(755,root,root) %{extensionsdir}/imap.so
2405 %endif
2406
2407 %if %{with interbase}
2408 %files interbase
2409 %defattr(644,root,root,755)
2410 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2411 %attr(755,root,root) %{extensionsdir}/interbase.so
2412 %endif
2413
2414 %files json
2415 %defattr(644,root,root,755)
2416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2417 %attr(755,root,root) %{extensionsdir}/json.so
2418
2419 %if %{with ldap}
2420 %files ldap
2421 %defattr(644,root,root,755)
2422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2423 %attr(755,root,root) %{extensionsdir}/ldap.so
2424 %endif
2425
2426 %files mbstring
2427 %defattr(644,root,root,755)
2428 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2429 %attr(755,root,root) %{extensionsdir}/mbstring.so
2430
2431 %files mcrypt
2432 %defattr(644,root,root,755)
2433 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2434 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2435
2436 %if %{with mhash}
2437 %files mhash
2438 %defattr(644,root,root,755)
2439 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2440 %attr(755,root,root) %{extensionsdir}/mhash.so
2441 %endif
2442
2443 %if %{with mime_magic}
2444 %files mime_magic
2445 %defattr(644,root,root,755)
2446 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2447 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2448 %endif
2449
2450 %if %{with ming}
2451 %files ming
2452 %defattr(644,root,root,755)
2453 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2454 %attr(755,root,root) %{extensionsdir}/ming.so
2455 %endif
2456
2457 %if %{with mssql}
2458 %files mssql
2459 %defattr(644,root,root,755)
2460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2461 %attr(755,root,root) %{extensionsdir}/mssql.so
2462 %endif
2463
2464 %files mysql
2465 %defattr(644,root,root,755)
2466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2467 %attr(755,root,root) %{extensionsdir}/mysql.so
2468
2469 %if %{with mysqli}
2470 %files mysqli
2471 %defattr(644,root,root,755)
2472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2473 %attr(755,root,root) %{extensionsdir}/mysqli.so
2474 %endif
2475
2476 %files ncurses
2477 %defattr(644,root,root,755)
2478 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2479 %attr(755,root,root) %{extensionsdir}/ncurses.so
2480
2481 %if %{with oci8}
2482 %files oci8
2483 %defattr(644,root,root,755)
2484 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2485 %attr(755,root,root) %{extensionsdir}/oci8.so
2486 %endif
2487
2488 %if %{with odbc}
2489 %files odbc
2490 %defattr(644,root,root,755)
2491 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2492 %attr(755,root,root) %{extensionsdir}/odbc.so
2493 %endif
2494
2495 %if %{with openssl}
2496 %files openssl
2497 %defattr(644,root,root,755)
2498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2499 %attr(755,root,root) %{extensionsdir}/openssl.so
2500 %endif
2501
2502 %files pcntl
2503 %defattr(644,root,root,755)
2504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2505 %attr(755,root,root) %{extensionsdir}/pcntl.so
2506
2507 %files pdo
2508 %defattr(644,root,root,755)
2509 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2510 %attr(755,root,root) %{extensionsdir}/pdo.so
2511
2512 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2513 %files pdo-dblib
2514 %defattr(644,root,root,755)
2515 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2516 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2517 %endif
2518
2519 %if %{with interbase} && !%{with interbase_inst}
2520 %files pdo-firebird
2521 %defattr(644,root,root,755)
2522 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2523 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2524 %endif
2525
2526 %files pdo-mysql
2527 %defattr(644,root,root,755)
2528 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2529 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2530
2531 %if %{with oci8}
2532 %files pdo-oci
2533 %defattr(644,root,root,755)
2534 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2535 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2536 %endif
2537
2538 %if %{with odbc}
2539 %files pdo-odbc
2540 %defattr(644,root,root,755)
2541 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2542 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2543 %endif
2544
2545 %if %{with pgsql}
2546 %files pdo-pgsql
2547 %defattr(644,root,root,755)
2548 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2549 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2550 %endif
2551
2552 %if %{with sqlite}
2553 %files pdo-sqlite
2554 %defattr(644,root,root,755)
2555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2556 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2557 %endif
2558
2559 %if %{with pgsql}
2560 %files pgsql
2561 %defattr(644,root,root,755)
2562 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2563 %attr(755,root,root) %{extensionsdir}/pgsql.so
2564 %endif
2565
2566 %files posix
2567 %defattr(644,root,root,755)
2568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2569 %attr(755,root,root) %{extensionsdir}/posix.so
2570
2571 %if %{with pspell}
2572 %files pspell
2573 %defattr(644,root,root,755)
2574 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2575 %attr(755,root,root) %{extensionsdir}/pspell.so
2576 %endif
2577
2578 %files readline
2579 %defattr(644,root,root,755)
2580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2581 %attr(755,root,root) %{extensionsdir}/readline.so
2582
2583 %if %{with recode}
2584 %files recode
2585 %defattr(644,root,root,755)
2586 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2587 %attr(755,root,root) %{extensionsdir}/recode.so
2588 %endif
2589
2590 %if 0
2591 # simplexml is needed by spl, and spl can't be built shared as of now (5.2.0)
2592 # simplexml can be built shared, but SPL startup fails
2593 # we could add R: -simplexml to -common...
2594 %files simplexml
2595 %defattr(644,root,root,755)
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2597 %attr(755,root,root) %{extensionsdir}/simplexml.so
2598 %endif
2599
2600 %files shmop
2601 %defattr(644,root,root,755)
2602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2603 %attr(755,root,root) %{extensionsdir}/shmop.so
2604
2605 %if %{with snmp}
2606 %files snmp
2607 %defattr(644,root,root,755)
2608 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2609 %attr(755,root,root) %{extensionsdir}/snmp.so
2610 %endif
2611
2612 %files soap
2613 %defattr(644,root,root,755)
2614 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2615 %attr(755,root,root) %{extensionsdir}/soap.so
2616
2617 %files sockets
2618 %defattr(644,root,root,755)
2619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2620 %attr(755,root,root) %{extensionsdir}/sockets.so
2621
2622 %if %{with sqlite}
2623 %files sqlite
2624 %defattr(644,root,root,755)
2625 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2626 %attr(755,root,root) %{extensionsdir}/sqlite.so
2627 %endif
2628
2629 %if %{with sybase}
2630 %files sybase
2631 %defattr(644,root,root,755)
2632 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2633 %attr(755,root,root) %{extensionsdir}/sybase.so
2634 %endif
2635
2636 %if %{with sybase_ct}
2637 %files sybase-ct
2638 %defattr(644,root,root,755)
2639 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2640 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2641 %endif
2642
2643 %files sysvmsg
2644 %defattr(644,root,root,755)
2645 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2646 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2647
2648 %files sysvsem
2649 %defattr(644,root,root,755)
2650 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2651 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2652
2653 %files sysvshm
2654 %defattr(644,root,root,755)
2655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2656 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2657
2658 %if %{with tidy}
2659 %files tidy
2660 %defattr(644,root,root,755)
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2662 %attr(755,root,root) %{extensionsdir}/tidy.so
2663 %endif
2664
2665 %files tokenizer
2666 %defattr(644,root,root,755)
2667 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2668 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2669
2670 %if %{with wddx}
2671 %files wddx
2672 %defattr(644,root,root,755)
2673 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2674 %attr(755,root,root) %{extensionsdir}/wddx.so
2675 %endif
2676
2677 %files xml
2678 %defattr(644,root,root,755)
2679 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2680 %attr(755,root,root) %{extensionsdir}/xml.so
2681
2682 %files xmlreader
2683 %defattr(644,root,root,755)
2684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2685 %attr(755,root,root) %{extensionsdir}/xmlreader.so
2686
2687 %if %{with xmlrpc}
2688 %files xmlrpc
2689 %defattr(644,root,root,755)
2690 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2691 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2692 %endif
2693
2694 %files xmlwriter
2695 %defattr(644,root,root,755)
2696 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2697 %attr(755,root,root) %{extensionsdir}/xmlwriter.so
2698
2699 %files xsl
2700 %defattr(644,root,root,755)
2701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2702 %attr(755,root,root) %{extensionsdir}/xsl.so
2703
2704 %files zip
2705 %defattr(644,root,root,755)
2706 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2707 %attr(755,root,root) %{extensionsdir}/zip.so
2708
2709 %files zlib
2710 %defattr(644,root,root,755)
2711 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2712 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.289196 seconds and 4 git commands to generate.