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