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