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