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