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