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