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