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