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