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