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