2 # Do NOT build openssl as shared module or
3 # fsockopen('tls://host',...) will not work!
6 # - make additional headers added by mail patch configurable
7 # - /var/run/php group not owned
10 %bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support
11 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib)
12 %bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/)
13 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
14 %bcond_with java # with Java extension module (BR: jdk)
15 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
16 %bcond_with oracle # with oracle extension module (BR: proprietary libs)
17 %bcond_without cpdf # without cpdf extension module
18 %bcond_without curl # without CURL extension module
19 %bcond_without domxslt # without DOM XSLT/EXSLT support in DOM XML extension module
20 %bcond_without fribidi # without FriBiDi extension module
21 %bcond_without imap # without IMAP extension module
22 %bcond_without interbase # without InterBase extension module
23 %bcond_without ldap # without LDAP extension module
24 %bcond_without mhash # without mhash extension module
25 %bcond_without ming # without ming extension module
26 %bcond_without mm # without mm support for session storage
27 %bcond_without mnogosearch # without mnogosearch extension module
28 %bcond_without msession # without msession extension module
29 %bcond_without mssql # without MS SQL extension module
30 %bcond_without odbc # without ODBC extension module
31 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
32 %bcond_without pcre # without PCRE extension module
33 %bcond_without pdf # without PDF extension module
34 %bcond_without pgsql # without PostgreSQL extension module
35 %bcond_without pspell # without pspell extension module
36 %bcond_without recode # without recode extension module
37 %bcond_without qtdom # without Qt DOM extension module
38 %bcond_without snmp # without SNMP extension module
39 %bcond_without sybase # without Sybase and Sybase-CT extension modules
40 %bcond_without wddx # without WDDX extension module
41 %bcond_without xmlrpc # without XML-RPC extension module
42 %bcond_without xml # without XML and DOMXML extension modules
43 %bcond_without xslt # without XSLT extension module
44 %bcond_without yaz # without YAZ extension module
45 %bcond_without apache1 # disable building apache 1.3.x module
46 %bcond_without apache2 # disable building apache 2.x module
47 %bcond_with zts # enable-experimental-zts
49 %define apxs1 /usr/sbin/apxs1
50 %define apxs2 /usr/sbin/apxs
52 # mm is not thread safe
53 # ext/session/mod_mm.c:37:3: #error mm is not thread-safe
58 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha ppc
59 %undefine with_interbase
64 %undefine with_msession
67 %include /usr/lib/rpm/macros.php
68 Summary: The PHP HTML-embedded scripting language for use with Apache
69 Summary(fr): Le langage de script embarque-HTML PHP pour Apache
70 Summary(pl): Jêzyk skryptowy PHP - u¿ywany wraz z serwerem Apache
71 Summary(pt_BR): A linguagem de script PHP
72 Summary(ru): PHP ÷ÅÒÓÉÉ 4 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
73 Summary(uk): PHP ÷ÅÒÓ¦§ 4 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
76 Release: 4.48%{?with_hardening:hardened}
80 Source0: http://www.php.net/distributions/php-%{version}.tar.bz2
81 # Source0-md5: e85b606fe48198bfcd785e5a5b1c9613
84 Source3: %{name}-module-install
85 Source4: %{name}-mod_php.conf
86 Source5: %{name}-cgi-fcgi.ini
87 Source6: %{name}-cgi.ini
88 Source7: %{name}-apache.ini
89 Source8: %{name}-cli.ini
90 Source9: http://www.hardened-php.net/hardening-patch-4.3.11-0.3.1.patch.gz
91 # Source9-md5: b231e363b60c8749fcafe1e24e8bacbb
92 Patch0: %{name}-shared.patch
93 Patch1: %{name}-pldlogo.patch
94 Patch2: %{name}-xml-expat-fix.patch
95 Patch3: %{name}-mail.patch
96 Patch4: %{name}-link-libs.patch
97 Patch5: %{name}-libpq_fs_h_path.patch
98 Patch6: %{name}-wddx-fix.patch
99 Patch7: %{name}-lib.patch
100 Patch8: %{name}-hyperwave-fix.patch
101 Patch9: %{name}-xslt-gcc33.patch
102 Patch10: %{name}-java-norpath.patch
103 Patch11: %{name}-mcal-shared-lib.patch
104 Patch12: %{name}-msession-shared-lib.patch
105 Patch13: %{name}-build_modules.patch
106 Patch14: %{name}-sapi-ini-file.patch
107 Patch15: %{name}-no-metaccld.patch
108 Patch16: %{name}-session-unregister.patch
109 Patch17: %{name}-ini.patch
110 Patch18: %{name}-acam.patch
111 Patch19: %{name}-xmlrpc-fix.patch
112 Patch20: %{name}-libtool.patch
113 Patch21: %{name}-allow-db31.patch
114 Patch22: %{name}-threads-acfix.patch
115 Patch23: %{name}-gmp.patch
116 Patch24: %{name}-qt.patch
117 Patch25: %{name}-no_pear_install.patch
118 Patch26: %{name}-zlib.patch
119 Patch27: %{name}-db-shared.patch
120 Patch28: %{name}-sybase-fix.patch
121 Patch29: %{name}-lib64.patch
122 Patch30: %{name}-mnogosearch-fix.patch
123 Patch31: %{name}-stupidapache_version.patch
124 Patch32: %{name}-gd_imagerotate_enable.patch
125 Patch33: %{name}-uint32_t.patch
126 Patch34: %{name}-install_gd_headers.patch
127 Patch35: %{name}-both-apxs.patch
129 URL: http://www.php.net/
130 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
131 %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0}
132 BuildRequires: autoconf >= 2.53
133 BuildRequires: automake >= 1.4d
135 BuildRequires: bzip2-devel
136 BuildRequires: cracklib-devel >= 2.7-15
137 %{?with_curl:BuildRequires: curl-devel >= 7.12.0}
138 BuildRequires: cyrus-sasl-devel
139 %{?with_db3:BuildRequires: db3-devel >= 3.1}
140 %{!?with_db3:BuildRequires: db-devel >= 4.0}
141 BuildRequires: elfutils-devel
142 %if %{with wddx} || %{with xml} || %{with xmlrpc}
143 BuildRequires: expat-devel
145 %{?with_fdf:BuildRequires: fdftk-devel}
146 BuildRequires: fcgi-devel
148 %if %{with mssql} || %{with sybase}
149 BuildRequires: freetds-devel
151 BuildRequires: freetype-devel >= 2.0
152 %{?with_fribidi:BuildRequires: fribidi-devel >= 0.10.4}
153 BuildRequires: gd-devel >= 2.0.28-2
154 BuildRequires: gd-devel(gif)
155 BuildRequires: gdbm-devel
156 BuildRequires: gmp-devel
157 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2}
158 %{?with_imap:BuildRequires: heimdal-devel >= 0.7}
159 %{?with_java:BuildRequires: jdk >= 1.1}
160 %{?with_cpdf:BuildRequires: libcpdf-devel >= 2.02r1-2}
161 BuildRequires: libjpeg-devel
162 BuildRequires: libltdl-devel >= 1.4
163 BuildRequires: libmcal-devel
164 BuildRequires: libmcrypt-devel >= 2.4.4
165 BuildRequires: libpng-devel >= 1.0.8
166 BuildRequires: libtiff-devel
167 BuildRequires: libtool >= 1.4.3
168 %{?with_xml:BuildRequires: libxml2-devel >= 2.2.7}
169 %{?with_domxslt:BuildRequires: libxslt-devel >= 1.0.3}
170 %{?with_mhash:BuildRequires: mhash-devel}
171 %{?with_ming:BuildRequires: ming-devel >= 0.1.0}
172 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
173 %{?with_mnogosearch:BuildRequires: mnogosearch-devel >= 3.2.29}
174 BuildRequires: mysql-devel >= 3.23.32
175 BuildRequires: ncurses-ext-devel
176 %{?with_ldap:BuildRequires: openldap-devel >= 2.0}
177 %if %{with openssl} || %{with ldap}
178 BuildRequires: openssl-devel >= 0.9.7d
180 BuildRequires: pam-devel
181 %{?with_pdf:BuildRequires: pdflib-devel >= 4.0.0}
182 BuildRequires: %{__perl}
183 %{?with_msession:BuildRequires: phoenix-devel}
184 %{?with_pgsql:BuildRequires: postgresql-devel}
185 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
186 %{?with_qtdom:BuildRequires: qt-devel >= 2.2.0}
187 BuildRequires: readline-devel
188 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
189 BuildRequires: rpm-php-pearprov >= 4.0.2-100
190 BuildRequires: rpmbuild(macros) >= 1.230
191 %{?with_xslt:BuildRequires: sablotron-devel >= 0.96}
192 BuildRequires: sed >= 4.0
193 BuildRequires: t1lib-devel
194 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
195 %{?with_odbc:BuildRequires: unixODBC-devel}
196 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
197 %{?with_yaz:BuildRequires: yaz-devel >= 1.9}
199 BuildRequires: zlib-devel >= 1.0.9
200 BuildRequires: zziplib-devel
202 BuildRequires: apache1-devel >= 1.3.33-2
205 BuildRequires: apache-devel >= 2.0.52-2
206 BuildRequires: apr-devel >= 1:1.0.0
207 BuildRequires: apr-util-devel >= 1:1.0.0
209 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
211 %define _sysconfdir /etc/php4
212 %define extensionsdir %{_libdir}/php4
215 PHP is an HTML-embedded scripting language. PHP attempts to make it
216 easy for developers to write dynamically generated web pages. PHP also
217 offers built-in database integration for several commercial and
218 non-commercial database management systems, so writing a
219 database-enabled web page with PHP is fairly simple. The most common
220 use of PHP coding is probably as a replacement for CGI scripts. The
221 mod_php module enables the Apache web server to understand and process
222 the embedded PHP language in web pages. This package contains php
223 version %{version}. If you use applications which specifically rely on
224 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
225 module contained in the phpfi package. If you're just starting with
226 PHP, you should install this package. You'll also need to install the
230 PHP est un langage de script embarque dans le HTM. PHP essaye de
231 rendre simple aux developpeurs d'ecrire des pages web generees
232 dynamiquement. PHP incorpore egalement une integration avec plusieurs
233 systemes de gestion de bases de donnees commerciaux et
234 non-connerciaux, qui rent facile la creation de pages web liees avec
235 des bases de donnees. L'utilisation la plus commune de PHP est
236 probablement en remplacement de scripts CGI. Le module mod_php permet
237 au serveur web apache de comprendre et de traiter le langage PHP
238 integre dans des pages web. Ce package contient php version
239 %{version}. Si vous utilisez des applications qui utilisent
240 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
241 dans le package mod_php. Si vous debutez avec PHP, vous devriez
242 installer ce package. Vous aurez egalement besoin dinstaller le
246 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
247 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
248 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
249 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
250 zosta³a z jêzyków: C, Java i Perl.
252 %description -l pt_BR
253 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
254 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
255 com algumas características únicas, específicas ao PHP. O objetivo da
256 linguagem é permitir que desenvolvedores web escrevam páginas
257 dinamicamente geradas de forma rápida.
260 PHP4 - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
261 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
262 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
263 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
265 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
266 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
267 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
271 PHP4 - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
272 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
273 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
274 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
276 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
277 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
278 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
280 %package -n apache1-mod_php4
281 Summary: php4 DSO module for apache 1.3.x
282 Summary(pl): Modu³ DSO (Dynamic Shared Object) php4 dla apache 1.3.x
283 Group: Development/Languages/PHP
284 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
285 Requires: apache1(EAPI) >= 1.3.33-2
286 Requires: apache1-mod_mime
287 Provides: %{name} = %{epoch}:%{version}-%{release}
288 Provides: php = %{epoch}:%{version}-%{release}
289 Provides: php4 = %{epoch}:%{version}-%{release}
291 Obsoletes: apache-mod_php < 1:4.1.1
292 # Obsolete last version when apache module was in main package
293 Obsoletes: php4 < 3:4.3.11-4.16
295 %description -n apache1-mod_php4
296 php4 as DSO module for apache 1.3.x.
298 %description -n apache1-mod_php4 -l pl
299 php4 jako modu³ DSO (Dynamic Shared Object) dla apache 1.3.x.
301 %package -n apache-mod_php4
302 Summary: php4 DSO module for apache 2.x
303 Summary(pl): Modu³ DSO (Dynamic Shared Object) php4 dla apache 2.x
304 Group: Development/Languages/PHP
305 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
306 Requires: apache >= 2.0.52-2
307 Requires: apache(modules-api) = %{apache_modules_api}
308 Provides: %{name} = %{epoch}:%{version}-%{release}
309 Provides: php = %{epoch}:%{version}-%{release}
310 Provides: php4 = %{epoch}:%{version}-%{release}
312 Obsoletes: apache-mod_php < 1:4.1.1
313 # Obsolete last version when apache module was in main package
314 Obsoletes: php4 < 3:4.3.11-4.16
316 %description -n apache-mod_php4
317 php4 as DSO module for apache 2.x.
319 %description -n apache-mod_php4 -l pl
320 php4 jako modu³ DSO (Dynamic Shared Object) dla apache 2.x.
323 Summary: php4 as FastCGI program
324 Summary(pl): php4 jako program FastCGI
325 Group: Development/Languages/PHP
326 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
327 Provides: php-fcgi = %{epoch}:%{version}-%{release}
328 Provides: php-program = %{epoch}:%{version}-%{release}
329 Provides: %{name}-program = %{epoch}:%{version}-%{release}
332 php4 as FastCGI program.
334 %description fcgi -l pl
335 php4 jako program FastCGI.
338 Summary: php4 as CGI program
339 Summary(pl): php4 jako program CGI
340 Group: Development/Languages/PHP
341 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
342 Provides: php-cgi = %{epoch}:%{version}-%{release}
343 Provides: php-program = %{epoch}:%{version}-%{release}
344 Provides: %{name}-program = %{epoch}:%{version}-%{release}
349 %description cgi -l pl
350 php4 jako program CGI.
353 Summary: php4 as CLI interpreter
354 Summary(pl): php4 jako interpreter dzia³aj±cy z linii poleceñ
355 Group: Development/Languages/PHP
356 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
357 Provides: php-cli = %{epoch}:%{version}-%{release}
358 Provides: php-program = %{epoch}:%{version}-%{release}
359 Provides: %{name}-program = %{epoch}:%{version}-%{release}
362 php4 as CLI interpreter.
364 %description cli -l pl
365 php4 jako interpreter dzia³aj±cy z linii poleceñ.
368 Summary: Common files needed by all PHP SAPIs
369 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
370 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
371 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
373 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
374 Requires: glibc >= 6:2.3.5
376 Provides: %{name}-session = %{epoch}:%{version}-%{release}
377 Provides: php-common = %{epoch}:%{version}-%{release}
378 Provides: php-session = %{epoch}:%{version}-%{release}
379 Obsoletes: php-session < 3:4.2.1-2
380 Obsoletes: php4-openssl < 3:4.4.0-4
383 Common files needed by all PHP SAPIs.
385 %description common -l pl
386 Wspólne pliki dla modu³u apacha i programu CGI.
388 %description common -l ru
389 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
390 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
392 %description common -l uk
393 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
394 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
397 Summary: Files for PHP modules development
398 Summary(pl): Pliki do kompilacji modu³ów PHP
399 Summary(pt_BR): Arquivos de desenvolvimento para PHP
400 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
401 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
402 Group: Development/Languages/PHP
403 Requires: %{name}-common = %{epoch}:%{version}-%{release}
406 Provides: php-devel = %{epoch}:%{version}-%{release}
410 The php-devel package lets you compile dynamic extensions to PHP.
411 Included here is the source for the PHP extensions. Instead of
412 recompiling the whole php4 binary to add support for, say, oracle,
413 install this package and use the new self-contained extensions
414 support. For more information, read the file
415 SELF-CONTAINED-EXTENSIONS.
417 %description devel -l pl
418 Pliki potrzebne do kompilacji modu³ów PHP.
420 %description devel -l pt_BR
421 Este pacote contém arquivos usados no desenvolvimento de programas ou
424 %description devel -l uk
425 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
426 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
427 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php4 ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
428 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
429 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ SELF-CONTAINED-EXTENSIONS.
431 %description devel -l ru
432 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
433 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
434 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php4 ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
435 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
436 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ SELF-CONTAINED-EXTENSIONS.
439 Summary: bcmath extension module for PHP
440 Summary(pl): Modu³ bcmath dla PHP
442 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
443 Requires: %{name}-common = %{epoch}:%{version}-%{release}
444 Provides: php-bcmath = %{epoch}:%{version}-%{release}
447 This is a dynamic shared object (DSO) for PHP that will add bc style
448 precision math functions support.
450 %description bcmath -l pl
451 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
452 matematycznych takich jak w programie bc.
455 Summary: Bzip2 extension module for PHP
456 Summary(pl): Modu³ bzip2 dla PHP
458 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
459 Requires: %{name}-common = %{epoch}:%{version}-%{release}
460 Provides: php-bzip2 = %{epoch}:%{version}-%{release}
463 This is a dynamic shared object (DSO) for PHP that will add bzip2
464 compression support to PHP.
466 %description bzip2 -l pl
467 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
470 Summary: Calendar extension module for PHP
471 Summary(pl): Modu³ funkcji kalendarza dla PHP
473 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
474 Requires: %{name}-common = %{epoch}:%{version}-%{release}
475 Provides: php-calendar = %{epoch}:%{version}-%{release}
477 %description calendar
478 This is a dynamic shared object (DSO) for PHP that will add calendar
481 %description calendar -l pl
482 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
485 Summary: cpdf extension module for PHP
486 Summary(pl): Modu³ cpdf dla PHP
488 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
489 Requires: %{name}-common = %{epoch}:%{version}-%{release}
490 Provides: php-cpdf = %{epoch}:%{version}-%{release}
493 This is a dynamic shared object (DSO) for PHP that will add PDF
494 support through libcpdf library.
496 %description cpdf -l pl
497 Modu³ PHP dodaj±cy obs³ugê plików PDF poprzez bibliotekê libcpdf.
500 Summary: crack extension module for PHP
501 Summary(pl): Modu³ crack dla PHP
503 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
504 Requires: %{name}-common = %{epoch}:%{version}-%{release}
505 Provides: php-crack = %{epoch}:%{version}-%{release}
508 This is a dynamic shared object (DSO) for PHP that will add cracklib
511 Warning: this is an experimental module.
513 %description crack -l pl
514 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki cracklib.
516 Uwaga: to jest modu³ eksperymentalny.
519 Summary: ctype extension module for PHP
520 Summary(pl): Modu³ ctype dla PHP
522 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
523 Requires: %{name}-common = %{epoch}:%{version}-%{release}
524 Provides: php-ctype = %{epoch}:%{version}-%{release}
527 This is a dynamic shared object (DSO) for PHP that will add ctype
530 %description ctype -l pl
531 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
534 Summary: curl extension module for PHP
535 Summary(pl): Modu³ curl dla PHP
537 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
538 Requires: %{name}-common = %{epoch}:%{version}-%{release}
539 Provides: php-curl = %{epoch}:%{version}-%{release}
542 This is a dynamic shared object (DSO) for PHP that will add curl
545 %description curl -l pl
546 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
549 Summary: Old xDBM extension module for PHP
550 Summary(pl): Modu³ xDBM dla PHP
552 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
553 Requires: %{name}-common = %{epoch}:%{version}-%{release}
554 Provides: php-db = %{epoch}:%{version}-%{release}
557 This is an old dynamic shared object (DSO) for PHP that will add DBM
560 Warning: this module is deprecated and does not support database
561 locking correctly. Please use DBA extension which is a fully
562 operational superset.
564 %description db -l pl
565 Stary modu³ PHP dodaj±cy obs³ugê baz danych DBM.
567 Uwaga: ten modu³ jest przestarza³y i nie obs³uguje poprawnie
568 blokowania bazy danych. Zamiast niego lepiej u¿ywaæ rozszerzenia DBA,
569 które obs³uguje nadzbiór funkcjonalno¶ci tego modu³u.
572 Summary: DBA extension module for PHP
573 Summary(pl): Modu³ DBA dla PHP
575 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
576 Requires: %{name}-common = %{epoch}:%{version}-%{release}
577 Provides: php-dba = %{epoch}:%{version}-%{release}
580 This is a dynamic shared object (DSO) for PHP that will add flat-file
581 databases (DBA) support.
583 %description dba -l pl
584 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
588 Summary: DBase extension module for PHP
589 Summary(pl): Modu³ DBase dla PHP
591 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
592 Requires: %{name}-common = %{epoch}:%{version}-%{release}
593 Provides: php-dbase = %{epoch}:%{version}-%{release}
596 This is a dynamic shared object (DSO) for PHP that will add DBase
599 %description dbase -l pl
600 Modu³ PHP ze wsparciem dla DBase.
603 Summary: DBX extension module for PHP
604 Summary(pl): Modu³ DBX dla PHP
606 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
607 Requires: %{name}-common = %{epoch}:%{version}-%{release}
608 Provides: php-dbx = %{epoch}:%{version}-%{release}
611 This is a dynamic shared object (DSO) for PHP that will add DB
612 abstraction layer. DBX supports odbc, mysql, pgsql, mssql, fbsql and
615 %description dbx -l pl
616 Modu³ PHP dodaj±cy warstwê abstrakcji do obs³ugi baz danych. DBX
617 obs³uguje bazy odbc, mysql, pgsql, mssql, fbsql i inne.
620 Summary: Direct I/O extension module for PHP
621 Summary(pl): Modu³ Direct I/O dla PHP
623 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
624 Requires: %{name}-common = %{epoch}:%{version}-%{release}
625 Provides: php-dio = %{epoch}:%{version}-%{release}
628 This is a dynamic shared object (DSO) for PHP that will add direct
631 %description dio -l pl
632 Modu³ PHP dodaj±cy obs³ugê bezpo¶rednich operacji I/O na plikach.
635 Summary: DOM XML extension module for PHP
636 Summary(pl): Modu³ DOM XML dla PHP
638 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
639 Requires: %{name}-common = %{epoch}:%{version}-%{release}
640 Provides: php-domxml = %{epoch}:%{version}-%{release}
643 This is a dynamic shared object (DSO) for PHP that will add DOM XML
646 Warning: this is an experimental module.
648 %description domxml -l pl
649 Modu³ PHP dodaj±cy obs³ugê DOM XML.
651 Uwaga: to jest modu³ eksperymentalny.
654 Summary: exif extension module for PHP
655 Summary(pl): Modu³ exif dla PHP
657 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
658 Requires: %{name}-common = %{epoch}:%{version}-%{release}
659 Provides: php-exif = %{epoch}:%{version}-%{release}
662 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
663 support in image files.
665 %description exif -l pl
666 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
669 Summary: FDF extension module for PHP
670 Summary(pl): Modu³ FDF dla PHP
672 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
673 Requires: %{name}-common = %{epoch}:%{version}-%{release}
674 Provides: php-fdf = %{epoch}:%{version}-%{release}
677 This PHP module adds support for PDF Forms through Adobe FDFTK
680 %description fdf -l pl
681 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
685 Summary: filePro extension module for PHP
686 Summary(pl): Modu³ filePro dla PHP
688 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
689 Requires: %{name}-common = %{epoch}:%{version}-%{release}
690 Provides: php-filepro = %{epoch}:%{version}-%{release}
693 This is a dynamic shared object (DSO) for PHP that will add support
694 for read-only access to filePro databases.
696 %description filepro -l pl
697 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
701 Summary: FriBiDi extension module for PHP
702 Summary(pl): Modu³e FriBiDi dla PHP
704 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
705 Requires: %{name}-common = %{epoch}:%{version}-%{release}
706 Provides: php-fribidi = %{epoch}:%{version}-%{release}
709 This extension is basically a wrapper for the FriBidi implementation
710 of the Unicode Bidi algorithm. The need for such an algorithm rises
711 from the bidirectional language usage done by applications.
712 Arabic/Hebrew embedded within English is such a case.
714 %description fribidi -l pl
715 To rozszerzenie to g³ównie interfejs do implementacji FriBiDi
716 algorytmu Unicode Bidi. Taki algorytm jest potrzebny w przypadku
717 u¿ywania dwukierunkowego pisma w aplikacjach - na przyk³ad przy
718 tek¶cie arabskim lub hebrajskim osadzonym wewn±trz angielskiego.
721 Summary: FTP extension module for PHP
722 Summary(pl): Modu³ FTP dla PHP
724 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
725 Requires: %{name}-common = %{epoch}:%{version}-%{release}
726 Provides: php-ftp = %{epoch}:%{version}-%{release}
729 This is a dynamic shared object (DSO) for PHP that will add FTP
732 %description ftp -l pl
733 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
736 Summary: GD extension module for PHP
737 Summary(pl): Modu³ GD dla PHP
739 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
740 Requires: %{name}-common = %{epoch}:%{version}-%{release}
741 Requires: gd >= 2.0.28-2
743 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
744 Provides: php-gd = %{epoch}:%{version}-%{release}
747 This is a dynamic shared object (DSO) for PHP that will add GD
748 support, allowing you to create and manipulate images with PHP.
750 %description gd -l pl
751 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
752 tworzenie i obróbkê obrazków.
755 Summary: gettext extension module for PHP
756 Summary(pl): Modu³ gettext dla PHP
758 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
759 Requires: %{name}-common = %{epoch}:%{version}-%{release}
760 Provides: php-gettext = %{epoch}:%{version}-%{release}
763 This is a dynamic shared object (DSO) for PHP that will add gettext
766 %description gettext -l pl
767 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
770 Summary: gmp extension module for PHP
771 Summary(pl): Modu³ gmp dla PHP
773 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
774 Requires: %{name}-common = %{epoch}:%{version}-%{release}
775 Provides: php-gmp = %{epoch}:%{version}-%{release}
778 This is a dynamic shared object (DSO) for PHP that will add arbitrary
779 length number support with GNU MP library.
781 %description gmp -l pl
782 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
783 liczbach o dowolnej d³ugo¶ci.
786 Summary: Hyperwave extension module for PHP
787 Summary(pl): Modu³ Hyperwave dla PHP
789 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
790 Requires: %{name}-common = %{epoch}:%{version}-%{release}
791 Provides: php-hyperwave = %{epoch}:%{version}-%{release}
793 %description hyperwave
794 This is a dynamic shared object (DSO) for PHP that will add Hyperwave
797 %description hyperwave -l pl
798 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
801 Summary: iconv extension module for PHP
802 Summary(pl): Modu³ iconv dla PHP
804 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
805 Requires: %{name}-common = %{epoch}:%{version}-%{release}
806 Provides: php-iconv = %{epoch}:%{version}-%{release}
809 This is a dynamic shared object (DSO) for PHP that will add iconv
812 %description iconv -l pl
813 Modu³ PHP dodaj±cy obs³ugê iconv.
816 Summary: IMAP extension module for PHP
817 Summary(pl): Modu³ IMAP dla PHP
818 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
820 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
821 Requires: %{name}-common = %{epoch}:%{version}-%{release}
822 Provides: php-imap = %{epoch}:%{version}-%{release}
825 This is a dynamic shared object (DSO) for PHP that will add IMAP
828 %description imap -l pl
829 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
831 %description imap -l pt_BR
832 Um módulo para aplicações PHP que usam IMAP.
835 Summary: InterBase/Firebird database module for PHP
836 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
838 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
839 Requires: %{name}-common = %{epoch}:%{version}-%{release}
840 Provides: php-interbase = %{epoch}:%{version}-%{release}
841 %{?with_interbase_inst:Autoreq: false}
843 %description interbase
844 This is a dynamic shared object (DSO) for PHP that will add InterBase
845 and Firebird database support.
847 %description interbase -l pl
848 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
851 Summary: Java extension module for PHP
852 Summary(pl): Modu³ Javy dla PHP
854 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
855 Requires: %{name}-common = %{epoch}:%{version}-%{release}
856 Provides: php-java = %{epoch}:%{version}-%{release}
859 This is a dynamic shared object (DSO) for PHP that will add Java
860 support to PHP. This extension provides a simple and effective means
861 for creating and invoking methods on Java objects from PHP.
863 Note: it requires setting LD_LIBRARY_PATH to JRE directories
864 containing JVM libraries (e.g. libjava.so, libverify.so and libjvm.so
865 for Sun's JRE) before starting Apache or PHP interpreter.
867 %description java -l pl
868 Modu³ PHP dodaj±cy wsparcie dla Javy. Umo¿liwia odwo³ywanie siê do
869 obiektów Javy z poziomu PHP.
871 Uwaga: modu³ wymaga ustawienia LD_LIBRARY_PATH na katalogi JRE
872 zawieraj±ce biblioteki JVM (np. libjava.so, libverify.so i libjvm.so
873 dla JRE Suna) przed uruchomieniem Apache'a lub interpretera PHP.
876 Summary: LDAP extension module for PHP
877 Summary(pl): Modu³ LDAP dla PHP
878 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
880 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
881 Requires: %{name}-common = %{epoch}:%{version}-%{release}
882 Provides: php-ldap = %{epoch}:%{version}-%{release}
885 This is a dynamic shared object (DSO) for PHP that will add LDAP
888 %description ldap -l pl
889 Modu³ PHP dodaj±cy obs³ugê LDAP.
891 %description ldap -l pt_BR
892 Um módulo para aplicações PHP que usam LDAP.
895 Summary: mbstring extension module for PHP
896 Summary(pl): Modu³ mbstring dla PHP
898 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
899 Requires: %{name}-common = %{epoch}:%{version}-%{release}
900 Provides: php-mbstring = %{epoch}:%{version}-%{release}
902 %description mbstring
903 This is a dynamic shared object (DSO) for PHP that will add multibyte
906 %description mbstring -l pl
907 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
910 Summary: mcal extension module for PHP
911 Summary(pl): Modu³ mcal dla PHP
913 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
914 Requires: %{name}-common = %{epoch}:%{version}-%{release}
915 Provides: php-mcal = %{epoch}:%{version}-%{release}
918 This is a dynamic shared object (DSO) for PHP that will add mcal
919 (Modular Calendar Access Library) support.
921 %description mcal -l pl
922 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki mcal (daj±cej dostêp
926 Summary: mcrypt extension module for PHP
927 Summary(pl): Modu³ mcrypt dla PHP
929 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
930 Requires: %{name}-common = %{epoch}:%{version}-%{release}
931 Provides: php-mcrypt = %{epoch}:%{version}-%{release}
934 This is a dynamic shared object (DSO) for PHP that will add mcrypt
937 %description mcrypt -l pl
938 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
941 Summary: mhash extension module for PHP
942 Summary(pl): Modu³ mhash dla PHP
944 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
945 Requires: %{name}-common = %{epoch}:%{version}-%{release}
946 Provides: php-mhash = %{epoch}:%{version}-%{release}
949 This is a dynamic shared object (DSO) for PHP that will add mhash
952 %description mhash -l pl
953 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
956 Summary: mime_magic extension module for PHP
957 Summary(pl): Modu³ mime_magic dla PHP
959 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
960 Requires: %{name}-common = %{epoch}:%{version}-%{release}
961 Requires: /usr/share/file/magic.mime
962 Provides: php-mime_magic = %{epoch}:%{version}-%{release}
964 %description mime_magic
965 This PHP module adds support for MIME type lookup via file magic
966 numbers using magic.mime database.
968 %description mime_magic -l pl
969 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
970 znaczników plików z u¿yciem bazy danych magic.mime.
973 Summary: ming extension module for PHP
974 Summary(pl): Modu³ ming dla PHP
976 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
977 Requires: %{name}-common = %{epoch}:%{version}-%{release}
978 Provides: php-ming = %{epoch}:%{version}-%{release}
981 This is a dynamic shared object (DSO) for PHP that will add ming
982 (Flash - .swf files) support.
984 %description ming -l pl
985 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
989 Summary: mnoGoSearch extension module for PHP
990 Summary(pl): Modu³ mnoGoSearch dla PHP
992 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
993 Requires: %{name}-common = %{epoch}:%{version}-%{release}
994 Provides: php-mnogosearch = %{epoch}:%{version}-%{release}
996 %description mnogosearch
997 This is a dynamic shared object (DSO) for PHP that will allow you to
998 access mnoGoSearch free search engine.
1000 %description mnogosearch -l pl
1001 Modu³ PHP dodaj±cy pozwalaj±cy na dostêp do wolnodostêpnego silnika
1002 wyszukiwarki mnoGoSearch.
1005 Summary: msession extension module for PHP
1006 Summary(pl): Modu³ msession dla PHP
1008 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1009 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1010 Provides: php-msession = %{epoch}:%{version}-%{release}
1012 %description msession
1013 This is a dynamic shared object (DSO) for PHP that will allow you to
1014 use msession. msession is a high speed session daemon which can run
1015 either locally or remotely. It is designed to provide consistent
1016 session management for a PHP web farm.
1018 %description msession -l pl
1019 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
1020 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
1021 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
1025 Summary: MS SQL extension module for PHP
1026 Summary(pl): Modu³ MS SQL dla PHP
1028 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1029 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1030 Provides: php-mssql = %{epoch}:%{version}-%{release}
1033 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1034 databases support through FreeTDS library.
1036 %description mssql -l pl
1037 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê
1041 Summary: MySQL database module for PHP
1042 Summary(pl): Modu³ bazy danych MySQL dla PHP
1043 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
1045 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1046 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1047 Provides: php-mysql = %{epoch}:%{version}-%{release}
1050 This is a dynamic shared object (DSO) for PHP that will add MySQL
1053 %description mysql -l pl
1054 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
1056 %description mysql -l pt_BR
1057 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1060 Summary: ncurses module for PHP
1061 Summary(pl): Modu³ ncurses dla PHP
1063 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1064 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1065 Provides: php-ncurses = %{epoch}:%{version}-%{release}
1067 %description ncurses
1068 This PHP module adds support for ncurses functions (only for cli and
1071 %description ncurses -l pl
1072 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
1075 Summary: Oracle 8 database module for PHP
1076 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
1078 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1079 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1080 Provides: php-oci8 = %{epoch}:%{version}-%{release}
1084 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1085 and Oracle 8 database support through Oracle8 Call-Interface (OCI8).
1087 %description oci8 -l pl
1088 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7 i Oracle 8
1089 poprzez interfejs Oracle8 Call-Interface (OCI8).
1092 Summary: ODBC extension module for PHP
1093 Summary(pl): Modu³ ODBC dla PHP
1094 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
1096 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1097 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1098 Requires: unixODBC >= 2.1.1-3
1099 Provides: php-odbc = %{epoch}:%{version}-%{release}
1102 This is a dynamic shared object (DSO) for PHP that will add ODBC
1105 %description odbc -l pl
1106 Modu³ PHP ze wsparciem dla ODBC.
1108 %description odbc -l pt_BR
1109 Um módulo para aplicações PHP que usam ODBC.
1112 Summary: Oracle 7 database module for PHP
1113 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
1115 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1116 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1117 Provides: php-oracle = %{epoch}:%{version}-%{release}
1121 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1124 %description oracle -l pl
1125 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
1128 Summary: Overload extension module for PHP
1129 Summary(pl): Modu³ Overload dla PHP
1131 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1132 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1133 Provides: php-overload = %{epoch}:%{version}-%{release}
1135 %description overload
1136 This is a dynamic shared object (DSO) for PHP that will add user-space
1137 object overloading support.
1139 Warning: this is an experimental module.
1141 %description overload -l pl
1142 Modu³ PHP umo¿liwiaj±cy przeci±¿anie obiektów.
1144 Uwaga: to jest modu³ eksperymentalny.
1147 Summary: Process Control extension module for PHP
1148 Summary(pl): Modu³ Process Control dla PHP
1150 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
1151 Requires: %{name}-program = %{epoch}:%{version}-%{release}
1152 Provides: php-pcntl = %{epoch}:%{version}-%{release}
1155 This is a dynamic shared object (DSO) for PHP that will add process
1156 spawning and control support. It supports functions like fork(),
1157 waitpid(), signal() etc.
1159 Warning: this is an experimental module. Also, don't use it in
1160 webserver environment!
1162 %description pcntl -l pl
1163 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
1164 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
1166 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
1167 u¿ywania z serwerem WWW - nie próbuj tego!
1170 Summary: PCRE extension module for PHP
1171 Summary(pl): Modu³ PCRE dla PHP
1173 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1174 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1175 Provides: php-pcre = %{epoch}:%{version}-%{release}
1178 This is a dynamic shared object (DSO) for PHP that will add Perl
1179 Compatible Regular Expression support.
1181 %description pcre -l pl
1182 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
1183 (Perl Compatible Regular Expressions)
1186 Summary: PDF creation module module for PHP
1187 Summary(pl): Modu³ do tworzenia plików PDF dla PHP
1189 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1190 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1191 Provides: php-pdf = %{epoch}:%{version}-%{release}
1194 This is a dynamic shared object (DSO) for PHP that will add PDF
1195 support through pdflib.
1197 %description pdf -l pl
1198 Modu³ PHP umo¿liwiaj±cy tworzenie plików PDF. Wykorzystuje bibliotekê
1202 Summary: PostgreSQL database module for PHP
1203 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1205 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1206 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1207 Provides: php-pgsql = %{epoch}:%{version}-%{release}
1210 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1213 %description pgsql -l pl
1214 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1216 %description pgsql -l pt_BR
1217 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1220 Summary: POSIX extension module for PHP
1221 Summary(pl): Modu³ POSIX dla PHP
1223 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1224 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1225 Provides: php-posix = %{epoch}:%{version}-%{release}
1228 This is a dynamic shared object (DSO) for PHP that will add POSIX
1229 functions support to PHP.
1231 %description posix -l pl
1232 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1235 Summary: pspell extension module for PHP
1236 Summary(pl): Modu³ pspell dla PHP
1238 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1239 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1240 Provides: php-pspell = %{epoch}:%{version}-%{release}
1243 This is a dynamic shared object (DSO) for PHP that will add pspell
1244 support to PHP. It allows to check the spelling of a word and offer
1247 %description pspell -l pl
1248 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1249 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1252 Summary: Qt DOM extension module for PHP
1253 Summary(pl): Modu³ Qt DOM dla PHP
1255 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1256 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1257 Provides: php-qtdom = %{epoch}:%{version}-%{release}
1260 This PHP module adds Qt DOM functions support.
1262 %description qtdom -l pl
1263 Modu³ PHP dodaj±cy obs³ugê funkcji Qt DOM.
1266 Summary: readline extension module for PHP
1267 Summary(pl): Modu³ readline dla PHP
1269 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1270 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1271 Provides: php-readline = %{epoch}:%{version}-%{release}
1273 %description readline
1274 This PHP module adds support for readline functions (only for cli and
1277 %description readline -l pl
1278 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1281 Summary: recode extension module for PHP
1282 Summary(pl): Modu³ recode dla PHP
1284 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1285 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1286 Requires: recode >= 3.5d-3
1287 Provides: php-recode = %{epoch}:%{version}-%{release}
1290 This is a dynamic shared object (DSO) for PHP that will add recode
1293 %description recode -l pl
1294 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1298 Summary: session extension module for PHP
1299 Summary(pl): Modu³ session dla PHP
1301 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1302 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1303 Provides: php-session = %{epoch}:%{version}-%{release}
1305 %description session
1306 This is a dynamic shared object (DSO) for PHP that will add session
1309 %description session -l pl
1310 Modu³ PHP dodaj±cy obs³ugê sesji.
1313 Summary: Shared Memory Operations extension module for PHP
1314 Summary(pl): Modu³ shmop dla PHP
1316 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1317 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1318 Provides: php-shmop = %{epoch}:%{version}-%{release}
1321 This is a dynamic shared object (DSO) for PHP that will add Shared
1322 Memory Operations support.
1324 Warning: this is an experimental module.
1326 %description shmop -l pl
1327 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1329 Uwaga: to jest modu³ eksperymentalny.
1332 Summary: SNMP extension module for PHP
1333 Summary(pl): Modu³ SNMP dla PHP
1335 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1336 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1337 Provides: php-snmp = %{epoch}:%{version}-%{release}
1340 This is a dynamic shared object (DSO) for PHP that will add SNMP
1343 %description snmp -l pl
1344 Modu³ PHP dodaj±cy obs³ugê SNMP.
1347 Summary: sockets extension module for PHP
1348 Summary(pl): Modu³ socket dla PHP
1350 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1351 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1352 Provides: php-sockets = %{epoch}:%{version}-%{release}
1354 %description sockets
1355 This is a dynamic shared object (DSO) for PHP that will add sockets
1358 Warning: this is an experimental module.
1360 %description sockets -l pl
1361 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1363 Uwaga: to jest modu³ eksperymentalny.
1366 Summary: Sybase DB extension module for PHP
1367 Summary(pl): Modu³ Sybase DB dla PHP
1369 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1370 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1371 Provides: php-sybase = %{epoch}:%{version}-%{release}
1372 Obsoletes: %{name}-sybase-ct
1375 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1376 MS SQL databases support through SYBDB library. Currently Sybase module
1377 is not maintained. Using Sybase-CT module is recommended instead.
1379 %description sybase -l pl
1380 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1381 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1382 Zaleca siê u¿ywanie modu³u Sybase-CT.
1385 Summary: Sybase-CT extension module for PHP
1386 Summary(pl): Modu³ Sybase-CT dla PHP
1388 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1389 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1390 Provides: php-sybase-ct = %{epoch}:%{version}-%{release}
1391 Obsoletes: %{name}-sybase
1393 %description sybase-ct
1394 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1395 MS SQL databases support through CT-lib.
1397 %description sybase-ct -l pl
1398 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1402 Summary: SysV msg extension module for PHP
1403 Summary(pl): Modu³ SysV msg dla PHP
1405 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1406 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1407 Provides: php-sysvmsg = %{epoch}:%{version}-%{release}
1409 %description sysvmsg
1410 This is a dynamic shared object (DSO) for PHP that will add SysV
1411 message queues support.
1413 %description sysvmsg -l pl
1414 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1417 Summary: SysV sem extension module for PHP
1418 Summary(pl): Modu³ SysV sem dla PHP
1420 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1421 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1422 Provides: php-sysvsem = %{epoch}:%{version}-%{release}
1424 %description sysvsem
1425 This is a dynamic shared object (DSO) for PHP that will add SysV
1428 %description sysvsem -l pl
1429 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1432 Summary: SysV shm extension module for PHP
1433 Summary(pl): Modu³ SysV shm dla PHP
1435 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1436 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1437 Provides: php-sysvshm = %{epoch}:%{version}-%{release}
1439 %description sysvshm
1440 This is a dynamic shared object (DSO) for PHP that will add SysV
1441 Shared Memory support.
1443 %description sysvshm -l pl
1444 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1447 Summary: wddx extension module for PHP
1448 Summary(pl): Modu³ wddx dla PHP
1450 PreReq: %{name}-session = %{epoch}:%{version}-%{release}
1451 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1452 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1453 Provides: php-wddx = %{epoch}:%{version}-%{release}
1456 This is a dynamic shared object (DSO) for PHP that will add wddx
1459 %description wddx -l pl
1460 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1463 Summary: XML extension module for PHP
1464 Summary(pl): Modu³ XML dla PHP
1466 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1467 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1468 Provides: php-xml = %{epoch}:%{version}-%{release}
1471 This is a dynamic shared object (DSO) for PHP that will add XML
1472 support. This extension lets you create XML parsers and then define
1473 handlers for different XML events.
1475 %description xml -l pl
1476 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1477 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1478 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1481 Summary: xmlrpc extension module for PHP
1482 Summary(pl): Modu³ xmlrpc dla PHP
1484 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1485 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1486 Provides: php-xmlrpc = %{epoch}:%{version}-%{release}
1489 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1492 Warning: this is an experimental module.
1494 %description xmlrpc -l pl
1495 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1497 Uwaga: to jest modu³ eksperymentalny.
1500 Summary: xslt extension module for PHP
1501 Summary(pl): Modu³ xslt dla PHP
1503 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1504 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1505 Provides: php-xslt = %{epoch}:%{version}-%{release}
1508 This is a dynamic shared object (DSO) for PHP that will add xslt
1511 %description xslt -l pl
1512 Modu³ PHP umo¿liwiaj±cy korzystanie z technologii xslt.
1515 Summary: yaz extension module for PHP
1516 Summary(pl): Modu³ yaz dla PHP
1518 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1519 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1520 Requires: yaz >= 1.9
1521 Provides: php-yaz = %{epoch}:%{version}-%{release}
1524 This is a dynamic shared object (DSO) for PHP that will add yaz
1525 support. yaz toolkit implements the Z39.50 protocol for information
1528 %description yaz -l pl
1529 Modu³ PHP umo¿liwiaj±cy korzystanie z yaz - implementacji protoko³u
1530 Z39.50 s³u¿±cego do pozyskiwania informacji.
1533 Summary: NIS (yp) extension module for PHP
1534 Summary(pl): Modu³ NIS (yp) dla PHP
1536 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1537 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1538 Provides: php-yp = %{epoch}:%{version}-%{release}
1541 This is a dynamic shared object (DSO) for PHP that will add NIS
1542 (Yellow Pages) support.
1544 %description yp -l pl
1545 Modu³ PHP dodaj±cy wsparcie dla NIS (Yellow Pages).
1548 Summary: zip extension module for PHP
1549 Summary(pl): Modu³ zip dla PHP
1551 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1552 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1553 Provides: php-zip = %{epoch}:%{version}-%{release}
1556 This is a dynamic shared object (DSO) for PHP that will add ZZipLib
1557 (read-only access to ZIP archives) support.
1559 %description zip -l pl
1560 Modu³ PHP umo¿liwiaj±cy korzystanie z bibliotekli ZZipLib
1561 (pozwalaj±cej na odczyt archiwów ZIP).
1564 Summary: Zlib extension module for PHP
1565 Summary(pl): Modu³ zlib dla PHP
1567 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1568 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1569 Provides: php-zlib = %{epoch}:%{version}-%{release}
1572 This is a dynamic shared object (DSO) for PHP that will add zlib
1573 compression support to PHP.
1575 %description zlib -l pl
1576 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1579 %setup -q -n php-%{version}
1589 # Not really needed?
1598 cp php.ini-dist php.ini
1600 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1613 %if "%{_lib}" == "lib64"
1623 %if %{with hardening}
1624 zcat %{SOURCE9} | patch -p1
1628 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1629 sed -i -e 's#apu-config#apu-1-config#g' sapi/apache*/*.m4
1632 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include"
1634 # Apache2 CFLAGS. harmless for other SAPIs.
1635 CFLAGS="$CFLAGS $(%{_bindir}/apr-1-config --cppflags --includes) $(%{_bindir}/apu-1-config --includes)"
1638 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1639 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1646 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1657 for sapi in $sapis; do
1658 [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1664 echo --enable-discard-path
1670 echo --enable-fastcgi --with-fastcgi=/usr
1673 ver=%(rpm -q --qf '%%{version}' apache1-apxs)
1674 echo --with-apxs=%{apxs1} --with-apache-version=$ver
1677 ver=%(rpm -q --qf '%%{version}' apache-apxs)
1678 echo --with-apxs2=%{apxs2} --with-apache-version=$ver
1682 --cache-file=config.cache \
1683 %{?with_zts:--enable-experimental-zts} \
1684 --with-config-file-path=%{_sysconfdir} \
1685 --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1686 --with-exec-dir=%{_bindir} \
1687 --%{!?debug:dis}%{?debug:en}able-debug \
1690 --enable-magic-quotes \
1691 --enable-memory-limit \
1692 --enable-track-vars \
1693 --enable-safe-mode \
1695 --enable-bcmath=shared \
1696 --enable-calendar=shared \
1697 --enable-ctype=shared \
1698 --enable-dba=shared \
1699 --enable-dbx=shared \
1700 --enable-dio=shared \
1701 --enable-exif=shared \
1702 --enable-ftp=shared \
1703 --enable-filepro=shared \
1704 --enable-mbstring=shared,all --enable-mbregex \
1705 --enable-overload=shared \
1706 --enable-pcntl=shared \
1707 --enable-posix=shared \
1708 --enable-session --enable-trans-sid \
1709 --enable-shmop=shared \
1710 --enable-sysvmsg=shared \
1711 --enable-sysvsem=shared \
1712 --enable-sysvshm=shared \
1713 --enable-sockets=shared \
1714 %{?with_recode:--with-recode=shared} \
1715 %{?with_mm:--with-mm} \
1716 %{?with_wddx:--enable-wddx=shared} \
1717 %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
1718 %{?with_xslt:--enable-xslt=shared} \
1719 --enable-yp=shared \
1721 %{?with_cpdf:--with-cpdflib=shared} \
1722 --with-crack=shared \
1723 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1725 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1726 --with-dbase=shared \
1727 %{?with_xml:--with-dom=shared} \
1728 %{?with_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1729 %if %{with xml} || %{with xmlrpc}
1730 --with-expat-dir=shared,/usr \
1732 --without-expat-dir \
1734 %{?with_fdf:--with-fdftk=shared} \
1735 %{?with_fribidi:--with-fribidi=shared} \
1736 --with-iconv=shared \
1737 --with-filepro=shared \
1738 --with-freetype-dir=shared \
1739 --with-gettext=shared \
1740 --with-gd=shared,/usr --enable-gd-native-ttf \
1743 --with-hyperwave=shared \
1744 %{?with_imap:--with-imap=shared --with-imap-ssl --with-kerberos} \
1745 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1746 %{?with_java:--with-java=%{_libdir}/java} \
1747 --with-jpeg-dir=/usr \
1748 %{?with_ldap:--with-ldap=shared} \
1749 --with-mcal=shared,/usr \
1750 --with-mcrypt=shared \
1751 %{?with_mhash:--with-mhash=shared} \
1752 --with-mime-magic=shared,/usr/share/file/magic.mime \
1753 %{?with_ming:--with-ming=shared} \
1754 %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1755 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1756 %{?with_mssql:--with-mssql=shared} \
1757 --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock \
1758 --with-ncurses=shared \
1759 %{?with_oci8:--with-oci8=shared} \
1760 %{?with_openssl:--with-openssl} \
1761 %{?with_oracle:--with-oracle=shared} \
1762 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared} \
1763 %{?with_pdf:--with-pdflib=shared} \
1764 --with-pear=%{php_pear_dir} \
1765 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1766 --with-png-dir=/usr \
1767 %{?with_pspell:--with-pspell=shared} \
1768 --with-readline=shared \
1770 %{?with_qtdom:--with-qtdom=shared} \
1771 --without-sablot-js \
1772 %{?with_snmp:--with-snmp=shared --enable-ucd-snmp-hack} \
1773 %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
1774 --with-t1lib=shared \
1775 --with-tiff-dir=/usr \
1776 %{?with_odbc:--with-unixODBC=shared} \
1777 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1778 %{?with_xslt:--with-xslt-sablot=shared} \
1779 %{?with_yaz:--with-yaz=shared} \
1781 --with-zlib=shared \
1782 --with-zlib-dir=shared,/usr
1784 cp -f Makefile Makefile.$sapi
1786 # left for debugging purposes
1787 cp -f main/php_config.h php_config.h.$sapi
1790 # for now session_mm doesn't work with shared session module...
1791 # --enable-session=shared
1792 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1794 %{__make} build-modules
1796 %{__make} libphp_common.la
1797 # fix install paths, avoid evil rpaths
1798 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1801 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp4.la -f Makefile.apxs1
1803 s|^libdir=.*|libdir='%{_libdir}/apache1'|;
1804 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache1 |" sapi/apache/libphp4.la
1808 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp4.la -f Makefile.apxs2
1810 s|^libdir=.*|libdir='%{_libdir}/apache'|;
1811 s|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |" sapi/apache2handler/libphp4.la
1814 # for fcgi: -DDISCARD_PATH=0 -DENABLE_PATHINFO_CHECK=1 -DFORCE_CGI_REDIRECT=0
1815 # -DHAVE_FILENO_PROTO=1 -DHAVE_FPOS=1 -DHAVE_LIBNSL=1(die) -DHAVE_SYS_PARAM_H=1
1816 # -DPHP_FASTCGI=1 -DPHP_FCGI_STATIC=1 -DPHP_WRITE_STDOUT=1
1817 %{__make} sapi/cgi/php -f Makefile.fcgi \
1818 CFLAGS_CLEAN="%{rpmcflags} -DDISCARD_PATH=0 -DENABLE_PATHINFO_CHECK=1 -DFORCE_CGI_REDIRECT=0 -DHAVE_FILENO_PROTO=1 -DHAVE_FPOS=1 -DHAVE_LIBNSL=1 -DHAVE_SYS_PARAM_H=1 -DPHP_FASTCGI=1 -DPHP_FCGI_STATIC=1 -DPHP_WRITE_STDOUT=1"
1819 cp -r sapi/cgi sapi/fcgi
1820 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1823 # -DENABLE_CHROOT_FUNC=1 (cgi,fcgi) is used in ext/standard/dir.c (libphp_common)
1824 # -DPHP_WRITE_STDOUT is used also for cli, but not set by its config.m4
1825 %{__make} sapi/cgi/php -f Makefile.cgi \
1826 CFLAGS_CLEAN="%{rpmcflags} -DDISCARD_PATH=1 -DENABLE_PATHINFO_CHECK=1 -DFORCE_CGI_REDIRECT=0 -DPHP_WRITE_STDOUT=1"
1829 %{__make} sapi/cli/php -f Makefile.cli
1832 rm -rf $RPM_BUILD_ROOT
1833 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}/{apache,cgi}} \
1834 $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1835 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1836 $RPM_BUILD_ROOT/var/run/php \
1837 $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/httpd.conf} \
1838 $RPM_BUILD_ROOT%{_mandir}/man1
1840 # install apache1 DSO module
1842 # TODO: use libtool here
1843 install sapi/apache/.libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache1/libphp4.so
1846 # install apache2 DSO module
1848 # TODO: use libtool here
1849 install sapi/apache2handler/.libs/libphp4.so $RPM_BUILD_ROOT%{_libdir}/apache/libphp4.so
1852 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1854 # install the apache modules' files
1855 make install-headers install-build install-modules install-programs \
1856 INSTALL_ROOT=$RPM_BUILD_ROOT
1859 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php4.cgi
1862 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php4.fcgi
1865 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php4.cli
1867 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php4.1
1868 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php4
1870 %{?with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{extensionsdir}}
1872 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1873 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1874 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1875 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1876 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1877 install %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1879 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1880 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1881 install %{SOURCE3} $RPM_BUILD_ROOT%{_sbindir}
1882 install %{SOURCE4} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php4.conf
1883 install %{SOURCE4} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php4.conf
1884 install %{SOURCE1} .
1886 cp -f Zend/LICENSE{,.Zend}
1888 # Generate stub .ini files for each subpackage
1889 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1890 for so in modules/*.so; do
1891 mod=$(basename $so .so)
1892 cat > $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/${mod}.ini <<EOF
1893 ; Enable ${mod} extension module
1898 # Not in all SAPI, so don't need the .ini fragments.
1899 rm -f $RPM_BUILD_ROOT%{_sysconfdir}/conf.d/{ncurses,pcntl,readline}.ini
1902 rm -rf $RPM_BUILD_ROOT
1904 # minimizing apache restarts logics:
1906 # 1. we restart webserver after extension install only:
1907 # 1.1 if it's first install (post: $1 = 1)
1908 # 1.2 or uninstall of extension (postun: $1 == 0)
1909 # 2. the upgrades are handled by common package:
1910 # 2.1 webserver is restarted only if common package was upgraded (postun: $1 = 1)
1912 # note that this creates "delay" when webserver is restarted, ie the
1913 # actual restart is done by *previous* version of php-common package
1914 # (the one being just postun'ed).
1916 # the strict internal deps between extensions (and apache modules) and
1917 # common package are very important for all this to work. also conf.d
1918 # without conf.d this would be more complex.
1920 %post -n apache1-mod_php4
1921 if [ "$1" = "1" ]; then
1922 %service -q apache restart
1925 %postun -n apache1-mod_php4
1926 if [ "$1" = "0" ]; then
1927 %service -q apache restart
1930 %post -n apache-mod_php4
1931 if [ "$1" = "1" ]; then
1932 %service -q httpd restart
1935 %postun -n apache-mod_php4
1936 if [ "$1" = "0" ]; then
1937 %service -q httpd restart
1940 # so tired of typing... so decided to create macros
1941 # macro called at extension post scriptlet
1942 %define extension_post \
1943 if [ "$1" = "1" ]; then \
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 \
1948 # macro called at extension postun scriptlet
1949 %define extension_postun \
1950 if [ "$1" = "0" ]; then \
1951 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1952 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart \
1955 %post common -p /sbin/ldconfig
1958 # extension_post here is all correct.
1961 # compensate missing restart of earlier -common package.
1962 %triggerpostun common -- %{name}-common < 3:4.4.0-4.42
1963 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
1964 [ ! -f /etc/httpd/httpd.conf/??_mod_php4.conf ] || %service -q httpd restart
1967 %triggerpostun -- php4 < 3:4.3.11-4.16
1968 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1969 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1970 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1971 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1973 # extra trigger, if they did not upgrade to 3:4.4.0-2 but still had old php-apache.ini
1974 %triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16
1975 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1976 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1977 cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1978 mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2205 # NOTE: only for cli/cgi
2206 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2207 %{_sbindir}/php4-module-install install ncurses %{_sysconfdir}/php-cgi.ini
2209 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2210 %{_sbindir}/php4-module-install install ncurses %{_sysconfdir}/php-cli.ini
2214 if [ "$1" = "0" ]; then
2215 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2216 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
2218 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2219 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ncurses %{_sysconfdir}/php-cli.ini
2248 # NOTE: only for cli/cgi
2249 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2250 %{_sbindir}/php4-module-install install pcntl %{_sysconfdir}/php-cgi.ini
2252 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2253 %{_sbindir}/php4-module-install install pcntl %{_sysconfdir}/php-cli.ini
2257 if [ "$1" = "0" ]; then
2258 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2259 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
2261 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2262 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pcntl %{_sysconfdir}/php-cli.ini
2303 # NOTE: only for cli/cgi
2304 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2305 %{_sbindir}/php4-module-install install readline %{_sysconfdir}/php-cgi.ini
2307 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2308 %{_sbindir}/php4-module-install install readline %{_sysconfdir}/php-cli.ini
2312 if [ "$1" = "0" ]; then
2313 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2314 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove readline %{_sysconfdir}/php-cgi.ini
2316 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2317 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove readline %{_sysconfdir}/php-cli.ini
2429 # openssl trigger on common package. it removes shared openssl module from php.ini, if it was there.
2430 %triggerun common -- %{name}-openssl < 3:4.4.0-4
2431 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove openssl %{_sysconfdir}/php.ini
2433 %triggerun bcmath -- %{name}-bcmath < 3:4.4.0-2.1
2434 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove bcmath %{_sysconfdir}/php.ini
2436 %triggerun bzip2 -- %{name}-bzip2 < 3:4.4.0-2.1
2437 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove bz2 %{_sysconfdir}/php.ini
2439 %triggerun calendar -- %{name}-calendar < 3:4.4.0-2.1
2440 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove calendar %{_sysconfdir}/php.ini
2442 %triggerun cpdf -- %{name}-cpdf < 3:4.4.0-2.1
2443 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove cpdf %{_sysconfdir}/php.ini
2445 %triggerun crack -- %{name}-crack < 3:4.4.0-2.1
2446 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove crack %{_sysconfdir}/php.ini
2448 %triggerun ctype -- %{name}-ctype < 3:4.4.0-2.1
2449 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ctype %{_sysconfdir}/php.ini
2451 %triggerun curl -- %{name}-curl < 3:4.4.0-2.1
2452 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove curl %{_sysconfdir}/php.ini
2454 %triggerun db -- %{name}-db < 3:4.4.0-2.1
2455 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove db %{_sysconfdir}/php.ini
2457 %triggerun dba -- %{name}-dba < 3:4.4.0-2.1
2458 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove dba %{_sysconfdir}/php.ini
2460 %triggerun dbase -- %{name}-dbase < 3:4.4.0-2.1
2461 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove dbase %{_sysconfdir}/php.ini
2463 %triggerun dbx -- %{name}-dbx < 3:4.4.0-2.1
2464 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove dbx %{_sysconfdir}/php.ini
2466 %triggerun dio -- %{name}-dio < 3:4.4.0-2.1
2467 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove dio %{_sysconfdir}/php.ini
2469 %triggerun domxml -- %{name}-domxml < 3:4.4.0-2.1
2470 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove domxml %{_sysconfdir}/php.ini
2472 %triggerun exif -- %{name}-exif < 3:4.4.0-2.1
2473 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove exif %{_sysconfdir}/php.ini
2475 %triggerun fdf -- %{name}-fdf < 3:4.4.0-2.1
2476 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove fdf %{_sysconfdir}/php.ini
2478 %triggerun filepro -- %{name}-filepro < 3:4.4.0-2.1
2479 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove filepro %{_sysconfdir}/php.ini
2481 %triggerun fribidi -- %{name}-fribidi < 3:4.4.0-2.1
2482 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove fribidi %{_sysconfdir}/php.ini
2484 %triggerun ftp -- %{name}-ftp < 3:4.4.0-2.1
2485 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ftp %{_sysconfdir}/php.ini
2487 %triggerun gd -- %{name}-gd < 3:4.4.0-2.1
2488 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove gd %{_sysconfdir}/php.ini
2490 %triggerun gettext -- %{name}-gettext < 3:4.4.0-2.1
2491 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove gettext %{_sysconfdir}/php.ini
2493 %triggerun gmp -- %{name}-gmp < 3:4.4.0-2.1
2494 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove gmp %{_sysconfdir}/php.ini
2496 %triggerun hyperwave -- %{name}-hyperwave < 3:4.4.0-2.1
2497 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove hyperwave %{_sysconfdir}/php.ini
2499 %triggerun iconv -- %{name}-iconv < 3:4.4.0-2.1
2500 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove iconv %{_sysconfdir}/php.ini
2502 %triggerun imap -- %{name}-imap < 3:4.4.0-2.1
2503 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove imap %{_sysconfdir}/php.ini
2505 %triggerun interbase -- %{name}-interbase < 3:4.4.0-2.1
2506 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove interbase %{_sysconfdir}/php.ini
2508 %triggerun java -- %{name}-java < 3:4.4.0-2.1
2509 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove java %{_sysconfdir}/php.ini
2511 %triggerun ldap -- %{name}-ldap < 3:4.4.0-2.1
2512 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ldap %{_sysconfdir}/php.ini
2514 %triggerun mbstring -- %{name}-mbstring < 3:4.4.0-2.1
2515 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mbstring %{_sysconfdir}/php.ini
2517 %triggerun mcal -- %{name}-mcal < 3:4.4.0-2.1
2518 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mcal %{_sysconfdir}/php.ini
2520 %triggerun mcrypt -- %{name}-mcrypt < 3:4.4.0-2.1
2521 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mcrypt %{_sysconfdir}/php.ini
2523 %triggerun mhash -- %{name}-mhash < 3:4.4.0-2.1
2524 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mhash %{_sysconfdir}/php.ini
2526 %triggerun mime_magic -- %{name}-mime_magic < 3:4.4.0-2.1
2527 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mime_magic %{_sysconfdir}/php.ini
2529 %triggerun ming -- %{name}-ming < 3:4.4.0-2.1
2530 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove ming %{_sysconfdir}/php.ini
2532 %triggerun mnogosearch -- %{name}-mnogosearch < 3:4.4.0-2.1
2533 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mnogosearch %{_sysconfdir}/php.ini
2535 %triggerun msession -- %{name}-msession < 3:4.4.0-2.1
2536 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove msession %{_sysconfdir}/php.ini
2538 %triggerun mssql -- %{name}-mssql < 3:4.4.0-2.1
2539 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mssql %{_sysconfdir}/php.ini
2541 %triggerun mysql -- %{name}-mysql < 3:4.4.0-2.1
2542 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove mysql %{_sysconfdir}/php.ini
2544 %triggerun oci8 -- %{name}-oci8 < 3:4.4.0-2.1
2545 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove oci8 %{_sysconfdir}/php.ini
2547 %triggerun odbc -- %{name}-odbc < 3:4.4.0-2.1
2548 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove odbc %{_sysconfdir}/php.ini
2550 %triggerun oracle -- %{name}-oracle < 3:4.4.0-2.1
2551 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove oracle %{_sysconfdir}/php.ini
2553 %triggerun overload -- %{name}-overload < 3:4.4.0-2.1
2554 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove overload %{_sysconfdir}/php.ini
2556 %triggerun pcre -- %{name}-pcre < 3:4.4.0-2.1
2557 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pcre %{_sysconfdir}/php.ini
2559 %triggerun pdf -- %{name}-pdf < 3:4.4.0-2.1
2560 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pdf %{_sysconfdir}/php.ini
2562 %triggerun pgsql -- %{name}-pgsql < 3:4.4.0-2.1
2563 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pgsql %{_sysconfdir}/php.ini
2565 %triggerun posix -- %{name}-posix < 3:4.4.0-2.1
2566 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove posix %{_sysconfdir}/php.ini
2568 %triggerun pspell -- %{name}-pspell < 3:4.4.0-2.1
2569 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove pspell %{_sysconfdir}/php.ini
2571 %triggerun qtdom -- %{name}-qtdom < 3:4.4.0-2.1
2572 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove qtdom %{_sysconfdir}/php.ini
2574 %triggerun recode -- %{name}-recode < 3:4.4.0-2.1
2575 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove recode %{_sysconfdir}/php.ini
2577 %triggerun session -- %{name}-session < 3:4.4.0-2.1
2578 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove session %{_sysconfdir}/php.ini
2580 %triggerun shmop -- %{name}-shmop < 3:4.4.0-2.1
2581 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove shmop %{_sysconfdir}/php.ini
2583 %triggerun snmp -- %{name}-snmp < 3:4.4.0-2.1
2584 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove snmp %{_sysconfdir}/php.ini
2586 %triggerun sockets -- %{name}-sockets < 3:4.4.0-2.1
2587 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sockets %{_sysconfdir}/php.ini
2589 %triggerun sybase -- %{name}-sybase < 3:4.4.0-2.1
2590 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sybase %{_sysconfdir}/php.ini
2592 %triggerun sybase-ct -- %{name}-sybase-ct < 3:4.4.0-2.1
2593 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sybase_ct %{_sysconfdir}/php.ini
2595 %triggerun sysvmsg -- %{name}-sysvmsg < 3:4.4.0-2.1
2596 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sysvmsg %{_sysconfdir}/php.ini
2598 %triggerun sysvsem -- %{name}-sysvsem < 3:4.4.0-2.1
2599 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sysvsem %{_sysconfdir}/php.ini
2601 %triggerun sysvshm -- %{name}-sysvshm < 3:4.4.0-2.1
2602 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove sysvshm %{_sysconfdir}/php.ini
2604 %triggerun wddx -- %{name}-wddx < 3:4.4.0-2.1
2605 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove wddx %{_sysconfdir}/php.ini
2607 %triggerun xml -- %{name}-xml < 3:4.4.0-2.1
2608 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove xml %{_sysconfdir}/php.ini
2610 %triggerun xmlrpc -- %{name}-xmlrpc < 3:4.4.0-2.1
2611 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove xmlrpc %{_sysconfdir}/php.ini
2613 %triggerun xslt -- %{name}-xslt < 3:4.4.0-2.1
2614 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove xslt %{_sysconfdir}/php.ini
2616 %triggerun yaz -- %{name}-yaz < 3:4.4.0-2.1
2617 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove yaz %{_sysconfdir}/php.ini
2619 %triggerun yp -- %{name}-yp < 3:4.4.0-2.1
2620 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove yp %{_sysconfdir}/php.ini
2622 %triggerun zip -- %{name}-zip < 3:4.4.0-2.1
2623 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove zip %{_sysconfdir}/php.ini
2625 %triggerun zlib -- %{name}-zlib < 3:4.4.0-2.1
2626 [ ! -x %{_sbindir}/php4-module-install ] || %{_sbindir}/php4-module-install remove zlib %{_sysconfdir}/php.ini
2629 %files -n apache1-mod_php4
2630 %defattr(644,root,root,755)
2631 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/apache/conf.d/*_mod_php4.conf
2632 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
2633 %attr(755,root,root) %{_libdir}/apache1/libphp4.so
2634 /home/services/apache/icons/*
2638 %files -n apache-mod_php4
2639 %defattr(644,root,root,755)
2640 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php4.conf
2641 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache2handler.ini
2642 %attr(755,root,root) %{_libdir}/apache/libphp4.so
2643 /home/services/httpd/icons/*
2647 %defattr(644,root,root,755)
2648 %attr(755,root,root) %{_bindir}/php4.fcgi
2649 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi-fcgi.ini
2652 %defattr(644,root,root,755)
2653 %attr(755,root,root) %{_bindir}/php4.cgi
2654 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
2657 %defattr(644,root,root,755)
2658 %attr(755,root,root) %{_bindir}/php4.cli
2660 # - what about _bindir/php symlink?
2661 # - do it same way link /usr/src/linux is done, ie each package updates symlink
2662 %attr(755,root,root) %{_bindir}/php4
2663 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cli.ini
2664 %{_mandir}/man1/php4.1*
2667 %defattr(644,root,root,755)
2669 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
2670 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2671 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2674 %dir %{_sysconfdir}/conf.d
2675 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
2676 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
2677 %attr(755,root,root) %{_sbindir}/php4-module-install
2678 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2679 %dir %{extensionsdir}
2682 %defattr(644,root,root,755)
2683 %attr(755,root,root) %{_bindir}/phpize
2684 %attr(755,root,root) %{_bindir}/php-config
2685 %attr(755,root,root) %{_libdir}/libphp_common.so
2686 # FIXME: how exactly this is needed? as it contains libdir for apache1 or apache2
2687 %{_libdir}/libphp_common.la
2689 %{_libdir}/php/build
2690 %{_mandir}/man1/php-config.1*
2691 %{_mandir}/man1/phpize.1*
2694 %defattr(644,root,root,755)
2695 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/bcmath.ini
2696 %attr(755,root,root) %{extensionsdir}/bcmath.so
2699 %defattr(644,root,root,755)
2700 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/bz2.ini
2701 %attr(755,root,root) %{extensionsdir}/bz2.so
2704 %defattr(644,root,root,755)
2705 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/calendar.ini
2706 %attr(755,root,root) %{extensionsdir}/calendar.so
2710 %defattr(644,root,root,755)
2711 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/cpdf.ini
2712 %attr(755,root,root) %{extensionsdir}/cpdf.so
2716 %defattr(644,root,root,755)
2717 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/crack.ini
2718 %attr(755,root,root) %{extensionsdir}/crack.so
2721 %defattr(644,root,root,755)
2722 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ctype.ini
2723 %attr(755,root,root) %{extensionsdir}/ctype.so
2727 %defattr(644,root,root,755)
2728 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/curl.ini
2729 %attr(755,root,root) %{extensionsdir}/curl.so
2733 %defattr(644,root,root,755)
2734 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/db.ini
2735 %attr(755,root,root) %{extensionsdir}/db.so
2738 %defattr(644,root,root,755)
2739 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dba.ini
2740 %attr(755,root,root) %{extensionsdir}/dba.so
2743 %defattr(644,root,root,755)
2744 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dbase.ini
2745 %attr(755,root,root) %{extensionsdir}/dbase.so
2748 %defattr(644,root,root,755)
2749 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dbx.ini
2750 %attr(755,root,root) %{extensionsdir}/dbx.so
2753 %defattr(644,root,root,755)
2754 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/dio.ini
2755 %attr(755,root,root) %{extensionsdir}/dio.so
2759 %defattr(644,root,root,755)
2760 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/domxml.ini
2761 %attr(755,root,root) %{extensionsdir}/domxml.so
2766 %defattr(644,root,root,755)
2767 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/fdf.ini
2768 %attr(755,root,root) %{extensionsdir}/fdf.so
2772 %defattr(644,root,root,755)
2773 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/exif.ini
2774 %attr(755,root,root) %{extensionsdir}/exif.so
2777 %defattr(644,root,root,755)
2778 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/filepro.ini
2779 %attr(755,root,root) %{extensionsdir}/filepro.so
2783 %defattr(644,root,root,755)
2784 %doc ext/fribidi/{CREDITS,README}
2785 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/fribidi.ini
2786 %attr(755,root,root) %{extensionsdir}/fribidi.so
2790 %defattr(644,root,root,755)
2791 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ftp.ini
2792 %attr(755,root,root) %{extensionsdir}/ftp.so
2795 %defattr(644,root,root,755)
2796 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gd.ini
2797 %attr(755,root,root) %{extensionsdir}/gd.so
2800 %defattr(644,root,root,755)
2801 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gettext.ini
2802 %attr(755,root,root) %{extensionsdir}/gettext.so
2805 %defattr(644,root,root,755)
2806 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/gmp.ini
2807 %attr(755,root,root) %{extensionsdir}/gmp.so
2810 %defattr(644,root,root,755)
2811 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/hyperwave.ini
2812 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2815 %defattr(644,root,root,755)
2816 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/iconv.ini
2817 %attr(755,root,root) %{extensionsdir}/iconv.so
2821 %defattr(644,root,root,755)
2822 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/imap.ini
2823 %attr(755,root,root) %{extensionsdir}/imap.so
2826 %if %{with interbase}
2828 %defattr(644,root,root,755)
2829 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/interbase.ini
2830 %attr(755,root,root) %{extensionsdir}/interbase.so
2835 %defattr(644,root,root,755)
2836 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/java.ini
2837 %attr(755,root,root) %{extensionsdir}/java.so
2838 %{extensionsdir}/php_java.jar
2843 %defattr(644,root,root,755)
2844 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ldap.ini
2845 %attr(755,root,root) %{extensionsdir}/ldap.so
2849 %defattr(644,root,root,755)
2850 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mbstring.ini
2851 %attr(755,root,root) %{extensionsdir}/mbstring.so
2854 %defattr(644,root,root,755)
2855 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mcal.ini
2856 %attr(755,root,root) %{extensionsdir}/mcal.so
2859 %defattr(644,root,root,755)
2860 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mcrypt.ini
2861 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2865 %defattr(644,root,root,755)
2866 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mhash.ini
2867 %attr(755,root,root) %{extensionsdir}/mhash.so
2871 %defattr(644,root,root,755)
2872 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mime_magic.ini
2873 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2877 %defattr(644,root,root,755)
2878 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/ming.ini
2879 %attr(755,root,root) %{extensionsdir}/ming.so
2882 %if %{with mnogosearch}
2884 %defattr(644,root,root,755)
2885 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mnogosearch.ini
2886 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2889 %if %{with msession}
2891 %defattr(644,root,root,755)
2892 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/msession.ini
2893 %attr(755,root,root) %{extensionsdir}/msession.so
2898 %defattr(644,root,root,755)
2899 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mssql.ini
2900 %attr(755,root,root) %{extensionsdir}/mssql.so
2904 %defattr(644,root,root,755)
2905 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/mysql.ini
2906 %attr(755,root,root) %{extensionsdir}/mysql.so
2909 %defattr(644,root,root,755)
2910 %attr(755,root,root) %{extensionsdir}/ncurses.so
2914 %defattr(644,root,root,755)
2915 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/oci8.ini
2916 %attr(755,root,root) %{extensionsdir}/oci8.so
2921 %defattr(644,root,root,755)
2922 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/odbc.ini
2923 %attr(755,root,root) %{extensionsdir}/odbc.so
2928 %defattr(644,root,root,755)
2929 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/oracle.ini
2930 %attr(755,root,root) %{extensionsdir}/oracle.so
2934 %defattr(644,root,root,755)
2935 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/overload.ini
2936 %attr(755,root,root) %{extensionsdir}/overload.so
2939 %defattr(644,root,root,755)
2940 %attr(755,root,root) %{extensionsdir}/pcntl.so
2944 %defattr(644,root,root,755)
2945 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pcre.ini
2946 %attr(755,root,root) %{extensionsdir}/pcre.so
2951 %defattr(644,root,root,755)
2952 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pdf.ini
2953 %attr(755,root,root) %{extensionsdir}/pdf.so
2958 %defattr(644,root,root,755)
2959 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pgsql.ini
2960 %attr(755,root,root) %{extensionsdir}/pgsql.so
2964 %defattr(644,root,root,755)
2965 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/posix.ini
2966 %attr(755,root,root) %{extensionsdir}/posix.so
2970 %defattr(644,root,root,755)
2971 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/pspell.ini
2972 %attr(755,root,root) %{extensionsdir}/pspell.so
2977 %defattr(644,root,root,755)
2978 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/qtdom.ini
2979 %attr(755,root,root) %{extensionsdir}/qtdom.so
2983 %defattr(644,root,root,755)
2984 %attr(755,root,root) %{extensionsdir}/readline.so
2988 %defattr(644,root,root,755)
2989 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/recode.ini
2990 %attr(755,root,root) %{extensionsdir}/recode.so
2993 # session_mm doesn't work with shared session
2995 #%defattr(644,root,root,755)
2996 #%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/session.ini
2997 #%attr(755,root,root) %{extensionsdir}/session.so
3000 %defattr(644,root,root,755)
3001 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/shmop.ini
3002 %attr(755,root,root) %{extensionsdir}/shmop.so
3006 %defattr(644,root,root,755)
3007 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/snmp.ini
3008 %attr(755,root,root) %{extensionsdir}/snmp.so
3012 %defattr(644,root,root,755)
3013 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sockets.ini
3014 %attr(755,root,root) %{extensionsdir}/sockets.so
3018 %defattr(644,root,root,755)
3019 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sybase.ini
3020 %attr(755,root,root) %{extensionsdir}/sybase.so
3023 %defattr(644,root,root,755)
3024 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sybase_ct.ini
3025 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3029 %defattr(644,root,root,755)
3030 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvmsg.ini
3031 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3034 %defattr(644,root,root,755)
3035 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvsem.ini
3036 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3039 %defattr(644,root,root,755)
3040 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/sysvshm.ini
3041 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3045 %defattr(644,root,root,755)
3046 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/wddx.ini
3047 %attr(755,root,root) %{extensionsdir}/wddx.so
3052 %defattr(644,root,root,755)
3053 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xml.ini
3054 %attr(755,root,root) %{extensionsdir}/xml.so
3059 %defattr(644,root,root,755)
3060 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xmlrpc.ini
3061 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3066 %defattr(644,root,root,755)
3067 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/xslt.ini
3068 %attr(755,root,root) %{extensionsdir}/xslt.so
3073 %defattr(644,root,root,755)
3074 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/yaz.ini
3075 %attr(755,root,root) %{extensionsdir}/yaz.so
3079 %defattr(644,root,root,755)
3080 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/yp.ini
3081 %attr(755,root,root) %{extensionsdir}/yp.so
3084 %defattr(644,root,root,755)
3085 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/zip.ini
3086 %attr(755,root,root) %{extensionsdir}/zip.so
3089 %defattr(644,root,root,755)
3090 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/zlib.ini
3091 %attr(755,root,root) %{extensionsdir}/zlib.so