]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- drop also %post/%postun of session
[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.6
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
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 %{?with_pcre:Provides:  %{name}-pcre = %{epoch}:%{version}-%{release}}
367 Provides:       %{name}-session = %{epoch}:%{version}-%{release}
368 Provides:       %{name}-simplexml = %{epoch}:%{version}-%{release}
369 Provides:       %{name}-spl = %{epoch}:%{version}-%{release}
370 Provides:       %{name}-standard = %{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-pcre < 4:5.2.0
377 Obsoletes:      php-pecl-domxml
378 Obsoletes:      php-session < 3:4.2.1-2
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:       %{name}-common = %{epoch}:%{version}-%{release}
449
450 %description bcmath
451 This is a dynamic shared object (DSO) for PHP that will add bc style
452 precision math functions support.
453
454 %description bcmath -l pl
455 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
456 matematycznych takich jak w programie bc.
457
458 %package bzip2
459 Summary:        Bzip2 extension module for PHP
460 Summary(pl):    Modu³ bzip2 dla PHP
461 Group:          Libraries
462 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
463
464 %description bzip2
465 This is a dynamic shared object (DSO) for PHP that will add bzip2
466 compression support to PHP.
467
468 %description bzip2 -l pl
469 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
470
471 %package calendar
472 Summary:        Calendar extension module for PHP
473 Summary(pl):    Modu³ funkcji kalendarza dla PHP
474 Group:          Libraries
475 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
476
477 %description calendar
478 This is a dynamic shared object (DSO) for PHP that will add calendar
479 support.
480
481 %description calendar -l pl
482 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
483
484 %package ctype
485 Summary:        ctype extension module for PHP
486 Summary(pl):    Modu³ ctype dla PHP
487 Group:          Libraries
488 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
489
490 %description ctype
491 This is a dynamic shared object (DSO) for PHP that will add ctype
492 support.
493
494 %description ctype -l pl
495 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
496
497 %package curl
498 Summary:        curl extension module for PHP
499 Summary(pl):    Modu³ curl dla PHP
500 Group:          Libraries
501 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
502
503 %description curl
504 This is a dynamic shared object (DSO) for PHP that will add curl
505 support.
506
507 %description curl -l pl
508 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
509
510 %package dba
511 Summary:        DBA extension module for PHP
512 Summary(pl):    Modu³ DBA dla PHP
513 Group:          Libraries
514 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
515
516 %description dba
517 This is a dynamic shared object (DSO) for PHP that will add flat-file
518 databases (DBA) support.
519
520 %description dba -l pl
521 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
522 (DBA).
523
524 %package dbase
525 Summary:        DBase extension module for PHP
526 Summary(pl):    Modu³ DBase dla PHP
527 Group:          Libraries
528 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
529
530 %description dbase
531 This is a dynamic shared object (DSO) for PHP that will add DBase
532 support.
533
534 %description dbase -l pl
535 Modu³ PHP ze wsparciem dla DBase.
536
537 %package dom
538 Summary:        DOM extension module for PHP
539 Summary(pl):    Modu³ DOM dla PHP
540 Group:          Libraries
541 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
542 # it has some compatibility functions
543 Provides:       php-domxml = %{epoch}:%{version}-%{release}
544 Obsoletes:      php-domxml <= 3:4.3.8-1
545
546 %description dom
547 This is a dynamic shared object (DSO) for PHP that will add new DOM
548 support.
549
550 %description dom -l pl
551 Modu³ PHP dodaj±cy now± obs³ugê DOM.
552
553 %package exif
554 Summary:        exif extension module for PHP
555 Summary(pl):    Modu³ exif dla PHP
556 Group:          Libraries
557 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
558
559 %description exif
560 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
561 support in image files.
562
563 %description exif -l pl
564 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
565
566 %package fdf
567 Summary:        FDF extension module for PHP
568 Summary(pl):    Modu³ FDF dla PHP
569 Group:          Libraries
570 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
571
572 %description fdf
573 This PHP module adds support for PDF Forms through Adobe FDFTK
574 library.
575
576 %description fdf -l pl
577 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
578 FDFTK.
579
580 %package ftp
581 Summary:        FTP extension module for PHP
582 Summary(pl):    Modu³ FTP dla PHP
583 Group:          Libraries
584 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
585
586 %description ftp
587 This is a dynamic shared object (DSO) for PHP that will add FTP
588 support.
589
590 %description ftp -l pl
591 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
592
593 %package gd
594 Summary:        GD extension module for PHP
595 Summary(pl):    Modu³ GD dla PHP
596 Group:          Libraries
597 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
598 Requires:       gd >= 2.0.28-4
599
600 %description gd
601 This is a dynamic shared object (DSO) for PHP that will add GD
602 support, allowing you to create and manipulate images with PHP.
603
604 %description gd -l pl
605 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
606 tworzenie i obróbkê obrazków.
607
608 %package gettext
609 Summary:        gettext extension module for PHP
610 Summary(pl):    Modu³ gettext dla PHP
611 Group:          Libraries
612 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
613
614 %description gettext
615 This is a dynamic shared object (DSO) for PHP that will add gettext
616 support.
617
618 %description gettext -l pl
619 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
620
621 %package gmp
622 Summary:        gmp extension module for PHP
623 Summary(pl):    Modu³ gmp dla PHP
624 Group:          Libraries
625 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
626
627 %description gmp
628 This is a dynamic shared object (DSO) for PHP that will add arbitrary
629 length number support with GNU MP library.
630
631 %description gmp -l pl
632 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
633 liczbach o dowolnej d³ugo¶ci.
634
635 %package iconv
636 Summary:        iconv extension module for PHP
637 Summary(pl):    Modu³ iconv dla PHP
638 Group:          Libraries
639 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
640
641 %description iconv
642 This is a dynamic shared object (DSO) for PHP that will add iconv
643 support.
644
645 %description iconv -l pl
646 Modu³ PHP dodaj±cy obs³ugê iconv.
647
648 %package imap
649 Summary:        IMAP extension module for PHP
650 Summary(pl):    Modu³ IMAP dla PHP
651 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
652 Group:          Libraries
653 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
654
655 %description imap
656 This is a dynamic shared object (DSO) for PHP that will add IMAP
657 support.
658
659 %description imap -l pl
660 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
661
662 %description imap -l pt_BR
663 Um módulo para aplicações PHP que usam IMAP.
664
665 %package interbase
666 Summary:        InterBase/Firebird database module for PHP
667 Summary(pl):    Modu³ bazy danych InterBase/Firebird dla PHP
668 Group:          Libraries
669 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
670 %{?with_interbase_inst:Autoreq: false}
671
672 %description interbase
673 This is a dynamic shared object (DSO) for PHP that will add InterBase
674 and Firebird database support.
675
676 %description interbase -l pl
677 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
678
679 %package ldap
680 Summary:        LDAP extension module for PHP
681 Summary(pl):    Modu³ LDAP dla PHP
682 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
683 Group:          Libraries
684 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
685
686 %description ldap
687 This is a dynamic shared object (DSO) for PHP that will add LDAP
688 support.
689
690 %description ldap -l pl
691 Modu³ PHP dodaj±cy obs³ugê LDAP.
692
693 %description ldap -l pt_BR
694 Um módulo para aplicações PHP que usam LDAP.
695
696 %package mbstring
697 Summary:        mbstring extension module for PHP
698 Summary(pl):    Modu³ mbstring dla PHP
699 Group:          Libraries
700 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
701
702 %description mbstring
703 This is a dynamic shared object (DSO) for PHP that will add multibyte
704 string support.
705
706 %description mbstring -l pl
707 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
708
709 %package mcrypt
710 Summary:        mcrypt extension module for PHP
711 Summary(pl):    Modu³ mcrypt dla PHP
712 Group:          Libraries
713 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
714
715 %description mcrypt
716 This is a dynamic shared object (DSO) for PHP that will add mcrypt
717 support.
718
719 %description mcrypt -l pl
720 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
721
722 %package mhash
723 Summary:        mhash extension module for PHP
724 Summary(pl):    Modu³ mhash dla PHP
725 Group:          Libraries
726 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
727
728 %description mhash
729 This is a dynamic shared object (DSO) for PHP that will add mhash
730 support.
731
732 %description mhash -l pl
733 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
734
735 %package mime_magic
736 Summary:        mime_magic extension module for PHP
737 Summary(pl):    Modu³ mime_magic dla PHP
738 Group:          Libraries
739 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
740 Requires:       /usr/share/file/magic.mime
741
742 %description mime_magic
743 This PHP module adds support for MIME type lookup via file magic
744 numbers using magic.mime database.
745
746 %description mime_magic -l pl
747 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
748 znaczników plików z u¿yciem bazy danych magic.mime.
749
750 %package ming
751 Summary:        ming extension module for PHP
752 Summary(pl):    Modu³ ming dla PHP
753 Group:          Libraries
754 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
755
756 %description ming
757 This is a dynamic shared object (DSO) for PHP that will add ming
758 (Flash - .swf files) support.
759
760 %description ming -l pl
761 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
762 ming.
763
764 %package mssql
765 Summary:        MS SQL extension module for PHP
766 Summary(pl):    Modu³ MS SQL dla PHP
767 Group:          Libraries
768 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
769
770 %description mssql
771 This is a dynamic shared object (DSO) for PHP that will add MS SQL
772 databases support through FreeTDS library.
773
774 %description mssql -l pl
775 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
776 FreeTDS.
777
778 %package mysql
779 Summary:        MySQL database module for PHP
780 Summary(pl):    Modu³ bazy danych MySQL dla PHP
781 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
782 Group:          Libraries
783 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
784
785 %description mysql
786 This is a dynamic shared object (DSO) for PHP that will add MySQL
787 database support.
788
789 %description mysql -l pl
790 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
791
792 %description mysql -l pt_BR
793 Um módulo para aplicações PHP que usam bancos de dados MySQL.
794
795 %package mysqli
796 Summary:        MySQLi module for PHP
797 Summary(pl):    Modu³ MySQLi dla PHP
798 Group:          Libraries
799 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
800 Requires:       mysql-libs >= 4.1.0
801
802 %description mysqli
803 This is a dynamic shared object (DSO) for PHP that will add MySQLi
804 (Improved MySQL) support. The difference between it and mysql module
805 is that it provides access to functionality of MySQL 4.1 and above.
806
807 %description mysqli -l pl
808 Modu³ PHP umo¿liwiaj±cy udoskonalony dostêp do bazy danych MySQL.
809 Ró¿nic± miêdzy nim a modu³em mysql jest dostêp do funkcjonalno¶ci
810 MySQL w wersji 4.1 i nowszych.
811
812 %package ncurses
813 Summary:        ncurses module for PHP
814 Summary(pl):    Modu³ ncurses dla PHP
815 Group:          Libraries
816 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
817
818 %description ncurses
819 This PHP module adds support for ncurses functions (only for cli and
820 cgi SAPIs).
821
822 %description ncurses -l pl
823 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
824
825 %package oci8
826 Summary:        Oracle 8+ database module for PHP
827 Summary(pl):    Modu³ bazy danych Oracle 8+ dla PHP
828 Group:          Libraries
829 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
830 Autoreq:        false
831
832 %description oci8
833 This is a dynamic shared object (DSO) for PHP that will add Oracle 7,
834 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8).
835
836 %description oci8 -l pl
837 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7, 8, 9 i 10
838 poprzez interfejs Oracle8 Call-Interface (OCI8).
839
840 %package odbc
841 Summary:        ODBC extension module for PHP
842 Summary(pl):    Modu³ ODBC dla PHP
843 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
844 Group:          Libraries
845 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
846 Requires:       unixODBC >= 2.1.1-3
847
848 %description odbc
849 This is a dynamic shared object (DSO) for PHP that will add ODBC
850 support.
851
852 %description odbc -l pl
853 Modu³ PHP ze wsparciem dla ODBC.
854
855 %description odbc -l pt_BR
856 Um módulo para aplicações PHP que usam ODBC.
857
858 %package openssl
859 Summary:        OpenSSL extension module for PHP
860 Summary(pl):    Modu³ OpenSSL dla PHP
861 Group:          Libraries
862 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
863
864 %description openssl
865 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
866 support.
867
868 Warning: this is an experimental module.
869
870 %description openssl -l pl
871 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
872
873 Uwaga: to jest modu³ eksperymentalny.
874
875 %package pcntl
876 Summary:        Process Control extension module for PHP
877 Summary(pl):    Modu³ Process Control dla PHP
878 Group:          Libraries
879 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
880
881 %description pcntl
882 This is a dynamic shared object (DSO) for PHP that will add process
883 spawning and control support. It supports functions like fork(),
884 waitpid(), signal() etc.
885
886 Warning: this is an experimental module. Also, don't use it in
887 webserver environment!
888
889 %description pcntl -l pl
890 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
891 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
892
893 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
894 u¿ywania z serwerem WWW - nie próbuj tego!
895
896 %package pdo
897 Summary:        PHP Data Objects (PDO)
898 Summary(pl):    Obs³uga PHP Data Objects (PDO)
899 Group:          Libraries
900 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
901 Obsoletes:      php-pecl-PDO
902
903 %description pdo
904 This is a dynamic shared object (DSO) for PHP that will add PDO
905 support.
906
907 %description pdo -l pl
908 Modu³ PHP dodaj±cy obs³ugê PDO (PHP Data Objects).
909
910 %package pdo-dblib
911 Summary:        PHP Data Objects (PDO) FreeTDS support
912 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± FreeTDS
913 Group:          Libraries
914 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
915 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
916
917 %description pdo-dblib
918 This is a dynamic shared object (DSO) for PHP that will add PDO
919 FreeTDS support.
920
921 %description pdo-dblib -l pl
922 Modu³ dla PHP dodaj±cy obs³ugê baz danych FreeTDS za po¶rednictwem
923 interfejsu PDO.
924
925 %package pdo-firebird
926 Summary:        PHP Data Objects (PDO) Firebird support
927 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Firebirda
928 Group:          Libraries
929 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
930 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
931 Obsoletes:      php-pecl-PDO_FIREBIRD
932
933 %description pdo-firebird
934 This is a dynamic shared object (DSO) for PHP that will add PDO
935 Firebird support.
936
937 %description pdo-firebird -l pl
938 Modu³ dla PHP dodaj±cy obs³ugê baz danych Firebird za po¶rednictwem
939 interfejsu PDO.
940
941 %package pdo-mysql
942 Summary:        PHP Data Objects (PDO) MySQL support
943 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± MySQL-a
944 Group:          Libraries
945 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
946 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
947 Obsoletes:      php-pecl-PDO_MYSQL
948
949 %description pdo-mysql
950 This is a dynamic shared object (DSO) for PHP that will add PDO MySQL
951 support.
952
953 %description pdo-mysql -l pl
954 Modu³ dla PHP dodaj±cy obs³ugê baz danych MySQL za po¶rednictwem
955 interfejsu PDO.
956
957 %package pdo-oci
958 Summary:        PHP Data Objects (PDO) Oracle support
959 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± Oracle'a
960 Group:          Libraries
961 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
962 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
963 Obsoletes:      php-pecl-PDO_OCI
964
965 %description pdo-oci
966 This is a dynamic shared object (DSO) for PHP that will add PDO Oracle
967 support.
968
969 %description pdo-oci -l pl
970 Modu³ dla PHP dodaj±cy obs³ugê baz danych Oracle za po¶rednictwem
971 interfejsu PDO.
972
973 %package pdo-odbc
974 Summary:        PHP Data Objects (PDO) ODBC support
975 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± ODBC
976 Group:          Libraries
977 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
978 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
979 Obsoletes:      php-pecl-PDO_ODBC
980
981 %description pdo-odbc
982 This is a dynamic shared object (DSO) for PHP that will add PDO ODBC
983 support.
984
985 %description pdo-odbc -l pl
986 Modu³ dla PHP dodaj±cy obs³ugê baz danych ODBC za po¶rednictwem
987 interfejsu PDO.
988
989 %package pdo-pgsql
990 Summary:        PHP Data Objects (PDO) PostgreSQL support
991 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± PostgreSQL-a
992 Group:          Libraries
993 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
994 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
995 Obsoletes:      php-pecl-PDO_PGSQL
996
997 %description pdo-pgsql
998 This is a dynamic shared object (DSO) for PHP that will add PDO
999 PostgreSQL support.
1000
1001 %description pdo-pgsql -l pl
1002 Modu³ dla PHP dodaj±cy obs³ugê baz danych PostgreSQL za po¶rednictwem
1003 interfejsu PDO.
1004
1005 %package pdo-sqlite
1006 Summary:        PHP Data Objects (PDO) SQLite support
1007 Summary(pl):    Modu³ PHP Data Objects (PDO) z obs³ug± SQLite
1008 Group:          Libraries
1009 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1010 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1011 Obsoletes:      php-pecl-PDO_SQLITE
1012
1013 %description pdo-sqlite
1014 This is a dynamic shared object (DSO) for PHP that will add PDO SQLite
1015 support.
1016
1017 %description pdo-sqlite -l pl
1018 Modu³ dla PHP dodaj±cy obs³ugê baz danych SQLite za po¶rednictwem
1019 interfejsu PDO.
1020
1021 %package pgsql
1022 Summary:        PostgreSQL database module for PHP
1023 Summary(pl):    Modu³ bazy danych PostgreSQL dla PHP
1024 Group:          Libraries
1025 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1026
1027 %description pgsql
1028 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1029 database support.
1030
1031 %description pgsql -l pl
1032 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1033
1034 %description pgsql -l pt_BR
1035 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1036
1037 %package posix
1038 Summary:        POSIX extension module for PHP
1039 Summary(pl):    Modu³ POSIX dla PHP
1040 Group:          Libraries
1041 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1042
1043 %description posix
1044 This is a dynamic shared object (DSO) for PHP that will add POSIX
1045 functions support to PHP.
1046
1047 %description posix -l pl
1048 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1049
1050 %package pspell
1051 Summary:        pspell extension module for PHP
1052 Summary(pl):    Modu³ pspell dla PHP
1053 Group:          Libraries
1054 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1055
1056 %description pspell
1057 This is a dynamic shared object (DSO) for PHP that will add pspell
1058 support to PHP. It allows to check the spelling of a word and offer
1059 suggestions.
1060
1061 %description pspell -l pl
1062 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1063 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1064
1065 %package readline
1066 Summary:        readline extension module for PHP
1067 Summary(pl):    Modu³ readline dla PHP
1068 Group:          Libraries
1069 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1070
1071 %description readline
1072 This PHP module adds support for readline functions (only for cli and
1073 cgi SAPIs).
1074
1075 %description readline -l pl
1076 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1077
1078 %package recode
1079 Summary:        recode extension module for PHP
1080 Summary(pl):    Modu³ recode dla PHP
1081 Group:          Libraries
1082 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1083 Requires:       recode >= 3.5d-3
1084
1085 %description recode
1086 This is a dynamic shared object (DSO) for PHP that will add recode
1087 support.
1088
1089 %description recode -l pl
1090 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1091 bibliotekê recode).
1092
1093 %package shmop
1094 Summary:        Shared Memory Operations extension module for PHP
1095 Summary(pl):    Modu³ shmop dla PHP
1096 Group:          Libraries
1097 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1098
1099 %description shmop
1100 This is a dynamic shared object (DSO) for PHP that will add Shared
1101 Memory Operations support.
1102
1103 Warning: this is an experimental module.
1104
1105 %description shmop -l pl
1106 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1107
1108 Uwaga: to jest modu³ eksperymentalny.
1109
1110 %package simplexml
1111 Summary:        Simple XML extension module for PHP
1112 Summary(pl):    Modu³ prostego rozszerzenia XML dla PHP
1113 Group:          Libraries
1114 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1115
1116 %description simplexml
1117 This is a dynamic shared object (DSO) for PHP that will add Simple XML
1118 support.
1119
1120 %description simplexml -l pl
1121 Modu³ PHP dodaj±cy obs³ugê prostego XML-a.
1122
1123 %package snmp
1124 Summary:        SNMP extension module for PHP
1125 Summary(pl):    Modu³ SNMP dla PHP
1126 Group:          Libraries
1127 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1128 Requires:       %{name}-sockets = %{epoch}:%{version}-%{release}
1129
1130 %description snmp
1131 This is a dynamic shared object (DSO) for PHP that will add SNMP
1132 support.
1133
1134 %description snmp -l pl
1135 Modu³ PHP dodaj±cy obs³ugê SNMP.
1136
1137 %package soap
1138 Summary:        soap extension module for PHP
1139 Summary(pl):    Modu³ soap dla PHP
1140 Group:          Libraries
1141 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1142
1143 %description soap
1144 This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL
1145 support.
1146
1147 %description soap -l pl
1148 Modu³ PHP dodaj±cy obs³ugê SOAP/WSDL.
1149
1150 %package sockets
1151 Summary:        sockets extension module for PHP
1152 Summary(pl):    Modu³ socket dla PHP
1153 Group:          Libraries
1154 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1155
1156 %description sockets
1157 This is a dynamic shared object (DSO) for PHP that will add sockets
1158 support.
1159
1160 Warning: this is an experimental module.
1161
1162 %description sockets -l pl
1163 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1164
1165 Uwaga: to jest modu³ eksperymentalny.
1166
1167 %package sqlite
1168 Summary:        SQLite extension module for PHP
1169 Summary(pl):    Modu³ SQLite dla PHP
1170 Group:          Libraries
1171 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1172 Requires:       %{name}-pdo = %{epoch}:%{version}-%{release}
1173
1174 %description sqlite
1175 SQLite is a C library that implements an embeddable SQL database
1176 engine. Programs that link with the SQLite library can have SQL
1177 database access without running a separate RDBMS process.
1178
1179 SQLite is not a client library used to connect to a big database
1180 server. SQLite is the server. The SQLite library reads and writes
1181 directly to and from the database files on disk.
1182
1183 %description sqlite -l pl
1184 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1185 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1186 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu
1187 RDBMS.
1188
1189 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1190 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i
1191 zapisuje dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na
1192 dysku.
1193
1194 %package sybase
1195 Summary:        Sybase DB extension module for PHP
1196 Summary(pl):    Modu³ Sybase DB dla PHP
1197 Group:          Libraries
1198 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1199 Obsoletes:      php-sybase-ct
1200
1201 %description sybase
1202 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1203 MS SQL databases support through SYBDB library. Currently Sybase
1204 module is not maintained. Using Sybase-CT module is recommended
1205 instead.
1206
1207 %description sybase -l pl
1208 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1209 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1210 Zaleca siê u¿ywanie modu³u Sybase-CT.
1211
1212 %package sybase-ct
1213 Summary:        Sybase-CT extension module for PHP
1214 Summary(pl):    Modu³ Sybase-CT dla PHP
1215 Group:          Libraries
1216 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1217 Obsoletes:      php-sybase
1218
1219 %description sybase-ct
1220 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1221 MS SQL databases support through CT-lib.
1222
1223 %description sybase-ct -l pl
1224 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1225 CT-lib.
1226
1227 %package sysvmsg
1228 Summary:        SysV msg extension module for PHP
1229 Summary(pl):    Modu³ SysV msg dla PHP
1230 Group:          Libraries
1231 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1232
1233 %description sysvmsg
1234 This is a dynamic shared object (DSO) for PHP that will add SysV
1235 message queues support.
1236
1237 %description sysvmsg -l pl
1238 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1239
1240 %package sysvsem
1241 Summary:        SysV sem extension module for PHP
1242 Summary(pl):    Modu³ SysV sem dla PHP
1243 Group:          Libraries
1244 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1245
1246 %description sysvsem
1247 This is a dynamic shared object (DSO) for PHP that will add SysV
1248 semaphores support.
1249
1250 %description sysvsem -l pl
1251 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1252
1253 %package sysvshm
1254 Summary:        SysV shm extension module for PHP
1255 Summary(pl):    Modu³ SysV shm dla PHP
1256 Group:          Libraries
1257 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1258
1259 %description sysvshm
1260 This is a dynamic shared object (DSO) for PHP that will add SysV
1261 Shared Memory support.
1262
1263 %description sysvshm -l pl
1264 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1265
1266 %package tidy
1267 Summary:        Tidy extension module for PHP
1268 Summary(pl):    Modu³ Tidy dla PHP
1269 Group:          Libraries
1270 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1271 Requires:       tidy
1272
1273 %description tidy
1274 This is a dynamic shared object (DSO) for PHP that will add Tidy
1275 support.
1276
1277 %description tidy -l pl
1278 Modu³ PHP umo¿liwiaj±cy korzystanie z tidy.
1279
1280 %package tokenizer
1281 Summary:        tokenizer extension module for PHP
1282 Summary(pl):    Modu³ rozszerzenia tokenizer dla PHP
1283 Group:          Libraries
1284 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1285
1286 %description tokenizer
1287 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1288 support.
1289
1290 %description tokenizer -l pl
1291 Modu³ PHP dodaj±cy obs³ugê tokenizera do PHP.
1292
1293 %package wddx
1294 Summary:        wddx extension module for PHP
1295 Summary(pl):    Modu³ wddx dla PHP
1296 Group:          Libraries
1297 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1298 #Requires:      %{name}-session = %{epoch}:%{version}-%{release}
1299 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
1300
1301 %description wddx
1302 This is a dynamic shared object (DSO) for PHP that will add wddx
1303 support.
1304
1305 %description wddx -l pl
1306 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1307
1308 %package xml
1309 Summary:        XML extension module for PHP
1310 Summary(pl):    Modu³ XML dla PHP
1311 Group:          Libraries
1312 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1313
1314 %description xml
1315 This is a dynamic shared object (DSO) for PHP that will add XML
1316 support. This extension lets you create XML parsers and then define
1317 handlers for different XML events.
1318
1319 %description xml -l pl
1320 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1321 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1322 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1323
1324 %package xmlreader
1325 Summary:        XML Reader extension module for PHP
1326 Summary(pl):    Modu³ XML Reader dla PHP
1327 Group:          Libraries
1328 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1329 Requires:       %{name}-dom = %{epoch}:%{version}-%{release}
1330
1331 %description xmlreader
1332 This is a dynamic shared object (DSO) for PHP that will add XML Reader
1333 support. The XMLReader extension is an XML Pull parser. The reader
1334 acts as a cursor going forward on the document stream and stopping at
1335 each node on the way.
1336
1337 %description xmlreader -l pl
1338 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML w trybie Pull. Czytnik
1339 dzia³a jako kursor przechodz±cy przez strumieñ dokumentu i
1340 zatrzymuj±cy siê naka¿dym wê¼le po drodze.
1341
1342 %package xmlrpc
1343 Summary:        xmlrpc extension module for PHP
1344 Summary(pl):    Modu³ xmlrpc dla PHP
1345 Group:          Libraries
1346 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1347
1348 %description xmlrpc
1349 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1350 support.
1351
1352 Warning: this is an experimental module.
1353
1354 %description xmlrpc -l pl
1355 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1356
1357 Uwaga: to jest modu³ eksperymentalny.
1358
1359 %package xsl
1360 Summary:        xsl extension module for PHP
1361 Summary(pl):    Modu³ xsl dla PHP
1362 Group:          Libraries
1363 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1364 Requires:       libxslt >= 1.0.18
1365 # actually not true, functionality is similar, but API differs
1366 Obsoletes:      php-xslt <= 3:4.3.8-1
1367
1368 %description xsl
1369 This is a dynamic shared object (DSO) for PHP that will add new XSL
1370 support (using libxslt).
1371
1372 %description xsl -l pl
1373 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1374
1375 %package zip
1376 Summary:        Zip management extension
1377 Summary(pl):    Zarz±dzanie archiwami zip
1378 Group:          Libraries
1379 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1380
1381 %description zip
1382 Zip is an extension to create, modify and read zip files.
1383
1384 %description zip -l pl
1385 Zip jest rozszerzeniem umo¿liwiaj±cym tworzenie, modyfikacjê oraz
1386 odczyt archiwów zip.
1387
1388 %package zlib
1389 Summary:        Zlib extension module for PHP
1390 Summary(pl):    Modu³ zlib dla PHP
1391 Group:          Libraries
1392 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1393
1394 %description zlib
1395 This is a dynamic shared object (DSO) for PHP that will add zlib
1396 compression support to PHP.
1397
1398 %description zlib -l pl
1399 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1400
1401 %prep
1402 %setup -q
1403 %patch36 -p1
1404 %patch0 -p1
1405 %patch1 -p1
1406 %patch2 -p1
1407 %patch3 -p1
1408 %patch4 -p1
1409
1410 %patch6 -p1
1411 %patch7 -p1
1412 %patch8 -p1
1413
1414 cp php.ini-dist php.ini
1415 %patch10 -p1
1416 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1417 # conditionally...
1418 %patch11 -p1
1419 %patch14 -p1
1420 %patch15 -p1
1421 %patch16 -p1
1422 %patch17 -p1
1423 %patch18 -p1
1424 %patch19 -p1
1425 %patch20 -p1
1426 %patch21 -p1
1427 #%patch23 -p1 # UPDATE?
1428 %patch24 -p1
1429 %patch26 -p1
1430
1431 %if %{with hardening}
1432 zcat %{SOURCE8} | patch -p1 || exit 1
1433 patch -p1 < %{PATCH30} || exit 1
1434 %endif
1435 %patch31 -p1
1436 %patch32 -p1
1437 %patch33 -p1
1438 %{?with_versioning:%patch35 -p1}
1439 %if "%{_lib}" == "lib64"
1440 %patch38 -p1
1441 %endif
1442 %patch39 -p1
1443
1444 # conflict seems to be resolved by recode patches
1445 rm -f ext/recode/config9.m4
1446
1447 # remove all bundled libraries not to link with them accidentally
1448 #rm -rf ext/sqlite/libsqlite
1449 #rm -rf ext/bcmath/libbcmath
1450 #rm -rf ext/date/lib
1451 #rm -rf ext/dba/libcdb
1452 #rm -rf ext/dba/libflatfile
1453 #rm -rf ext/dba/libinifile
1454 #rm -rf ext/gd/libgd
1455 #rm -rf ext/mbstring/libmbfl
1456 #rm -rf ext/mbstring/oniguruma
1457 rm -rf ext/pcre/pcrelib
1458 rm -rf ext/pdo_sqlite/sqlite
1459 #rm -rf ext/soap/interop
1460 rm -rf ext/xmlrpc/libxmlrpc
1461
1462 %build
1463 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1464         echo "Set %%define php_api_version to $API and rerun."
1465         exit 1
1466 fi
1467
1468 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1469         echo "Set %%define zend_module_api to $API and rerun."
1470         exit 1
1471 fi
1472
1473 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1474         echo "Set %%define zend_extension_api to $API and rerun."
1475         exit 1
1476 fi
1477
1478 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1479 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1480         rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1481         %{__libtoolize}
1482         %{__aclocal}
1483         ./buildconf --force
1484         touch _built-conf
1485 fi
1486 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1487
1488 sapis="
1489 %if %{with fcgi}
1490 fcgi
1491 %endif
1492 cgi cli
1493 %if %{with apache1}
1494 apxs1
1495 %endif
1496 %if %{with apache2}
1497 apxs2
1498 %endif
1499 "
1500 for sapi in $sapis; do
1501         [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1502
1503         %configure \
1504         `
1505         case $sapi in
1506         cgi)
1507                 echo --enable-discard-path --enable-force-cgi-redirect
1508         ;;
1509         cli)
1510                 echo --disable-cgi
1511         ;;
1512         fcgi)
1513                 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1514         ;;
1515         apxs1)
1516                 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1517                 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1518         ;;
1519         apxs2)
1520                 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1521                 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1522         ;;
1523         esac
1524         ` \
1525 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1526         --cache-file=config.cache \
1527 %endif
1528         --with-libdir=%{_lib} \
1529         --with-config-file-path=%{_sysconfdir} \
1530         --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1531         --with-exec-dir=%{_bindir} \
1532         --%{!?debug:dis}%{?debug:en}able-debug \
1533         %{?with_zts:--enable-maintainer-zts} \
1534         --enable-inline-optimization \
1535         --enable-memory-limit \
1536         --enable-bcmath=shared \
1537         --enable-calendar=shared \
1538         --enable-ctype=shared \
1539         --enable-dba=shared \
1540         --with-inifile \
1541         --with-flatfile \
1542         --enable-dom=shared \
1543         --enable-exif=shared \
1544         --enable-ftp=shared \
1545         --enable-gd-native-ttf \
1546         --enable-gd-jus-conf \
1547         --enable-libxml \
1548         --enable-magic-quotes \
1549         --enable-mbstring=shared,all \
1550         --enable-mbregex \
1551         --enable-pcntl=shared \
1552         --enable-pdo=shared \
1553 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
1554         --with-pdo-dblib=shared \
1555 %endif
1556 %if %{with interbase} && %{without interbase_inst}
1557         --with-pdo-firebird=shared \
1558 %endif
1559         --with-pdo-mysql=shared \
1560         %{?with_oci8:--with-pdo-oci=shared} \
1561         %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \
1562         %{?with_pgsql:--with-pdo-pgsql=shared} \
1563         %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \
1564         --enable-posix=shared \
1565         --enable-reflection \
1566         --enable-session \
1567         --enable-shared \
1568         --enable-shmop=shared \
1569         --enable-simplexml \
1570         --enable-sysvmsg=shared \
1571         --enable-sysvsem=shared \
1572         --enable-sysvshm=shared \
1573         --enable-track-vars \
1574         --enable-trans-sid \
1575         --enable-safe-mode \
1576         --enable-soap=shared \
1577         --enable-sockets=shared \
1578         --enable-tokenizer=shared \
1579         --enable-ucd-snmp-hack \
1580         %{?with_wddx:--enable-wddx=shared} \
1581         --enable-xml=shared \
1582         --enable-xmlreader=shared \
1583         --with-bz2=shared \
1584         %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1585         %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1586         --enable-dbase=shared \
1587 %if %{with xmlrpc}
1588         --with-expat-dir=shared,/usr \
1589 %else
1590         --without-expat-dir \
1591 %endif
1592         %{?with_fdf:--with-fdftk=shared} \
1593         --with-iconv=shared \
1594         --with-freetype-dir=shared \
1595         --with-gettext=shared \
1596         --with-gd=shared,/usr \
1597         --with-gdbm \
1598         --with-gmp=shared \
1599         %{?with_imap:--with-imap=shared --with-imap-ssl} \
1600         %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1601         --with-jpeg-dir=/usr \
1602         %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \
1603         --with-mcrypt=shared \
1604         %{?with_mhash:--with-mhash=shared} \
1605         %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \
1606         %{?with_ming:--with-ming=shared} \
1607         %{?with_mm:--with-mm} \
1608         %{?with_mssql:--with-mssql=shared} \
1609         --with-mysql=shared,/usr \
1610         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1611         %{?with_mysqli:--with-mysqli=shared} \
1612         --with-ncurses=shared \
1613         %{?with_oci8:--with-oci8=shared} \
1614         %{?with_openssl:--with-openssl=shared} \
1615         --with-kerberos \
1616         %{!?with_pcre:--without-pcre-regex --disable-filter}%{?with_pcre:--with-pcre-regex=/usr} \
1617         --with-pear=%{php_pear_dir} \
1618         %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1619         --with-png-dir=/usr \
1620         %{?with_pspell:--with-pspell=shared} \
1621         --with-readline=shared \
1622         %{?with_recode:--with-recode=shared} \
1623         --with-regex=php \
1624         --without-sablot-js \
1625         %{?with_snmp:--with-snmp=shared} \
1626         %{?with_sybase:--with-sybase=shared,/usr} \
1627         %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1628         %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \
1629         --with-t1lib=shared \
1630         %{?with_tidy:--with-tidy=shared} \
1631         --with-tiff-dir=/usr \
1632         %{?with_odbc:--with-unixODBC=shared,/usr} \
1633         %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1634         --with-xsl=shared \
1635         --with-zlib=shared \
1636         --with-zlib-dir=shared,/usr \
1637         --enable-zip=shared,/usr \
1638
1639         cp -f Makefile Makefile.$sapi
1640         cp -f main/php_config.h php_config.h.$sapi
1641 done
1642
1643 # must make this first, so modules can link against it.
1644 %{__make} libphp_common.la
1645 %{__make} build-modules
1646
1647 %if %{with apache1}
1648 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1649 %endif
1650
1651 %if %{with apache2}
1652 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1653 %endif
1654
1655 # FCGI
1656 %if %{with fcgi}
1657 cp -af php_config.h.fcgi main/php_config.h
1658 %{__make} sapi/cgi/php -f Makefile.fcgi
1659 cp -r sapi/cgi sapi/fcgi
1660 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1661 %endif
1662
1663 # CGI
1664 cp -af php_config.h.cgi main/php_config.h
1665 %{__make} sapi/cgi/php -f Makefile.cgi
1666
1667 # CLI
1668 cp -af php_config.h.cli main/php_config.h
1669 %{__make} sapi/cli/php -f Makefile.cli
1670
1671 %install
1672 rm -rf $RPM_BUILD_ROOT
1673 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1674         $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1675         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1676         $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \
1677         $RPM_BUILD_ROOT%{_mandir}/man1 \
1678
1679 # install the apache modules' files
1680 %{__make} install-headers install-build install-modules install-programs \
1681         INSTALL_ROOT=$RPM_BUILD_ROOT
1682
1683 # install apache1 DSO module
1684 %if %{with apache1}
1685 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1
1686 %endif
1687
1688 # install apache2 DSO module
1689 %if %{with apache2}
1690 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache
1691 %endif
1692
1693 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1694 # fix install paths, avoid evil rpaths
1695 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1696 # better solution?
1697 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1698
1699 # install CGI
1700 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1701
1702 # install FCGI
1703 %if %{with fcgi}
1704 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1705 %endif
1706
1707 # install CLI
1708 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1709 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1710 echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1
1711
1712 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1713
1714 sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1715 %if %{with fcgi}
1716 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1717 %endif
1718 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1719 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1720
1721 %if %{with apache1}
1722 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1723 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1724 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1725 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1726 %endif
1727
1728 %if %{with apache2}
1729 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1730 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1731 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1732 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1733 %endif
1734
1735 cp -f Zend/LICENSE{,.Zend}
1736
1737 # Generate stub .ini files for each subpackage
1738 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1739 for so in modules/*.so; do
1740         mod=$(basename $so .so)
1741         conf="%{_sysconfdir}/conf.d/${mod}.ini"
1742         # xml needs to be loaded before wddx
1743         [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_${mod}.ini"
1744         cat > $RPM_BUILD_ROOT${conf} <<EOF
1745 ; Enable ${mod} extension module
1746 extension=${mod}.so
1747 EOF
1748 done
1749
1750 # per SAPI ini directories
1751 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1752
1753 # for CLI SAPI only
1754 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1755
1756 # use system automake and {lib,sh}tool
1757 ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1758 ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1759 ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1760 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1761
1762 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1763 # isn't installed by install-headers make target, we do it manually here.
1764 # this header file is required by e.g. filter PECL extension
1765 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1766
1767 %clean
1768 rm -rf $RPM_BUILD_ROOT
1769
1770 %post
1771 if [ "$1" = "1" ]; then
1772 %if %{with apache1}
1773         %service -q apache restart
1774 %endif
1775 %if %{with apache2}
1776         %service -q httpd restart
1777 %endif
1778 fi
1779
1780 %postun
1781 if [ "$1" = "0" ]; then
1782 %if %{with apache1}
1783         %service -q apache restart
1784 %endif
1785 %if %{with apache2}
1786         %service -q httpd restart
1787 %endif
1788 fi
1789
1790 %post -n apache1-mod_php
1791 if [ "$1" = "1" ]; then
1792         %service -q apache restart
1793 fi
1794
1795 %postun -n apache1-mod_php
1796 if [ "$1" = "0" ]; then
1797         %service -q apache restart
1798 fi
1799
1800 %post -n apache-mod_php
1801 if [ "$1" = "1" ]; then
1802         %service -q httpd restart
1803 fi
1804
1805 %postun -n apache-mod_php
1806 if [ "$1" = "0" ]; then
1807         %service -q httpd restart
1808 fi
1809
1810 # so tired of typing... so decided to create macros
1811 # macro called at extension post scriptlet
1812 %define extension_post \
1813 if [ "$1" = "1" ]; then \
1814         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1815         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1816 fi
1817
1818 # macro called at extension postun scriptlet
1819 %define extension_postun \
1820 if [ "$1" = "0" ]; then \
1821         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1822         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1823 fi
1824
1825 %post   common -p /sbin/ldconfig
1826 %postun common -p /sbin/ldconfig
1827
1828 %posttrans common
1829 # minimizing apache restarts logics. we restart webserver:
1830 #
1831 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1832 # 2. first install of extension (post: $1 = 1)
1833 # 2. uninstall of extension (postun: $1 == 0)
1834 #
1835 # the strict internal deps between extensions (and apache modules) and
1836 # common package are very important for all this to work.
1837
1838 # restart webserver at the end of transaction
1839 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1840 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1841
1842 %if %{with apache1}
1843 %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11
1844 sed -i -e '
1845         /^AddType application\/x-httpd-php \.php/s,^,#,
1846         /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d
1847 ' /etc/apache/apache.conf
1848 %service -q apache restart
1849 %endif
1850
1851 %if %{with apache2}
1852 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1
1853 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1854 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1855         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1856         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1857 fi
1858 %endif
1859
1860 %post bcmath
1861 %extension_post
1862
1863 %postun bcmath
1864 %extension_postun
1865
1866 %post bzip2
1867 %extension_post
1868
1869 %postun bzip2
1870 %extension_postun
1871
1872 %post calendar
1873 %extension_post
1874
1875 %postun calendar
1876 %extension_postun
1877
1878 %post ctype
1879 %extension_post
1880
1881 %postun ctype
1882 %extension_postun
1883
1884 %post curl
1885 %extension_post
1886
1887 %postun curl
1888 %extension_postun
1889
1890 %post dba
1891 %extension_post
1892
1893 %postun dba
1894 %extension_postun
1895
1896 %post dbase
1897 %extension_post
1898
1899 %postun dbase
1900 %extension_postun
1901
1902 %post dom
1903 %extension_post
1904
1905 %postun dom
1906 %extension_postun
1907
1908 %post exif
1909 %extension_post
1910
1911 %postun exif
1912 %extension_postun
1913
1914 %post fdf
1915 %extension_post
1916
1917 %postun fdf
1918 %extension_postun
1919
1920 %post ftp
1921 %extension_post
1922
1923 %postun ftp
1924 %extension_postun
1925
1926 %post gd
1927 %extension_post
1928
1929 %postun gd
1930 %extension_postun
1931
1932 %post gettext
1933 %extension_post
1934
1935 %postun gettext
1936 %extension_postun
1937
1938 %post gmp
1939 %extension_post
1940
1941 %postun gmp
1942 %extension_postun
1943
1944 %post iconv
1945 %extension_post
1946
1947 %postun iconv
1948 %extension_postun
1949
1950 %post imap
1951 %extension_post
1952
1953 %postun imap
1954 %extension_postun
1955
1956 %post interbase
1957 %extension_post
1958
1959 %postun interbase
1960 %extension_postun
1961
1962 %post ldap
1963 %extension_post
1964
1965 %postun ldap
1966 %extension_postun
1967
1968 %post mbstring
1969 %extension_post
1970
1971 %postun mbstring
1972 %extension_postun
1973
1974 %post mcrypt
1975 %extension_post
1976
1977 %postun mcrypt
1978 %extension_postun
1979
1980 %post mhash
1981 %extension_post
1982
1983 %postun mhash
1984 %extension_postun
1985
1986 %post mime_magic
1987 %extension_post
1988
1989 %postun mime_magic
1990 %extension_postun
1991
1992 %post ming
1993 %extension_post
1994
1995 %postun ming
1996 %extension_postun
1997
1998 %post mssql
1999 %extension_post
2000
2001 %postun mssql
2002 %extension_postun
2003
2004 %post mysql
2005 %extension_post
2006
2007 %postun mysql
2008 %extension_postun
2009
2010 %post mysqli
2011 %extension_post
2012
2013 %postun mysqli
2014 %extension_postun
2015
2016 %post oci8
2017 %extension_post
2018
2019 %postun oci8
2020 %extension_postun
2021
2022 %post odbc
2023 %extension_post
2024
2025 %postun odbc
2026 %extension_postun
2027
2028 %post openssl
2029 %extension_post
2030
2031 %postun openssl
2032 %extension_postun
2033
2034 %post pdo-dblib
2035 %extension_post
2036
2037 %postun pdo-dblib
2038 %extension_postun
2039
2040 %post pdo-firebird
2041 %extension_post
2042
2043 %postun pdo-firebird
2044 %extension_postun
2045
2046 %post pdo-mysql
2047 %extension_post
2048
2049 %postun pdo-mysql
2050 %extension_postun
2051
2052 %post pdo-odbc
2053 %extension_post
2054
2055 %postun pdo-odbc
2056 %extension_postun
2057
2058 %post pdo-pgsql
2059 %extension_post
2060
2061 %postun pdo-pgsql
2062 %extension_postun
2063
2064 %post pdo-sqlite
2065 %extension_post
2066
2067 %postun pdo-sqlite
2068 %extension_postun
2069
2070 %post pgsql
2071 %extension_post
2072
2073 %postun pgsql
2074 %extension_postun
2075
2076 %post posix
2077 %extension_post
2078
2079 %postun posix
2080 %extension_postun
2081
2082 %post pspell
2083 %extension_post
2084
2085 %postun pspell
2086 %extension_postun
2087
2088 %post recode
2089 %extension_post
2090
2091 %postun recode
2092 %extension_postun
2093
2094 %post shmop
2095 %extension_post
2096
2097 %postun shmop
2098 %extension_postun
2099
2100 %post snmp
2101 %extension_post
2102
2103 %postun snmp
2104 %extension_postun
2105
2106 %post soap
2107 %extension_post
2108
2109 %postun soap
2110 %extension_postun
2111
2112 %post sockets
2113 %extension_post
2114
2115 %postun sockets
2116 %extension_postun
2117
2118 %post sqlite
2119 %extension_post
2120
2121 %postun sqlite
2122 %extension_postun
2123
2124 %post sybase
2125 %extension_post
2126
2127 %postun sybase
2128 %extension_postun
2129
2130 %post sybase-ct
2131 %extension_post
2132
2133 %postun sybase-ct
2134 %extension_postun
2135
2136 %post sysvmsg
2137 %extension_post
2138
2139 %postun sysvmsg
2140 %extension_postun
2141
2142 %post sysvsem
2143 %extension_post
2144
2145 %postun sysvsem
2146 %extension_postun
2147
2148 %post sysvshm
2149 %extension_post
2150
2151 %postun sysvshm
2152 %extension_postun
2153
2154 %post tidy
2155 %extension_post
2156
2157 %postun tidy
2158 %extension_postun
2159
2160 %post tokenizer
2161 %extension_post
2162
2163 %postun tokenizer
2164 %extension_postun
2165
2166 %post wddx
2167 %extension_post
2168
2169 %postun wddx
2170 %extension_postun
2171
2172 %post xml
2173 %extension_post
2174
2175 %postun xml
2176 %extension_postun
2177
2178 %post xmlreader
2179 %extension_post
2180
2181 %postun xmlreader
2182 %extension_postun
2183
2184 %post xmlrpc
2185 %extension_post
2186
2187 %postun xmlrpc
2188 %extension_postun
2189
2190 %post xsl
2191 %extension_post
2192
2193 %postun xsl
2194 %extension_postun
2195
2196 %post zip
2197 %extension_post
2198
2199 %postun zip
2200 %extension_postun
2201
2202 %post zlib
2203 %extension_post
2204
2205 %postun zlib
2206 %extension_postun
2207
2208 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2209 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2210
2211 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2212 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{_sysconfdir}/php.ini
2213
2214 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2215 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2216
2217 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2218 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2219
2220 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2221 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2222
2223 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2224 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2225
2226 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2227 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2228
2229 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2230 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{_sysconfdir}/php.ini
2231
2232 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2233 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2234
2235 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2236 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2237
2238 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2239 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2240
2241 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2242 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2243
2244 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2245 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2246
2247 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2248 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2249
2250 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2251 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2252
2253 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2254 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2255
2256 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2257 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2258
2259 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2260 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2261
2262 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2263 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2264
2265 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2266 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2267
2268 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2269 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2270
2271 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2272 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2273
2274 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2275 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2276
2277 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2278 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2279
2280 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2281 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2282
2283 %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5
2284 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2285         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2286 fi
2287 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2288         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2289 fi
2290
2291 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2292 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{_sysconfdir}/php.ini
2293
2294 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2295 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2296
2297 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2298 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2299
2300 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2301 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2302
2303 %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5
2304 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2305         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2306 fi
2307 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2308         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2309 fi
2310
2311 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2312 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2313
2314 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2315 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2316
2317 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2318 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2319
2320 %triggerun readline -- %{name}-readline < 4:5.1.2-9.5
2321 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2322         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2323 fi
2324 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2325         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2326 fi
2327
2328 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2329 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2330
2331 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2332 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2333
2334 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2335 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2336
2337 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2338 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{_sysconfdir}/php.ini
2339
2340 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2341 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2342
2343 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2344 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{_sysconfdir}/php.ini
2345
2346 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2347 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2348
2349 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2350 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{_sysconfdir}/php.ini
2351
2352 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2353 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2354
2355 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2356 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2357
2358 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2359 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2360
2361 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2362 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{_sysconfdir}/php.ini
2363
2364 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2365 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2366
2367 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2368 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2369
2370 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2371 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2372
2373 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2374 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{_sysconfdir}/php.ini
2375
2376 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2377 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2378
2379 %if %{with apache1}
2380 %files -n apache1-mod_php
2381 %defattr(644,root,root,755)
2382 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf
2383 %dir %{_sysconfdir}/apache.d
2384 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2385 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2386 /home/services/apache/icons/*
2387 %endif
2388
2389 %if %{with apache2}
2390 %files -n apache-mod_php
2391 %defattr(644,root,root,755)
2392 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf
2393 %dir %{_sysconfdir}/apache2handler.d
2394 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2395 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2396 /home/services/httpd/icons/*
2397 %endif
2398
2399 %if %{with fcgi}
2400 %files fcgi
2401 %defattr(644,root,root,755)
2402 %doc sapi/cgi/README.FastCGI
2403 %dir %{_sysconfdir}/cgi-fcgi.d
2404 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2405 %attr(755,root,root) %{_bindir}/php.fcgi
2406 %endif
2407
2408 %files cgi
2409 %defattr(644,root,root,755)
2410 %dir %{_sysconfdir}/cgi.d
2411 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2412 %attr(755,root,root) %{_bindir}/php.cgi
2413
2414 %files cli
2415 %defattr(644,root,root,755)
2416 %dir %{_sysconfdir}/cli.d
2417 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2418 %attr(755,root,root) %{_bindir}/php.cli
2419 %{_mandir}/man1/php.1*
2420 %{_mandir}/man1/php.cli.1*
2421
2422 %files program
2423 %defattr(644,root,root,755)
2424 %attr(755,root,root) %{_bindir}/php
2425
2426 %files common
2427 %defattr(644,root,root,755)
2428 %doc php.ini-*
2429 %doc CREDITS Zend/ZEND_CHANGES
2430 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2431
2432 %dir %{_sysconfdir}
2433 %dir %{_sysconfdir}/conf.d
2434 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2435 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2436 %dir %{extensionsdir}
2437
2438 %doc ext/session/mod_files.sh
2439
2440 %files devel
2441 %defattr(644,root,root,755)
2442 %doc README.UNIX-BUILD-SYSTEM
2443 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2444 %doc CODING_STANDARDS
2445 %attr(755,root,root) %{_bindir}/phpize
2446 %attr(755,root,root) %{_bindir}/php-config
2447 %attr(755,root,root) %{_libdir}/libphp_common.so
2448 %{_libdir}/libphp_common.la
2449 %{_includedir}/php
2450 %{_libdir}/php/build
2451 %{_mandir}/man1/*
2452
2453 %files bcmath
2454 %defattr(644,root,root,755)
2455 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2456 %attr(755,root,root) %{extensionsdir}/bcmath.so
2457
2458 %files bzip2
2459 %defattr(644,root,root,755)
2460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2461 %attr(755,root,root) %{extensionsdir}/bz2.so
2462
2463 %files calendar
2464 %defattr(644,root,root,755)
2465 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2466 %attr(755,root,root) %{extensionsdir}/calendar.so
2467
2468 %files ctype
2469 %defattr(644,root,root,755)
2470 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2471 %attr(755,root,root) %{extensionsdir}/ctype.so
2472
2473 %if %{with curl}
2474 %files curl
2475 %defattr(644,root,root,755)
2476 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2477 %attr(755,root,root) %{extensionsdir}/curl.so
2478 %endif
2479
2480 %files dba
2481 %defattr(644,root,root,755)
2482 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2483 %attr(755,root,root) %{extensionsdir}/dba.so
2484
2485 %files dbase
2486 %defattr(644,root,root,755)
2487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2488 %attr(755,root,root) %{extensionsdir}/dbase.so
2489
2490 %files dom
2491 %defattr(644,root,root,755)
2492 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dom.ini
2493 %attr(755,root,root) %{extensionsdir}/dom.so
2494
2495 %if %{with fdf}
2496 %files fdf
2497 %defattr(644,root,root,755)
2498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2499 %attr(755,root,root) %{extensionsdir}/fdf.so
2500 %endif
2501
2502 %files exif
2503 %defattr(644,root,root,755)
2504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2505 %attr(755,root,root) %{extensionsdir}/exif.so
2506
2507 %files ftp
2508 %defattr(644,root,root,755)
2509 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2510 %attr(755,root,root) %{extensionsdir}/ftp.so
2511
2512 %files gd
2513 %defattr(644,root,root,755)
2514 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2515 %attr(755,root,root) %{extensionsdir}/gd.so
2516
2517 %files gettext
2518 %defattr(644,root,root,755)
2519 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2520 %attr(755,root,root) %{extensionsdir}/gettext.so
2521
2522 %files gmp
2523 %defattr(644,root,root,755)
2524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2525 %attr(755,root,root) %{extensionsdir}/gmp.so
2526
2527 %files iconv
2528 %defattr(644,root,root,755)
2529 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2530 %attr(755,root,root) %{extensionsdir}/iconv.so
2531
2532 %if %{with imap}
2533 %files imap
2534 %defattr(644,root,root,755)
2535 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2536 %attr(755,root,root) %{extensionsdir}/imap.so
2537 %endif
2538
2539 %if %{with interbase}
2540 %files interbase
2541 %defattr(644,root,root,755)
2542 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2543 %attr(755,root,root) %{extensionsdir}/interbase.so
2544 %endif
2545
2546 %if %{with ldap}
2547 %files ldap
2548 %defattr(644,root,root,755)
2549 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2550 %attr(755,root,root) %{extensionsdir}/ldap.so
2551 %endif
2552
2553 %files mbstring
2554 %defattr(644,root,root,755)
2555 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2556 %attr(755,root,root) %{extensionsdir}/mbstring.so
2557
2558 %files mcrypt
2559 %defattr(644,root,root,755)
2560 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2561 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2562
2563 %if %{with mhash}
2564 %files mhash
2565 %defattr(644,root,root,755)
2566 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2567 %attr(755,root,root) %{extensionsdir}/mhash.so
2568 %endif
2569
2570 %if %{with mime_magic}
2571 %files mime_magic
2572 %defattr(644,root,root,755)
2573 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2574 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2575 %endif
2576
2577 %if %{with ming}
2578 %files ming
2579 %defattr(644,root,root,755)
2580 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2581 %attr(755,root,root) %{extensionsdir}/ming.so
2582 %endif
2583
2584 %if %{with mssql}
2585 %files mssql
2586 %defattr(644,root,root,755)
2587 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2588 %attr(755,root,root) %{extensionsdir}/mssql.so
2589 %endif
2590
2591 %files mysql
2592 %defattr(644,root,root,755)
2593 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2594 %attr(755,root,root) %{extensionsdir}/mysql.so
2595
2596 %if %{with mysqli}
2597 %files mysqli
2598 %defattr(644,root,root,755)
2599 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysqli.ini
2600 %attr(755,root,root) %{extensionsdir}/mysqli.so
2601 %endif
2602
2603 %files ncurses
2604 %defattr(644,root,root,755)
2605 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2606 %attr(755,root,root) %{extensionsdir}/ncurses.so
2607
2608 %if %{with oci8}
2609 %files oci8
2610 %defattr(644,root,root,755)
2611 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2612 %attr(755,root,root) %{extensionsdir}/oci8.so
2613 %endif
2614
2615 %if %{with odbc}
2616 %files odbc
2617 %defattr(644,root,root,755)
2618 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2619 %attr(755,root,root) %{extensionsdir}/odbc.so
2620 %endif
2621
2622 %if %{with openssl}
2623 %files openssl
2624 %defattr(644,root,root,755)
2625 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/openssl.ini
2626 %attr(755,root,root) %{extensionsdir}/openssl.so
2627 %endif
2628
2629 %files pcntl
2630 %defattr(644,root,root,755)
2631 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2632 %attr(755,root,root) %{extensionsdir}/pcntl.so
2633
2634 %files pdo
2635 %defattr(644,root,root,755)
2636 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo.ini
2637 %attr(755,root,root) %{extensionsdir}/pdo.so
2638
2639 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
2640 %files pdo-dblib
2641 %defattr(644,root,root,755)
2642 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_dblib.ini
2643 %attr(755,root,root) %{extensionsdir}/pdo_dblib.so
2644 %endif
2645
2646 %if %{with interbase} && %{without interbase_inst}
2647 %files pdo-firebird
2648 %defattr(644,root,root,755)
2649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_firebird.ini
2650 %attr(755,root,root) %{extensionsdir}/pdo_firebird.so
2651 %endif
2652
2653 %files pdo-mysql
2654 %defattr(644,root,root,755)
2655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_mysql.ini
2656 %attr(755,root,root) %{extensionsdir}/pdo_mysql.so
2657
2658 %if %{with oci8}
2659 %files pdo-oci
2660 %defattr(644,root,root,755)
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_oci.ini
2662 %attr(755,root,root) %{extensionsdir}/pdo_oci.so
2663 %endif
2664
2665 %if %{with odbc}
2666 %files pdo-odbc
2667 %defattr(644,root,root,755)
2668 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_odbc.ini
2669 %attr(755,root,root) %{extensionsdir}/pdo_odbc.so
2670 %endif
2671
2672 %if %{with pgsql}
2673 %files pdo-pgsql
2674 %defattr(644,root,root,755)
2675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_pgsql.ini
2676 %attr(755,root,root) %{extensionsdir}/pdo_pgsql.so
2677 %endif
2678
2679 %if %{with sqlite}
2680 %files pdo-sqlite
2681 %defattr(644,root,root,755)
2682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdo_sqlite.ini
2683 %attr(755,root,root) %{extensionsdir}/pdo_sqlite.so
2684 %endif
2685
2686 %if %{with pgsql}
2687 %files pgsql
2688 %defattr(644,root,root,755)
2689 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2690 %attr(755,root,root) %{extensionsdir}/pgsql.so
2691 %endif
2692
2693 %files posix
2694 %defattr(644,root,root,755)
2695 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2696 %attr(755,root,root) %{extensionsdir}/posix.so
2697
2698 %if %{with pspell}
2699 %files pspell
2700 %defattr(644,root,root,755)
2701 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2702 %attr(755,root,root) %{extensionsdir}/pspell.so
2703 %endif
2704
2705 %files readline
2706 %defattr(644,root,root,755)
2707 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
2708 %attr(755,root,root) %{extensionsdir}/readline.so
2709
2710 %if %{with recode}
2711 %files recode
2712 %defattr(644,root,root,755)
2713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
2714 %attr(755,root,root) %{extensionsdir}/recode.so
2715 %endif
2716
2717 %if 0
2718 # simplexml is needed by spl, and spl can't be built shared as of now (5.1.0RC3)
2719 %files simplexml
2720 %defattr(644,root,root,755)
2721 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/simplexml.ini
2722 %attr(755,root,root) %{extensionsdir}/simplexml.so
2723 %endif
2724
2725 %files shmop
2726 %defattr(644,root,root,755)
2727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
2728 %attr(755,root,root) %{extensionsdir}/shmop.so
2729
2730 %if %{with snmp}
2731 %files snmp
2732 %defattr(644,root,root,755)
2733 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
2734 %attr(755,root,root) %{extensionsdir}/snmp.so
2735 %endif
2736
2737 %files soap
2738 %defattr(644,root,root,755)
2739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/soap.ini
2740 %attr(755,root,root) %{extensionsdir}/soap.so
2741
2742 %files sockets
2743 %defattr(644,root,root,755)
2744 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
2745 %attr(755,root,root) %{extensionsdir}/sockets.so
2746
2747 %if %{with sqlite}
2748 %files sqlite
2749 %defattr(644,root,root,755)
2750 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sqlite.ini
2751 %attr(755,root,root) %{extensionsdir}/sqlite.so
2752 %endif
2753
2754 %if %{with sybase}
2755 %files sybase
2756 %defattr(644,root,root,755)
2757 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
2758 %attr(755,root,root) %{extensionsdir}/sybase.so
2759 %endif
2760
2761 %if %{with sybase_ct}
2762 %files sybase-ct
2763 %defattr(644,root,root,755)
2764 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
2765 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2766 %endif
2767
2768 %files sysvmsg
2769 %defattr(644,root,root,755)
2770 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
2771 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2772
2773 %files sysvsem
2774 %defattr(644,root,root,755)
2775 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
2776 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2777
2778 %files sysvshm
2779 %defattr(644,root,root,755)
2780 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
2781 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2782
2783 %if %{with tidy}
2784 %files tidy
2785 %defattr(644,root,root,755)
2786 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tidy.ini
2787 %attr(755,root,root) %{extensionsdir}/tidy.so
2788 %endif
2789
2790 %files tokenizer
2791 %defattr(644,root,root,755)
2792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
2793 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2794
2795 %if %{with wddx}
2796 %files wddx
2797 %defattr(644,root,root,755)
2798 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
2799 %attr(755,root,root) %{extensionsdir}/wddx.so
2800 %endif
2801
2802 %files xml
2803 %defattr(644,root,root,755)
2804 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
2805 %attr(755,root,root) %{extensionsdir}/xml.so
2806
2807 %files xmlreader
2808 %defattr(644,root,root,755)
2809 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlreader.ini
2810 %attr(755,root,root) %{extensionsdir}/xmlreader.so
2811
2812 %if %{with xmlrpc}
2813 %files xmlrpc
2814 %defattr(644,root,root,755)
2815 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
2816 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2817 %endif
2818
2819 %files xsl
2820 %defattr(644,root,root,755)
2821 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xsl.ini
2822 %attr(755,root,root) %{extensionsdir}/xsl.so
2823
2824 %files zip
2825 %defattr(644,root,root,755)
2826 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
2827 %attr(755,root,root) %{extensionsdir}/zip.so
2828
2829 %files zlib
2830 %defattr(644,root,root,755)
2831 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
2832 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.235881 seconds and 4 git commands to generate.