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