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