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