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