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