]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- -json obsoletes php-pecl-json
[packages/php.git] / php.spec
1 # TODO:
2 # - think of including support for:
3 #    - mcve,
4 #    - ovrimos,
5 #    - pfpro,
6 #   These extensions BuildRequires proprietary libraries...
7 # - deal with modules removed from php and not moved to PECL
8 #   removed from php 5.2:
9 #   filepro, hw
10 # - mime_magic can't handle new "string/*" entries in magic.mime
11 #   thus doesn't work with system magic.mime database
12 # - make additional headers added by mail patch configurable
13 # - apply -hardened patch by default ?
14 # - modularize session, standard (output from pure php -m)?
15 #
16 # Conditional build:
17 %bcond_with     db3             # use db3 packages instead of db (4.x) for Berkeley DB support
18 %bcond_with     fdf             # with FDF (PDF forms) module           (BR: proprietary lib)
19 %bcond_with     hardening       # build with hardening patch applied (http://www.hardened-php.net/)
20 %bcond_with     interbase_inst  # use InterBase install., not Firebird  (BR: proprietary libs)
21 %bcond_with     oci8            # with Oracle oci8 extension module     (BR: proprietary libs)
22 %bcond_without  curl            # without CURL extension module
23 %bcond_without  filter          # without filter extension module
24 %bcond_without  imap            # without IMAP extension module
25 %bcond_with     interbase       # with InterBase extension module
26 %bcond_without  ldap            # without LDAP extension module
27 %bcond_without  mhash           # without mhash extension module
28 %bcond_without  mime_magic      # without mime-magic module
29 %bcond_without  ming            # without ming extension module
30 %bcond_without  mm              # without mm support for session storage
31 %bcond_without  mssql           # without MS SQL extension module
32 %bcond_without  mysqli          # without mysqli support (Requires mysql > 4.1)
33 %bcond_without  odbc            # without ODBC extension module
34 %bcond_without  openssl         # without OpenSSL support and OpenSSL extension (module)
35 %bcond_without  pcre            # without PCRE extension module
36 %bcond_without  pgsql           # without PostgreSQL extension module
37 %bcond_without  pspell          # without pspell extension module
38 %bcond_without  recode          # without recode extension module
39 %bcond_without  snmp            # without SNMP extension module
40 %bcond_without  sqlite          # without SQLite extension module
41 %bcond_without  sybase          # without Sybase extension module
42 %bcond_without  sybase_ct       # without Sybase-CT extension module
43 %bcond_without  tidy            # without Tidy extension module
44 %bcond_without  wddx            # without WDDX extension module
45 %bcond_without  xmlrpc          # without XML-RPC extension module
46 %bcond_without  apache1         # disable building apache 1.3.x module
47 %bcond_without  apache2         # disable building apache 2.x module
48 %bcond_without  fcgi            # disable building FCGI SAPI
49 %bcond_without  zts             # disable experimental-zts
50 %bcond_with             versioning      # build with experimental versioning (to load php4/php5 into same apache)
51
52 %define apxs1           /usr/sbin/apxs1
53 %define apxs2           /usr/sbin/apxs
54
55 # some problems with apache 2.x
56 %if %{with apache2}
57 %undefine       with_mm
58 %endif
59
60 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
61 %undefine       with_interbase
62 %endif
63
64 %if !%{with apache1} && !%{with apache2}
65 ERROR: You need to select at least one Apache SAPI to build shared modules.
66 %endif
67
68 # filter depends on pcre
69 %if %{without pcre}
70 %undefine       with_filter
71 %endif
72
73 %define _rel 2
74 Summary:        PHP: Hypertext Preprocessor
75 Summary(fr):    Le langage de script embarque-HTML PHP
76 Summary(pl):    Jêzyk skryptowy PHP
77 Summary(pt_BR): A linguagem de script PHP
78 Summary(ru):    PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
79 Summary(uk):    PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
80 Name:           php
81 Version:        5.2.0
82 Release:        %{_rel}%{?with_hardening:hardened}
83 Epoch:          4
84 License:        PHP
85 Group:          Libraries
86 Source0:        http://www.php.net/distributions/%{name}-%{version}.tar.bz2
87 # Source0-md5:  e6029fafcee029edcfa2ceed7a005333
88 Source2:        zend.gif
89 Source3:        %{name}-mod_%{name}.conf
90 Source4:        %{name}-cgi-fcgi.ini
91 Source5:        %{name}-cgi.ini
92 Source6:        %{name}-apache.ini
93 Source7:        %{name}-cli.ini
94 Source8:        http://www.hardened-php.net/hardening-patch-5.0.4-0.3.0.patch.gz
95 # Source8-md5:  47a742fa9fab2826ad10c13a2376111a
96 # Taken from: http://browsers.garykeith.com/downloads.asp
97 Source9:        %{name}_browscap.ini
98 Patch0:         %{name}-shared.patch
99 Patch1:         %{name}-pldlogo.patch
100 Patch2:         %{name}-mail.patch
101 Patch3:         %{name}-link-libs.patch
102 Patch4:         %{name}-libpq_fs_h_path.patch
103 Patch5:         %{name}-filter-shared.patch
104 Patch6:         %{name}-build_modules.patch
105 Patch7:         %{name}-sapi-ini-file.patch
106 Patch8:         %{name}-no-metaccld.patch
107 Patch9:         %{name}-sh.patch
108 Patch10:        %{name}-ini.patch
109 Patch11:        %{name}-acam.patch
110 Patch12:        %{name}-curl.patch
111 Patch14:        %{name}-allow-db31.patch
112 Patch15:        %{name}-threads-acfix.patch
113 Patch16:        %{name}-tsrmlsfetchgcc2.patch
114 Patch17:        %{name}-no_pear_install.patch
115 Patch18:        %{name}-zlib.patch
116 Patch19:        %{name}-sybase-fix.patch
117 Patch20:        %{name}-readline.patch
118 Patch21:        %{name}-nohttpd.patch
119 Patch23:        %{name}-gd_imagerotate_enable.patch
120 Patch24:        %{name}-uint32_t.patch
121 Patch26:        %{name}-dba-link.patch
122 Patch30:        %{name}-hardening-fix.patch
123 Patch31:        %{name}-both-apxs.patch
124 Patch32:        %{name}-builddir.patch
125 Patch33:        %{name}-zlib-for-getimagesize.patch
126 Patch35:        %{name}-versioning.patch
127 Patch36:        %{name}-linkflags-clean.patch
128 Patch38:        %{name}-memory-limit.patch
129 Patch39:        %{name}-pear.patch
130 Patch40:        %{name}-db4.5.patch
131 URL:            http://www.php.net/
132 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:        Firebird-devel >= 1.0.2.908-2}}
133 %{?with_pspell:BuildRequires:   aspell-devel >= 2:0.50.0}
134 BuildRequires:  autoconf >= 2.53
135 BuildRequires:  automake >= 1.4d
136 BuildRequires:  bison
137 BuildRequires:  bzip2-devel
138 %{?with_curl:BuildRequires:     curl-devel >= 7.12.0}
139 BuildRequires:  cyrus-sasl-devel
140 %{!?with_db3:BuildRequires:     db-devel >= 4.0}
141 %{?with_db3:BuildRequires:      db3-devel >= 3.1}
142 BuildRequires:  elfutils-devel
143 %if %{with xmlrpc}
144 BuildRequires:  expat-devel
145 %endif
146 %{?with_fcgi:BuildRequires:     fcgi-devel}
147 %{?with_fdf:BuildRequires:      fdftk-devel}
148 BuildRequires:  flex
149 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
150 BuildRequires:  freetds-devel
151 %endif
152 BuildRequires:  freetype-devel >= 2.0
153 BuildRequires:  gd-devel >= 2.0.28-4
154 BuildRequires:  gdbm-devel
155 BuildRequires:  gmp-devel
156 %{?with_imap:BuildRequires:     imap-devel >= 1:2001-0.BETA.200107022325.2}
157 BuildRequires:  libjpeg-devel
158 BuildRequires:  libltdl-devel >= 1.4
159 BuildRequires:  libmcrypt-devel >= 2.4.4
160 BuildRequires:  libpng-devel >= 1.0.8
161 BuildRequires:  libtiff-devel
162 BuildRequires:  libtool >= 1.4.3
163 BuildRequires:  libwrap-devel
164 BuildRequires:  libxml2-devel >= 2.5.10
165 BuildRequires:  libxslt-devel >= 1.1.0
166 %{?with_mhash:BuildRequires:    mhash-devel}
167 %{?with_ming:BuildRequires:     ming-devel >= 0.2a-11}
168 %{?with_mm:BuildRequires:       mm-devel >= 1.3.0}
169 BuildRequires:  mysql-devel >= 4.0.0
170 %{?with_mysqli:BuildRequires:   mysql-devel >= 4.1.0}
171 BuildRequires:  ncurses-ext-devel
172 %{?with_ldap:BuildRequires:     openldap-devel >= 2.3.0}
173 %if %{with openssl} || %{with ldap}
174 BuildRequires:  openssl-devel >= 0.9.7d
175 %endif
176 %{?with_snmp:BuildRequires:     net-snmp-devel >= 5.0.7}
177 BuildRequires:  pam-devel
178 %{?with_pcre:BuildRequires:     pcre-devel >= 6.6}
179 %{?with_pgsql:BuildRequires:    postgresql-backend-devel >= 7.2}
180 %{?with_pgsql:BuildRequires:    postgresql-devel}
181 BuildRequires:  readline-devel
182 %{?with_recode:BuildRequires:   recode-devel >= 3.5d-3}
183 BuildRequires:  rpm-build >= 4.4.0
184 BuildRequires:  rpmbuild(macros) >= 1.238
185 %{?with_sqlite:BuildRequires:   sqlite-devel}
186 %{?with_sqlite:BuildRequires:   sqlite3-devel}
187 BuildRequires:  t1lib-devel
188 %{?with_tidy:BuildRequires:     tidy-devel}
189 %{?with_odbc:BuildRequires:     unixODBC-devel}
190 %{?with_xmlrpc:BuildRequires:   xmlrpc-epi-devel}
191 BuildRequires:  zlib-devel >= 1.0.9
192 %if %{with apache1}
193 BuildRequires:  apache1-devel
194 %endif
195 %if %{with apache2}
196 BuildRequires:  apache-devel >= 2.0.52-2
197 BuildRequires:  apr-devel >= 1:1.0.0
198 BuildRequires:  apr-util-devel >= 1:1.0.0
199 %endif
200 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
201
202 %define         _sysconfdir     /etc/php
203 %define         extensionsdir   %{_libdir}/php
204
205 # must be in sync with source. extra check ensuring that it is so is done in %%build
206 %define         php_api_version         20041225
207 %define         zend_module_api         20060613
208 %define         zend_extension_api      220060519
209 %define         zend_zts                        %{!?with_zts:0}%{?with_zts:1}
210 %define         php_debug                       %{!?debug:0}%{?debug:1}
211
212 %description
213 PHP is an HTML-embedded scripting language. PHP attempts to make it
214 easy for developers to write dynamically generated web pages. PHP also
215 offers built-in database integration for several commercial and
216 non-commercial database management systems, so writing a
217 database-enabled web page with PHP is fairly simple. The most common
218 use of PHP coding is probably as a replacement for CGI scripts. The
219 mod_php module enables the Apache web server to understand and process
220 the embedded PHP language in web pages. This package contains php
221 version %{version}.
222
223 %description -l fr
224 PHP est un langage de script embarque dans le HTM. PHP essaye de
225 rendre simple aux developpeurs d'ecrire des pages web generees
226 dynamiquement. PHP incorpore egalement une integration avec plusieurs
227 systemes de gestion de bases de donnees commerciaux et
228 non-connerciaux, qui rent facile la creation de pages web liees avec
229 des bases de donnees. L'utilisation la plus commune de PHP est
230 probablement en remplacement de scripts CGI. Le module mod_php permet
231 au serveur web apache de comprendre et de traiter le langage PHP
232 integre dans des pages web. Ce package contient php version
233 %{version}.
234
235 %description -l pl
236 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
237 plikach HTML. Jest prób± u³atwienia programistom pisania dynamicznie
238 generowanych stron WWW. Oferuje tak¿e wbudowan± integracjê z bazami
239 danych dla kilku komercyjnych i niekomercyjnych systemów baz danych,
240 co czyni tworzenie stron korzystaj±cych z baz danych w miarê ³atwym.
241 Najczê¶ciej PHP jest u¿ywany prawdopodobnie jako zamiennik skryptów
242 CGI. Modu³ mod_php pozwala serwerowi WWW Apache rozumieæ i przetwarzaæ
243 jêzyk PHP osadzony w stronach. Ten pakiet zawiera php w wersji
244 %{version}.
245
246 %description -l pt_BR
247 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
248 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
249 com algumas características únicas, específicas ao PHP. O objetivo da
250 linguagem é permitir que desenvolvedores web escrevam páginas
251 dinamicamente geradas de forma rápida.
252
253 %description -l ru
254 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
255 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
256 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
257 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
258
259 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
260 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
261 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
262 apache-mod_php.
263
264 %description -l uk
265 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
266 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐԦנÄÌÑ
267 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
268 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
269
270 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
271 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
272 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ
273 apache-mod_php.
274
275 %package -n apache1-mod_php
276 Summary:        PHP DSO module for apache 1.3.x
277 Summary(pl):    Modu³ DSO (Dynamic Shared Object) php dla apache 1.3.x
278 Group:          Development/Languages/PHP
279 Requires(triggerpostun):        sed >= 4.0
280 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
281 Requires:       apache1(EAPI) >= 1.3.33-2
282 Requires:       apache1-mod_mime
283 Provides:       webserver(php) = %{version}
284 Obsoletes:      apache-mod_php < 1:4.1.1
285 Obsoletes:      phpfi
286
287 %description -n apache1-mod_php
288 PHP as DSO module for apache 1.3.x.
289
290 %description -n apache1-mod_php -l pl
291 php jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
292
293 %package -n apache-mod_php
294 Summary:        PHP DSO module for apache 2.x
295 Summary(pl):    Modu³ DSO (Dynamic Shared Object) php dla apache 2.x
296 Group:          Development/Languages/PHP
297 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
298 Requires:       apache(modules-api) = %{apache_modules_api}
299 Requires:       apache-mod_mime
300 Provides:       webserver(php) = %{version}
301 Obsoletes:      phpfi
302
303 %description -n apache-mod_php
304 PHP as DSO module for apache 2.x.
305
306 %description -n apache-mod_php -l pl
307 php jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
308
309 %package fcgi
310 Summary:        php as FastCGI program
311 Summary(pl):    php jako program FastCGI
312 Group:          Development/Languages/PHP
313 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
314 Provides:       webserver(php) = %{version}
315
316 %description fcgi
317 php as FastCGI program.
318
319 %description fcgi -l pl
320 php jako program FastCGI.
321
322 %package cgi
323 Summary:        php as CGI program
324 Summary(pl):    php jako program CGI
325 Group:          Development/Languages/PHP
326 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
327
328 %description cgi
329 php as CGI program.
330
331 %description cgi -l pl
332 php jako program CGI.
333
334 %package cli
335 Summary:        php as CLI interpreter
336 Summary(pl):    php jako interpreter dzia³aj±cy z linii poleceñ
337 Group:          Development/Languages/PHP
338 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
339
340 %description cli
341 php as CLI interpreter.
342
343 %description cli -l pl
344 php jako interpreter dzia³aj±cy z linii poleceñ.
345
346 %package program
347 Summary:        /usr/bin/php symlink
348 Summary(pl):    Dowi±zanie symboliczne /usr/bin/php
349 Group:          Development/Languages/PHP
350 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
351 Obsoletes:      /usr/bin/php
352
353 %description program
354 Package providing /usr/bin/php symlink to PHP CLI.
355
356 %description program -l pl
357 Pakiet dostarczaj±cy dowi±zanie symboliczne /usr/bin/php do PHP CLI.
358
359 %package common
360 Summary:        Common files needed by both apache module and CGI
361 Summary(pl):    Wspólne pliki dla modu³u apache'a i programu CGI
362 Summary(ru):    òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
363 Summary(uk):    â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
364 Group:          Libraries
365 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
366 Requires:       glibc >= 6:2.3.5
367 Requires:       php-dirs
368 Provides:       php(date)
369 Provides:       php(libxml)
370 Provides:       php(modules_api) = %{php_api_version}
371 Provides:       php(overload)
372 %{?with_pcre:Provides:  php(pcre)}
373 Provides:       php(reflection)
374 Provides:       php(session)
375 Provides:       php(simplexml)
376 Provides:       php(spl)
377 Provides:       php(standard)
378 Provides:       php(zend_extension_api) = %{zend_extension_api}
379 Provides:       php(zend_module_api) = %{zend_module_api}
380 Provides:       php5(debug) = %{php_debug}
381 Provides:       php5(thread-safety) = %{zend_zts}
382 Obsoletes:      php-pcre < 4:5.2.0
383 Obsoletes:      php-pecl-domxml
384 Obsoletes:      php-session < 3:4.2.1-2
385 Conflicts:      php4-common < 3:4.4.4-8
386 Conflicts:      rpm < 4.4.2-0.2
387
388 %description common
389 Common files needed by both apache module and CGI.
390
391 %description common -l pl
392 Wspólne pliki dla modu³u apacha i programu CGI.
393
394 %description common -l ru
395 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
396 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
397
398 %description common -l uk
399 ãÅÊ ÐÁËÅԠͦÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎԦנÒÅÁ̦ÚÁ槠PHP
400 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
401
402 %package devel
403 Summary:        Files for PHP modules development
404 Summary(pl):    Pliki do kompilacji modu³ów PHP
405 Summary(pt_BR): Arquivos de desenvolvimento para PHP
406 Summary(ru):    ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
407 Summary(uk):    ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
408 Group:          Development/Languages/PHP
409 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
410 Requires:       autoconf
411 Requires:       automake
412 Requires:       libtool
413 Requires:       shtool
414 Obsoletes:      php-pear-devel
415 Obsoletes:      php4-devel
416
417 %description devel
418 The php-devel package lets you compile dynamic extensions to PHP.
419 Included here is the source for the PHP extensions. Instead of
420 recompiling the whole php binary to add support for, say, oracle,
421 install this package and use the new self-contained extensions
422 support. For more information, read the file
423 README.SELF-CONTAINED-EXTENSIONS.
424
425 %description devel -l pl
426 Ten pakiet zawiera pliki potrzebne do kompilacji modu³ów PHP. Zamiast
427 rekompilowaæ ca³e php aby dodaæ obs³ugê np. oracle, mo¿na przy u¿yciu
428 tego pakietu skompilowaæ samodzielne rozszerzenie. Wiêcej informacji o
429 samodzielnych rozszerzeniach mo¿na znale¼æ w pliku
430 README.SELF-CONTAINED-EXTENSIONS.
431
432 %description devel -l pt_BR
433 Este pacote contém arquivos usados no desenvolvimento de programas ou
434 módulos PHP.
435
436 %description devel -l ru
437 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
438 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
439 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
440 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
441 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ README.SELF-CONTAINED-EXTENSIONS.
442
443 %description devel -l uk
444 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
445 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
446 ËÏÍЦÌÑ槠¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, Ð¦ÄÔÒÉÍËÉ
447 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑ槠ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
448 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁæѠ- × ÆÁÊ̦ README.SELF-CONTAINED-EXTENSIONS.
449
450 %package bcmath
451 Summary:        bcmath extension module for PHP
452 Summary(pl):    Modu³ bcmath dla PHP
453 Group:          Libraries
454 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
455 Provides:       php(bcmath)
456
457 %description bcmath
458 This is a dynamic shared object (DSO) for PHP that will add bc style
459 precision math functions support.
460
461 %description bcmath -l pl
462 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
463 matematycznych takich jak w programie bc.
464
465 %package bzip2
466 Summary:        Bzip2 extension module for PHP
467 Summary(pl):    Modu³ bzip2 dla PHP
468 Group:          Libraries
469 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
470 Provides:       php(bzip2)
471
472 %description bzip2
473 This is a dynamic shared object (DSO) for PHP that will add bzip2
474 compression support to PHP.
475
476 %description bzip2 -l pl
477 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
478
479 %package calendar
480 Summary:        Calendar extension module for PHP
481 Summary(pl):    Modu³ funkcji kalendarza dla PHP
482 Group:          Libraries
483 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
484 Provides:       php(calendar)
485
486 %description calendar
487 This is a dynamic shared object (DSO) for PHP that will add calendar
488 support.
489
490 %description calendar -l pl
491 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
492
493 %package ctype
494 Summary:        ctype extension module for PHP
495 Summary(pl):    Modu³ ctype dla PHP
496 Group:          Libraries
497 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
498 Provides:       php(ctype)
499
500 %description ctype
501 This is a dynamic shared object (DSO) for PHP that will add ctype
502 support.
503
504 %description ctype -l pl
505 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
506
507 %package curl
508 Summary:        curl extension module for PHP
509 Summary(pl):    Modu³ curl dla PHP
510 Group:          Libraries
511 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
512 Provides:       php(curl)
513
514 %description curl
515 This is a dynamic shared object (DSO) for PHP that will add curl
516 support.
517
518 %description curl -l pl
519 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
520
521 %package dba
522 Summary:        DBA extension module for PHP
523 Summary(pl):    Modu³ DBA dla PHP
524 Group:          Libraries
525 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
526 Provides:       php(dba)
527
528 %description dba
529 This is a dynamic shared object (DSO) for PHP that will add flat-file
530 databases (DBA) support.
531
532 %description dba -l pl
533 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
534 (DBA).
535
536 %package dbase
537 Summary:        DBase extension module for PHP
538 Summary(pl):    Modu³ DBase dla PHP
539 Group:          Libraries
540 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
541 Provides:       php(dbase)
542
543 %description dbase
544 This is a dynamic shared object (DSO) for PHP that will add DBase
545 support.
546
547 %description dbase -l pl
548 Modu³ PHP ze wsparciem dla DBase.
549
550 %package dom
551 Summary:        DOM extension module for PHP
552 Summary(pl):    Modu³ DOM dla PHP
553 Group:          Libraries
554 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
555 Provides:       php(dom)
556 # it has some compatibility functions
557 Provides:       php(domxml)
558 Obsoletes:      php-domxml <= 3:4.3.8-1
559
560 %description dom
561 This is a dynamic shared object (DSO) for PHP that will add new DOM
562 support.
563
564 %description dom -l pl
565 Modu³ PHP dodaj±cy now± obs³ugê DOM.
566
567 %package exif
568 Summary:        exif extension module for PHP
569 Summary(pl):    Modu³ exif dla PHP
570 Group:          Libraries
571 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
572 Provides:       php(exif)
573
574 %description exif
575 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
576 support in image files.
577
578 %description exif -l pl
579 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
580
581 %package fdf
582 Summary:        FDF extension module for PHP
583 Summary(pl):    Modu³ FDF dla PHP
584 Group:          Libraries
585 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
586 Provides:       php(fdf)
587
588 %description fdf
589 This PHP module adds support for PDF Forms through Adobe FDFTK
590 library.
591
592 %description fdf -l pl
593 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
594 FDFTK.
595
596 %package filter
597 Summary:        Extension for safely dealing with input parameters
598 Summary(pl):    Rozszerzenie do bezpiecznej obs³ugi danych wej¶ciowych
599 Group:          Libraries
600 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
601 Provides:       php(filter)
602 Obsoletes:      php-pecl-filter
603
604 %description filter
605 We all know that you should always check input variables, but PHP does
606 not offer really good functionality for doing this in a safe way. The
607 Input Filter extension is meant to address this issue by implementing
608 a set of filters and mechanisms that users can use to safely access
609 their input data.
610
611 %description filter -l pl
612 Wiadomo, ¿e trzeba zawsze sprawdzaæ zmienne wej¶ciowe, ale PHP nie
613 oferuje naprawdê dobrej funkcjonalno¶ci do robienia tego w sposób
614 bezpieczny. Rozszerzenie Input Filter ma rozwi±zaæ ten problem poprzez
615 zaimplementowanie zestawu filtrów i mechanizmów, których u¿ytkownicy
616 mog± bezpiecznie u¿ywaæ do dostêpu do danych.
617
618 %package ftp
619 Summary:        FTP extension module for PHP
620 Summary(pl):    Modu³ FTP dla PHP
621 Group:          Libraries
622 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
623 Provides:       php(ftp)
624
625 %description ftp
626 This is a dynamic shared object (DSO) for PHP that will add FTP
627 support.
628
629 %description ftp -l pl
630 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
631
632 %package gd
633 Summary:        GD extension module for PHP
634 Summary(pl):    Modu³ GD dla PHP
635 Group:          Libraries
636 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
637 Requires:       gd >= 2.0.28-4
638 Requires:       gd(gif)
639 Provides:       php(gd)
640
641 %description gd
642 This is a dynamic shared object (DSO) for PHP that will add GD
643 support, allowing you to create and manipulate images with PHP.
644
645 %description gd -l pl
646 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
647 tworzenie i obróbkê obrazków.
648
649 %package gettext
650 Summary:        gettext extension module for PHP
651 Summary(pl):    Modu³ gettext dla PHP
652 Group:          Libraries
653 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
654 Provides:       php(gettext)
655
656 %description gettext
657 This is a dynamic shared object (DSO) for PHP that will add gettext
658 support.
659
660 %description gettext -l pl
661 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
662
663 %package gmp
664 Summary:        gmp extension module for PHP
665 Summary(pl):    Modu³ gmp dla PHP
666 Group:          Libraries
667 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
668 Provides:       php(gmp)
669
670 %description gmp
671 This is a dynamic shared object (DSO) for PHP that will add arbitrary
672 length number support with GNU MP library.
673
674 %description gmp -l pl
675 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
676 liczbach o dowolnej d³ugo¶ci.
677
678 %package hash
679 Summary:        HASH Message Digest Framework
680 Summary(pl):    Szkielet do obliczania skrótów wiadomo¶ci
681 Group:          Libraries
682 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
683 Provides:       php(hash)
684
685 %description hash
686 Native implementations of common message digest algorithms using a
687 generic factory method.
688
689 %description hash -l pl
690 Natywne implementacje popularnych algorytmów obliczania skrótów
691 wiadomo¶ci przy u¿yciu wspólnego interfejsu.
692
693 %package iconv
694 Summary:        iconv extension module for PHP
695 Summary(pl):    Modu³ iconv dla PHP
696 Group:          Libraries
697 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
698 Provides:       php(iconv)
699
700 %description iconv
701 This is a dynamic shared object (DSO) for PHP that will add iconv
702 support.
703
704 %description iconv -l pl
705 Modu³ PHP dodaj±cy obs³ugê iconv.
706
707 %package imap
708 Summary:        IMAP extension module for PHP
709 Summary(pl):    Modu³ IMAP dla PHP
710 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
711 Group:          Libraries
712 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
713 Provides:       php(imap)
714
715 %description imap
716 This is a dynamic shared object (DSO) for PHP that will add IMAP
717 support.
718
719 %description imap -l pl
720 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
721
722 %description imap -l pt_BR
723 Um módulo para aplicações PHP que usam IMAP.
724
725 %package interbase
726 Summary:        InterBase/Firebird database module for PHP
727 Summary(pl):    Modu³ bazy danych InterBase/Firebird dla PHP
728 Group:          Libraries
729 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
730 Provides:       php(interbase)
731 %{?with_interbase_inst:Autoreq: false}
732
733 %description interbase
734 This is a dynamic shared object (DSO) for PHP that will add InterBase
735 and Firebird database support.
736
737 %description interbase -l pl
738 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
739
740 %package json
741 Summary:        PHP C extension for JSON serialization
742 Summary(pl):    Rozszerzenie C PHP dla serializacji JSON
743 Group:          Libraries
744 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
745 Provides:       php(json)
746 Obsoletes:      php-pecl-json
747
748 %description json
749 php-json is an extremely fast PHP C extension for JSON (JavaScript
750 Object Notation) serialisation.
751
752 %description json -l pl
753 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
754 (JavaScript Object Notation).
755
756 %package ldap
757 Summary:        LDAP extension module for PHP
758 Summary(pl):    Modu³ LDAP dla PHP
759 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
760 Group:          Libraries
761 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
762 Provides:       php(ldap)
763
764 %description ldap
765 This is a dynamic shared object (DSO) for PHP that will add LDAP
766 support.
767
768 %description ldap -l pl
769 Modu³ PHP dodaj±cy obs³ugê LDAP.
770
771 %description ldap -l pt_BR
772 Um módulo para aplicações PHP que usam LDAP.
773
774 %package mbstring
775 Summary:        mbstring extension module for PHP
776 Summary(pl):    Modu³ mbstring dla PHP
777 Group:          Libraries
778 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
779 Provides:       php(mbstring)
780
781 %description mbstring
782 This is a dynamic shared object (DSO) for PHP that will add multibyte
783 string support.
784
785 %description mbstring -l pl
786 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
787
788 %package mcrypt
789 Summary:        mcrypt extension module for PHP
790 Summary(pl):    Modu³ mcrypt dla PHP
791 Group:          Libraries
792 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
793 Provides:       php(mcrypt)
794
795 %description mcrypt
796 This is a dynamic shared object (DSO) for PHP that will add mcrypt
797 support.
798
799 %description mcrypt -l pl
800 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
801
802 %package mhash
803 Summary:        mhash extension module for PHP
804 Summary(pl):    Modu³ mhash dla PHP
805 Group:          Libraries
806 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
807 Provides:       php(mhash)
808
809 %description mhash
810 This is a dynamic shared object (DSO) for PHP that will add mhash
811 support.
812
813 %description mhash -l pl
814 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
815
816 %package mime_magic
817 Summary:        mime_magic extension module for PHP
818 Summary(pl):    Modu³ mime_magic dla PHP
819 Group:          Libraries
820 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
821 Requires:       /usr/share/file/magic.mime
822 Provides:       php(mime_magic)
823
824 %description mime_magic
825 This PHP module adds support for MIME type lookup via file magic
826 numbers using magic.mime database.
827
828 %description mime_magic -l pl
829 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
830 znaczników plików z u¿yciem bazy danych magic.mime.
831
832 %package ming
833 Summary:        ming extension module for PHP
834 Summary(pl):    Modu³ ming dla PHP
835 Group:          Libraries
836 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
837 Provides:       php(ming)
838
839 %description ming
840 This is a dynamic shared object (DSO) for PHP that will add ming
841 (Flash - .swf files) support.
842
843 %description ming -l pl
844 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
845 ming.
846
847 %package mssql
848 Summary:        MS SQL extension module for PHP
849 Summary(pl):    Modu³ MS SQL dla PHP
850 Group:          Libraries
851 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
852 Provides:       php(mssql)
853
854 %description mssql
855 This is a dynamic shared object (DSO) for PHP that will add MS SQL
856 databases support through FreeTDS library.
857
858 %description mssql -l pl
859 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
860 FreeTDS.
861
862 %package mysql
863 Summary:        MySQL database module for PHP
864 Summary(pl):    Modu³ bazy danych MySQL dla PHP
865 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
866 Group:          Libraries
867 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
868 Provides:       php(mysql)
869
870 %description mysql
871 This is a dynamic shared object (DSO) for PHP that will add MySQL
872 database support.
873
874 %description mysql -l pl
875 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
876
877 %description mysql -l pt_BR
878 Um módulo para aplicações PHP que usam bancos de dados MySQL.
879
880 %package mysqli
881 Summary:        MySQLi module for PHP
882 Summary(pl):    Modu³ MySQLi dla PHP
883 Group:          Libraries
884 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
885 Requires:       mysql-libs >= 4.1.0
886 Provides:       php(mysqli)
887
888 %description mysqli
889 This is a dynamic shared object (DSO) for PHP that will add MySQLi
890 (Improved MySQL) support. The difference between it and mysql module
891 is that it provides access to functionality of MySQL 4.1 and above.
892
893 %description mysqli -l pl
894 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
895 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
896 MySQL w wersji 4.1 i nowszych.
897
898 %package ncurses
899 Summary:        ncurses module for PHP
900 Summary(pl):    Modu³ ncurses dla PHP
901 Group:          Libraries
902 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
903 Provides:       php(ncurses)
904
905 %description ncurses
906 This PHP module adds support for ncurses functions (only for cli and
907 cgi SAPIs).
908
909 %description ncurses -l pl
910 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
911
912 %package oci8
913 Summary:        Oracle 8+ database module for PHP
914 Summary(pl):    Modu³ bazy danych Oracle 8+ dla PHP
915 Group:          Libraries
916 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
917 Provides:       php(oci8)
918 Autoreq:        false
919
920 %description oci8
921 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
922 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
923
924 %description oci8 -l pl
925 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
926 poprzez interfejs Oracle8 Call-Interface (OCI8).
927
928 %package odbc
929 Summary:        ODBC extension module for PHP
930 Summary(pl):    Modu³ ODBC dla PHP
931 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
932 Group:          Libraries
933 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
934 Requires:       unixODBC >= 2.1.1-3
935 Provides:       php(odbc)
936
937 %description odbc
938 This is a dynamic shared object (DSO) for PHP that will add ODBC
939 support.
940
941 %description odbc -l pl
942 Modu³ PHP ze wsparciem dla ODBC.
943
944 %description odbc -l pt_BR
945 Um módulo para aplicações PHP que usam ODBC.
946
947 %package openssl
948 Summary:        OpenSSL extension module for PHP
949 Summary(pl):    Modu³ OpenSSL dla PHP
950 Group:          Libraries
951 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
952 Provides:       php(openssl)
953
954 %description openssl
955 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
956 support.
957
958 Warning: this is an experimental module.
959
960 %description openssl -l pl
961 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
962
963 Uwaga: to jest modu³ eksperymentalny.
964
965 %package pcntl
966 Summary:        Process Control extension module for PHP
967 Summary(pl):    Modu³ Process Control dla PHP
968 Group:          Libraries
969 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
970 Provides:       php(pcntl)
971
972 %description pcntl
973 This is a dynamic shared object (DSO) for PHP that will add process
974 spawning and control support. It supports functions like fork(),
975 waitpid(), signal() etc.
976
977 Warning: this is an experimental module. Also, don't use it in
978 webserver environment!
979
980 %description pcntl -l pl
981 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
982 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
983
984 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
985 u¿ywania z serwerem WWW - nie próbuj tego!
986
987 %package pdo
988 Summary:        PHP Data Objects (PDO)
989 Summary(pl):    Obs³uga PHP Data Objects (PDO)
990 Group:          Libraries
991 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
992 Provides:       php(pdo)
993 Obsoletes:      php-pecl-PDO
994
995 %description pdo
996 This is a dynamic shared object (DSO) for PHP that will add PDO
997 support.
998
999 %description pdo -l pl
1000 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
1001
1002 %package pdo-dblib
1003 Summary:        PHP Data Objects (PDO) FreeTDS support
1004 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
1005 Group:          Libraries
1006 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1007 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1008 Provides:       php(dblib)
1009
1010 %description pdo-dblib
1011 This is a dynamic shared object (DSO) for PHP that will add PDO
1012 FreeTDS support.
1013
1014 %description pdo-dblib -l pl
1015 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1016 interfejsu PDO.
1017
1018 %package pdo-firebird
1019 Summary:        PHP Data Objects (PDO) Firebird support
1020 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
1021 Group:          Libraries
1022 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1023 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1024 Provides:       php(pdo-firebird)
1025 Obsoletes:      php-pecl-PDO_FIREBIRD
1026
1027 %description pdo-firebird
1028 This is a dynamic shared object (DSO) for PHP that will add PDO
1029 Firebird support.
1030
1031 %description pdo-firebird -l pl
1032 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
1033 interfejsu PDO.
1034
1035 %package pdo-mysql
1036 Summary:        PHP Data Objects (PDO) MySQL support
1037 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1038 Group:          Libraries
1039 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1040 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1041 Provides:       php(pdo-mysql)
1042 Obsoletes:      php-pecl-PDO_MYSQL
1043
1044 %description pdo-mysql
1045 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1046 support.
1047
1048 %description pdo-mysql -l pl
1049 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1050 interfejsu PDO.
1051
1052 %package pdo-oci
1053 Summary:        PHP Data Objects (PDO) Oracle support
1054 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1055 Group:          Libraries
1056 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1057 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1058 Provides:       php(pdo-oci)
1059 Obsoletes:      php-pecl-PDO_OCI
1060
1061 %description pdo-oci
1062 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1063 support.
1064
1065 %description pdo-oci -l pl
1066 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1067 interfejsu PDO.
1068
1069 %package pdo-odbc
1070 Summary:        PHP Data Objects (PDO) ODBC support
1071 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1072 Group:          Libraries
1073 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1074 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1075 Provides:       php(pdo-odbc)
1076 Obsoletes:      php-pecl-PDO_ODBC
1077
1078 %description pdo-odbc
1079 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1080 support.
1081
1082 %description pdo-odbc -l pl
1083 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1084 interfejsu PDO.
1085
1086 %package pdo-pgsql
1087 Summary:        PHP Data Objects (PDO) PostgreSQL support
1088 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1089 Group:          Libraries
1090 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1091 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1092 Provides:       php(pdo-pgsql)
1093 Obsoletes:      php-pecl-PDO_PGSQL
1094
1095 %description pdo-pgsql
1096 This is a dynamic shared object (DSO) for PHP that will add PDO
1097 PostgreSQL support.
1098
1099 %description pdo-pgsql -l pl
1100 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1101 interfejsu PDO.
1102
1103 %package pdo-sqlite
1104 Summary:        PHP Data Objects (PDO) SQLite support
1105 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1106 Group:          Libraries
1107 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1108 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1109 Provides:       php(pdo-sqlite)
1110 Obsoletes:      php-pecl-PDO_SQLITE
1111
1112 %description pdo-sqlite
1113 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1114 support.
1115
1116 %description pdo-sqlite -l pl
1117 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1118 interfejsu PDO.
1119
1120 %package pgsql
1121 Summary:        PostgreSQL database module for PHP
1122 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
1123 Group:          Libraries
1124 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1125 Provides:       php(pgsql)
1126
1127 %description pgsql
1128 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1129 database support.
1130
1131 %description pgsql -l pl
1132 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1133
1134 %description pgsql -l pt_BR
1135 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1136
1137 %package posix
1138 Summary:        POSIX extension module for PHP
1139 Summary(pl):    Modu³ POSIX dla PHP
1140 Group:          Libraries
1141 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1142 Provides:       php(posix)
1143
1144 %description posix
1145 This is a dynamic shared object (DSO) for PHP that will add POSIX
1146 functions support to PHP.
1147
1148 %description posix -l pl
1149 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1150
1151 %package pspell
1152 Summary:        pspell extension module for PHP
1153 Summary(pl):    Modu³ pspell dla PHP
1154 Group:          Libraries
1155 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1156 Provides:       php(pspell)
1157
1158 %description pspell
1159 This is a dynamic shared object (DSO) for PHP that will add pspell
1160 support to PHP. It allows to check the spelling of a word and offer
1161 suggestions.
1162
1163 %description pspell -l pl
1164 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1165 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1166
1167 %package readline
1168 Summary:        readline extension module for PHP
1169 Summary(pl):    Modu³ readline dla PHP
1170 Group:          Libraries
1171 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1172 Provides:       php(readline)
1173
1174 %description readline
1175 This PHP module adds support for readline functions (only for cli and
1176 cgi SAPIs).
1177
1178 %description readline -l pl
1179 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1180
1181 %package recode
1182 Summary:        recode extension module for PHP
1183 Summary(pl):    Modu³ recode dla PHP
1184 Group:          Libraries
1185 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1186 Requires:       recode >= 3.5d-3
1187 Provides:       php(recode)
1188
1189 %description recode
1190 This is a dynamic shared object (DSO) for PHP that will add recode
1191 support.
1192
1193 %description recode -l pl
1194 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1195 bibliotekê recode).
1196
1197 %package shmop
1198 Summary:        Shared Memory Operations extension module for PHP
1199 Summary(pl):    Modu³ shmop dla PHP
1200 Group:          Libraries
1201 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1202 Provides:       php(shmop)
1203
1204 %description shmop
1205 This is a dynamic shared object (DSO) for PHP that will add Shared
1206 Memory Operations support.
1207
1208 Warning: this is an experimental module.
1209
1210 %description shmop -l pl
1211 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1212
1213 Uwaga: to jest modu³ eksperymentalny.
1214
1215 %package simplexml
1216 Summary:        Simple XML extension module for PHP
1217 Summary(pl):    Modu³ prostego rozszerzenia XML dla PHP
1218 Group:          Libraries
1219 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1220 Provides:       php(simplexml)
1221
1222 %description simplexml
1223 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1224 support.
1225
1226 %description simplexml -l pl
1227 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1228
1229 %package snmp
1230 Summary:        SNMP extension module for PHP
1231 Summary(pl):    Modu³ SNMP dla PHP
1232 Group:          Libraries
1233 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1234 Requires:       %{name}-sockets = %{epoch}:%{version}-%{release}
1235 Provides:       php(snmp)
1236
1237 %description snmp
1238 This is a dynamic shared object (DSO) for PHP that will add SNMP
1239 support.
1240
1241 %description snmp -l pl
1242 Modu³ PHP dodaj±cy obs³ugê SNMP.
1243
1244 %package soap
1245 Summary:        soap extension module for PHP
1246 Summary(pl):    Modu³ soap dla PHP
1247 Group:          Libraries
1248 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1249 Provides:       php(soap)
1250
1251 %description soap
1252 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1253 support.
1254
1255 %description soap -l pl
1256 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1257
1258 %package sockets
1259 Summary:        sockets extension module for PHP
1260 Summary(pl):    Modu³ socket dla PHP
1261 Group:          Libraries
1262 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1263 Provides:       php(sockets)
1264
1265 %description sockets
1266 This is a dynamic shared object (DSO) for PHP that will add sockets
1267 support.
1268
1269 Warning: this is an experimental module.
1270
1271 %description sockets -l pl
1272 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1273
1274 Uwaga: to jest modu³ eksperymentalny.
1275
1276 %package sqlite
1277 Summary:        SQLite extension module for PHP
1278 Summary(pl):    Modu³ SQLite dla PHP
1279 Group:          Libraries
1280 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1281 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1282 Provides:       php(sqlite)
1283
1284 %description sqlite
1285 SQLite is a C library that implements an embeddable SQL database
1286 engine. Programs that link with the SQLite library can have SQL
1287 database access without running a separate RDBMS process.
1288
1289 SQLite is not a client library used to connect to a big database
1290 server. SQLite is the server. The SQLite library reads and writes
1291 directly to and from the database files on disk.
1292
1293 %description sqlite -l pl
1294 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1295 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1296 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1297 RDBMS.
1298
1299 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1300 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1301 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1302 dysku.
1303
1304 %package sybase
1305 Summary:        Sybase DB extension module for PHP
1306 Summary(pl):    Modu³ Sybase DB dla PHP
1307 Group:          Libraries
1308 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1309 Provides:       php(sybase)
1310 Obsoletes:      php-sybase-ct
1311
1312 %description sybase
1313 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1314 MS SQL databases support through SYBDB library. Currently Sybase
1315 module is not maintained. Using Sybase-CT module is recommended
1316 instead.
1317
1318 %description sybase -l pl
1319 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1320 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1321 Zaleca siê u¿ywanie modu³u Sybase-CT.
1322
1323 %package sybase-ct
1324 Summary:        Sybase-CT extension module for PHP
1325 Summary(pl):    Modu³ Sybase-CT dla PHP
1326 Group:          Libraries
1327 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1328 Provides:       php(sybase-ct)
1329 Obsoletes:      php-sybase
1330
1331 %description sybase-ct
1332 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1333 MS SQL databases support through CT-lib.
1334
1335 %description sybase-ct -l pl
1336 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1337 CT-lib.
1338
1339 %package sysvmsg
1340 Summary:        SysV msg extension module for PHP
1341 Summary(pl):    Modu³ SysV msg dla PHP
1342 Group:          Libraries
1343 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1344 Provides:       php(sysvmsg)
1345
1346 %description sysvmsg
1347 This is a dynamic shared object (DSO) for PHP that will add SysV
1348 message queues support.
1349
1350 %description sysvmsg -l pl
1351 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1352
1353 %package sysvsem
1354 Summary:        SysV sem extension module for PHP
1355 Summary(pl):    Modu³ SysV sem dla PHP
1356 Group:          Libraries
1357 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1358 Provides:       php(sysvsem)
1359
1360 %description sysvsem
1361 This is a dynamic shared object (DSO) for PHP that will add SysV
1362 semaphores support.
1363
1364 %description sysvsem -l pl
1365 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1366
1367 %package sysvshm
1368 Summary:        SysV shm extension module for PHP
1369 Summary(pl):    Modu³ SysV shm dla PHP
1370 Group:          Libraries
1371 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1372 Provides:       php(sysvshm)
1373
1374 %description sysvshm
1375 This is a dynamic shared object (DSO) for PHP that will add SysV
1376 Shared Memory support.
1377
1378 %description sysvshm -l pl
1379 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1380
1381 %package tidy
1382 Summary:        Tidy extension module for PHP
1383 Summary(pl):    Modu³ Tidy dla PHP
1384 Group:          Libraries
1385 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1386 Requires:       tidy
1387 Provides:       php(tidy)
1388
1389 %description tidy
1390 This is a dynamic shared object (DSO) for PHP that will add Tidy
1391 support.
1392
1393 %description tidy -l pl
1394 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1395
1396 %package tokenizer
1397 Summary:        tokenizer extension module for PHP
1398 Summary(pl):    Modu³ rozszerzenia tokenizer dla PHP
1399 Group:          Libraries
1400 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1401 Provides:       php(tokenizer)
1402
1403 %description tokenizer
1404 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1405 support.
1406
1407 %description tokenizer -l pl
1408 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1409
1410 %package wddx
1411 Summary:        wddx extension module for PHP
1412 Summary(pl):    Modu³ wddx dla PHP
1413 Group:          Libraries
1414 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1415 #Requires:      %{name}-session = %{epoch}:%{version}-%{release}
1416 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
1417 Provides:       php(wddx)
1418
1419 %description wddx
1420 This is a dynamic shared object (DSO) for PHP that will add wddx
1421 support.
1422
1423 %description wddx -l pl
1424 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1425
1426 %package xml
1427 Summary:        XML extension module for PHP
1428 Summary(pl):    Modu³ XML dla PHP
1429 Group:          Libraries
1430 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1431 Provides:       php(xml)
1432
1433 %description xml
1434 This is a dynamic shared object (DSO) for PHP that will add XML
1435 support. This extension lets you create XML parsers and then define
1436 handlers for different XML events.
1437
1438 %description xml -l pl
1439 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1440 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1441 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1442
1443 %package xmlreader
1444 Summary:        XML Reader extension module for PHP
1445 Summary(pl):    Modu³ XML Reader dla PHP
1446 Group:          Libraries
1447 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1448 Requires:       %{name}-dom = %{epoch}:%{version}-%{release}
1449 Provides:       php(xmlreader)
1450
1451 %description xmlreader
1452 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1453 support. The XMLReader extension is an XML Pull parser. The reader
1454 acts as a cursor going forward on the document stream and stopping at
1455 each node on the way.
1456
1457 %description xmlreader -l pl
1458 Modu³ PHP umo¿liwiaj±cy analizê plików XML w trybie Pull. Czytnik
1459 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1460 zatrzymuj±cy siê na ka¿dym wê¼le po drodze.
1461
1462 %package xmlrpc
1463 Summary:        xmlrpc extension module for PHP
1464 Summary(pl):    Modu³ xmlrpc dla PHP
1465 Group:          Libraries
1466 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1467 Provides:       php(xmlrpc)
1468
1469 %description xmlrpc
1470 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1471 support.
1472
1473 Warning: this is an experimental module.
1474
1475 %description xmlrpc -l pl
1476 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1477
1478 Uwaga: to jest modu³ eksperymentalny.
1479
1480 %package xmlwriter
1481 Summary:        Fast, non-cached, forward-only means to write XML data
1482 Summary(pl):    Szybka, nie cachowana metoda zapisu danych w formacie XML
1483 Group:          Libraries
1484 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1485 Provides:       php(xmlwriter)
1486
1487 %description xmlwriter
1488 This extension wraps the libxml xmlWriter API. Represents a writer
1489 that provides a non-cached, forward-only means of generating streams
1490 or files containing XML data.
1491
1492 %description xmlwriter -l pl
1493 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obs³ugê
1494 zapisu dostarczaj±c± nie cachowanych metod generowania strumieni lub
1495 plików zawieraj±cych dane XML.
1496
1497 %package xsl
1498 Summary:        xsl extension module for PHP
1499 Summary(pl):    Modu³ xsl dla PHP
1500 Group:          Libraries
1501 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1502 Requires:       libxslt >= 1.0.18
1503 # actually not true, functionality is similar, but API differs
1504 Provides:       php(xsl)
1505 Obsoletes:      php-xslt <= 3:4.3.8-1
1506
1507 %description xsl
1508 This is a dynamic shared object (DSO) for PHP that will add new XSL
1509 support (using libxslt).
1510
1511 %description xsl -l pl
1512 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1513
1514 %package zip
1515 Summary:        Zip management extension
1516 Summary(pl):    Zarz±dzanie archiwami zip
1517 Group:          Libraries
1518 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1519 Provides:       php(zip)
1520
1521 %description zip
1522 Zip is an extension to create, modify and read zip files.
1523
1524 %description zip -l pl
1525 Zip jest rozszerzeniem umo¿liwiaj±cym tworzenie, modyfikacjê oraz
1526 odczyt archiwów zip.
1527
1528 %package zlib
1529 Summary:        Zlib extension module for PHP
1530 Summary(pl):    Modu³ zlib dla PHP
1531 Group:          Libraries
1532 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1533 Provides:       php(zlib)
1534
1535 %description zlib
1536 This is a dynamic shared object (DSO) for PHP that will add zlib
1537 compression support to PHP.
1538
1539 %description zlib -l pl
1540 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1541
1542 %prep
1543 %setup -q
1544 %patch36 -p1
1545 %patch0 -p1
1546 %patch1 -p1
1547 %patch2 -p1
1548 %patch3 -p1
1549 %patch4 -p1
1550 %patch5 -p1
1551 %patch6 -p1
1552 %patch7 -p1
1553 %patch8 -p1
1554 %patch9 -p1
1555
1556 cp php.ini-dist php.ini
1557 %patch10 -p1
1558 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1559 # conditionally...
1560 %patch11 -p1
1561 %patch12 -p1
1562 %patch14 -p1
1563 %patch15 -p1
1564 %patch16 -p1
1565 %patch17 -p1
1566 %patch18 -p1
1567 %patch19 -p1
1568 %patch20 -p1
1569 %patch21 -p1
1570 #%patch23 -p1 # UPDATE?
1571 %patch24 -p1
1572 %patch26 -p1
1573
1574 %if %{with hardening}
1575 zcat %{SOURCE8} | patch -p1 || exit 1
1576 patch -p1 < %{PATCH30} || exit 1
1577 %endif
1578 %patch31 -p1
1579 %patch32 -p1
1580 %patch33 -p1
1581 %{?with_versioning:%patch35 -p1}
1582 %ifarch %{x8664} alpha
1583 %patch38 -p1
1584 %endif
1585 %patch39 -p1
1586 %patch40 -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 \
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
2283 %dir %{_sysconfdir}
2284 %dir %{_sysconfdir}/conf.d
2285 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2286 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2287 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2288 %dir %{extensionsdir}
2289
2290 %doc ext/session/mod_files.sh
2291
2292 %files devel
2293 %defattr(644,root,root,755)
2294 %doc README.UNIX-BUILD-SYSTEM
2295 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2296 %doc CODING_STANDARDS
2297 %attr(755,root,root) %{_bindir}/phpize
2298 %attr(755,root,root) %{_bindir}/php-config
2299 %attr(755,root,root) %{_libdir}/libphp_common.so
2300 %{_libdir}/libphp_common.la
2301 %{_includedir}/php
2302 %{_libdir}/php/build
2303 %{_mandir}/man1/*
2304
2305 %files bcmath
2306 %defattr(644,root,root,755)
2307 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2308 %attr(755,root,root) %{extensionsdir}/bcmath.so
2309
2310 %files bzip2
2311 %defattr(644,root,root,755)
2312 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2313 %attr(755,root,root) %{extensionsdir}/bz2.so
2314
2315 %files calendar
2316 %defattr(644,root,root,755)
2317 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2318 %attr(755,root,root) %{extensionsdir}/calendar.so
2319
2320 %files ctype
2321 %defattr(644,root,root,755)
2322 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2323 %attr(755,root,root) %{extensionsdir}/ctype.so
2324
2325 %if %{with curl}
2326 %files curl
2327 %defattr(644,root,root,755)
2328 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2329 %attr(755,root,root) %{extensionsdir}/curl.so
2330 %endif
2331
2332 %files dba
2333 %defattr(644,root,root,755)
2334 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2335 %attr(755,root,root) %{extensionsdir}/dba.so
2336
2337 %files dbase
2338 %defattr(644,root,root,755)
2339 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2340 %attr(755,root,root) %{extensionsdir}/dbase.so
2341
2342 %files dom
2343 %defattr(644,root,root,755)
2344 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2345 %attr(755,root,root) %{extensionsdir}/dom.so
2346
2347 %if %{with fdf}
2348 %files fdf
2349 %defattr(644,root,root,755)
2350 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2351 %attr(755,root,root) %{extensionsdir}/fdf.so
2352 %endif
2353
2354 %if %{with filter}
2355 %files filter
2356 %defattr(644,root,root,755)
2357 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2358 %attr(755,root,root) %{extensionsdir}/filter.so
2359 %endif
2360
2361 %files exif
2362 %defattr(644,root,root,755)
2363 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2364 %attr(755,root,root) %{extensionsdir}/exif.so
2365
2366 %files ftp
2367 %defattr(644,root,root,755)
2368 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2369 %attr(755,root,root) %{extensionsdir}/ftp.so
2370
2371 %files gd
2372 %defattr(644,root,root,755)
2373 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2374 %attr(755,root,root) %{extensionsdir}/gd.so
2375
2376 %files gettext
2377 %defattr(644,root,root,755)
2378 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2379 %attr(755,root,root) %{extensionsdir}/gettext.so
2380
2381 %files gmp
2382 %defattr(644,root,root,755)
2383 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2384 %attr(755,root,root) %{extensionsdir}/gmp.so
2385
2386 %files hash
2387 %defattr(644,root,root,755)
2388 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2389 %attr(755,root,root) %{extensionsdir}/hash.so
2390
2391 %files iconv
2392 %defattr(644,root,root,755)
2393 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2394 %attr(755,root,root) %{extensionsdir}/iconv.so
2395
2396 %if %{with imap}
2397 %files imap
2398 %defattr(644,root,root,755)
2399 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2400 %attr(755,root,root) %{extensionsdir}/imap.so
2401 %endif
2402
2403 %if %{with interbase}
2404 %files interbase
2405 %defattr(644,root,root,755)
2406 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2407 %attr(755,root,root) %{extensionsdir}/interbase.so
2408 %endif
2409
2410 %files json
2411 %defattr(644,root,root,755)
2412 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2413 %attr(755,root,root) %{extensionsdir}/json.so
2414
2415 %if %{with ldap}
2416 %files ldap
2417 %defattr(644,root,root,755)
2418 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2419 %attr(755,root,root) %{extensionsdir}/ldap.so
2420 %endif
2421
2422 %files mbstring
2423 %defattr(644,root,root,755)
2424 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2425 %attr(755,root,root) %{extensionsdir}/mbstring.so
2426
2427 %files mcrypt
2428 %defattr(644,root,root,755)
2429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2430 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2431
2432 %if %{with mhash}
2433 %files mhash
2434 %defattr(644,root,root,755)
2435 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2436 %attr(755,root,root) %{extensionsdir}/mhash.so
2437 %endif
2438
2439 %if %{with mime_magic}
2440 %files mime_magic
2441 %defattr(644,root,root,755)
2442 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2443 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2444 %endif
2445
2446 %if %{with ming}
2447 %files ming
2448 %defattr(644,root,root,755)
2449 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2450 %attr(755,root,root) %{extensionsdir}/ming.so
2451 %endif
2452
2453 %if %{with mssql}
2454 %files mssql
2455 %defattr(644,root,root,755)
2456 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2457 %attr(755,root,root) %{extensionsdir}/mssql.so
2458 %endif
2459
2460 %files mysql
2461 %defattr(644,root,root,755)
2462 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2463 %attr(755,root,root) %{extensionsdir}/mysql.so
2464
2465 %if %{with mysqli}
2466 %files mysqli
2467 %defattr(644,root,root,755)
2468 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2469 %attr(755,root,root) %{extensionsdir}/mysqli.so
2470 %endif
2471
2472 %files ncurses
2473 %defattr(644,root,root,755)
2474 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2475 %attr(755,root,root) %{extensionsdir}/ncurses.so
2476
2477 %if %{with oci8}
2478 %files oci8
2479 %defattr(644,root,root,755)
2480 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2481 %attr(755,root,root) %{extensionsdir}/oci8.so
2482 %endif
2483
2484 %if %{with odbc}
2485 %files odbc
2486 %defattr(644,root,root,755)
2487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2488 %attr(755,root,root) %{extensionsdir}/odbc.so
2489 %endif
2490
2491 %if %{with openssl}
2492 %files openssl
2493 %defattr(644,root,root,755)
2494 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2495 %attr(755,root,root) %{extensionsdir}/openssl.so
2496 %endif
2497
2498 %files pcntl
2499 %defattr(644,root,root,755)
2500 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2501 %attr(755,root,root) %{extensionsdir}/pcntl.so
2502
2503 %files pdo
2504 %defattr(644,root,root,755)
2505 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2506 %attr(755,root,root) %{extensionsdir}/pdo.so
2507
2508 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2509 %files pdo-dblib
2510 %defattr(644,root,root,755)
2511 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2512 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2513 %endif
2514
2515 %if %{with interbase} && !%{with interbase_inst}
2516 %files pdo-firebird
2517 %defattr(644,root,root,755)
2518 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2519 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2520 %endif
2521
2522 %files pdo-mysql
2523 %defattr(644,root,root,755)
2524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2525 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2526
2527 %if %{with oci8}
2528 %files pdo-oci
2529 %defattr(644,root,root,755)
2530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2531 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2532 %endif
2533
2534 %if %{with odbc}
2535 %files pdo-odbc
2536 %defattr(644,root,root,755)
2537 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2538 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2539 %endif
2540
2541 %if %{with pgsql}
2542 %files pdo-pgsql
2543 %defattr(644,root,root,755)
2544 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2545 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2546 %endif
2547
2548 %if %{with sqlite}
2549 %files pdo-sqlite
2550 %defattr(644,root,root,755)
2551 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2552 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2553 %endif
2554
2555 %if %{with pgsql}
2556 %files pgsql
2557 %defattr(644,root,root,755)
2558 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2559 %attr(755,root,root) %{extensionsdir}/pgsql.so
2560 %endif
2561
2562 %files posix
2563 %defattr(644,root,root,755)
2564 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2565 %attr(755,root,root) %{extensionsdir}/posix.so
2566
2567 %if %{with pspell}
2568 %files pspell
2569 %defattr(644,root,root,755)
2570 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2571 %attr(755,root,root) %{extensionsdir}/pspell.so
2572 %endif
2573
2574 %files readline
2575 %defattr(644,root,root,755)
2576 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2577 %attr(755,root,root) %{extensionsdir}/readline.so
2578
2579 %if %{with recode}
2580 %files recode
2581 %defattr(644,root,root,755)
2582 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2583 %attr(755,root,root) %{extensionsdir}/recode.so
2584 %endif
2585
2586 %if 0
2587 # simplexml is needed by spl, and spl can't be built shared as of now (5.2.0)
2588 # simplexml can be built shared, but SPL startup fails
2589 # we could add R: -simplexml to -common...
2590 %files simplexml
2591 %defattr(644,root,root,755)
2592 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2593 %attr(755,root,root) %{extensionsdir}/simplexml.so
2594 %endif
2595
2596 %files shmop
2597 %defattr(644,root,root,755)
2598 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2599 %attr(755,root,root) %{extensionsdir}/shmop.so
2600
2601 %if %{with snmp}
2602 %files snmp
2603 %defattr(644,root,root,755)
2604 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2605 %attr(755,root,root) %{extensionsdir}/snmp.so
2606 %endif
2607
2608 %files soap
2609 %defattr(644,root,root,755)
2610 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2611 %attr(755,root,root) %{extensionsdir}/soap.so
2612
2613 %files sockets
2614 %defattr(644,root,root,755)
2615 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2616 %attr(755,root,root) %{extensionsdir}/sockets.so
2617
2618 %if %{with sqlite}
2619 %files sqlite
2620 %defattr(644,root,root,755)
2621 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2622 %attr(755,root,root) %{extensionsdir}/sqlite.so
2623 %endif
2624
2625 %if %{with sybase}
2626 %files sybase
2627 %defattr(644,root,root,755)
2628 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2629 %attr(755,root,root) %{extensionsdir}/sybase.so
2630 %endif
2631
2632 %if %{with sybase_ct}
2633 %files sybase-ct
2634 %defattr(644,root,root,755)
2635 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2636 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2637 %endif
2638
2639 %files sysvmsg
2640 %defattr(644,root,root,755)
2641 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2642 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2643
2644 %files sysvsem
2645 %defattr(644,root,root,755)
2646 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2647 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2648
2649 %files sysvshm
2650 %defattr(644,root,root,755)
2651 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2652 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2653
2654 %if %{with tidy}
2655 %files tidy
2656 %defattr(644,root,root,755)
2657 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2658 %attr(755,root,root) %{extensionsdir}/tidy.so
2659 %endif
2660
2661 %files tokenizer
2662 %defattr(644,root,root,755)
2663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2664 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2665
2666 %if %{with wddx}
2667 %files wddx
2668 %defattr(644,root,root,755)
2669 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2670 %attr(755,root,root) %{extensionsdir}/wddx.so
2671 %endif
2672
2673 %files xml
2674 %defattr(644,root,root,755)
2675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2676 %attr(755,root,root) %{extensionsdir}/xml.so
2677
2678 %files xmlreader
2679 %defattr(644,root,root,755)
2680 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2681 %attr(755,root,root) %{extensionsdir}/xmlreader.so
2682
2683 %if %{with xmlrpc}
2684 %files xmlrpc
2685 %defattr(644,root,root,755)
2686 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2687 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2688 %endif
2689
2690 %files xmlwriter
2691 %defattr(644,root,root,755)
2692 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2693 %attr(755,root,root) %{extensionsdir}/xmlwriter.so
2694
2695 %files xsl
2696 %defattr(644,root,root,755)
2697 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2698 %attr(755,root,root) %{extensionsdir}/xsl.so
2699
2700 %files zip
2701 %defattr(644,root,root,755)
2702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2703 %attr(755,root,root) %{extensionsdir}/zip.so
2704
2705 %files zlib
2706 %defattr(644,root,root,755)
2707 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2708 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.198092 seconds and 4 git commands to generate.