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