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