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