]> git.pld-linux.org Git - packages/php.git/blob - php.spec
- rel 9
[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:        9%{?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 tokenizer
1348 Summary:        tokenizer extension module for PHP
1349 Group:          Libraries
1350 Requires(post,preun):   %{name}-common = %{epoch}:%{version}-%{release}
1351 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1352
1353 %description tokenizer
1354 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1355 support.
1356
1357 %package wddx
1358 Summary:        wddx extension module for PHP
1359 Summary(pl):    Modu³ wddx dla PHP
1360 Group:          Libraries
1361 PreReq:         %{name}-session = %{epoch}:%{version}-%{release}
1362 PreReq:         %{name}-xml = %{epoch}:%{version}-%{release}
1363 Requires(post,preun):   %{name}-common = %{epoch}:%{version}-%{release}
1364 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1365
1366 %description wddx
1367 This is a dynamic shared object (DSO) for PHP that will add wddx
1368 support.
1369
1370 %description wddx -l pl
1371 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1372
1373 %package xml
1374 Summary:        XML extension module for PHP
1375 Summary(pl):    Modu³ XML dla PHP
1376 Group:          Libraries
1377 Requires(post,preun):   %{name}-common = %{epoch}:%{version}-%{release}
1378 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1379
1380 %description xml
1381 This is a dynamic shared object (DSO) for PHP that will add XML
1382 support. This extension lets you create XML parsers and then define
1383 handlers for different XML events.
1384
1385 %description xml -l pl
1386 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1387 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1388 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1389
1390 %package xmlrpc
1391 Summary:        xmlrpc extension module for PHP
1392 Summary(pl):    Modu³ xmlrpc dla PHP
1393 Group:          Libraries
1394 Requires(post,preun):   %{name}-common = %{epoch}:%{version}-%{release}
1395 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1396
1397 %description xmlrpc
1398 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1399 support.
1400
1401 Warning: this is an experimental module.
1402
1403 %description xmlrpc -l pl
1404 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1405
1406 Uwaga: to jest modu³ eksperymentalny.
1407
1408 %package xsl
1409 Summary:        xsl extension module for PHP
1410 Summary(pl):    Modu³ xsl dla PHP
1411 Group:          Libraries
1412 Requires(post,preun):   %{name}-common = %{epoch}:%{version}-%{release}
1413 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1414 Requires:       libxslt >= 1.0.18
1415 # Maybe it would be nice to add it here?
1416 #Provides:      php-xslt
1417 # actually not true, functionality is similar, but API differs
1418 Obsoletes:      php-xslt <= 3:4.3.8-1
1419
1420 %description xsl
1421 This is a dynamic shared object (DSO) for PHP that will add new XSL
1422 support (using libxslt).
1423
1424 %description xsl -l pl
1425 Modu³ PHP dodaj±cy now± obs³ugê XSLT (przy u¿yciu libxslt).
1426
1427 %package yp
1428 Summary:        NIS (yp) extension module for PHP
1429 Summary(pl):    Modu³ NIS (yp) dla PHP
1430 Group:          Libraries
1431 Requires(post,preun):   %{name}-common = %{epoch}:%{version}-%{release}
1432 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1433
1434 %description yp
1435 This is a dynamic shared object (DSO) for PHP that will add NIS
1436 (Yellow Pages) support.
1437
1438 %description yp -l pl
1439 Modu³ PHP dodaj±cy wsparcie dla NIS (Yellow Pages).
1440
1441 %package zlib
1442 Summary:        Zlib extension module for PHP
1443 Summary(pl):    Modu³ zlib dla PHP
1444 Group:          Libraries
1445 Requires(post,preun):   %{name}-common = %{epoch}:%{version}-%{release}
1446 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1447
1448 %description zlib
1449 This is a dynamic shared object (DSO) for PHP that will add zlib
1450 compression support to PHP.
1451
1452 %description zlib -l pl
1453 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1454
1455 %prep
1456 %setup -q
1457 # this patch is broken by design, breaks --enable-versioning for example
1458 # update: --enable-version is broken by itself, it disables dynamic modules.
1459 %patch0 -p1
1460 %patch1 -p1
1461 %patch2 -p1
1462 %patch3 -p1
1463 %patch4 -p1
1464 %patch5 -p1
1465 %patch6 -p1
1466 %patch7 -p1
1467 %patch8 -p1
1468 %patch9 -p1
1469 cp php.ini-dist php.ini
1470 %patch10 -p1
1471 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1472 # conditionally...
1473 %patch11 -p1
1474 %patch12 -p1
1475 %patch13 -p1
1476 %patch14 -p1
1477 %patch15 -p1
1478 %patch16 -p1
1479 %patch17 -p1
1480 %patch18 -p1
1481 %patch19 -p1
1482 %patch20 -p1
1483 %patch21 -p1
1484 %patch28 -p1
1485 %if "%{_lib}" == "lib64"
1486 %patch22 -p1
1487 %endif
1488 %patch23 -p1
1489 %patch24 -p1
1490 %patch25 -p1
1491 %patch26 -p1
1492 %patch27 -p1
1493 %patch29 -p1
1494
1495 %if %{with hardening}
1496 zcat %{SOURCE9} | patch -p1
1497 %endif
1498 %patch30 -p1
1499 %patch31 -p1
1500 %patch32 -p0
1501 %patch33 -p1
1502
1503 # conflict seems to be resolved by recode patches
1504 rm -f ext/recode/config9.m4
1505
1506 # new apr
1507 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1508
1509 %build
1510 if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then
1511         echo "Set %%define php_api_version to $API and rerun."
1512         exit 1
1513 fi
1514
1515 if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then
1516         echo "Set %%define zend_module_api to $API and rerun."
1517         exit 1
1518 fi
1519
1520 if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then
1521         echo "Set %%define zend_module_api to $API and rerun."
1522         exit 1
1523 fi
1524
1525 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1526 %if %{with apache2}
1527 # Apache2 CFLAGS. harmless for other SAPIs.
1528 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --includes) $(%{_bindir}/apu-1-config --includes)"
1529 %endif
1530
1531 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1532 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1533         rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1534         ./buildconf --force
1535         %{__libtoolize}
1536         %{__aclocal}
1537         %{__autoconf}
1538         touch _built-conf
1539 fi
1540 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1541
1542 sapis="
1543 %if %{with fcgi}
1544 fcgi
1545 %endif
1546 cgi cli
1547 %if %{with apache1}
1548 apxs1
1549 %endif
1550 %if %{with apache2}
1551 apxs2
1552 %endif
1553 "
1554 for sapi in $sapis; do
1555         [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1556
1557         %configure \
1558         `
1559         case $sapi in
1560         cgi)
1561                 echo --enable-discard-path --enable-force-cgi-redirect
1562         ;;
1563         cli)
1564                 echo --disable-cgi
1565         ;;
1566         fcgi)
1567                 echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect
1568         ;;
1569         apxs1)
1570                 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1571                 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1572         ;;
1573         apxs2)
1574                 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1575                 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1576         ;;
1577         esac
1578         ` \
1579         --cache-file=config.cache \
1580         --with-config-file-path=%{_sysconfdir} \
1581         --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1582         --with-exec-dir=%{_bindir} \
1583         --%{!?debug:dis}%{?debug:en}able-debug \
1584         --enable-maintainer-zts \
1585         --enable-memory-limit \
1586         --enable-bcmath=shared \
1587         --enable-calendar=shared \
1588         --enable-ctype=shared \
1589         --enable-dba=shared \
1590         --enable-dbx=shared \
1591         --enable-dio=shared \
1592         --enable-dom=shared \
1593         --enable-exif=shared \
1594         --enable-filepro=shared \
1595         --enable-ftp=shared \
1596         --enable-gd-native-ttf \
1597         --enable-gd-jus-conf \
1598         --enable-magic-quotes \
1599         --enable-mbstring=shared,all \
1600         --enable-mbregex \
1601         --enable-pcntl=shared \
1602         --enable-posix=shared \
1603         --enable-session \
1604         --enable-shared \
1605         --enable-shmop=shared \
1606         --enable-sysvmsg=shared \
1607         --enable-sysvsem=shared \
1608         --enable-sysvshm=shared \
1609         --enable-track-vars \
1610         --enable-trans-sid \
1611         --enable-safe-mode \
1612         --enable-soap=shared \
1613         --enable-sockets=shared \
1614         --enable-tokenizer=shared \
1615         --enable-ucd-snmp-hack \
1616         %{?with_wddx:--enable-wddx=shared} \
1617         --enable-xml=shared \
1618         --enable-yp=shared \
1619         --with-bz2=shared \
1620         %{?with_cpdf:--with-cpdflib=shared} \
1621         %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1622         %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1623         --with-dbase=shared \
1624 %if %{with xmlrpc}
1625         --with-expat-dir=shared,/usr \
1626 %else
1627         --without-expat-dir \
1628 %endif
1629         %{?with_fdf:--with-fdftk=shared} \
1630         --with-iconv=shared \
1631         %{?with_fam:--with-fam=shared} \
1632         --with-filepro=shared \
1633         --with-freetype-dir=shared \
1634         --with-gettext=shared \
1635         --with-gd=shared,/usr \
1636         --with-gdbm \
1637         --with-gmp=shared \
1638         %{?with_hwapi:--with-hwapi=shared} \
1639         %{?with_imap:--with-imap=shared --with-imap-ssl} \
1640         %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1641         --with-jpeg-dir=/usr \
1642         %{?with_ldap:--with-ldap=shared} \
1643         --with-mcrypt=shared \
1644         %{?with_mhash:--with-mhash=shared} \
1645         --with-mime-magic=shared,/usr/share/file/magic.mime \
1646         %{?with_ming:--with-ming=shared} \
1647         %{?with_mm:--with-mm} \
1648         %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1649         %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1650         %{?with_mssql:--with-mssql=shared} \
1651         --with-mysql=shared,/usr \
1652         --with-mysql-sock=/var/lib/mysql/mysql.sock \
1653         %{?with_mysqli:--with-mysqli=shared} \
1654         --with-ncurses=shared \
1655         %{?with_oci8:--with-oci8=shared} \
1656         %{?with_openssl:--with-openssl=shared} \
1657         %{?with_oracle:--with-oracle=shared} \
1658         %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1659         --with-pear=%{php_pear_dir} \
1660         %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1661         --with-png-dir=/usr \
1662         %{?with_pspell:--with-pspell=shared} \
1663         --with-readline=shared \
1664         %{?with_recode:--with-recode=shared} \
1665         --with-regex=php \
1666         --without-sablot-js \
1667         %{?with_snmp:--with-snmp=shared} \
1668         %{?with_sybase:--with-sybase=shared,/usr} \
1669         %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1670         %{?with_sqlite:--with-sqlite=shared,/usr} \
1671         --with-t1lib=shared \
1672         %{?with_tidy:--with-tidy=shared} \
1673         --with-tiff-dir=/usr \
1674         %{?with_odbc:--with-unixODBC=shared} \
1675         %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1676         --with-xsl=shared \
1677         --with-zlib=shared \
1678         --with-zlib-dir=shared,/usr
1679
1680         cp -f Makefile Makefile.$sapi
1681
1682         # left for debugging purposes
1683         cp -f main/php_config.h php_config.h.$sapi
1684 done
1685
1686 # for now session_mm doesn't work with shared session module...
1687 # --enable-session=shared
1688 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1689
1690 %{__make} build-modules
1691
1692 %{__make} libphp_common.la
1693 # fix install paths, avoid evil rpaths
1694 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1695
1696 %if %{with apache1}
1697 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1
1698 sed -i -e "
1699 s|^libdir=.*|libdir='%{_libdir}/apache1'|;
1700 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache1 |" sapi/apache/libphp5.la
1701 %endif
1702
1703 %if %{with apache2}
1704 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2
1705 sed -i -e "
1706 s|^libdir=.*|libdir='%{_libdir}/apache'|;
1707 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |" sapi/apache2handler/libphp5.la
1708 %endif
1709
1710 # FCGI
1711 %if %{with fcgi}
1712 cp -af php_config.h.fcgi main/php_config.h
1713 %{__make} sapi/cgi/php -f Makefile.fcgi
1714 cp -r sapi/cgi sapi/fcgi
1715 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1716 %endif
1717
1718 # CGI
1719 cp -af php_config.h.cgi main/php_config.h
1720 %{__make} sapi/cgi/php -f Makefile.cgi
1721
1722 # CLI
1723 cp -af php_config.h.cli main/php_config.h
1724 %{__make} sapi/cli/php -f Makefile.cli
1725
1726 %install
1727 rm -rf $RPM_BUILD_ROOT
1728 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi},%{_phpsharedir}} \
1729         $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1730         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1731         $RPM_BUILD_ROOT/var/run/php \
1732         $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1733         $RPM_BUILD_ROOT%{_mandir}/man1
1734
1735 # install apache1 DSO module
1736 %if %{with apache1}
1737 # TODO: use libtool here
1738 libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1/
1739 %endif
1740
1741 # install apache2 DSO module
1742 %if %{with apache2}
1743 libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache/
1744 %endif
1745
1746 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1747
1748 # install the apache modules' files
1749 make install-headers install-build install-modules install-programs \
1750         INSTALL_ROOT=$RPM_BUILD_ROOT
1751
1752 # as of 5.0.5, phpextdist isn't installed by default
1753 install scripts/dev/phpextdist $RPM_BUILD_ROOT%{_bindir}
1754
1755 # install CGI
1756 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
1757
1758 # install FCGI
1759 %if %{with fcgi}
1760 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi
1761 %endif
1762
1763 # install CLI
1764 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli
1765 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1
1766
1767 # TODO:
1768 # Why make install doesn't install libphp5.so ?
1769 #install libs/libphp5.so $RPM_BUILD_ROOT%{apachelib}
1770
1771 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1772
1773 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1774 %if %{with fcgi}
1775 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1776 %endif
1777 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1778 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1779 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
1780 install %{SOURCE1} .
1781
1782 %if %{with apache1}
1783 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1784 install %{SOURCE4} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf
1785 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1786 rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la
1787 %endif
1788
1789 %if %{with apache2}
1790 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1791 install %{SOURCE4} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1792 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1793 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1794 %endif
1795
1796 cp -f Zend/LICENSE{,.Zend}
1797
1798 # Generate stub .ini files for each subpackage
1799 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1800 for so in modules/*.so; do
1801         mod=$(basename $so .so)
1802         cat > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/${mod}.ini <<EOF
1803 ; Enable ${mod} extension module
1804 extension=${mod}.so
1805 EOF
1806 done
1807
1808 # Not in all SAPI, so don't need the .ini fragments.
1809 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/{ncurses,pcntl,readline}.ini
1810
1811 %clean
1812 rm -rf $RPM_BUILD_ROOT
1813
1814 %if %{with apache1}
1815 %triggerpostun -- %{name} < 4:5.0.4-9.11
1816 %{apxs1} -e -A -n php5 %{_pkglibdir}/libphp5.so 1>&2
1817 %{__perl} -pi -e \
1818         's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1819         /etc/apache/apache.conf
1820 %service -q apache restart
1821 %endif
1822
1823 %post
1824 if [ "$1" = "1" ]; then
1825 %if %{with apache1}
1826         %service -q apache restart
1827 %endif
1828 %if %{with apache2}
1829         %service -q httpd restart
1830 %endif
1831 fi
1832
1833 %postun
1834 if [ "$1" = "0" ]; then
1835 %if %{with apache1}
1836         %service -q apache restart
1837 %endif
1838 %if %{with apache2}
1839         %service -q httpd restart
1840 %endif
1841 fi
1842
1843 %post -n apache1-mod_php
1844 if [ "$1" = "1" ]; then
1845         %service -q apache restart
1846 fi
1847
1848 %postun -n apache1-mod_php
1849 if [ "$1" = "0" ]; then
1850         %service -q apache restart
1851 fi
1852
1853 %post -n apache-mod_php
1854 if [ "$1" = "1" ]; then
1855         %service -q httpd restart
1856 fi
1857
1858 %postun -n apache-mod_php
1859 if [ "$1" = "0" ]; then
1860         %service -q httpd restart
1861 fi
1862
1863 # so tired of typing... so decided to create macros
1864 # macro called at extension post scriptlet
1865 %define extension_post \
1866 if [ "$1" = "1" ]; then \
1867         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1868         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1869 fi
1870
1871 # macro called at extension postun scriptlet
1872 %define extension_postun \
1873 if [ "$1" = "0" ]; then \
1874         [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart \
1875         [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart \
1876 fi
1877
1878 %post   common -p /sbin/ldconfig
1879 %postun common -p /sbin/ldconfig
1880
1881 %posttrans common
1882 # minimizing apache restarts logics. we restart webserver:
1883 #
1884 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1885 # 2. first install of extension (post: $1 = 1)
1886 # 2. uninstall of extension (postun: $1 == 0)
1887 #
1888 # the strict internal deps between extensions (and apache modules) and
1889 # common package are very important for all this to work.
1890
1891 # restart webserver at the end of transaction
1892 [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart
1893 [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart
1894
1895 %if %{with apache2}
1896 %triggerpostun -- php < 4:5.0.4-7.1
1897 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1898 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1899         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1900         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1901 fi
1902
1903 # extra trigger, if they did not upgrade to 4:5.0.4-7 but still had old php-apache.ini
1904 %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1
1905 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1906 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1907         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1908         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1909 fi
1910 %endif
1911
1912 %post bcmath
1913 %extension_post
1914
1915 %postun bcmath
1916 %extension_postun
1917
1918 %post bzip2
1919 %extension_post
1920
1921 %postun bzip2
1922 %extension_postun
1923
1924 %post calendar
1925 %extension_post
1926
1927 %postun calendar
1928 %extension_postun
1929
1930 %post cpdf
1931 %extension_post
1932
1933 %postun cpdf
1934 %extension_postun
1935
1936 %post ctype
1937 %extension_post
1938
1939 %postun ctype
1940 %extension_postun
1941
1942 %post curl
1943 %extension_post
1944
1945 %postun curl
1946 %extension_postun
1947
1948 %post dba
1949 %extension_post
1950
1951 %postun dba
1952 %extension_postun
1953
1954 %post dbase
1955 %extension_post
1956
1957 %postun dbase
1958 %extension_postun
1959
1960 %post dbx
1961 %extension_post
1962
1963 %postun dbx
1964 %extension_postun
1965
1966 %post dio
1967 %extension_post
1968
1969 %postun dio
1970 %extension_postun
1971
1972 %post dom
1973 %extension_post
1974
1975 %postun dom
1976 %extension_postun
1977
1978 %post exif
1979 %extension_post
1980
1981 %postun exif
1982 %extension_postun
1983
1984 %post fam
1985 %extension_post
1986
1987 %postun fam
1988 %extension_postun
1989
1990 %post fdf
1991 %extension_post
1992
1993 %postun fdf
1994 %extension_postun
1995
1996 %post filepro
1997 %extension_post
1998
1999 %postun filepro
2000 %extension_postun
2001
2002 %post ftp
2003 %extension_post
2004
2005 %postun ftp
2006 %extension_postun
2007
2008 %post gd
2009 %extension_post
2010
2011 %postun gd
2012 %extension_postun
2013
2014 %post gettext
2015 %extension_post
2016
2017 %postun gettext
2018 %extension_postun
2019
2020 %post gmp
2021 %extension_post
2022
2023 %postun gmp
2024 %extension_postun
2025
2026 %post hwapi
2027 %extension_post
2028
2029 %postun hwapi
2030 %extension_postun
2031
2032 %post iconv
2033 %extension_post
2034
2035 %postun iconv
2036 %extension_postun
2037
2038 %post imap
2039 %extension_post
2040
2041 %postun imap
2042 %extension_postun
2043
2044 %post interbase
2045 %extension_post
2046
2047 %postun interbase
2048 %extension_postun
2049
2050 %post ldap
2051 %extension_post
2052
2053 %postun ldap
2054 %extension_postun
2055
2056 %post mbstring
2057 %extension_post
2058
2059 %postun mbstring
2060 %extension_postun
2061
2062 %post mcrypt
2063 %extension_post
2064
2065 %postun mcrypt
2066 %extension_postun
2067
2068 %post mhash
2069 %extension_post
2070
2071 %postun mhash
2072 %extension_postun
2073
2074 %post mime_magic
2075 %extension_post
2076
2077 %postun mime_magic
2078 %extension_postun
2079
2080 %post ming
2081 %extension_post
2082
2083 %postun ming
2084 %extension_postun
2085
2086 %post mnogosearch
2087 %extension_post
2088
2089 %postun mnogosearch
2090 %extension_postun
2091
2092 %post msession
2093 %extension_post
2094
2095 %postun msession
2096 %extension_postun
2097
2098 %post mssql
2099 %extension_post
2100
2101 %postun mssql
2102 %extension_postun
2103
2104 %post mysql
2105 %extension_post
2106
2107 %postun mysql
2108 %extension_postun
2109
2110 %post mysqli
2111 %extension_post
2112
2113 %postun mysqli
2114 %extension_postun
2115
2116 %post ncurses
2117 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2118         %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2119 fi
2120 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2121         %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cli.ini
2122 fi
2123
2124 %postun ncurses
2125 if [ "$1" = "0" ]; then
2126         if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2127                 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2128         fi
2129         if [ -f %{_sysconfdir}/php-cli.ini ]; then
2130                 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2131         fi
2132 fi
2133
2134 %post oci8
2135 %extension_post
2136
2137 %postun oci8
2138 %extension_postun
2139
2140 %post odbc
2141 %extension_post
2142
2143 %postun odbc
2144 %extension_postun
2145
2146 %post openssl
2147 %extension_post
2148
2149 %postun openssl
2150 %extension_postun
2151
2152 %post oracle
2153 %extension_post
2154
2155 %postun oracle
2156 %extension_postun
2157
2158 %post pcntl
2159 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2160         %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2161 fi
2162 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2163         %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cli.ini
2164 fi
2165
2166 %postun pcntl
2167 if [ "$1" = "0" ]; then
2168         if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2169                 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2170         fi
2171         if [ -f %{_sysconfdir}/php-cli.ini ]; then
2172                 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2173         fi
2174 fi
2175
2176 %post pcre
2177 %extension_post
2178
2179 %postun pcre
2180 %extension_postun
2181
2182 %post pgsql
2183 %extension_post
2184
2185 %postun pgsql
2186 %extension_postun
2187
2188 %post posix
2189 %extension_post
2190
2191 %postun posix
2192 %extension_postun
2193
2194 %post pspell
2195 %extension_post
2196
2197 %postun pspell
2198 %extension_postun
2199
2200 %post readline
2201 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2202         %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cgi.ini
2203 fi
2204 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2205         %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cli.ini
2206 fi
2207
2208 %postun readline
2209 if [ "$1" = "0" ]; then
2210         if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2211                 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cgi.ini
2212         fi
2213         if [ -f %{_sysconfdir}/php-cli.ini ]; then
2214                 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cli.ini
2215         fi
2216 fi
2217
2218 %post recode
2219 %extension_post
2220
2221 %postun recode
2222 %extension_postun
2223
2224 %post session
2225 %extension_post
2226
2227 %postun session
2228 %extension_postun
2229
2230 %post shmop
2231 %extension_post
2232
2233 %postun shmop
2234 %extension_postun
2235
2236 %post snmp
2237 %extension_post
2238
2239 %postun snmp
2240 %extension_postun
2241
2242 %post soap
2243 %extension_post
2244
2245 %postun soap
2246 %extension_postun
2247 if [ "$1" = "0" ]; then
2248         %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2249 fi
2250
2251 %post sockets
2252 %extension_post
2253
2254 %postun sockets
2255 %extension_postun
2256
2257 %post sqlite
2258 %extension_post
2259
2260 %postun sqlite
2261 %extension_postun
2262
2263 %post sybase
2264 %extension_post
2265
2266 %postun sybase
2267 %extension_postun
2268
2269 %post sybase-ct
2270 %extension_post
2271
2272 %postun sybase-ct
2273 %extension_postun
2274
2275 %post sysvmsg
2276 %extension_post
2277
2278 %postun sysvmsg
2279 %extension_postun
2280
2281 %post sysvsem
2282 %extension_post
2283
2284 %postun sysvsem
2285 %extension_postun
2286
2287 %post sysvshm
2288 %extension_post
2289
2290 %postun sysvshm
2291 %extension_postun
2292
2293 %post tidy
2294 %extension_post
2295
2296 %postun tidy
2297 %extension_postun
2298
2299 %post tokenizer
2300 %extension_post
2301
2302 %postun tokenizer
2303 %extension_postun
2304
2305 %post wddx
2306 %extension_post
2307
2308 %postun wddx
2309 %extension_postun
2310
2311 %post xml
2312 %extension_post
2313
2314 %postun xml
2315 %extension_postun
2316
2317 %post xmlrpc
2318 %extension_post
2319
2320 %postun xmlrpc
2321 %extension_postun
2322
2323 %post xsl
2324 %extension_post
2325
2326 %postun xsl
2327 %extension_postun
2328
2329 %post yp
2330 %extension_post
2331
2332 %postun yp
2333 %extension_postun
2334
2335 %post zlib
2336 %extension_post
2337
2338 %postun zlib
2339 %extension_postun
2340
2341 %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1
2342 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
2343
2344 %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1
2345 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove bzip2 %{_sysconfdir}/php.ini
2346
2347 %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1
2348 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
2349
2350 %triggerun cpdf -- %{name}-cpdf < 4:5.0.4-9.1
2351 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
2352
2353 %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1
2354 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
2355
2356 %triggerun curl -- %{name}-curl < 4:5.0.4-9.1
2357 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
2358
2359 %triggerun dba -- %{name}-dba < 4:5.0.4-9.1
2360 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
2361
2362 %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1
2363 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
2364
2365 %triggerun dbx -- %{name}-dbx < 4:5.0.4-9.1
2366 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
2367
2368 %triggerun dio -- %{name}-dio < 4:5.0.4-9.1
2369 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dio %{_sysconfdir}/php.ini
2370
2371 %triggerun dom -- %{name}-dom < 4:5.0.4-9.1
2372 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove dom %{_sysconfdir}/php.ini
2373
2374 %triggerun exif -- %{name}-exif < 4:5.0.4-9.1
2375 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
2376
2377 %triggerun fam -- %{name}-fam < 4:5.0.4-9.1
2378 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fam %{_sysconfdir}/php.ini
2379
2380 %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1
2381 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove fdf %{_sysconfdir}/php.ini
2382
2383 %triggerun filepro -- %{name}-filepro < 4:5.0.4-9.1
2384 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
2385
2386 %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1
2387 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
2388
2389 %triggerun gd -- %{name}-gd < 4:5.0.4-9.1
2390 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
2391
2392 %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1
2393 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
2394
2395 %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1
2396 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
2397
2398 %triggerun hwapi -- %{name}-hwapi < 4:5.0.4-9.1
2399 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove hwapi %{_sysconfdir}/php.ini
2400
2401 %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1
2402 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
2403
2404 %triggerun imap -- %{name}-imap < 4:5.0.4-9.1
2405 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
2406
2407 %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1
2408 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
2409
2410 %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1
2411 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
2412
2413 %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1
2414 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
2415
2416 %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1
2417 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
2418
2419 %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1
2420 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
2421
2422 %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1
2423 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mime_magic %{_sysconfdir}/php.ini
2424
2425 %triggerun ming -- %{name}-ming < 4:5.0.4-9.1
2426 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
2427
2428 %triggerun mnogosearch -- %{name}-mnogosearch < 4:5.0.4-9.1
2429 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
2430
2431 %triggerun msession -- %{name}-msession < 4:5.0.4-9.1
2432 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
2433
2434 %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1
2435 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mssql %{_sysconfdir}/php.ini
2436
2437 %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1
2438 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
2439
2440 %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1
2441 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove mysqli %{_sysconfdir}/php.ini
2442
2443 %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1
2444 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
2445
2446 %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1
2447 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
2448
2449 %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1
2450 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
2451
2452 %triggerun oracle -- %{name}-oracle < 4:5.0.4-9.1
2453 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
2454
2455 %triggerun pcre -- %{name}-pcre < 4:5.0.4-9.1
2456 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
2457
2458 %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1
2459 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
2460
2461 %triggerun posix -- %{name}-posix < 4:5.0.4-9.1
2462 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
2463
2464 %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1
2465 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
2466
2467 %triggerun recode -- %{name}-recode < 4:5.0.4-9.1
2468 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
2469
2470 %triggerun session -- %{name}-session < 4:5.0.4-9.1
2471 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
2472
2473 %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1
2474 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
2475
2476 %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1
2477 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
2478
2479 %triggerun soap -- %{name}-soap < 4:5.0.4-9.1
2480 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove soap %{_sysconfdir}/php.ini
2481
2482 %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1
2483 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
2484
2485 %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1
2486 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sqlite %{_sysconfdir}/php.ini
2487
2488 %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1
2489 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase %{_sysconfdir}/php.ini
2490
2491 %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1
2492 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sybase-ct %{_sysconfdir}/php.ini
2493
2494 %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1
2495 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvmsg %{_sysconfdir}/php.ini
2496
2497 %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1
2498 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
2499
2500 %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1
2501 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
2502
2503 %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1
2504 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove tidy %{_sysconfdir}/php.ini
2505
2506 %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1
2507 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
2508
2509 %triggerun xml -- %{name}-xml < 4:5.0.4-9.1
2510 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
2511
2512 %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1
2513 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
2514
2515 %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1
2516 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove xsl %{_sysconfdir}/php.ini
2517
2518 %triggerun yp -- %{name}-yp < 4:5.0.4-9.1
2519 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
2520
2521 %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1
2522 [ ! -x %{_sbindir}/php-module-install ] || %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2523
2524 %if %{with apache1}
2525 %files -n apache1-mod_php
2526 %defattr(644,root,root,755)
2527 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/apache/conf.d/*_mod_php.conf
2528 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
2529 %attr(755,root,root) %{_libdir}/apache1/libphp5.so
2530 /home/services/apache/icons/*
2531 %endif
2532
2533 %if %{with apache2}
2534 %files -n apache-mod_php
2535 %defattr(644,root,root,755)
2536 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
2537 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache2handler.ini
2538 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2539 /home/services/httpd/icons/*
2540 %endif
2541
2542 %if %{with fcgi}
2543 %files fcgi
2544 %defattr(644,root,root,755)
2545 %attr(755,root,root) %{_bindir}/php.fcgi
2546 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi-fcgi.ini
2547 %endif
2548
2549 %files cgi
2550 %defattr(644,root,root,755)
2551 %attr(755,root,root) %{_bindir}/php.cgi
2552 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
2553
2554 %files cli
2555 %defattr(644,root,root,755)
2556 %attr(755,root,root) %{_bindir}/php.cli
2557 %attr(755,root,root) %{_bindir}/php
2558 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cli.ini
2559 %{_mandir}/man1/php.1*
2560
2561 %files common
2562 %defattr(644,root,root,755)
2563 %doc php.ini-*
2564 %doc CREDITS Zend/ZEND_CHANGES
2565 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2566
2567 %dir %{_sysconfdir}
2568 %dir %{_sysconfdir}/conf.d
2569 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
2570 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
2571 %attr(755,root,root) %{_sbindir}/php-module-install
2572 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2573 %dir %{extensionsdir}
2574 %dir %{_phpsharedir}
2575
2576 %files devel
2577 %defattr(644,root,root,755)
2578 %doc README.UNIX-BUILD-SYSTEM
2579 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2580 %doc CODING_STANDARDS
2581 %attr(755,root,root) %{_bindir}/phpextdist
2582 %attr(755,root,root) %{_bindir}/phpize
2583 %attr(755,root,root) %{_bindir}/php-config
2584 %attr(755,root,root) %{_libdir}/libphp_common.so
2585 %{_libdir}/libphp_common.la
2586 %{_includedir}/php
2587 %{_libdir}/php/build
2588 %{_mandir}/man1/*
2589
2590 %files bcmath
2591 %defattr(644,root,root,755)
2592 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/bcmath.ini
2593 %attr(755,root,root) %{extensionsdir}/bcmath.so
2594
2595 %files bzip2
2596 %defattr(644,root,root,755)
2597 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/bz2.ini
2598 %attr(755,root,root) %{extensionsdir}/bz2.so
2599
2600 %files calendar
2601 %defattr(644,root,root,755)
2602 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/calendar.ini
2603 %attr(755,root,root) %{extensionsdir}/calendar.so
2604
2605 %if %{with cpdf}
2606 %files cpdf
2607 %defattr(644,root,root,755)
2608 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/cpdf.ini
2609 %attr(755,root,root) %{extensionsdir}/cpdf.so
2610 %endif
2611
2612 %files ctype
2613 %defattr(644,root,root,755)
2614 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ctype.ini
2615 %attr(755,root,root) %{extensionsdir}/ctype.so
2616
2617 %if %{with curl}
2618 %files curl
2619 %defattr(644,root,root,755)
2620 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/curl.ini
2621 %attr(755,root,root) %{extensionsdir}/curl.so
2622 %endif
2623
2624 %files dba
2625 %defattr(644,root,root,755)
2626 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dba.ini
2627 %attr(755,root,root) %{extensionsdir}/dba.so
2628
2629 %files dbase
2630 %defattr(644,root,root,755)
2631 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dbase.ini
2632 %attr(755,root,root) %{extensionsdir}/dbase.so
2633
2634 %files dbx
2635 %defattr(644,root,root,755)
2636 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dbx.ini
2637 %attr(755,root,root) %{extensionsdir}/dbx.so
2638
2639 %files dio
2640 %defattr(644,root,root,755)
2641 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dio.ini
2642 %attr(755,root,root) %{extensionsdir}/dio.so
2643
2644 %files dom
2645 %defattr(644,root,root,755)
2646 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dom.ini
2647 %attr(755,root,root) %{extensionsdir}/dom.so
2648
2649 %if %{with fam}
2650 %files fam
2651 %defattr(644,root,root,755)
2652 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/fam.ini
2653 %attr(755,root,root) %{extensionsdir}/fam.so
2654 %endif
2655
2656 %if %{with fdf}
2657 %files fdf
2658 %defattr(644,root,root,755)
2659 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/fdf.ini
2660 %attr(755,root,root) %{extensionsdir}/fdf.so
2661 %endif
2662
2663 %files exif
2664 %defattr(644,root,root,755)
2665 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/exif.ini
2666 %attr(755,root,root) %{extensionsdir}/exif.so
2667
2668 %files filepro
2669 %defattr(644,root,root,755)
2670 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/filepro.ini
2671 %attr(755,root,root) %{extensionsdir}/filepro.so
2672
2673 %files ftp
2674 %defattr(644,root,root,755)
2675 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ftp.ini
2676 %attr(755,root,root) %{extensionsdir}/ftp.so
2677
2678 %files gd
2679 %defattr(644,root,root,755)
2680 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gd.ini
2681 %attr(755,root,root) %{extensionsdir}/gd.so
2682
2683 %files gettext
2684 %defattr(644,root,root,755)
2685 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gettext.ini
2686 %attr(755,root,root) %{extensionsdir}/gettext.so
2687
2688 %files gmp
2689 %defattr(644,root,root,755)
2690 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gmp.ini
2691 %attr(755,root,root) %{extensionsdir}/gmp.so
2692
2693 %if %{with hwapi}
2694 %files hwapi
2695 %defattr(644,root,root,755)
2696 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/hwapi.ini
2697 %attr(755,root,root) %{extensionsdir}/hwapi.so
2698 %endif
2699
2700 %files iconv
2701 %defattr(644,root,root,755)
2702 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/iconv.ini
2703 %attr(755,root,root) %{extensionsdir}/iconv.so
2704
2705 %if %{with imap}
2706 %files imap
2707 %defattr(644,root,root,755)
2708 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/imap.ini
2709 %attr(755,root,root) %{extensionsdir}/imap.so
2710 %endif
2711
2712 %if %{with interbase}
2713 %files interbase
2714 %defattr(644,root,root,755)
2715 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/interbase.ini
2716 %attr(755,root,root) %{extensionsdir}/interbase.so
2717 %endif
2718
2719 %if %{with ldap}
2720 %files ldap
2721 %defattr(644,root,root,755)
2722 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ldap.ini
2723 %attr(755,root,root) %{extensionsdir}/ldap.so
2724 %endif
2725
2726 %files mbstring
2727 %defattr(644,root,root,755)
2728 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mbstring.ini
2729 %attr(755,root,root) %{extensionsdir}/mbstring.so
2730
2731 %files mcrypt
2732 %defattr(644,root,root,755)
2733 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mcrypt.ini
2734 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2735
2736 %if %{with mhash}
2737 %files mhash
2738 %defattr(644,root,root,755)
2739 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mhash.ini
2740 %attr(755,root,root) %{extensionsdir}/mhash.so
2741 %endif
2742
2743 %files mime_magic
2744 %defattr(644,root,root,755)
2745 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mime_magic.ini
2746 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2747
2748 %if %{with ming}
2749 %files ming
2750 %defattr(644,root,root,755)
2751 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ming.ini
2752 %attr(755,root,root) %{extensionsdir}/ming.so
2753 %endif
2754
2755 %if %{with mnogosearch}
2756 %files mnogosearch
2757 %defattr(644,root,root,755)
2758 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mnogosearch.ini
2759 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2760 %endif
2761
2762 %if %{with msession}
2763 %files msession
2764 %defattr(644,root,root,755)
2765 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/msession.ini
2766 %attr(755,root,root) %{extensionsdir}/msession.so
2767 %endif
2768
2769 %if %{with mssql}
2770 %files mssql
2771 %defattr(644,root,root,755)
2772 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mssql.ini
2773 %attr(755,root,root) %{extensionsdir}/mssql.so
2774 %endif
2775
2776 %files mysql
2777 %defattr(644,root,root,755)
2778 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mysql.ini
2779 %attr(755,root,root) %{extensionsdir}/mysql.so
2780
2781 %if %{with mysqli}
2782 %files mysqli
2783 %defattr(644,root,root,755)
2784 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mysqli.ini
2785 %attr(755,root,root) %{extensionsdir}/mysqli.so
2786 %endif
2787
2788 %files ncurses
2789 %defattr(644,root,root,755)
2790 %attr(755,root,root) %{extensionsdir}/ncurses.so
2791
2792 %if %{with oci8}
2793 %files oci8
2794 %defattr(644,root,root,755)
2795 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/oci8.ini
2796 %attr(755,root,root) %{extensionsdir}/oci8.so
2797 %endif
2798
2799 %if %{with odbc}
2800 %files odbc
2801 %defattr(644,root,root,755)
2802 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/odbc.ini
2803 %attr(755,root,root) %{extensionsdir}/odbc.so
2804 %endif
2805
2806 %if %{with openssl}
2807 %files openssl
2808 %defattr(644,root,root,755)
2809 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/openssl.ini
2810 %attr(755,root,root) %{extensionsdir}/openssl.so
2811 %endif
2812
2813 %if %{with oracle}
2814 %files oracle
2815 %defattr(644,root,root,755)
2816 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/oracle.ini
2817 %attr(755,root,root) %{extensionsdir}/oracle.so
2818 %endif
2819
2820 %files pcntl
2821 %defattr(644,root,root,755)
2822 %attr(755,root,root) %{extensionsdir}/pcntl.so
2823
2824 %if %{with pcre}
2825 %files pcre
2826 %defattr(644,root,root,755)
2827 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pcre.ini
2828 %attr(755,root,root) %{extensionsdir}/pcre.so
2829 %endif
2830
2831 %if %{with pgsql}
2832 %files pgsql
2833 %defattr(644,root,root,755)
2834 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pgsql.ini
2835 %attr(755,root,root) %{extensionsdir}/pgsql.so
2836 %endif
2837
2838 %files posix
2839 %defattr(644,root,root,755)
2840 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/posix.ini
2841 %attr(755,root,root) %{extensionsdir}/posix.so
2842
2843 %if %{with pspell}
2844 %files pspell
2845 %defattr(644,root,root,755)
2846 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pspell.ini
2847 %attr(755,root,root) %{extensionsdir}/pspell.so
2848 %endif
2849
2850 %files readline
2851 %defattr(644,root,root,755)
2852 %attr(755,root,root) %{extensionsdir}/readline.so
2853
2854 %if %{with recode}
2855 %files recode
2856 %defattr(644,root,root,755)
2857 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/recode.ini
2858 %attr(755,root,root) %{extensionsdir}/recode.so
2859 %endif
2860
2861 # session_mm doesn't work with shared session
2862 #%files session
2863 #%defattr(644,root,root,755)
2864 #%attr(755,root,root) %{extensionsdir}/session.so
2865
2866 %files shmop
2867 %defattr(644,root,root,755)
2868 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/shmop.ini
2869 %attr(755,root,root) %{extensionsdir}/shmop.so
2870
2871 %if %{with snmp}
2872 %files snmp
2873 %defattr(644,root,root,755)
2874 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/snmp.ini
2875 %attr(755,root,root) %{extensionsdir}/snmp.so
2876 %endif
2877
2878 %files soap
2879 %defattr(644,root,root,755)
2880 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/soap.ini
2881 %attr(755,root,root) %{extensionsdir}/soap.so
2882
2883 %files sockets
2884 %defattr(644,root,root,755)
2885 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sockets.ini
2886 %attr(755,root,root) %{extensionsdir}/sockets.so
2887
2888 %if %{with sqlite}
2889 %files sqlite
2890 %defattr(644,root,root,755)
2891 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sqlite.ini
2892 %attr(755,root,root) %{extensionsdir}/sqlite.so
2893 %endif
2894
2895 %if %{with sybase}
2896 %files sybase
2897 %defattr(644,root,root,755)
2898 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sybase.ini
2899 %attr(755,root,root) %{extensionsdir}/sybase.so
2900 %endif
2901
2902 %if %{with sybase_ct}
2903 %files sybase-ct
2904 %defattr(644,root,root,755)
2905 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sybase_ct.ini
2906 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2907 %endif
2908
2909 %files sysvmsg
2910 %defattr(644,root,root,755)
2911 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvmsg.ini
2912 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2913
2914 %files sysvsem
2915 %defattr(644,root,root,755)
2916 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvsem.ini
2917 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2918
2919 %files sysvshm
2920 %defattr(644,root,root,755)
2921 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvshm.ini
2922 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2923
2924 %if %{with tidy}
2925 %files tidy
2926 %defattr(644,root,root,755)
2927 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/tidy.ini
2928 %attr(755,root,root) %{extensionsdir}/tidy.so
2929 %endif
2930
2931 %files tokenizer
2932 %defattr(644,root,root,755)
2933 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/tokenizer.ini
2934 %attr(755,root,root) %{extensionsdir}/tokenizer.so
2935
2936 %if %{with wddx}
2937 %files wddx
2938 %defattr(644,root,root,755)
2939 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/wddx.ini
2940 %attr(755,root,root) %{extensionsdir}/wddx.so
2941 %endif
2942
2943 %files xml
2944 %defattr(644,root,root,755)
2945 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xml.ini
2946 %attr(755,root,root) %{extensionsdir}/xml.so
2947
2948 %if %{with xmlrpc}
2949 %files xmlrpc
2950 %defattr(644,root,root,755)
2951 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xmlrpc.ini
2952 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2953 %endif
2954
2955 %files xsl
2956 %defattr(644,root,root,755)
2957 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xsl.ini
2958 %attr(755,root,root) %{extensionsdir}/xsl.so
2959
2960 %files yp
2961 %defattr(644,root,root,755)
2962 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/yp.ini
2963 %attr(755,root,root) %{extensionsdir}/yp.so
2964
2965 %files zlib
2966 %defattr(644,root,root,755)
2967 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/zlib.ini
2968 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.396139 seconds and 4 git commands to generate.