]> git.pld-linux.org Git - packages/php.git/blob - php.spec
01604785c80a704f5e2013e20a8c3c9b1c7d5e1e
[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 1
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
603 %description filter
604 We all know that you should always check input variables, but PHP does
605 not offer really good functionality for doing this in a safe way. The
606 Input Filter extension is meant to address this issue by implementing
607 a set of filters and mechanisms that users can use to safely access
608 their input data.
609
610 %description filter -l pl
611 Wiadomo, ¿e trzeba zawsze sprawdzaæ zmienne wej¶ciowe, ale PHP nie
612 oferuje naprawdê dobrej funkcjonalno¶ci do robienia tego w sposób
613 bezpieczny. Rozszerzenie Input Filter ma rozwi±zaæ ten problem poprzez
614 zaimplementowanie zestawu filtrów i mechanizmów, których u¿ytkownicy
615 mog± bezpiecznie u¿ywaæ do dostêpu do danych.
616
617 %package ftp
618 Summary:        FTP extension module for PHP
619 Summary(pl):    Modu³ FTP dla PHP
620 Group:          Libraries
621 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
622 Provides:       php(ftp)
623
624 %description ftp
625 This is a dynamic shared object (DSO) for PHP that will add FTP
626 support.
627
628 %description ftp -l pl
629 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
630
631 %package gd
632 Summary:        GD extension module for PHP
633 Summary(pl):    Modu³ GD dla PHP
634 Group:          Libraries
635 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
636 Requires:       gd >= 2.0.28-4
637 Requires:       gd(gif)
638 Provides:       php(gd)
639
640 %description gd
641 This is a dynamic shared object (DSO) for PHP that will add GD
642 support, allowing you to create and manipulate images with PHP.
643
644 %description gd -l pl
645 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
646 tworzenie i obróbkê obrazków.
647
648 %package gettext
649 Summary:        gettext extension module for PHP
650 Summary(pl):    Modu³ gettext dla PHP
651 Group:          Libraries
652 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
653 Provides:       php(gettext)
654
655 %description gettext
656 This is a dynamic shared object (DSO) for PHP that will add gettext
657 support.
658
659 %description gettext -l pl
660 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
661
662 %package gmp
663 Summary:        gmp extension module for PHP
664 Summary(pl):    Modu³ gmp dla PHP
665 Group:          Libraries
666 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
667 Provides:       php(gmp)
668
669 %description gmp
670 This is a dynamic shared object (DSO) for PHP that will add arbitrary
671 length number support with GNU MP library.
672
673 %description gmp -l pl
674 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
675 liczbach o dowolnej d³ugo¶ci.
676
677 %package hash
678 Summary:        HASH Message Digest Framework
679 Summary(pl):    Szkielet do obliczania skrótów wiadomo¶ci
680 Group:          Libraries
681 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
682 Provides:       php(hash)
683
684 %description hash
685 Native implementations of common message digest algorithms using a
686 generic factory method.
687
688 %description hash -l pl
689 Natywne implementacje popularnych algorytmów obliczania skrótów
690 wiadomo¶ci przy u¿yciu wspólnego interfejsu.
691
692 %package iconv
693 Summary:        iconv extension module for PHP
694 Summary(pl):    Modu³ iconv dla PHP
695 Group:          Libraries
696 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
697 Provides:       php(iconv)
698
699 %description iconv
700 This is a dynamic shared object (DSO) for PHP that will add iconv
701 support.
702
703 %description iconv -l pl
704 Modu³ PHP dodaj±cy obs³ugê iconv.
705
706 %package imap
707 Summary:        IMAP extension module for PHP
708 Summary(pl):    Modu³ IMAP dla PHP
709 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
710 Group:          Libraries
711 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
712 Provides:       php(imap)
713
714 %description imap
715 This is a dynamic shared object (DSO) for PHP that will add IMAP
716 support.
717
718 %description imap -l pl
719 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
720
721 %description imap -l pt_BR
722 Um módulo para aplicações PHP que usam IMAP.
723
724 %package interbase
725 Summary:        InterBase/Firebird database module for PHP
726 Summary(pl):    Modu³ bazy danych InterBase/Firebird dla PHP
727 Group:          Libraries
728 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
729 Provides:       php(interbase)
730 %{?with_interbase_inst:Autoreq: false}
731
732 %description interbase
733 This is a dynamic shared object (DSO) for PHP that will add InterBase
734 and Firebird database support.
735
736 %description interbase -l pl
737 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
738
739 %package json
740 Summary:        PHP C extension for JSON serialization
741 Summary(pl):    Rozszerzenie C PHP dla serializacji JSON
742 Group:          Libraries
743 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
744 Provides:       php(json)
745
746 %description json
747 php-json is an extremely fast PHP C extension for JSON (JavaScript
748 Object Notation) serialisation.
749
750 %description json -l pl
751 php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON
752 (JavaScript Object Notation).
753
754 %package ldap
755 Summary:        LDAP extension module for PHP
756 Summary(pl):    Modu³ LDAP dla PHP
757 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
758 Group:          Libraries
759 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
760 Provides:       php(ldap)
761
762 %description ldap
763 This is a dynamic shared object (DSO) for PHP that will add LDAP
764 support.
765
766 %description ldap -l pl
767 Modu³ PHP dodaj±cy obs³ugê LDAP.
768
769 %description ldap -l pt_BR
770 Um módulo para aplicações PHP que usam LDAP.
771
772 %package mbstring
773 Summary:        mbstring extension module for PHP
774 Summary(pl):    Modu³ mbstring dla PHP
775 Group:          Libraries
776 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
777 Provides:       php(mbstring)
778
779 %description mbstring
780 This is a dynamic shared object (DSO) for PHP that will add multibyte
781 string support.
782
783 %description mbstring -l pl
784 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
785
786 %package mcrypt
787 Summary:        mcrypt extension module for PHP
788 Summary(pl):    Modu³ mcrypt dla PHP
789 Group:          Libraries
790 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
791 Provides:       php(mcrypt)
792
793 %description mcrypt
794 This is a dynamic shared object (DSO) for PHP that will add mcrypt
795 support.
796
797 %description mcrypt -l pl
798 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
799
800 %package mhash
801 Summary:        mhash extension module for PHP
802 Summary(pl):    Modu³ mhash dla PHP
803 Group:          Libraries
804 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
805 Provides:       php(mhash)
806
807 %description mhash
808 This is a dynamic shared object (DSO) for PHP that will add mhash
809 support.
810
811 %description mhash -l pl
812 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
813
814 %package mime_magic
815 Summary:        mime_magic extension module for PHP
816 Summary(pl):    Modu³ mime_magic dla PHP
817 Group:          Libraries
818 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
819 Requires:       /usr/share/file/magic.mime
820 Provides:       php(mime_magic)
821
822 %description mime_magic
823 This PHP module adds support for MIME type lookup via file magic
824 numbers using magic.mime database.
825
826 %description mime_magic -l pl
827 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
828 znaczników plików z u¿yciem bazy danych magic.mime.
829
830 %package ming
831 Summary:        ming extension module for PHP
832 Summary(pl):    Modu³ ming dla PHP
833 Group:          Libraries
834 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
835 Provides:       php(ming)
836
837 %description ming
838 This is a dynamic shared object (DSO) for PHP that will add ming
839 (Flash - .swf files) support.
840
841 %description ming -l pl
842 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
843 ming.
844
845 %package mssql
846 Summary:        MS SQL extension module for PHP
847 Summary(pl):    Modu³ MS SQL dla PHP
848 Group:          Libraries
849 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
850 Provides:       php(mssql)
851
852 %description mssql
853 This is a dynamic shared object (DSO) for PHP that will add MS SQL
854 databases support through FreeTDS library.
855
856 %description mssql -l pl
857 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
858 FreeTDS.
859
860 %package mysql
861 Summary:        MySQL database module for PHP
862 Summary(pl):    Modu³ bazy danych MySQL dla PHP
863 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
864 Group:          Libraries
865 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
866 Provides:       php(mysql)
867
868 %description mysql
869 This is a dynamic shared object (DSO) for PHP that will add MySQL
870 database support.
871
872 %description mysql -l pl
873 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
874
875 %description mysql -l pt_BR
876 Um módulo para aplicações PHP que usam bancos de dados MySQL.
877
878 %package mysqli
879 Summary:        MySQLi module for PHP
880 Summary(pl):    Modu³ MySQLi dla PHP
881 Group:          Libraries
882 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
883 Requires:       mysql-libs >= 4.1.0
884 Provides:       php(mysqli)
885
886 %description mysqli
887 This is a dynamic shared object (DSO) for PHP that will add MySQLi
888 (Improved MySQL) support. The difference between it and mysql module
889 is that it provides access to functionality of MySQL 4.1 and above.
890
891 %description mysqli -l pl
892 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
893 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
894 MySQL w wersji 4.1 i nowszych.
895
896 %package ncurses
897 Summary:        ncurses module for PHP
898 Summary(pl):    Modu³ ncurses dla PHP
899 Group:          Libraries
900 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
901 Provides:       php(ncurses)
902
903 %description ncurses
904 This PHP module adds support for ncurses functions (only for cli and
905 cgi SAPIs).
906
907 %description ncurses -l pl
908 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
909
910 %package oci8
911 Summary:        Oracle 8+ database module for PHP
912 Summary(pl):    Modu³ bazy danych Oracle 8+ dla PHP
913 Group:          Libraries
914 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
915 Provides:       php(oci8)
916 Autoreq:        false
917
918 %description oci8
919 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
920 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
921
922 %description oci8 -l pl
923 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
924 poprzez interfejs Oracle8 Call-Interface (OCI8).
925
926 %package odbc
927 Summary:        ODBC extension module for PHP
928 Summary(pl):    Modu³ ODBC dla PHP
929 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
930 Group:          Libraries
931 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
932 Requires:       unixODBC >= 2.1.1-3
933 Provides:       php(odbc)
934
935 %description odbc
936 This is a dynamic shared object (DSO) for PHP that will add ODBC
937 support.
938
939 %description odbc -l pl
940 Modu³ PHP ze wsparciem dla ODBC.
941
942 %description odbc -l pt_BR
943 Um módulo para aplicações PHP que usam ODBC.
944
945 %package openssl
946 Summary:        OpenSSL extension module for PHP
947 Summary(pl):    Modu³ OpenSSL dla PHP
948 Group:          Libraries
949 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
950 Provides:       php(openssl)
951
952 %description openssl
953 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
954 support.
955
956 Warning: this is an experimental module.
957
958 %description openssl -l pl
959 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
960
961 Uwaga: to jest modu³ eksperymentalny.
962
963 %package pcntl
964 Summary:        Process Control extension module for PHP
965 Summary(pl):    Modu³ Process Control dla PHP
966 Group:          Libraries
967 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
968 Provides:       php(pcntl)
969
970 %description pcntl
971 This is a dynamic shared object (DSO) for PHP that will add process
972 spawning and control support. It supports functions like fork(),
973 waitpid(), signal() etc.
974
975 Warning: this is an experimental module. Also, don't use it in
976 webserver environment!
977
978 %description pcntl -l pl
979 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
980 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
981
982 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
983 u¿ywania z serwerem WWW - nie próbuj tego!
984
985 %package pdo
986 Summary:        PHP Data Objects (PDO)
987 Summary(pl):    Obs³uga PHP Data Objects (PDO)
988 Group:          Libraries
989 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
990 Provides:       php(pdo)
991 Obsoletes:      php-pecl-PDO
992
993 %description pdo
994 This is a dynamic shared object (DSO) for PHP that will add PDO
995 support.
996
997 %description pdo -l pl
998 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
999
1000 %package pdo-dblib
1001 Summary:        PHP Data Objects (PDO) FreeTDS support
1002 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
1003 Group:          Libraries
1004 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1005 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1006 Provides:       php(dblib)
1007
1008 %description pdo-dblib
1009 This is a dynamic shared object (DSO) for PHP that will add PDO
1010 FreeTDS support.
1011
1012 %description pdo-dblib -l pl
1013 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
1014 interfejsu PDO.
1015
1016 %package pdo-firebird
1017 Summary:        PHP Data Objects (PDO) Firebird support
1018 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
1019 Group:          Libraries
1020 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1021 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1022 Provides:       php(pdo-firebird)
1023 Obsoletes:      php-pecl-PDO_FIREBIRD
1024
1025 %description pdo-firebird
1026 This is a dynamic shared object (DSO) for PHP that will add PDO
1027 Firebird support.
1028
1029 %description pdo-firebird -l pl
1030 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
1031 interfejsu PDO.
1032
1033 %package pdo-mysql
1034 Summary:        PHP Data Objects (PDO) MySQL support
1035 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
1036 Group:          Libraries
1037 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1038 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1039 Provides:       php(pdo-mysql)
1040 Obsoletes:      php-pecl-PDO_MYSQL
1041
1042 %description pdo-mysql
1043 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
1044 support.
1045
1046 %description pdo-mysql -l pl
1047 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
1048 interfejsu PDO.
1049
1050 %package pdo-oci
1051 Summary:        PHP Data Objects (PDO) Oracle support
1052 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
1053 Group:          Libraries
1054 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1055 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1056 Provides:       php(pdo-oci)
1057 Obsoletes:      php-pecl-PDO_OCI
1058
1059 %description pdo-oci
1060 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
1061 support.
1062
1063 %description pdo-oci -l pl
1064 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
1065 interfejsu PDO.
1066
1067 %package pdo-odbc
1068 Summary:        PHP Data Objects (PDO) ODBC support
1069 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
1070 Group:          Libraries
1071 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1072 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1073 Provides:       php(pdo-odbc)
1074 Obsoletes:      php-pecl-PDO_ODBC
1075
1076 %description pdo-odbc
1077 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
1078 support.
1079
1080 %description pdo-odbc -l pl
1081 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
1082 interfejsu PDO.
1083
1084 %package pdo-pgsql
1085 Summary:        PHP Data Objects (PDO) PostgreSQL support
1086 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
1087 Group:          Libraries
1088 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1089 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1090 Provides:       php(pdo-pgsql)
1091 Obsoletes:      php-pecl-PDO_PGSQL
1092
1093 %description pdo-pgsql
1094 This is a dynamic shared object (DSO) for PHP that will add PDO
1095 PostgreSQL support.
1096
1097 %description pdo-pgsql -l pl
1098 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1099 interfejsu PDO.
1100
1101 %package pdo-sqlite
1102 Summary:        PHP Data Objects (PDO) SQLite support
1103 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1104 Group:          Libraries
1105 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1106 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1107 Provides:       php(pdo-sqlite)
1108 Obsoletes:      php-pecl-PDO_SQLITE
1109
1110 %description pdo-sqlite
1111 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1112 support.
1113
1114 %description pdo-sqlite -l pl
1115 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1116 interfejsu PDO.
1117
1118 %package pgsql
1119 Summary:        PostgreSQL database module for PHP
1120 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
1121 Group:          Libraries
1122 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1123 Provides:       php(pgsql)
1124
1125 %description pgsql
1126 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1127 database support.
1128
1129 %description pgsql -l pl
1130 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1131
1132 %description pgsql -l pt_BR
1133 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1134
1135 %package posix
1136 Summary:        POSIX extension module for PHP
1137 Summary(pl):    Modu³ POSIX dla PHP
1138 Group:          Libraries
1139 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1140 Provides:       php(posix)
1141
1142 %description posix
1143 This is a dynamic shared object (DSO) for PHP that will add POSIX
1144 functions support to PHP.
1145
1146 %description posix -l pl
1147 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1148
1149 %package pspell
1150 Summary:        pspell extension module for PHP
1151 Summary(pl):    Modu³ pspell dla PHP
1152 Group:          Libraries
1153 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1154 Provides:       php(pspell)
1155
1156 %description pspell
1157 This is a dynamic shared object (DSO) for PHP that will add pspell
1158 support to PHP. It allows to check the spelling of a word and offer
1159 suggestions.
1160
1161 %description pspell -l pl
1162 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1163 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1164
1165 %package readline
1166 Summary:        readline extension module for PHP
1167 Summary(pl):    Modu³ readline dla PHP
1168 Group:          Libraries
1169 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1170 Provides:       php(readline)
1171
1172 %description readline
1173 This PHP module adds support for readline functions (only for cli and
1174 cgi SAPIs).
1175
1176 %description readline -l pl
1177 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1178
1179 %package recode
1180 Summary:        recode extension module for PHP
1181 Summary(pl):    Modu³ recode dla PHP
1182 Group:          Libraries
1183 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1184 Requires:       recode >= 3.5d-3
1185 Provides:       php(recode)
1186
1187 %description recode
1188 This is a dynamic shared object (DSO) for PHP that will add recode
1189 support.
1190
1191 %description recode -l pl
1192 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1193 bibliotekê recode).
1194
1195 %package shmop
1196 Summary:        Shared Memory Operations extension module for PHP
1197 Summary(pl):    Modu³ shmop dla PHP
1198 Group:          Libraries
1199 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1200 Provides:       php(shmop)
1201
1202 %description shmop
1203 This is a dynamic shared object (DSO) for PHP that will add Shared
1204 Memory Operations support.
1205
1206 Warning: this is an experimental module.
1207
1208 %description shmop -l pl
1209 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1210
1211 Uwaga: to jest modu³ eksperymentalny.
1212
1213 %package simplexml
1214 Summary:        Simple XML extension module for PHP
1215 Summary(pl):    Modu³ prostego rozszerzenia XML dla PHP
1216 Group:          Libraries
1217 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1218 Provides:       php(simplexml)
1219
1220 %description simplexml
1221 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1222 support.
1223
1224 %description simplexml -l pl
1225 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1226
1227 %package snmp
1228 Summary:        SNMP extension module for PHP
1229 Summary(pl):    Modu³ SNMP dla PHP
1230 Group:          Libraries
1231 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1232 Requires:       %{name}-sockets = %{epoch}:%{version}-%{release}
1233 Provides:       php(snmp)
1234
1235 %description snmp
1236 This is a dynamic shared object (DSO) for PHP that will add SNMP
1237 support.
1238
1239 %description snmp -l pl
1240 Modu³ PHP dodaj±cy obs³ugê SNMP.
1241
1242 %package soap
1243 Summary:        soap extension module for PHP
1244 Summary(pl):    Modu³ soap dla PHP
1245 Group:          Libraries
1246 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1247 Provides:       php(soap)
1248
1249 %description soap
1250 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1251 support.
1252
1253 %description soap -l pl
1254 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1255
1256 %package sockets
1257 Summary:        sockets extension module for PHP
1258 Summary(pl):    Modu³ socket dla PHP
1259 Group:          Libraries
1260 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1261 Provides:       php(sockets)
1262
1263 %description sockets
1264 This is a dynamic shared object (DSO) for PHP that will add sockets
1265 support.
1266
1267 Warning: this is an experimental module.
1268
1269 %description sockets -l pl
1270 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1271
1272 Uwaga: to jest modu³ eksperymentalny.
1273
1274 %package sqlite
1275 Summary:        SQLite extension module for PHP
1276 Summary(pl):    Modu³ SQLite dla PHP
1277 Group:          Libraries
1278 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1279 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1280 Provides:       php(sqlite)
1281
1282 %description sqlite
1283 SQLite is a C library that implements an embeddable SQL database
1284 engine. Programs that link with the SQLite library can have SQL
1285 database access without running a separate RDBMS process.
1286
1287 SQLite is not a client library used to connect to a big database
1288 server. SQLite is the server. The SQLite library reads and writes
1289 directly to and from the database files on disk.
1290
1291 %description sqlite -l pl
1292 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1293 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1294 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1295 RDBMS.
1296
1297 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1298 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1299 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1300 dysku.
1301
1302 %package sybase
1303 Summary:        Sybase DB extension module for PHP
1304 Summary(pl):    Modu³ Sybase DB dla PHP
1305 Group:          Libraries
1306 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1307 Provides:       php(sybase)
1308 Obsoletes:      php-sybase-ct
1309
1310 %description sybase
1311 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1312 MS SQL databases support through SYBDB library. Currently Sybase
1313 module is not maintained. Using Sybase-CT module is recommended
1314 instead.
1315
1316 %description sybase -l pl
1317 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1318 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1319 Zaleca siê u¿ywanie modu³u Sybase-CT.
1320
1321 %package sybase-ct
1322 Summary:        Sybase-CT extension module for PHP
1323 Summary(pl):    Modu³ Sybase-CT dla PHP
1324 Group:          Libraries
1325 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1326 Provides:       php(sybase-ct)
1327 Obsoletes:      php-sybase
1328
1329 %description sybase-ct
1330 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1331 MS SQL databases support through CT-lib.
1332
1333 %description sybase-ct -l pl
1334 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1335 CT-lib.
1336
1337 %package sysvmsg
1338 Summary:        SysV msg extension module for PHP
1339 Summary(pl):    Modu³ SysV msg dla PHP
1340 Group:          Libraries
1341 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1342 Provides:       php(sysvmsg)
1343
1344 %description sysvmsg
1345 This is a dynamic shared object (DSO) for PHP that will add SysV
1346 message queues support.
1347
1348 %description sysvmsg -l pl
1349 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1350
1351 %package sysvsem
1352 Summary:        SysV sem extension module for PHP
1353 Summary(pl):    Modu³ SysV sem dla PHP
1354 Group:          Libraries
1355 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1356 Provides:       php(sysvsem)
1357
1358 %description sysvsem
1359 This is a dynamic shared object (DSO) for PHP that will add SysV
1360 semaphores support.
1361
1362 %description sysvsem -l pl
1363 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1364
1365 %package sysvshm
1366 Summary:        SysV shm extension module for PHP
1367 Summary(pl):    Modu³ SysV shm dla PHP
1368 Group:          Libraries
1369 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1370 Provides:       php(sysvshm)
1371
1372 %description sysvshm
1373 This is a dynamic shared object (DSO) for PHP that will add SysV
1374 Shared Memory support.
1375
1376 %description sysvshm -l pl
1377 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1378
1379 %package tidy
1380 Summary:        Tidy extension module for PHP
1381 Summary(pl):    Modu³ Tidy dla PHP
1382 Group:          Libraries
1383 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1384 Requires:       tidy
1385 Provides:       php(tidy)
1386
1387 %description tidy
1388 This is a dynamic shared object (DSO) for PHP that will add Tidy
1389 support.
1390
1391 %description tidy -l pl
1392 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1393
1394 %package tokenizer
1395 Summary:        tokenizer extension module for PHP
1396 Summary(pl):    Modu³ rozszerzenia tokenizer dla PHP
1397 Group:          Libraries
1398 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1399 Provides:       php(tokenizer)
1400
1401 %description tokenizer
1402 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1403 support.
1404
1405 %description tokenizer -l pl
1406 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1407
1408 %package wddx
1409 Summary:        wddx extension module for PHP
1410 Summary(pl):    Modu³ wddx dla PHP
1411 Group:          Libraries
1412 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1413 #Requires:      %{name}-session = %{epoch}:%{version}-%{release}
1414 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
1415 Provides:       php(wddx)
1416
1417 %description wddx
1418 This is a dynamic shared object (DSO) for PHP that will add wddx
1419 support.
1420
1421 %description wddx -l pl
1422 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1423
1424 %package xml
1425 Summary:        XML extension module for PHP
1426 Summary(pl):    Modu³ XML dla PHP
1427 Group:          Libraries
1428 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1429 Provides:       php(xml)
1430
1431 %description xml
1432 This is a dynamic shared object (DSO) for PHP that will add XML
1433 support. This extension lets you create XML parsers and then define
1434 handlers for different XML events.
1435
1436 %description xml -l pl
1437 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1438 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1439 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1440
1441 %package xmlreader
1442 Summary:        XML Reader extension module for PHP
1443 Summary(pl):    Modu³ XML Reader dla PHP
1444 Group:          Libraries
1445 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1446 Requires:       %{name}-dom = %{epoch}:%{version}-%{release}
1447 Provides:       php(xmlreader)
1448
1449 %description xmlreader
1450 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1451 support. The XMLReader extension is an XML Pull parser. The reader
1452 acts as a cursor going forward on the document stream and stopping at
1453 each node on the way.
1454
1455 %description xmlreader -l pl
1456 Modu³ PHP umo¿liwiaj±cy analizê plików XML w trybie Pull. Czytnik
1457 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1458 zatrzymuj±cy siê na ka¿dym wê¼le po drodze.
1459
1460 %package xmlrpc
1461 Summary:        xmlrpc extension module for PHP
1462 Summary(pl):    Modu³ xmlrpc dla PHP
1463 Group:          Libraries
1464 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1465 Provides:       php(xmlrpc)
1466
1467 %description xmlrpc
1468 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1469 support.
1470
1471 Warning: this is an experimental module.
1472
1473 %description xmlrpc -l pl
1474 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1475
1476 Uwaga: to jest modu³ eksperymentalny.
1477
1478 %package xmlwriter
1479 Summary:        Fast, non-cached, forward-only means to write XML data
1480 Summary(pl):    Szybka, nie cachowana metoda zapisu danych w formacie XML
1481 Group:          Libraries
1482 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1483 Provides:       php(xmlwriter)
1484
1485 %description xmlwriter
1486 This extension wraps the libxml xmlWriter API. Represents a writer
1487 that provides a non-cached, forward-only means of generating streams
1488 or files containing XML data.
1489
1490 %description xmlwriter -l pl
1491 To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obs³ugê
1492 zapisu dostarczaj±c± nie cachowanych metod generowania strumieni lub
1493 plików zawieraj±cych dane XML.
1494
1495 %package xsl
1496 Summary:        xsl extension module for PHP
1497 Summary(pl):    Modu³ xsl dla PHP
1498 Group:          Libraries
1499 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1500 Requires:       libxslt >= 1.0.18
1501 # actually not true, functionality is similar, but API differs
1502 Provides:       php(xsl)
1503 Obsoletes:      php-xslt <= 3:4.3.8-1
1504
1505 %description xsl
1506 This is a dynamic shared object (DSO) for PHP that will add new XSL
1507 support (using libxslt).
1508
1509 %description xsl -l pl
1510 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1511
1512 %package zip
1513 Summary:        Zip management extension
1514 Summary(pl):    Zarz±dzanie archiwami zip
1515 Group:          Libraries
1516 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1517 Provides:       php(zip)
1518
1519 %description zip
1520 Zip is an extension to create, modify and read zip files.
1521
1522 %description zip -l pl
1523 Zip jest rozszerzeniem umo¿liwiaj±cym tworzenie, modyfikacjê oraz
1524 odczyt archiwów zip.
1525
1526 %package zlib
1527 Summary:        Zlib extension module for PHP
1528 Summary(pl):    Modu³ zlib dla PHP
1529 Group:          Libraries
1530 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1531 Provides:       php(zlib)
1532
1533 %description zlib
1534 This is a dynamic shared object (DSO) for PHP that will add zlib
1535 compression support to PHP.
1536
1537 %description zlib -l pl
1538 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1539
1540 %prep
1541 %setup -q
1542 %patch36 -p1
1543 %patch0 -p1
1544 %patch1 -p1
1545 %patch2 -p1
1546 %patch3 -p1
1547 %patch4 -p1
1548 %patch5 -p1
1549 %patch6 -p1
1550 %patch7 -p1
1551 %patch8 -p1
1552 %patch9 -p1
1553
1554 cp php.ini-dist php.ini
1555 %patch10 -p1
1556 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1557 # conditionally...
1558 %patch11 -p1
1559 %patch12 -p1
1560 %patch14 -p1
1561 %patch15 -p1
1562 %patch16 -p1
1563 %patch17 -p1
1564 %patch18 -p1
1565 %patch19 -p1
1566 %patch20 -p1
1567 %patch21 -p1
1568 #%patch23 -p1 # UPDATE?
1569 %patch24 -p1
1570 %patch26 -p1
1571
1572 %if %{with hardening}
1573 zcat %{SOURCE8} | patch -p1 || exit 1
1574 patch -p1 < %{PATCH30} || exit 1
1575 %endif
1576 %patch31 -p1
1577 %patch32 -p1
1578 %patch33 -p1
1579 %{?with_versioning:%patch35 -p1}
1580 %ifarch %{x8664} alpha
1581 %patch38 -p1
1582 %endif
1583 %patch39 -p1
1584 %patch40 -p1
1585
1586 # conflict seems to be resolved by recode patches
1587 rm -f ext/recode/config9.m4
1588
1589 # remove all bundled libraries not to link with them accidentally
1590 #rm -rf ext/sqlite/libsqlite
1591 #rm -rf ext/bcmath/libbcmath
1592 #rm -rf ext/date/lib
1593 #rm -rf ext/dba/libcdb
1594 #rm -rf ext/dba/libflatfile
1595 #rm -rf ext/dba/libinifile
1596 #rm -rf ext/gd/libgd
1597 #rm -rf ext/mbstring/libmbfl
1598 #rm -rf ext/mbstring/oniguruma
1599 rm -rf ext/pcre/pcrelib
1600 rm -rf ext/pdo_sqlite/sqlite
1601 #rm -rf ext/soap/interop
1602 rm -rf ext/xmlrpc/libxmlrpc
1603
1604 %build
1605 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1606         echo "Set %%define php_api_version to $API and rerun."
1607         exit 1
1608 fi
1609
1610 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1611         echo "Set %%define zend_module_api to $API and rerun."
1612         exit 1
1613 fi
1614
1615 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1616         echo "Set %%define zend_extension_api to $API and rerun."
1617         exit 1
1618 fi
1619
1620 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1621 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1622         rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1623         %{__libtoolize}
1624         %{__aclocal}
1625         ./buildconf --force
1626         touch _built-conf
1627 fi
1628 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1629
1630 sapis="
1631 %if %{with fcgi}
1632 fcgi
1633 %endif
1634 cgi cli
1635 %if %{with apache1}
1636 apxs1
1637 %endif
1638 %if %{with apache2}
1639 apxs2
1640 %endif
1641 "
1642 for sapi in $sapis; do
1643         [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1644
1645         %configure \
1646         `
1647         case $sapi in
1648         cgi)
1649                 echo --enable-discard-path --enable-force-cgi-redirect
1650         ;;
1651         cli)
1652                 echo --disable-cgi
1653         ;;
1654         fcgi)
1655                 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1656         ;;
1657         apxs1)
1658                 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1659                 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1660         ;;
1661         apxs2)
1662                 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1663                 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1664         ;;
1665         esac
1666         ` \
1667 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1668         --cache-file=config.cache \
1669 %endif
1670         --with-libdir=%{_lib} \
1671         --with-config-file-path=%{_sysconfdir} \
1672         --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1673         --with-exec-dir=%{_bindir} \
1674         --%{!?debug:dis}%{?debug:en}able-debug \
1675         %{?with_zts:--enable-maintainer-zts} \
1676         --enable-inline-optimization \
1677         --enable-memory-limit \
1678         --enable-bcmath=shared \
1679         --enable-calendar=shared \
1680         --enable-ctype=shared \
1681         --enable-dba=shared \
1682         --with-inifile \
1683         --with-flatfile \
1684         --enable-dom=shared \
1685         --enable-exif=shared \
1686         --enable-ftp=shared \
1687         --enable-gd-native-ttf \
1688         --enable-gd-jus-conf \
1689         --enable-libxml \
1690         --enable-magic-quotes \
1691         --enable-mbstring=shared,all \
1692         --enable-mbregex \
1693         --enable-pcntl=shared \
1694         --enable-pdo=shared \
1695         --enable-json=shared \
1696         --enable-hash=shared \
1697         --enable-xmlwriter=shared \
1698 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1699         --with-pdo-dblib=shared \
1700 %endif
1701 %if %{with interbase} && !%{with interbase_inst}
1702         --with-pdo-firebird=shared \
1703 %endif
1704         --with-pdo-mysql=shared \
1705         %{?with_oci8:--with-pdo-oci=shared} \
1706         %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1707         %{?with_pgsql:--with-pdo-pgsql=shared} \
1708         %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1709         --enable-posix=shared \
1710         --enable-reflection \
1711         --enable-session \
1712         --enable-shared \
1713         --enable-shmop=shared \
1714         --enable-simplexml \
1715         --enable-sysvmsg=shared \
1716         --enable-sysvsem=shared \
1717         --enable-sysvshm=shared \
1718         --enable-track-vars \
1719         --enable-trans-sid \
1720         --enable-safe-mode \
1721         --enable-soap=shared \
1722         --enable-sockets=shared \
1723         --enable-tokenizer=shared \
1724         --enable-ucd-snmp-hack \
1725         %{?with_wddx:--enable-wddx=shared} \
1726         --enable-xml=shared \
1727         --enable-xmlreader=shared \
1728         --with-bz2=shared \
1729         %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1730         %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1731         --enable-dbase=shared \
1732 %if %{with xmlrpc}
1733         --with-expat-dir=shared,/usr \
1734 %else
1735         --without-expat-dir \
1736 %endif
1737         %{?with_fdf:--with-fdftk=shared} \
1738         --with-iconv=shared \
1739         --with-freetype-dir=shared \
1740         --with-gettext=shared \
1741         --with-gd=shared,/usr \
1742         --with-gdbm \
1743         --with-gmp=shared \
1744         %{?with_imap:--with-imap=shared --with-imap-ssl} \
1745         %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1746         --with-jpeg-dir=/usr \
1747         %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1748         --with-mcrypt=shared \
1749         %{?with_mhash:--with-mhash=shared} \
1750         %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1751         %{?with_ming:--with-ming=shared} \
1752         %{?with_mm:--with-mm} \
1753         %{?with_mssql:--with-mssql=shared} \
1754         --with-mysql=shared,/usr \
1755         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1756         %{?with_mysqli:--with-mysqli=shared} \
1757         --with-ncurses=shared \
1758         %{?with_oci8:--with-oci8=shared} \
1759         %{?with_openssl:--with-openssl=shared} \
1760         --with-kerberos \
1761         %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=/usr} \
1762         %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \
1763         --with-pear=%{php_pear_dir} \
1764         %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1765         --with-png-dir=/usr \
1766         %{?with_pspell:--with-pspell=shared} \
1767         --with-readline=shared \
1768         %{?with_recode:--with-recode=shared} \
1769         --with-regex=php \
1770         --without-sablot-js \
1771         %{?with_snmp:--with-snmp=shared} \
1772         %{?with_sybase:--with-sybase=shared,/usr} \
1773         %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1774         %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1775         --with-t1lib=shared \
1776         %{?with_tidy:--with-tidy=shared} \
1777         --with-tiff-dir=/usr \
1778         %{?with_odbc:--with-unixODBC=shared,/usr} \
1779         %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1780         --with-xsl=shared \
1781         --with-zlib=shared \
1782         --with-zlib-dir=shared,/usr \
1783         --enable-zip=shared,/usr \
1784
1785         cp -f Makefile Makefile.$sapi
1786         cp -f main/php_config.h php_config.h.$sapi
1787 done
1788
1789 # must make this first, so modules can link against it.
1790 %{__make} libphp_common.la
1791 %{__make} build-modules
1792
1793 %if %{with apache1}
1794 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1795 %endif
1796
1797 %if %{with apache2}
1798 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1799 %endif
1800
1801 # FCGI
1802 %if %{with fcgi}
1803 cp -af php_config.h.fcgi main/php_config.h
1804 %{__make} sapi/cgi/php -f Makefile.fcgi
1805 cp -r sapi/cgi sapi/fcgi
1806 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1807 %endif
1808
1809 # CGI
1810 cp -af php_config.h.cgi main/php_config.h
1811 %{__make} sapi/cgi/php -f Makefile.cgi
1812
1813 # CLI
1814 cp -af php_config.h.cli main/php_config.h
1815 %{__make} sapi/cli/php -f Makefile.cli
1816
1817 %install
1818 rm -rf $RPM_BUILD_ROOT
1819 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1820         $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1821         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1822         $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1823         $RPM_BUILD_ROOT%{_mandir}/man1 \
1824
1825 # install the apache modules' files
1826 %{__make} install-headers install-build install-modules install-programs \
1827         INSTALL_ROOT=$RPM_BUILD_ROOT
1828
1829 # install apache1 DSO module
1830 %if %{with apache1}
1831 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1832 %endif
1833
1834 # install apache2 DSO module
1835 %if %{with apache2}
1836 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1837 %endif
1838
1839 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1840 # fix install paths, avoid evil rpaths
1841 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1842 # better solution?
1843 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1844
1845 # install CGI
1846 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1847
1848 # install FCGI
1849 %if %{with fcgi}
1850 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1851 %endif
1852
1853 # install CLI
1854 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1855 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1856 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1857
1858 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1859
1860 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1861 %if %{with fcgi}
1862 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1863 %endif
1864 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1865 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1866 install %{SOURCE9} $RPM_BUILD_ROOT%{_sysconfdir}/browscap.ini
1867
1868 %if %{with apache1}
1869 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1870 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1871 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1872 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1873 %endif
1874
1875 %if %{with apache2}
1876 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1877 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1878 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1879 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1880 %endif
1881
1882 cp -f Zend/LICENSE{,.Zend}
1883
1884 # Generate stub .ini files for each subpackage
1885 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1886 for so in modules/*.so; do
1887         mod=$(basename $so .so)
1888         conf="%{_sysconfdir}/conf.d/${mod}.ini"
1889         # xml needs to be loaded before wddx
1890         [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1891         cat > $RPM_BUILD_ROOT${conf} <<EOF
1892 ; Enable ${mod} extension module
1893 extension=${mod}.so
1894 EOF
1895 done
1896
1897 # per SAPI ini directories
1898 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1899
1900 # for CLI SAPI only
1901 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1902
1903 # use system automake and {lib,sh}tool
1904 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1905 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1906 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1907 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1908
1909 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1910 # isn't installed by install-headers make target, we do it manually here.
1911 # this header file is required by e.g. filter PECL extension
1912 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1913
1914 %clean
1915 rm -rf $RPM_BUILD_ROOT
1916
1917 %post -n apache1-mod_php
1918 if [ "$1" = "1" ]; then
1919         %service -q apache restart
1920 fi
1921
1922 %postun -n apache1-mod_php
1923 if [ "$1" = "0" ]; then
1924         %service -q apache restart
1925 fi
1926
1927 %post -n apache-mod_php
1928 if [ "$1" = "1" ]; then
1929         %service -q httpd restart
1930 fi
1931
1932 %postun -n apache-mod_php
1933 if [ "$1" = "0" ]; then
1934         %service -q httpd restart
1935 fi
1936
1937 %post   common -p /sbin/ldconfig
1938 %postun common -p /sbin/ldconfig
1939
1940 %posttrans common
1941 # minimizing apache restarts logics. we restart webserver:
1942 #
1943 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1944 # 2. first install of extension (post: $1 = 1)
1945 # 2. uninstall of extension (postun: $1 == 0)
1946 #
1947 # the strict internal deps between extensions (and apache modules) and
1948 # common package are very important for all this to work.
1949
1950 # restart webserver at the end of transaction
1951 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1952 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1953
1954 %if %{with apache1}
1955 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1956 sed -i -e '
1957         /^AddType application\/x-httpd-php \.php/s,^,#,
1958         /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1959 ' /etc/apache/apache.conf
1960 %service -q apache restart
1961 %endif
1962
1963 %if %{with apache2}
1964 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
1965 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1966 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1967         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1968         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1969 fi
1970 %endif
1971
1972 # macro called at extension post scriptlet
1973 %define extension_post \
1974 if [ "$1" = "1" ]; then \
1975         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1976         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1977 fi
1978
1979 # macro called at extension postun scriptlet
1980 %define extension_postun \
1981 if [ "$1" = "0" ]; then \
1982         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1983         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1984 fi
1985
1986 %define extension_scripts() \
1987 %post %1 \
1988 %extension_post \
1989 \
1990 %postun %1 \
1991 %extension_postun
1992
1993 # extension scripts defines
1994 %extension_scripts bcmath
1995 %extension_scripts bzip2
1996 %extension_scripts calendar
1997 %extension_scripts ctype
1998 %extension_scripts curl
1999 %extension_scripts dba
2000 %extension_scripts dbase
2001 %extension_scripts dom
2002 %extension_scripts exif
2003 %extension_scripts fdf
2004 %extension_scripts filter
2005 %extension_scripts ftp
2006 %extension_scripts gd
2007 %extension_scripts gettext
2008 %extension_scripts gmp
2009 %extension_scripts hash
2010 %extension_scripts iconv
2011 %extension_scripts imap
2012 %extension_scripts interbase
2013 %extension_scripts json
2014 %extension_scripts ldap
2015 %extension_scripts mbstring
2016 %extension_scripts mcrypt
2017 %extension_scripts mhash
2018 %extension_scripts mime_magic
2019 %extension_scripts ming
2020 %extension_scripts mssql
2021 %extension_scripts mysql
2022 %extension_scripts mysqli
2023 %extension_scripts oci8
2024 %extension_scripts odbc
2025 %extension_scripts openssl
2026 %extension_scripts pdo-dblib
2027 %extension_scripts pdo-firebird
2028 %extension_scripts pdo-mysql
2029 %extension_scripts pdo-odbc
2030 %extension_scripts pdo-pgsql
2031 %extension_scripts pdo-sqlite
2032 %extension_scripts pgsql
2033 %extension_scripts posix
2034 %extension_scripts pspell
2035 %extension_scripts recode
2036 %extension_scripts shmop
2037 %extension_scripts snmp
2038 %extension_scripts soap
2039 %extension_scripts sockets
2040 %extension_scripts sqlite
2041 %extension_scripts sybase
2042 %extension_scripts sybase-ct
2043 %extension_scripts sysvmsg
2044 %extension_scripts sysvsem
2045 %extension_scripts sysvshm
2046 %extension_scripts tidy
2047 %extension_scripts tokenizer
2048 %extension_scripts wddx
2049 %extension_scripts xml
2050 %extension_scripts xmlreader
2051 %extension_scripts xmlrpc
2052 %extension_scripts xmlwriter
2053 %extension_scripts xsl
2054 %extension_scripts zip
2055 %extension_scripts zlib
2056
2057 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2058 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2059
2060 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2061 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2062
2063 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2064 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2065
2066 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2067 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2068
2069 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2070 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2071
2072 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2073 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2074
2075 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2076 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2077
2078 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2079 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2080
2081 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2082 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2083
2084 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2085 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2086
2087 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2088 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2089
2090 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2091 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2092
2093 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2094 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2095
2096 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2097 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2098
2099 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2100 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2101
2102 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2103 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2104
2105 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2106 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2107
2108 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2109 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2110
2111 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2112 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2113
2114 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2115 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2116
2117 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2118 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2119
2120 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2121 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2122
2123 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2124 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2125
2126 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2127 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2128
2129 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2130 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2131
2132 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2133 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2134         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2135 fi
2136 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2137         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2138 fi
2139
2140 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2141 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2142
2143 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2144 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2145
2146 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2147 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2148
2149 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2150 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2151
2152 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2153 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2154         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2155 fi
2156 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2157         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2158 fi
2159
2160 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2161 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2162
2163 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2164 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2165
2166 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2167 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2168
2169 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2170 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2171         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2172 fi
2173 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2174         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2175 fi
2176
2177 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2178 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2179
2180 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2181 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2182
2183 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2184 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2185
2186 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2187 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2188
2189 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2190 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2191
2192 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2193 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2194
2195 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2196 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2197
2198 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2199 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2200
2201 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2202 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2203
2204 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2205 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2206
2207 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2208 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2209
2210 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2211 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2212
2213 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2214 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2215
2216 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2217 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2218
2219 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2220 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2221
2222 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2223 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2224
2225 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2226 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2227
2228 %if %{with apache1}
2229 %files -n apache1-mod_php
2230 %defattr(644,root,root,755)
2231 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2232 %dir %{_sysconfdir}/apache.d
2233 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2234 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2235 /home/services/apache/icons/*
2236 %endif
2237
2238 %if %{with apache2}
2239 %files -n apache-mod_php
2240 %defattr(644,root,root,755)
2241 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2242 %dir %{_sysconfdir}/apache2handler.d
2243 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2244 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2245 /home/services/httpd/icons/*
2246 %endif
2247
2248 %if %{with fcgi}
2249 %files fcgi
2250 %defattr(644,root,root,755)
2251 %doc sapi/cgi/README.FastCGI
2252 %dir %{_sysconfdir}/cgi-fcgi.d
2253 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2254 %attr(755,root,root) %{_bindir}/php.fcgi
2255 %endif
2256
2257 %files cgi
2258 %defattr(644,root,root,755)
2259 %dir %{_sysconfdir}/cgi.d
2260 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2261 %attr(755,root,root) %{_bindir}/php.cgi
2262
2263 %files cli
2264 %defattr(644,root,root,755)
2265 %dir %{_sysconfdir}/cli.d
2266 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2267 %attr(755,root,root) %{_bindir}/php.cli
2268 %{_mandir}/man1/php.1*
2269 %{_mandir}/man1/php.cli.1*
2270
2271 %files program
2272 %defattr(644,root,root,755)
2273 %attr(755,root,root) %{_bindir}/php
2274
2275 %files common
2276 %defattr(644,root,root,755)
2277 %doc php.ini-*
2278 %doc CREDITS Zend/ZEND_CHANGES
2279 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2280
2281 %dir %{_sysconfdir}
2282 %dir %{_sysconfdir}/conf.d
2283 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2284 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/browscap.ini
2285 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2286 %dir %{extensionsdir}
2287
2288 %doc ext/session/mod_files.sh
2289
2290 %files devel
2291 %defattr(644,root,root,755)
2292 %doc README.UNIX-BUILD-SYSTEM
2293 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2294 %doc CODING_STANDARDS
2295 %attr(755,root,root) %{_bindir}/phpize
2296 %attr(755,root,root) %{_bindir}/php-config
2297 %attr(755,root,root) %{_libdir}/libphp_common.so
2298 %{_libdir}/libphp_common.la
2299 %{_includedir}/php
2300 %{_libdir}/php/build
2301 %{_mandir}/man1/*
2302
2303 %files bcmath
2304 %defattr(644,root,root,755)
2305 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2306 %attr(755,root,root) %{extensionsdir}/bcmath.so
2307
2308 %files bzip2
2309 %defattr(644,root,root,755)
2310 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2311 %attr(755,root,root) %{extensionsdir}/bz2.so
2312
2313 %files calendar
2314 %defattr(644,root,root,755)
2315 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2316 %attr(755,root,root) %{extensionsdir}/calendar.so
2317
2318 %files ctype
2319 %defattr(644,root,root,755)
2320 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2321 %attr(755,root,root) %{extensionsdir}/ctype.so
2322
2323 %if %{with curl}
2324 %files curl
2325 %defattr(644,root,root,755)
2326 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2327 %attr(755,root,root) %{extensionsdir}/curl.so
2328 %endif
2329
2330 %files dba
2331 %defattr(644,root,root,755)
2332 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2333 %attr(755,root,root) %{extensionsdir}/dba.so
2334
2335 %files dbase
2336 %defattr(644,root,root,755)
2337 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2338 %attr(755,root,root) %{extensionsdir}/dbase.so
2339
2340 %files dom
2341 %defattr(644,root,root,755)
2342 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2343 %attr(755,root,root) %{extensionsdir}/dom.so
2344
2345 %if %{with fdf}
2346 %files fdf
2347 %defattr(644,root,root,755)
2348 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2349 %attr(755,root,root) %{extensionsdir}/fdf.so
2350 %endif
2351
2352 %if %{with filter}
2353 %files filter
2354 %defattr(644,root,root,755)
2355 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filter.ini
2356 %attr(755,root,root) %{extensionsdir}/filter.so
2357 %endif
2358
2359 %files exif
2360 %defattr(644,root,root,755)
2361 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2362 %attr(755,root,root) %{extensionsdir}/exif.so
2363
2364 %files ftp
2365 %defattr(644,root,root,755)
2366 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2367 %attr(755,root,root) %{extensionsdir}/ftp.so
2368
2369 %files gd
2370 %defattr(644,root,root,755)
2371 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2372 %attr(755,root,root) %{extensionsdir}/gd.so
2373
2374 %files gettext
2375 %defattr(644,root,root,755)
2376 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2377 %attr(755,root,root) %{extensionsdir}/gettext.so
2378
2379 %files gmp
2380 %defattr(644,root,root,755)
2381 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2382 %attr(755,root,root) %{extensionsdir}/gmp.so
2383
2384 %files hash
2385 %defattr(644,root,root,755)
2386 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hash.ini
2387 %attr(755,root,root) %{extensionsdir}/hash.so
2388
2389 %files iconv
2390 %defattr(644,root,root,755)
2391 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2392 %attr(755,root,root) %{extensionsdir}/iconv.so
2393
2394 %if %{with imap}
2395 %files imap
2396 %defattr(644,root,root,755)
2397 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2398 %attr(755,root,root) %{extensionsdir}/imap.so
2399 %endif
2400
2401 %if %{with interbase}
2402 %files interbase
2403 %defattr(644,root,root,755)
2404 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2405 %attr(755,root,root) %{extensionsdir}/interbase.so
2406 %endif
2407
2408 %files json
2409 %defattr(644,root,root,755)
2410 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/json.ini
2411 %attr(755,root,root) %{extensionsdir}/json.so
2412
2413 %if %{with ldap}
2414 %files ldap
2415 %defattr(644,root,root,755)
2416 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2417 %attr(755,root,root) %{extensionsdir}/ldap.so
2418 %endif
2419
2420 %files mbstring
2421 %defattr(644,root,root,755)
2422 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2423 %attr(755,root,root) %{extensionsdir}/mbstring.so
2424
2425 %files mcrypt
2426 %defattr(644,root,root,755)
2427 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2428 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2429
2430 %if %{with mhash}
2431 %files mhash
2432 %defattr(644,root,root,755)
2433 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2434 %attr(755,root,root) %{extensionsdir}/mhash.so
2435 %endif
2436
2437 %if %{with mime_magic}
2438 %files mime_magic
2439 %defattr(644,root,root,755)
2440 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2441 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2442 %endif
2443
2444 %if %{with ming}
2445 %files ming
2446 %defattr(644,root,root,755)
2447 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2448 %attr(755,root,root) %{extensionsdir}/ming.so
2449 %endif
2450
2451 %if %{with mssql}
2452 %files mssql
2453 %defattr(644,root,root,755)
2454 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2455 %attr(755,root,root) %{extensionsdir}/mssql.so
2456 %endif
2457
2458 %files mysql
2459 %defattr(644,root,root,755)
2460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2461 %attr(755,root,root) %{extensionsdir}/mysql.so
2462
2463 %if %{with mysqli}
2464 %files mysqli
2465 %defattr(644,root,root,755)
2466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2467 %attr(755,root,root) %{extensionsdir}/mysqli.so
2468 %endif
2469
2470 %files ncurses
2471 %defattr(644,root,root,755)
2472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2473 %attr(755,root,root) %{extensionsdir}/ncurses.so
2474
2475 %if %{with oci8}
2476 %files oci8
2477 %defattr(644,root,root,755)
2478 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2479 %attr(755,root,root) %{extensionsdir}/oci8.so
2480 %endif
2481
2482 %if %{with odbc}
2483 %files odbc
2484 %defattr(644,root,root,755)
2485 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2486 %attr(755,root,root) %{extensionsdir}/odbc.so
2487 %endif
2488
2489 %if %{with openssl}
2490 %files openssl
2491 %defattr(644,root,root,755)
2492 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2493 %attr(755,root,root) %{extensionsdir}/openssl.so
2494 %endif
2495
2496 %files pcntl
2497 %defattr(644,root,root,755)
2498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2499 %attr(755,root,root) %{extensionsdir}/pcntl.so
2500
2501 %files pdo
2502 %defattr(644,root,root,755)
2503 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2504 %attr(755,root,root) %{extensionsdir}/pdo.so
2505
2506 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2507 %files pdo-dblib
2508 %defattr(644,root,root,755)
2509 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2510 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2511 %endif
2512
2513 %if %{with interbase} && !%{with interbase_inst}
2514 %files pdo-firebird
2515 %defattr(644,root,root,755)
2516 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2517 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2518 %endif
2519
2520 %files pdo-mysql
2521 %defattr(644,root,root,755)
2522 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2523 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2524
2525 %if %{with oci8}
2526 %files pdo-oci
2527 %defattr(644,root,root,755)
2528 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2529 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2530 %endif
2531
2532 %if %{with odbc}
2533 %files pdo-odbc
2534 %defattr(644,root,root,755)
2535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2536 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2537 %endif
2538
2539 %if %{with pgsql}
2540 %files pdo-pgsql
2541 %defattr(644,root,root,755)
2542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2543 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2544 %endif
2545
2546 %if %{with sqlite}
2547 %files pdo-sqlite
2548 %defattr(644,root,root,755)
2549 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2550 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2551 %endif
2552
2553 %if %{with pgsql}
2554 %files pgsql
2555 %defattr(644,root,root,755)
2556 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2557 %attr(755,root,root) %{extensionsdir}/pgsql.so
2558 %endif
2559
2560 %files posix
2561 %defattr(644,root,root,755)
2562 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2563 %attr(755,root,root) %{extensionsdir}/posix.so
2564
2565 %if %{with pspell}
2566 %files pspell
2567 %defattr(644,root,root,755)
2568 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2569 %attr(755,root,root) %{extensionsdir}/pspell.so
2570 %endif
2571
2572 %files readline
2573 %defattr(644,root,root,755)
2574 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2575 %attr(755,root,root) %{extensionsdir}/readline.so
2576
2577 %if %{with recode}
2578 %files recode
2579 %defattr(644,root,root,755)
2580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2581 %attr(755,root,root) %{extensionsdir}/recode.so
2582 %endif
2583
2584 %if 0
2585 # simplexml is needed by spl, and spl can't be built shared as of now (5.2.0)
2586 # simplexml can be built shared, but SPL startup fails
2587 # we could add R: -simplexml to -common...
2588 %files simplexml
2589 %defattr(644,root,root,755)
2590 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2591 %attr(755,root,root) %{extensionsdir}/simplexml.so
2592 %endif
2593
2594 %files shmop
2595 %defattr(644,root,root,755)
2596 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2597 %attr(755,root,root) %{extensionsdir}/shmop.so
2598
2599 %if %{with snmp}
2600 %files snmp
2601 %defattr(644,root,root,755)
2602 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2603 %attr(755,root,root) %{extensionsdir}/snmp.so
2604 %endif
2605
2606 %files soap
2607 %defattr(644,root,root,755)
2608 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2609 %attr(755,root,root) %{extensionsdir}/soap.so
2610
2611 %files sockets
2612 %defattr(644,root,root,755)
2613 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2614 %attr(755,root,root) %{extensionsdir}/sockets.so
2615
2616 %if %{with sqlite}
2617 %files sqlite
2618 %defattr(644,root,root,755)
2619 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2620 %attr(755,root,root) %{extensionsdir}/sqlite.so
2621 %endif
2622
2623 %if %{with sybase}
2624 %files sybase
2625 %defattr(644,root,root,755)
2626 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2627 %attr(755,root,root) %{extensionsdir}/sybase.so
2628 %endif
2629
2630 %if %{with sybase_ct}
2631 %files sybase-ct
2632 %defattr(644,root,root,755)
2633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2634 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2635 %endif
2636
2637 %files sysvmsg
2638 %defattr(644,root,root,755)
2639 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2640 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2641
2642 %files sysvsem
2643 %defattr(644,root,root,755)
2644 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2645 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2646
2647 %files sysvshm
2648 %defattr(644,root,root,755)
2649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2650 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2651
2652 %if %{with tidy}
2653 %files tidy
2654 %defattr(644,root,root,755)
2655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2656 %attr(755,root,root) %{extensionsdir}/tidy.so
2657 %endif
2658
2659 %files tokenizer
2660 %defattr(644,root,root,755)
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2662 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2663
2664 %if %{with wddx}
2665 %files wddx
2666 %defattr(644,root,root,755)
2667 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2668 %attr(755,root,root) %{extensionsdir}/wddx.so
2669 %endif
2670
2671 %files xml
2672 %defattr(644,root,root,755)
2673 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2674 %attr(755,root,root) %{extensionsdir}/xml.so
2675
2676 %files xmlreader
2677 %defattr(644,root,root,755)
2678 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2679 %attr(755,root,root) %{extensionsdir}/xmlreader.so
2680
2681 %if %{with xmlrpc}
2682 %files xmlrpc
2683 %defattr(644,root,root,755)
2684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2685 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2686 %endif
2687
2688 %files xmlwriter
2689 %defattr(644,root,root,755)
2690 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlwriter.ini
2691 %attr(755,root,root) %{extensionsdir}/xmlwriter.so
2692
2693 %files xsl
2694 %defattr(644,root,root,755)
2695 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2696 %attr(755,root,root) %{extensionsdir}/xsl.so
2697
2698 %files zip
2699 %defattr(644,root,root,755)
2700 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2701 %attr(755,root,root) %{extensionsdir}/zip.so
2702
2703 %files zlib
2704 %defattr(644,root,root,755)
2705 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2706 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 4.01493 seconds and 2 git commands to generate.