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