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