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