3 # - make sure that session-unregister patch is no longer needed
4 # (any crash reports related to session modules?)
5 # - think of including support for:
10 # These extensions BuildRequires proprietary libraries...
11 # - fix building of mono, sybase extensions
12 # - test if php.cgi segfaults after ctrl+d when overload.so is loaded
13 # - build simplexml as shared (now it's static)
16 %bcond_with db3 # use db3 packages instead of db (4.x) for Berkeley DB support
17 %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary libs)
18 %bcond_with hardened # build with hardened patch applied (http://www.hardened-php.net/)
19 %bcond_with hwapi # with Hw API support (BR: proprietary libs)
20 %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs)
21 %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs)
22 %bcond_with oracle # with oracle extension module (BR: proprietary libs)
23 %bcond_without cpdf # without cpdf extension module
24 %bcond_without curl # without CURL extension module
25 %bcond_without domxslt # without DOM XSLT/EXSLT support in DOM XML extension module
26 %bcond_without fam # without FAM (File Alteration Monitor) extension module
27 %bcond_without imap # without IMAP extension module
28 %bcond_without interbase # without InterBase extension module
29 %bcond_without ldap # without LDAP extension module
30 %bcond_without mhash # without mhash extension module
31 %bcond_without ming # without ming extension module
32 %bcond_without mm # without mm support for session storage
33 %bcond_without mnogosearch # without mnogosearch extension module
34 %bcond_without msession # without msession extension module
35 %bcond_without mssql # without MS SQL extension module
36 %bcond_without odbc # without ODBC extension module
37 %bcond_without openssl # without OpenSSL support and OpenSSL extension (module)
38 %bcond_without pcre # without PCRE extension module
39 %bcond_without pgsql # without PostgreSQL extension module
40 %bcond_without pspell # without pspell extension module
41 %bcond_without recode # without recode extension module
42 %bcond_without simplexml # without simplexml extension module
43 %bcond_without snmp # without SNMP extension module
44 %bcond_without sqlite # without SQLite extension module
45 %bcond_without sybase # without Sybase extension module
46 %bcond_without sybase_ct # without Sybase-CT extension module
47 %bcond_without tidy # without Tidy extension module
48 %bcond_without wddx # without WDDX extension module
49 %bcond_without xmlrpc # without XML-RPC extension module
50 %bcond_without xml # without XML and DOMXML extension modules
52 # Removed from sources?
53 %bcond_with mono # without Mono extensions module
54 %bcond_with yaz # without YAZ extension module
56 %define _apache2 %(rpm -q apache-devel 2> /dev/null | grep -Eq '\\-2\\.[0-9]+\\.' && echo 1 || echo 0)
57 %define apxs /usr/sbin/apxs
58 # some problems with apache 2.x
62 %ifnarch %{ix86} amd64 sparc sparcv9 alpha ppc
63 %undefine with_interbase
67 %undefine with_msession
69 %include /usr/lib/rpm/macros.php
70 Summary: The PHP HTML-embedded scripting language for use with Apache
71 Summary(fr): Le langage de script embarque-HTML PHP pour Apache
72 Summary(pl): Jêzyk skryptowy PHP - u¿ywany wraz z serwerem Apache
73 Summary(pt_BR): A linguagem de script PHP
74 Summary(ru): PHP ÷ÅÒÓÉÉ 5 - ÑÚÙË ÐÒÅÐÒÏÃÅÓÓÉÒÏ×ÁÎÉÑ HTML-ÆÁÊÌÏ×, ×ÙÐÏÌÎÑÅÍÙÊ ÎÁ ÓÅÒ×ÅÒÅ
75 Summary(uk): PHP ÷ÅÒÓ¦§ 5 - ÍÏ×Á ÐÒÅÐÒÏÃÅÓÕ×ÁÎÎÑ HTML-ÆÁÊ̦×, ×ÉËÏÎÕ×ÁÎÁ ÎÁ ÓÅÒ×ÅÒ¦
78 Release: 1%{?with_hardened:hardened}
82 Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2
83 # Source0-md5: fd26455febdddee0977ce226b9108d9c
86 Source4: %{name}-module-install
87 Source5: %{name}-mod_%{name}.conf
88 Source6: %{name}-cgi.ini
89 Source7: %{name}-apache.ini
90 Source8: %{name}-cli.ini
91 Source9: http://www.hardened-php.net/hardened-php-%{version}-0.2.5.patch.gz
92 # Source9-md5: cc91bb34a066135f1ef7cb1d4ba00b0d
93 Patch0: %{name}-shared.patch
94 Patch1: %{name}-pldlogo.patch
95 Patch2: %{name}-xml-expat-fix.patch
96 Patch3: %{name}-mail.patch
97 Patch4: %{name}-link-libs.patch
98 Patch5: %{name}-libpq_fs_h_path.patch
99 Patch6: %{name}-wddx-fix.patch
100 Patch7: %{name}-msession-shared-lib.patch
101 Patch8: %{name}-build_modules.patch
102 Patch9: %{name}-sapi-ini-file.patch
103 Patch10: %{name}-no-metaccld.patch
104 Patch11: %{name}-session-unregister.patch
105 Patch12: %{name}-ini.patch
106 Patch13: %{name}-acam.patch
107 Patch14: %{name}-xmlrpc-fix.patch
108 Patch15: %{name}-libtool.patch
109 Patch16: %{name}-allow-db31.patch
110 Patch17: %{name}-threads-acfix.patch
111 Patch18: %{name}-tsrmlsfetchgcc2.patch
112 Patch19: %{name}-no_pear_install.patch
113 Patch20: %{name}-zlib.patch
114 Patch21: %{name}-sybase-fix.patch
115 Patch22: %{name}-mnogosearch-fix.patch
116 Patch23: %{name}-nohttpd.patch
117 Patch24: %{name}-lib64.patch
118 Patch25: %{name}-phpize.patch
119 Patch26: %{name}-gd_imagerotate_enable.patch
120 Patch27: %{name}-uint32_t.patch
122 URL: http://www.php.net/
123 %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}}
124 %{?with_pspell:BuildRequires: aspell-devel}
125 BuildRequires: autoconf >= 2.53
126 BuildRequires: automake >= 1.4d
128 BuildRequires: bzip2-devel
129 %{?with_curl:BuildRequires: curl-devel >= 7.12.0 }
130 BuildRequires: cyrus-sasl-devel
131 %{?with_db3:BuildRequires: db3-devel >= 3.1}
132 %{!?with_db3:BuildRequires: db-devel >= 4.0}
133 BuildRequires: elfutils-devel
134 %if %{with xml} || %{with xmlrpc}
135 BuildRequires: expat-devel
136 %{?with_fam:BuildRequires: fam-devel}
138 %{?with_fdf:BuildRequires: fdftk-devel}
139 BuildRequires: fcgi-devel
141 %if %{with mssql} || %{with sybase} || %{with sybase_ct}
142 BuildRequires: freetds-devel
144 BuildRequires: freetype-devel >= 2.0
145 BuildRequires: gd-devel >= 2.0.28-4
146 BuildRequires: gdbm-devel
147 BuildRequires: gmp-devel
148 %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2 }
149 %{?with_cpdf:BuildRequires: libcpdf-devel >= 2.02r1-2}
150 BuildRequires: libgcrypt-devel
151 BuildRequires: libidn-devel
152 BuildRequires: libjpeg-devel
153 BuildRequires: libltdl-devel >= 1.4
154 BuildRequires: libmcrypt-devel >= 2.4.4
155 BuildRequires: libpng-devel >= 1.0.8
156 BuildRequires: libtiff-devel
157 BuildRequires: libtool >= 1.4.3
158 %{?with_xml:BuildRequires: libxml2-devel >= 2.5.10}
159 %{?with_domxslt:BuildRequires: libxslt-devel >= 1.0.3}
160 %{?with_mhash:BuildRequires: mhash-devel}
161 %{?with_ming:BuildRequires: ming-devel >= 0.1.0}
162 %{?with_mm:BuildRequires: mm-devel >= 1.3.0}
163 %{?with_mnogosearch:BuildRequires: mnogosearch-devel >= 3.2.6}
164 %{?with_mono:BuildRequires: mono-devel}
165 BuildRequires: mysql-devel >= 4.0.0
166 BuildRequires: ncurses-ext-devel
167 %{?with_ldap:BuildRequires: openldap-devel >= 2.0}
168 %if %{with openssl} || %{with ldap}
169 BuildRequires: openssl-devel >= 0.9.7d
171 BuildRequires: pam-devel
172 BuildRequires: %{__perl}
173 %{?with_msession:BuildRequires: phoenix-devel}
174 %{?with_pgsql:BuildRequires: postgresql-devel}
175 %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2}
176 BuildRequires: readline-devel
177 %{?with_recode:BuildRequires: recode-devel >= 3.5d-3}
178 BuildRequires: rpm-php-pearprov >= 4.0.2-100
179 BuildRequires: rpmbuild(macros) >= 1.120
180 %{?with_sqlite:BuildRequires: sqlite-devel}
181 BuildRequires: t1lib-devel
182 %{?with_tidy:BuildRequires: tidy-devel}
183 %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7}
184 %{?with_odbc:BuildRequires: unixODBC-devel}
185 %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel}
186 %{?with_yaz:BuildRequires: yaz-devel >= 1.9}
187 BuildRequires: zlib-devel >= 1.0.9
188 # apache 1.3 vs apache 2.0
190 BuildRequires: apache-devel >= 2.0.52-2
191 BuildRequires: apr-devel >= 1:1.0.0
192 BuildRequires: apr-util-devel >= 1:1.0.0
193 PreReq: apache >= 2.0.52-2
194 Requires: apache(modules-api) = %{apache_modules_api}
196 BuildRequires: apache1-devel
197 PreReq: apache(EAPI) < 2.0.0
198 PreReq: apache(EAPI) >= 1.3.9
199 Requires(post,preun): %{apxs}
200 Requires(post,preun): %{__perl}
202 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
203 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
205 Obsoletes: apache-mod_php
207 %define _sysconfdir /etc/php
208 %define extensionsdir %{_libdir}/php
209 %define httpdir /home/services/httpd
212 PHP is an HTML-embedded scripting language. PHP attempts to make it
213 easy for developers to write dynamically generated web pages. PHP also
214 offers built-in database integration for several commercial and
215 non-commercial database management systems, so writing a
216 database-enabled web page with PHP is fairly simple. The most common
217 use of PHP coding is probably as a replacement for CGI scripts. The
218 mod_php module enables the Apache web server to understand and process
219 the embedded PHP language in web pages. This package contains php
220 version %{version}. If you use applications which specifically rely on
221 PHP/FI (PHP v2 and earlier), you should instead install the PHP/FI
222 module contained in the phpfi package. If you're just starting with
223 PHP, you should install this package. You'll also need to install the
227 PHP est un langage de script embarque dans le HTM. PHP essaye de
228 rendre simple aux developpeurs d'ecrire des pages web generees
229 dynamiquement. PHP incorpore egalement une integration avec plusieurs
230 systemes de gestion de bases de donnees commerciaux et
231 non-connerciaux, qui rent facile la creation de pages web liees avec
232 des bases de donnees. L'utilisation la plus commune de PHP est
233 probablement en remplacement de scripts CGI. Le module mod_php permet
234 au serveur web apache de comprendre et de traiter le langage PHP
235 integre dans des pages web. Ce package contient php version
236 %{version}. Si vous utilisez des applications qui utilisent
237 specifiquement PHP/FI, vous devrez installer le module PHP/FI inclus
238 dans le package mod_php. Si vous debutez avec PHP, vous devriez
239 installer ce package. Vous aurez egalement besoin dinstaller le
243 PHP jest jêzykiem skryptowym, którego polecenia umieszcza siê w
244 plikach HTML. Pakiet ten zawiera modu³ przeznaczony dla serwera HTTP
245 (jak np. Apache), który interpretuje te polecenia. Umo¿liwia to
246 tworzenie dynamicznie stron WWW. Spora czê¶æ sk³adni PHP zapo¿yczona
247 zosta³a z jêzyków: C, Java i Perl.
249 %description -l pt_BR
250 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
251 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
252 com algumas características únicas, específicas ao PHP. O objetivo da
253 linguagem é permitir que desenvolvedores web escrevam páginas
254 dinamicamente geradas de forma rápida.
257 PHP - ÜÔÏ ÑÚÙË ÎÁÐÉÓÁÎÉÑ ÓËÒÉÐÔÏ×, ×ÓÔÒÁÉ×ÁÅÍÙÈ × HTML-ËÏÄ. PHP
258 ÐÒÅÄÌÁÇÁÅÔ ÉÎÔÅÒÇÒÁÃÉÀ Ó ÍÎÏÖÅÓÔ×ÏÍ óõâä, ÐÏÜÔÏÍÕ ÎÁÐÉÓÁÎÉÅ ÓËÒÉÐÔÏ×
259 ÄÌÑ ÒÁÂÏÔÙ Ó ÂÁÚÁÍÉ ÄÁÎÎÙÈ ÏÔÎÏÓÉÔÅÌØÎÏ ÐÒÏÓÔÏ. îÁÉÂÏÌÅÅ ÐÏÐÕÌÑÒÎÏÅ
260 ÉÓÐÏÌØÚÏ×ÁÎÉÅ PHP - ÚÁÍÅÎÁ ÄÌÑ CGI ÓËÒÉÐÔÏ×.
262 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÓÁÍÏÄÏÓÔÁÔÏÞÎÕÀ (CGI) ×ÅÒÓÉÀ ÉÎÔÅÒÐÒÅÔÁÔÏÒÁ ÑÚÙËÁ.
263 ÷Ù ÄÏÌÖÎÙ ÔÁËÖÅ ÕÓÔÁÎÏ×ÉÔØ ÐÁËÅÔ %{name}-common. åÓÌÉ ×ÁÍ ÎÕÖÅÎ
264 ÉÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache, ÕÓÔÁÎÏ×ÉÔÅ ÐÁËÅÔ
268 PHP - ÃÅ ÍÏ×Á ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦×, ÝÏ ×ÂÕÄÏ×ÕÀÔØÓÑ × HTML-ËÏÄ. PHP
269 ÐÒÏÐÏÎÕ¤ ¦ÎÔÅÇÒÁæÀ Ú ÂÁÇÁÔØÍÁ óõâä, ÔÏÍÕ ÎÁÐÉÓÁÎÎÑ ÓËÒÉÐÔ¦× ÄÌÑ
270 ÒÏÂÏÔÉ Ú ÂÁÚÁÍÉ ÄÁÎÉÈ ¤ ÄÏ×Ï̦ ÐÒÏÓÔÉÍ. îÁʦÌØÛ ÐÏÐÕÌÑÒÎÅ
271 ×ÉËÏÒÉÓÔÁÎÎÑ PHP - ÚÁͦÎÁ ÄÌÑ CGI ÓËÒÉÐÔ¦×.
273 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓÁÍÏÄÏÓÔÁÔÎÀ (CGI) ×ÅÒÓ¦À ¦ÎÔÅÒÐÒÅÔÁÔÏÒÁ ÍÏ×É. ÷É
274 ÍÁ¤ÔÅ ÔÁËÏÖ ×ÓÔÁÎÏ×ÉÔÉ ÐÁËÅÔ %{name}-common. ñËÝÏ ×ÁÍ ÐÏÔÒ¦ÂÅÎ
275 ¦ÎÔÅÒÐÒÅÔÁÔÏÒ PHP × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache, ×ÓÔÁÎÏצÔØ ÐÁËÅÔ apache-php.
278 Summary: php as FastCGI program
279 Summary(pl): php jako program FastCGI
280 Group: Development/Languages/PHP
281 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
282 Provides: php-program = %{epoch}:%{version}-%{release}
285 php as FastCGI program.
287 %description fcgi -l pl
288 php jako program FastCGI.
291 Summary: php as CGI program
292 Summary(pl): php jako program CGI
293 Group: Development/Languages/PHP
294 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
295 Provides: php-program = %{epoch}:%{version}-%{release}
300 %description cgi -l pl
301 php jako program CGI.
304 Summary: php as CLI interpreter
305 Summary(pl): php jako interpreter dzia³aj±cy z linii poleceñ
306 Group: Development/Languages/PHP
307 PreReq: %{name}-common = %{epoch}:%{version}-%{release}
308 Provides: php-program = %{epoch}:%{version}-%{release}
311 php as CLI interpreter.
313 %description cli -l pl
314 php jako interpreter dzia³aj±cy z linii poleceñ.
317 Summary: Common files needed by both apache module and CGI
318 Summary(pl): Wspólne pliki dla modu³u apache'a i programu CGI
319 Summary(ru): òÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ php
320 Summary(uk): â¦Â̦ÏÔÅËÉ ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ ÄÌÑ php
322 Provides: %{name}-session = %{epoch}:%{version}-%{release}
323 Obsoletes: php-session < 3:4.2.1-2
326 Common files needed by both apache module and CGI.
328 %description common -l pl
329 Wspólne pliki dla modu³u apacha i programu CGI.
331 %description common -l ru
332 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÏÂÝÉÅ ÆÁÊÌÙ ÄÌÑ ÒÁÚÎÙÈ ×ÁÒÉÁÎÔÏ× ÒÅÁÌÉÚÁÃÉÉ PHP
333 (ÓÁÍÏÄÏÓÔÁÔÏÞÎÏÊ É × ËÁÞÅÓÔ×Å ÍÏÄÕÌÑ apache).
335 %description common -l uk
336 ãÅÊ ÐÁËÅÔ Í¦ÓÔÉÔØ ÓЦÌØΦ ÆÁÊÌÉ ÄÌÑ Ò¦ÚÎÉÈ ×ÁÒ¦ÁÎÔ¦× ÒÅÁ̦ÚÁæ§ PHP
337 (ÓÁÍÏÄÏÓÔÁÔÎØϧ ÔÁ × ÑËÏÓÔ¦ ÍÏÄÕÌÑ apache).
340 Summary: Files for PHP modules development
341 Summary(pl): Pliki do kompilacji modu³ów PHP
342 Summary(pt_BR): Arquivos de desenvolvimento para PHP
343 Summary(ru): ðÁËÅÔ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ ÐÏÓÔÒÏÅÎÉÑ ÒÁÓÛÉÒÅÎÉÊ PHP
344 Summary(uk): ðÁËÅÔ ÒÏÚÒÏÂËÉ ÄÌÑ ÐÏÂÕÄÏ×É ÒÏÚÛÉÒÅÎØ PHP
345 Group: Development/Languages/PHP
348 Requires: %{name}-common = %{epoch}:%{version}-%{release}
349 Obsoletes: php-pear-devel
350 Obsoletes: php4-devel
353 The php-devel package lets you compile dynamic extensions to PHP.
354 Included here is the source for the PHP extensions. Instead of
355 recompiling the whole php binary to add support for, say, oracle,
356 install this package and use the new self-contained extensions
357 support. For more information, read the file
358 SELF-CONTAINED-EXTENSIONS.
360 %description devel -l pl
361 Pliki potrzebne do kompilacji modu³ów PHP.
363 %description devel -l pt_BR
364 Este pacote contém arquivos usados no desenvolvimento de programas ou
367 %description devel -l uk
368 ðÁËÅÔ php-devel ÄÁ¤ ÍÏÖÌÉצÓÔØ ËÏÍЦÌÀ×ÁÔÉ ÄÉÎÁͦÞΦ ÒÏÚÛÉÒÅÎÎÑ PHP.
369 äÏ ÐÁËÅÔÕ ×ËÌÀÞÅÎÏ ×ÉȦÄÎÉÊ ËÏÄ ÄÌÑ ÒÏÚÛÉÒÅÎØ. úÁͦÓÔØ ÐÏ×ÔÏÒÎϧ
370 ËÏÍЦÌÑæ§ ¦ÎÁÒÎÏÇÏ ÆÁÊÌÕ php ÄÌÑ ÄÏÄÁÎÎÑ, ÎÁÐÒÉËÌÁÄ, ЦÄÔÒÉÍËÉ
371 oracle, ×ÓÔÁÎÏצÔØ ÃÅÊ ÐÁËÅÔ ÄÌÑ ËÏÍЦÌÑæ§ ÏËÒÅÍÉÈ ÒÏÚÛÉÒÅÎØ.
372 äÅÔÁÌØΦÛÁ ¦ÎÆÏÒÍÁÃ¦Ñ - × ÆÁÊ̦ SELF-CONTAINED-EXTENSIONS.
374 %description devel -l ru
375 ðÁËÅÔ php-devel ÄÁÅÔ ×ÏÚÍÏÖÎÏÓÔØ ËÏÍÐÉÌÉÒÏ×ÁÔØ ÄÉÎÁÍÉÞÅÓËÉÅ ÒÁÓÛÉÒÅÎÉÑ
376 PHP. ðÁËÅÔ ×ËÌÀÞÁÅÔ ÉÓÈÏÄÎÙÊ ËÏÄ ÜÔÉÈ ÒÁÓÛÉÒÅÎÉÊ. ÷ÍÅÓÔÏ ÐÏ×ÔÏÒÎÏÊ
377 ËÏÍÐÉÌÑÃÉÉ ÂÉÎÁÒÎÏÇÏ ÆÁÊÌÁ php ÄÌÑ ÄÏÂÁ×ÌÅÎÉÑ, ÎÁÐÒÉÍÅÒ, ÐÏÄÄÅÒÖËÉ
378 oracle, ÕÓÔÁÎÏ×ÉÔÅ ÜÔÏÔ ÐÁËÅÔ ÄÌÑ ËÏÍÐÉÌÉÒÏ×ÁÎÉÑ ÏÔÄÅÌØÎÙÈ ÒÁÓÛÉÒÅÎÉÊ.
379 ðÏÄÒÏÂÎÏÓÔÉ - × ÆÁÊÌÅ SELF-CONTAINED-EXTENSIONS.
382 Summary: bcmath extension module for PHP
383 Summary(pl): Modu³ bcmath dla PHP
385 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
386 Requires: %{name}-common = %{epoch}:%{version}-%{release}
389 This is a dynamic shared object (DSO) for PHP that will add bc style
390 precision math functions support.
392 %description bcmath -l pl
393 Modu³ PHP umo¿liwiaj±cy korzystanie z dok³adnych funkcji
394 matematycznych takich jak w programie bc.
397 Summary: Bzip2 extension module for PHP
398 Summary(pl): Modu³ bzip2 dla PHP
400 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
401 Requires: %{name}-common = %{epoch}:%{version}-%{release}
404 This is a dynamic shared object (DSO) for PHP that will add
405 bzip2 compression support to PHP.
407 %description bzip2 -l pl
408 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji bzip2.
411 Summary: Calendar extension module for PHP
412 Summary(pl): Modu³ funkcji kalendarza dla PHP
414 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
415 Requires: %{name}-common = %{epoch}:%{version}-%{release}
417 %description calendar
418 This is a dynamic shared object (DSO) for PHP that will add calendar
421 %description calendar -l pl
422 Modu³ PHP dodaj±cy wsparcie dla kalendarza.
425 Summary: cpdf extension module for PHP
426 Summary(pl): Modu³ cpdf dla PHP
428 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
429 Requires: %{name}-common = %{epoch}:%{version}-%{release}
432 This is a dynamic shared object (DSO) for PHP that will add PDF
433 support through libcpdf library.
435 %description cpdf -l pl
436 Modu³ PHP dodaj±cy obs³ugê plików PDF poprzez bibliotekê libcpdf.
439 Summary: ctype extension module for PHP
440 Summary(pl): Modu³ ctype dla PHP
442 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
443 Requires: %{name}-common = %{epoch}:%{version}-%{release}
446 This is a dynamic shared object (DSO) for PHP that will add ctype
449 %description ctype -l pl
450 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji ctype.
453 Summary: curl extension module for PHP
454 Summary(pl): Modu³ curl dla PHP
456 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
457 Requires: %{name}-common = %{epoch}:%{version}-%{release}
460 This is a dynamic shared object (DSO) for PHP that will add curl
463 %description curl -l pl
464 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki curl.
467 Summary: DBA extension module for PHP
468 Summary(pl): Modu³ DBA dla PHP
470 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
471 Requires: %{name}-common = %{epoch}:%{version}-%{release}
474 This is a dynamic shared object (DSO) for PHP that will add flat-file
475 databases (DBA) support.
477 %description dba -l pl
478 Modu³ dla PHP dodaj±cy obs³ugê dla baz danych opartych na plikach
482 Summary: DBase extension module for PHP
483 Summary(pl): Modu³ DBase dla PHP
485 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
486 Requires: %{name}-common = %{epoch}:%{version}-%{release}
489 This is a dynamic shared object (DSO) for PHP that will add DBase
492 %description dbase -l pl
493 Modu³ PHP ze wsparciem dla DBase.
496 Summary: DBX extension module for PHP
497 Summary(pl): Modu³ DBX dla PHP
499 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
500 Requires: %{name}-common = %{epoch}:%{version}-%{release}
503 This is a dynamic shared object (DSO) for PHP that will add DB
504 abstraction layer. DBX supports odbc, mysql, pgsql, mssql, fbsql and
507 %description dbx -l pl
508 Modu³ PHP dodaj±cy warstwê abstrakcji do obs³ugi baz danych. DBX
509 obs³uguje bazy odbc, mysql, pgsql, mssql, fbsql i inne.
512 Summary: Direct I/O extension module for PHP
513 Summary(pl): Modu³ Direct I/O dla PHP
515 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
516 Requires: %{name}-common = %{epoch}:%{version}-%{release}
519 This is a dynamic shared object (DSO) for PHP that will add direct
522 %description dio -l pl
523 Modu³ PHP dodaj±cy obs³ugê bezpo¶rednich operacji I/O na plikach.
526 Summary: exif extension module for PHP
527 Summary(pl): Modu³ exif dla PHP
529 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
530 Requires: %{name}-common = %{epoch}:%{version}-%{release}
533 This is a dynamic shared object (DSO) for PHP that will add EXIF
534 tags support in image files.
536 %description exif -l pl
537 Modu³ PHP dodaj±cy obs³ugê znaczników EXIF w plikach obrazków.
540 Summary: FAM (File Alteration Monitor) module for PHP
541 Summary(pl): Modu³ FAM (File Alteration Monitor) dla PHP
543 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
544 Requires: %{name}-common = %{epoch}:%{version}-%{release}
547 This PHP module adds support for FAM (File Alteration Monitor).
548 FAM monitors files and directories, notifying interested applications
551 %description fam -l pl
552 Modu³ PHP dodaj±cy obs³ugê dla FAM (File Alteration Monitor).
553 FAM monitoruje pliki oraz katalogi, informuj±c zainteresowane aplikacje
557 Summary: FDF extension module for PHP
558 Summary(pl): Modu³ FDF dla PHP
560 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
561 Requires: %{name}-common = %{epoch}:%{version}-%{release}
564 This PHP module adds support for PDF Forms through Adobe FDFTK
567 %description fdf -l pl
568 Modu³ PHP dodaj±cy obs³ugê formularzy PDF poprzez bibliotekê Adobe
572 Summary: filePro extension module for PHP
573 Summary(pl): Modu³ filePro dla PHP
575 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
576 Requires: %{name}-common = %{epoch}:%{version}-%{release}
579 This is a dynamic shared object (DSO) for PHP that will add support
580 for read-only access to filePro databases.
582 %description filepro -l pl
583 Modu³ PHP dodaj±cy mo¿liwo¶æ dostêpu (tylko do odczytu) do baz danych
587 Summary: FTP extension module for PHP
588 Summary(pl): Modu³ FTP dla PHP
590 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
591 Requires: %{name}-common = %{epoch}:%{version}-%{release}
594 This is a dynamic shared object (DSO) for PHP that will add FTP
597 %description ftp -l pl
598 Modu³ PHP dodaj±cy obs³ugê protoko³u FTP.
601 Summary: GD extension module for PHP
602 Summary(pl): Modu³ GD dla PHP
604 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
605 Requires: %{name}-common = %{epoch}:%{version}-%{release}
606 Requires: gd >= 2.0.28-4
607 Provides: %{name}-gd(gif) = %{epoch}:%{version}-%{release}
610 This is a dynamic shared object (DSO) for PHP that will add GD
611 support, allowing you to create and manipulate images with PHP.
613 %description gd -l pl
614 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki GD, pozwalaj±cej na
615 tworzenie i obróbkê obrazków.
618 Summary: gettext extension module for PHP
619 Summary(pl): Modu³ gettext dla PHP
621 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
622 Requires: %{name}-common = %{epoch}:%{version}-%{release}
625 This is a dynamic shared object (DSO) for PHP that will add gettext
628 %description gettext -l pl
629 Modu³ PHP dodaj±cy obs³ugê lokalizacji przez gettext.
632 Summary: gmp extension module for PHP
633 Summary(pl): Modu³ gmp dla PHP
635 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
636 Requires: %{name}-common = %{epoch}:%{version}-%{release}
639 This is a dynamic shared object (DSO) for PHP that will add arbitrary
640 length number support with GNU MP library.
642 %description gmp -l pl
643 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki gmp do obliczeñ na
644 liczbach o dowolnej d³ugo¶ci.
647 Summary: Hyperwave API extension module for PHP
648 Summary(pl): Modu³ API Hyperwave dla PHP
650 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
651 Requires: %{name}-common = %{epoch}:%{version}-%{release}
654 This is a dynamic shared object (DSO) for PHP that will add official
655 Hyperwave API support.
657 %description hwapi -l pl
658 Modu³ PHP dodaj±cy obs³ugê Hyperwave.
661 Summary: iconv extension module for PHP
662 Summary(pl): Modu³ iconv dla PHP
664 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
665 Requires: %{name}-common = %{epoch}:%{version}-%{release}
668 This is a dynamic shared object (DSO) for PHP that will add iconv
671 %description iconv -l pl
672 Modu³ PHP dodaj±cy obs³ugê iconv.
675 Summary: IMAP extension module for PHP
676 Summary(pl): Modu³ IMAP dla PHP
677 Summary(pt_BR): Um módulo para aplicações PHP que usam IMAP
679 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
680 Requires: %{name}-common = %{epoch}:%{version}-%{release}
683 This is a dynamic shared object (DSO) for PHP that will add IMAP
686 %description imap -l pl
687 Modu³ PHP dodaj±cy obs³ugê skrzynek IMAP.
689 %description imap -l pt_BR
690 Um módulo para aplicações PHP que usam IMAP.
693 Summary: InterBase/Firebird database module for PHP
694 Summary(pl): Modu³ bazy danych InterBase/Firebird dla PHP
696 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
697 Requires: %{name}-common = %{epoch}:%{version}-%{release}
698 %{?with_interbase_inst:Autoreq: false}
700 %description interbase
701 This is a dynamic shared object (DSO) for PHP that will add InterBase
702 and Firebird database support.
704 %description interbase -l pl
705 Modu³ PHP umo¿liwiaj±cy dostêp do baz danych InterBase i Firebird.
708 Summary: LDAP extension module for PHP
709 Summary(pl): Modu³ LDAP dla PHP
710 Summary(pt_BR): Um módulo para aplicações PHP que usam LDAP
712 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
713 Requires: %{name}-common = %{epoch}:%{version}-%{release}
716 This is a dynamic shared object (DSO) for PHP that will add LDAP
719 %description ldap -l pl
720 Modu³ PHP dodaj±cy obs³ugê LDAP.
722 %description ldap -l pt_BR
723 Um módulo para aplicações PHP que usam LDAP.
726 Summary: mbstring extension module for PHP
727 Summary(pl): Modu³ mbstring dla PHP
729 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
730 Requires: %{name}-common = %{epoch}:%{version}-%{release}
732 %description mbstring
733 This is a dynamic shared object (DSO) for PHP that will add
734 multibyte string support.
736 %description mbstring -l pl
737 Modu³ PHP dodaj±cy obs³ugê ci±gów znaków wielobajtowych.
740 Summary: mcrypt extension module for PHP
741 Summary(pl): Modu³ mcrypt dla PHP
743 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
744 Requires: %{name}-common = %{epoch}:%{version}-%{release}
747 This is a dynamic shared object (DSO) for PHP that will add mcrypt
750 %description mcrypt -l pl
751 Modu³ PHP dodaj±cy mo¿liwo¶æ szyfrowania poprzez bibliotekê mcrypt.
754 Summary: mhash extension module for PHP
755 Summary(pl): Modu³ mhash dla PHP
757 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
758 Requires: %{name}-common = %{epoch}:%{version}-%{release}
761 This is a dynamic shared object (DSO) for PHP that will add mhash
764 %description mhash -l pl
765 Modu³ PHP udostêpniaj±cy funkcje mieszaj±ce z biblioteki mhash.
768 Summary: mime_magic extension module for PHP
769 Summary(pl): Modu³ mime_magic dla PHP
771 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
772 Requires: %{name}-common = %{epoch}:%{version}-%{release}
773 Requires: /usr/share/file/magic.mime
775 %description mime_magic
776 This PHP module adds support for MIME type lookup via file magic
777 numbers using magic.mime database.
779 %description mime_magic -l pl
780 Modu³ PHP dodaj±cy obs³ugê wyszukiwania typów MIME wed³ug magicznych
781 znaczników plików z u¿yciem bazy danych magic.mime.
784 Summary: ming extension module for PHP
785 Summary(pl): Modu³ ming dla PHP
787 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
788 Requires: %{name}-common = %{epoch}:%{version}-%{release}
791 This is a dynamic shared object (DSO) for PHP that will add ming
792 (Flash - .swf files) support.
794 %description ming -l pl
795 Modu³ PHP dodaj±cy obs³ugê plików Flash (.swf) poprzez bibliotekê
799 Summary: mnoGoSearch extension module for PHP
800 Summary(pl): Modu³ mnoGoSearch dla PHP
802 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
803 Requires: %{name}-common = %{epoch}:%{version}-%{release}
805 %description mnogosearch
806 This is a dynamic shared object (DSO) for PHP that will allow you to
807 access mnoGoSearch free search engine.
809 %description mnogosearch -l pl
810 Modu³ PHP dodaj±cy pozwalaj±cy na dostêp do wolnodostêpnego silnika
811 wyszukiwarki mnoGoSearch.
814 Summary: Mono extension module for PHP
815 Summary(pl): Modu³ Mono dla PHP
817 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
818 Requires: %{name}-common = %{epoch}:%{version}-%{release}
821 This is a dynamic shared object (DSO) for PHP that will allow you to
822 access .NET assemblies via free Mono library.
824 %description mono -l pl
825 Modu³ PHP pozwalaj±cy na dostêp do wstawek .NET za pomoc± darmowej
829 Summary: msession extension module for PHP
830 Summary(pl): Modu³ msession dla PHP
832 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
833 Requires: %{name}-common = %{epoch}:%{version}-%{release}
835 %description msession
836 This is a dynamic shared object (DSO) for PHP that will allow you to
837 use msession. msession is a high speed session daemon which can run
838 either locally or remotely. It is designed to provide consistent
839 session management for a PHP web farm.
841 %description msession -l pl
842 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z demona msession. Jest
843 to demon szybkiej obs³ugi sesji, który mo¿e dzia³aæ lokalnie lub na
844 innej maszynie. S³u¿y do zapewniania spójnej obs³ugi sesji dla farmy
848 Summary: MS SQL extension module for PHP
849 Summary(pl): Modu³ MS SQL dla PHP
851 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
852 Requires: %{name}-common = %{epoch}:%{version}-%{release}
855 This is a dynamic shared object (DSO) for PHP that will add MS SQL
856 databases support through FreeTDS library.
858 %description mssql -l pl
859 Modu³ PHP dodaj±cy obs³ugê baz danych MS SQL poprzez bibliotekê FreeTDS.
862 Summary: MySQL database module for PHP
863 Summary(pl): Modu³ bazy danych MySQL dla PHP
864 Summary(pt_BR): Um módulo para aplicações PHP que usam bancos de dados MySQL
866 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
867 Requires: %{name}-common = %{epoch}:%{version}-%{release}
870 This is a dynamic shared object (DSO) for PHP that will add MySQL
873 %description mysql -l pl
874 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych MySQL.
876 %description mysql -l pt_BR
877 Um módulo para aplicações PHP que usam bancos de dados MySQL.
880 Summary: ncurses module for PHP
881 Summary(pl): Modu³ ncurses dla PHP
883 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
884 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
887 This PHP module adds support for ncurses functions (only for cli and
890 %description ncurses -l pl
891 Modu³ PHP dodaj±cy obs³ugê funkcji ncurses (tylko do SAPI cli i cgi).
894 Summary: Oracle 8 database module for PHP
895 Summary(pl): Modu³ bazy danych Oracle 8 dla PHP
897 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
898 Requires: %{name}-common = %{epoch}:%{version}-%{release}
902 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
903 and Oracle 8 database support through Oracle8 Call-Interface (OCI8).
905 %description oci8 -l pl
906 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7 i Oracle 8
907 poprzez interfejs Oracle8 Call-Interface (OCI8).
910 Summary: ODBC extension module for PHP
911 Summary(pl): Modu³ ODBC dla PHP
912 Summary(pt_BR): Um módulo para aplicações PHP que usam bases de dados ODBC
914 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
915 Requires: %{name}-common = %{epoch}:%{version}-%{release}
916 Requires: unixODBC >= 2.1.1-3
919 This is a dynamic shared object (DSO) for PHP that will add ODBC
922 %description odbc -l pl
923 Modu³ PHP ze wsparciem dla ODBC.
925 %description odbc -l pt_BR
926 Um módulo para aplicações PHP que usam ODBC.
929 Summary: OpenSSL extension module for PHP
930 Summary(pl): Modu³ OpenSSL dla PHP
932 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
933 Requires: %{name}-common = %{epoch}:%{version}-%{release}
936 This is a dynamic shared object (DSO) for PHP that will add OpenSSL
939 Warning: this is an experimental module.
941 %description openssl -l pl
942 Modu³ PHP umo¿liwiaj±cy korzystanie z biblioteki OpenSSL.
944 Uwaga: to jest modu³ eksperymentalny.
947 Summary: Oracle 7 database module for PHP
948 Summary(pl): Modu³ bazy danych Oracle 7 dla PHP
950 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
951 Requires: %{name}-common = %{epoch}:%{version}-%{release}
955 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
958 %description oracle -l pl
959 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych Oracle 7.
962 Summary: Process Control extension module for PHP
963 Summary(pl): Modu³ Process Control dla PHP
965 Requires(post,preun): %{name}-program = %{epoch}:%{version}-%{release}
966 Requires: %{name}-program = %{epoch}:%{version}-%{release}
969 This is a dynamic shared object (DSO) for PHP that will add process
970 spawning and control support. It supports functions like fork(),
971 waitpid(), signal() etc.
973 Warning: this is an experimental module. Also, don't use it in
974 webserver environment!
976 %description pcntl -l pl
977 Modu³ PHP umo¿liwiaj±cy tworzenie nowych procesów i kontrolê nad nimi.
978 Obs³uguje funkcje takie jak fork(), waitpid(), signal() i podobne.
980 Uwaga: to jest modu³ eksperymentalny. Ponadto nie jest przeznaczony do
981 u¿ywania z serwerem WWW - nie próbuj tego!
984 Summary: PCRE extension module for PHP
985 Summary(pl): Modu³ PCRE dla PHP
987 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
988 Requires: %{name}-common = %{epoch}:%{version}-%{release}
991 This is a dynamic shared object (DSO) for PHP that will add Perl
992 Compatible Regular Expression support.
994 %description pcre -l pl
995 Modu³ PHP umo¿liwiaj±cy korzystanie z perlowych wyra¿eñ regularnych
996 (Perl Compatible Regular Expressions)
999 Summary: PostgreSQL database module for PHP
1000 Summary(pl): Modu³ bazy danych PostgreSQL dla PHP
1002 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1003 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1006 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1009 %description pgsql -l pl
1010 Modu³ PHP umo¿liwiaj±cy dostêp do bazy danych PostgreSQL.
1012 %description pgsql -l pt_BR
1013 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1016 Summary: POSIX extension module for PHP
1017 Summary(pl): Modu³ POSIX dla PHP
1019 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1020 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1023 This is a dynamic shared object (DSO) for PHP that will add POSIX
1024 functions support to PHP.
1026 %description posix -l pl
1027 Modu³ PHP umo¿liwiaj±cy korzystanie z funkcji POSIX.
1030 Summary: pspell extension module for PHP
1031 Summary(pl): Modu³ pspell dla PHP
1033 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1034 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1037 This is a dynamic shared object (DSO) for PHP that will add pspell
1038 support to PHP. It allows to check the spelling of a word and offer
1041 %description pspell -l pl
1042 Modu³ PHP umo¿liwiaj±cy korzystanie z pspella. Pozwala on na
1043 sprawdzanie pisowni s³owa i sugerowanie poprawek.
1046 Summary: readline extension module for PHP
1047 Summary(pl): Modu³ readline dla PHP
1049 Requires(post,preun): %{name}-cli = %{epoch}:%{version}-%{release}
1050 Requires: %{name}-cli = %{epoch}:%{version}-%{release}
1052 %description readline
1053 This PHP module adds support for readline functions (only for cli and
1056 %description readline -l pl
1057 Modu³ PHP dodaj±cy obs³ugê funkcji readline (tylko do SAPI cli i cgi).
1060 Summary: recode extension module for PHP
1061 Summary(pl): Modu³ recode dla PHP
1063 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1064 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1065 Requires: recode >= 3.5d-3
1068 This is a dynamic shared object (DSO) for PHP that will add recode
1071 %description recode -l pl
1072 Modu³ PHP dodaj±cy mo¿liwo¶æ konwersji kodowania plików (poprzez
1076 Summary: session extension module for PHP
1077 Summary(pl): Modu³ session dla PHP
1079 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1080 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1082 %description session
1083 This is a dynamic shared object (DSO) for PHP that will add session
1086 %description session -l pl
1087 Modu³ PHP dodaj±cy obs³ugê sesji.
1090 Summary: Shared Memory Operations extension module for PHP
1091 Summary(pl): Modu³ shmop dla PHP
1093 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1094 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1097 This is a dynamic shared object (DSO) for PHP that will add Shared
1098 Memory Operations support.
1100 Warning: this is an experimental module.
1102 %description shmop -l pl
1103 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej.
1105 Uwaga: to jest modu³ eksperymentalny.
1108 Summary: SimpleXML extension module for PHP
1109 Summary(pl): Modu³ SimpleXML dla PHP
1111 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1112 Requires: %{name}-%{common} = %{epoch}:%{version}-%{release}
1114 %description simplexml
1115 This is a dynamic shared object (DSO) for PHP that will add SimpleXML
1118 %description simplexml -l pl
1119 Modu³ PHP dodaj±cy obs³ugê SimpleXML.
1122 Summary: SNMP extension module for PHP
1123 Summary(pl): Modu³ SNMP dla PHP
1125 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1126 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1129 This is a dynamic shared object (DSO) for PHP that will add SNMP
1132 %description snmp -l pl
1133 Modu³ PHP dodaj±cy obs³ugê SNMP.
1136 Summary: sockets extension module for PHP
1137 Summary(pl): Modu³ socket dla PHP
1139 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1140 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1142 %description sockets
1143 This is a dynamic shared object (DSO) for PHP that will add sockets
1146 Warning: this is an experimental module.
1148 %description sockets -l pl
1149 Modu³ PHP dodaj±cy obs³ugê gniazdek.
1151 Uwaga: to jest modu³ eksperymentalny.
1154 Summary: SQLite extension module for PHP
1155 Summary(pl): Modu³ SQLite dla PHP
1157 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1158 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1161 SQLite is a C library that implements an embeddable SQL database engine.
1162 Programs that link with the SQLite library can have SQL database access
1163 without running a separate RDBMS process.
1165 SQLite is not a client library used to connect to a big database server.
1166 SQLite is the server. The SQLite library reads and writes directly to
1167 and from the database files on disk.
1169 %description sqlite -l pl
1170 SQLite jest napisan± w C bibliotek± implementuj±c± osadzalny silnik
1171 bazodanowy SQL. Program linkuj±cy siê z bibliotek± SQLite mo¿e mieæ
1172 dostêp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu RDBMS.
1174 SQLite to nie klient baz danych - biblioteka nie ³±czy siê z serwerami
1175 baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i zapisuje
1176 dane bezpo¶rednio z/do plików baz danych znajduj±cych siê na dysku.
1179 Summary: Sybase DB extension module for PHP
1180 Summary(pl): Modu³ Sybase DB dla PHP
1182 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1183 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1184 Obsoletes: php-sybase-ct
1187 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1188 MS SQL databases support through SYBDB library. Currently Sybase module
1189 is not maintained. Using Sybase-CT module is recommended instead.
1191 %description sybase -l pl
1192 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1193 bibliotekê SYBDB. W chwili obecnej modu³ Sybase nie jest wspierany.
1194 Zaleca siê u¿ywanie modu³u Sybase-CT.
1197 Summary: Sybase-CT extension module for PHP
1198 Summary(pl): Modu³ Sybase-CT dla PHP
1200 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1201 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1202 Obsoletes: php-sybase
1204 %description sybase-ct
1205 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1206 MS SQL databases support through CT-lib.
1208 %description sybase-ct -l pl
1209 Modu³ PHP dodaj±cy obs³ugê baz danych Sybase oraz MS SQL poprzez
1213 Summary: SysV msg extension module for PHP
1214 Summary(pl): Modu³ SysV msg dla PHP
1216 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1217 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1219 %description sysvmsg
1220 This is a dynamic shared object (DSO) for PHP that will add SysV
1221 message queues support.
1223 %description sysvmsg -l pl
1224 Modu³ PHP umo¿liwiaj±cy korzystanie z kolejek komunikatów SysV.
1227 Summary: SysV sem extension module for PHP
1228 Summary(pl): Modu³ SysV sem dla PHP
1230 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1231 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1233 %description sysvsem
1234 This is a dynamic shared object (DSO) for PHP that will add SysV
1237 %description sysvsem -l pl
1238 Modu³ PHP umo¿liwiaj±cy korzystanie z semaforów SysV.
1241 Summary: SysV shm extension module for PHP
1242 Summary(pl): Modu³ SysV shm dla PHP
1244 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1245 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1247 %description sysvshm
1248 This is a dynamic shared object (DSO) for PHP that will add SysV
1249 Shared Memory support.
1251 %description sysvshm -l pl
1252 Modu³ PHP umo¿liwiaj±cy korzystanie z pamiêci dzielonej SysV.
1255 Summary: Tidy extension module for PHP
1256 Summary(pl): Modu³ Tidy dla PHP
1258 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1259 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1262 This is a dynamic shared object (DSO) for PHP that will add Tidy
1265 %description tidy -l pl
1266 Modu³ PHP dodaj±cy umo¿liwiaj±cy korzystanie z tidy.
1269 Summary: wddx extension module for PHP
1270 Summary(pl): Modu³ wddx dla PHP
1272 PreReq: %{name}-session = %{epoch}:%{version}-%{release}
1273 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1274 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1277 This is a dynamic shared object (DSO) for PHP that will add wddx
1280 %description wddx -l pl
1281 Modu³ PHP umo¿liwiaj±cy korzystanie z wddx.
1284 Summary: XML extension module for PHP
1285 Summary(pl): Modu³ XML dla PHP
1287 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1288 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1291 This is a dynamic shared object (DSO) for PHP that will add XML
1292 support. This extension lets you create XML parsers and then define
1293 handlers for different XML events.
1295 %description xml -l pl
1296 Modu³ PHP umo¿liwiaj±cy parsowanie plików XML i obs³ugê zdarzeñ
1297 zwi±zanych z tymi plikami. Pozwala on tworzyæ analizatory XML-a i
1298 nastêpnie definiowaæ procedury obs³ugi dla ró¿nych zdarzeñ XML.
1301 Summary: xmlrpc extension module for PHP
1302 Summary(pl): Modu³ xmlrpc dla PHP
1304 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1305 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1308 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1311 Warning: this is an experimental module.
1313 %description xmlrpc -l pl
1314 Modu³ PHP dodaj±cy obs³ugê XMLRPC.
1316 Uwaga: to jest modu³ eksperymentalny.
1319 Summary: yaz extension module for PHP
1320 Summary(pl): Modu³ yaz dla PHP
1322 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1323 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1324 Requires: yaz >= 1.9
1327 This is a dynamic shared object (DSO) for PHP that will add yaz
1328 support. yaz toolkit implements the Z39.50 protocol for information
1331 %description yaz -l pl
1332 Modu³ PHP umo¿liwiaj±cy korzystanie z yaz - implementacji protoko³u
1333 Z39.50 s³u¿±cego do pozyskiwania informacji.
1336 Summary: NIS (yp) extension module for PHP
1337 Summary(pl): Modu³ NIS (yp) dla PHP
1339 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1340 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1343 This is a dynamic shared object (DSO) for PHP that will add NIS
1344 (Yellow Pages) support.
1346 %description yp -l pl
1347 Modu³ PHP dodaj±cy wsparcie dla NIS (Yellow Pages).
1350 Summary: Zlib extension module for PHP
1351 Summary(pl): Modu³ zlib dla PHP
1353 Requires(post,preun): %{name}-common = %{epoch}:%{version}-%{release}
1354 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1357 This is a dynamic shared object (DSO) for PHP that will add zlib
1358 compression support to PHP.
1360 %description zlib -l pl
1361 Modu³ PHP umo¿liwiaj±cy u¿ywanie kompresji zlib.
1364 Summary: PEAR - PHP Extension and Application Repository
1365 Summary(pl): PEAR - rozszerzenie PHP i repozytorium aplikacji
1366 Group: Development/Languages/PHP
1367 Requires: %{name}-pcre = %{epoch}:%{version}-%{release}
1368 Requires: %{name}-xml = %{epoch}:%{version}-%{release}
1369 Obsoletes: php-pear-additional_classes
1372 PEAR - PHP Extension and Application Repository.
1374 Please note that this package provides only basic directory structure.
1375 If you want to use base PEAR classes (PEAR.php, PEAR/*.php), that come
1376 with PHP, please install appropriate php-pear-* (php-pear-PEAR,
1377 php-PEAR-Archive_Tar, etc) packages.
1379 %description pear -l pl
1380 PEAR (PHP Extension and Application Repository) - rozszerzenie PHP i
1381 repozytorium aplikacji.
1383 Nale¿y pamiêtaæ, ¿e ten pakiet dostarcza tylko podstawow± strukturê
1384 katalogów. Aby u¿yæ podstawowych klas PEAR (PEAR.php PEAR/*.php),
1385 dostarczanych z PHP, nale¿y zainstalowaæ odpowiednie pakiety
1386 php-pear-* (php-pear-PEAR, php-pear-Archive_Tar, itp).
1402 cp php.ini-dist php.ini
1404 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1424 %{?with_hardened:zcat %{SOURCE9} | patch -p1}
1426 # conflict seems to be resolved by recode patches
1427 rm -f ext/recode/config9.m4
1429 # fix lib path in phpize
1431 sed -i -e 's,lib/php,%{_lib}/php,' phpize.in
1435 sed -i -e 's#apr-config#apr-1-config#g' sapi/apache*/*.m4
1438 CFLAGS="%{rpmcflags} -DEAPI=1 -I/usr/X11R6/include `%{_bindir}/apr-1-config --includes` `%{_bindir}/apu-1-config --includes`"
1439 EXTENSION_DIR="%{extensionsdir}"; export EXTENSION_DIR
1444 PROG_SENDMAIL="/usr/lib/sendmail"; export PROG_SENDMAIL
1445 for i in fcgi cgi cli apxs ; do
1447 `[ $i = cgi ] && echo --enable-discard-path` \
1448 `[ $i = cli ] && echo --disable-cgi` \
1449 `[ $i = fcgi ] && echo --enable-fastcgi --with-fastcgi=/usr` \
1451 `[ $i = apxs ] && echo --with-apxs2=%{apxs}` \
1452 --enable-maintainer-zts \
1454 `[ $i = apxs ] && echo --with-apxs=%{apxs}` \
1456 --with-config-file-path=%{_sysconfdir} \
1457 --with-exec-dir=%{_bindir} \
1458 --%{!?debug:dis}%{?debug:en}able-debug \
1459 --enable-memory-limit \
1460 --enable-bcmath=shared \
1461 --enable-calendar=shared \
1462 --enable-ctype=shared \
1463 --enable-dba=shared \
1464 --enable-dbx=shared \
1465 --enable-dio=shared \
1466 --enable-exif=shared \
1467 --enable-filepro=shared \
1468 --enable-ftp=shared \
1469 --enable-gd-native-ttf \
1470 --enable-gd-jus-conf \
1471 --enable-magic-quotes \
1472 --enable-mbstring=shared,all \
1474 --enable-pcntl=shared \
1475 --enable-posix=shared \
1478 --enable-shmop=shared \
1479 %{?with_simplexml:--enable-simplexml} \
1480 --enable-sysvmsg=shared \
1481 --enable-sysvsem=shared \
1482 --enable-sysvshm=shared \
1483 --enable-track-vars \
1484 --enable-trans-sid \
1485 --enable-safe-mode \
1486 --enable-sockets=shared \
1487 --enable-ucd-snmp-hack \
1488 %{?with_wddx:--enable-wddx=shared} \
1489 %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
1490 --enable-yp=shared \
1492 %{?with_cpdf:--with-cpdflib=shared} \
1493 %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1494 %{?with_db3:--with-db3}%{!?with_db3:--with-db4} \
1495 --with-dbase=shared \
1496 %{?with_xml:--with-dom=shared} \
1497 %{?with_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1498 %if %{with xml} || %{with xmlrpc}
1499 --with-expat-dir=shared,/usr \
1501 --without-expat-dir \
1503 %{?with_fdf:--with-fdftk=shared} \
1504 --with-iconv=shared \
1505 %{?with_fam:--with-fam=shared} \
1506 --with-filepro=shared \
1507 --with-freetype-dir=shared \
1508 --with-gettext=shared \
1509 --with-gd=shared,/usr \
1512 %{?with_hwapi:--with-hwapi=shared} \
1513 %{?with_imap:--with-imap=shared --with-imap-ssl} \
1514 %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1515 --with-jpeg-dir=/usr \
1516 %{?with_ldap:--with-ldap=shared} \
1517 --with-mcrypt=shared \
1518 %{?with_mhash:--with-mhash=shared} \
1519 --with-mime-magic=shared,/usr/share/file/magic.mime \
1520 %{?with_ming:--with-ming=shared} \
1521 %{?with_mm:--with-mm} \
1522 %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1523 %{?with_mono:--with-mono} \
1524 %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1525 %{?with_mssql:--with-mssql=shared} \
1526 --with-mysql=shared,/usr \
1527 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1528 --with-ncurses=shared \
1529 %{?with_oci8:--with-oci8=shared} \
1530 %{?with_openssl:--with-openssl=shared} \
1531 %{?with_oracle:--with-oracle=shared} \
1532 %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared} \
1533 --with-pear=%{php_pear_dir} \
1534 %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1535 --with-png-dir=/usr \
1536 %{?with_pspell:--with-pspell=shared} \
1537 --with-readline=shared \
1538 %{?with_recode:--with-recode=shared} \
1540 --without-sablot-js \
1541 %{?with_snmp:--with-snmp=shared} \
1542 %{?with_sybase:--with-sybase=shared,/usr} \
1543 %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \
1544 %{?with_sqlite:--with-sqlite=shared,/usr} \
1545 --with-t1lib=shared \
1546 %{?with_tidy:--with-tidy=shared} \
1547 --with-tiff-dir=/usr \
1548 %{?with_odbc:--with-unixODBC=shared} \
1549 %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1551 %{?with_yaz:--with-yaz=shared} \
1552 --with-zlib=shared \
1553 --with-zlib-dir=shared,/usr
1555 # %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
1557 cp -f Makefile Makefile.$i
1558 # left for debugging purposes
1559 cp -f main/php_config.h php_config.h.$i
1562 # for now session_mm doesn't work with shared session module...
1563 # --enable-session=shared
1564 # %{!?with_mm:--with-mm=shared,no}%{?with_mm:--with-mm=shared}
1568 # fix install paths, avoid evil rpaths
1569 %{__perl} -pi -e "s|^libdir=.*|libdir='%{_libdir}'|" libphp_common.la
1570 %{__perl} -pi -e "s|^libdir=.*|libdir='%{_libdir}/apache'|" libphp5.la
1571 %{__perl} -pi -e 's|^(relink_command=.* -rpath )[^ ]*/libs |$1%{_libdir}/apache |' libphp5.la
1573 # for fcgi: -DDISCARD_PATH=0 -DENABLE_PATHINFO_CHECK=1 -DFORCE_CGI_REDIRECT=0
1574 # -DHAVE_FILENO_PROTO=1 -DHAVE_FPOS=1 -DHAVE_LIBNSL=1(die) -DHAVE_SYS_PARAM_H=1
1575 # -DPHP_FASTCGI=1 -DPHP_FCGI_STATIC=1 -DPHP_WRITE_STDOUT=1
1577 %{__make} sapi/cgi/php -f Makefile.fcgi \
1578 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"
1579 cp -r sapi/cgi sapi/fcgi
1580 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1583 # -DENABLE_CHROOT_FUNC=1 (cgi,fcgi) is used in ext/standard/dir.c (libphp_common)
1584 # -DPHP_WRITE_STDOUT is used also for cli, but not set by its config.m4
1586 %{__make} sapi/cgi/php -f Makefile.cgi \
1587 CFLAGS_CLEAN="%{rpmcflags} -DDISCARD_PATH=1 -DENABLE_PATHINFO_CHECK=1 -DFORCE_CGI_REDIRECT=0 -DPHP_WRITE_STDOUT=1"
1590 rm -rf $RPM_BUILD_ROOT
1591 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache},%{_sysconfdir}/{apache,cgi}} \
1592 $RPM_BUILD_ROOT%{httpdir}/icons \
1593 $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1594 $RPM_BUILD_ROOT/var/run/php \
1595 $RPM_BUILD_ROOT/etc/httpd/httpd.conf
1598 INSTALL_ROOT=$RPM_BUILD_ROOT \
1599 INSTALL_IT="\$(LIBTOOL) --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir} ; \$(LIBTOOL) --mode=install install libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache ; \$(LIBTOOL) --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi ; \$(LIBTOOL) --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi" \
1600 INSTALL_CLI="\$(LIBTOOL) --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli"
1603 # Why make install doesn't install libphp5.so ?
1604 install libs/libphp5.so $RPM_BUILD_ROOT%{_libdir}/apache
1606 # compatibility (/usr/bin/php used to be CGI SAPI)
1607 ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php
1609 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1610 install %{SOURCE6} %{SOURCE7} %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}
1611 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1612 install %{SOURCE2} php.gif $RPM_BUILD_ROOT%{httpdir}/icons
1613 install %{SOURCE4} $RPM_BUILD_ROOT%{_sbindir}
1614 install %{SOURCE5} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf
1616 install %{SOURCE1} .
1618 cp -f Zend/LICENSE{,.Zend}
1620 # Directories created for pear:
1621 install -d $RPM_BUILD_ROOT%{php_pear_dir}/{Archive,Console,Crypt,HTML/Template,Image,Net,Science,XML}
1623 rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la
1626 rm -rf $RPM_BUILD_ROOT
1630 %{__perl} -pi -e 's|^#AddType application/x-httpd-php \.php|AddType application/x-httpd-php .php|' \
1631 /etc/httpd/httpd.conf
1632 %{apxs} -e -a -n php5 %{_pkglibdir}/libphp5.so 1>&2
1634 if [ -f /var/lock/subsys/httpd ]; then
1635 /etc/rc.d/init.d/httpd restart 1>&2
1640 if [ "$1" = "0" ]; then
1641 if [ -f /var/lock/subsys/httpd ]; then
1642 /etc/rc.d/init.d/httpd restart 1>&2
1647 if [ "$1" = "0" ]; then
1648 %{apxs} -e -A -n php5 %{_pkglibdir}/libphp5.so 1>&2
1650 's|^AddType application/x-httpd-php \.php|#AddType application/x-httpd-php .php|' \
1651 /etc/httpd/httpd.conf
1652 if [ -f /var/lock/subsys/httpd ]; then
1653 /etc/rc.d/init.d/httpd restart 1>&2
1658 %post common -p /sbin/ldconfig
1659 %postun common -p /sbin/ldconfig
1662 %{_sbindir}/php-module-install install bcmath %{_sysconfdir}/php.ini
1665 if [ "$1" = "0" ]; then
1666 %{_sbindir}/php-module-install remove bcmath %{_sysconfdir}/php.ini
1670 %{_sbindir}/php-module-install install bz2 %{_sysconfdir}/php.ini
1673 if [ "$1" = "0" ]; then
1674 %{_sbindir}/php-module-install remove bz2 %{_sysconfdir}/php.ini
1678 %{_sbindir}/php-module-install install calendar %{_sysconfdir}/php.ini
1681 if [ "$1" = "0" ]; then
1682 %{_sbindir}/php-module-install remove calendar %{_sysconfdir}/php.ini
1686 %{_sbindir}/php-module-install install cpdf %{_sysconfdir}/php.ini
1689 if [ "$1" = "0" ]; then
1690 %{_sbindir}/php-module-install remove cpdf %{_sysconfdir}/php.ini
1694 %{_sbindir}/php-module-install install ctype %{_sysconfdir}/php.ini
1697 if [ "$1" = "0" ]; then
1698 %{_sbindir}/php-module-install remove ctype %{_sysconfdir}/php.ini
1702 %{_sbindir}/php-module-install install curl %{_sysconfdir}/php.ini
1705 if [ "$1" = "0" ]; then
1706 %{_sbindir}/php-module-install remove curl %{_sysconfdir}/php.ini
1710 %{_sbindir}/php-module-install install dba %{_sysconfdir}/php.ini
1713 if [ "$1" = "0" ]; then
1714 %{_sbindir}/php-module-install remove dba %{_sysconfdir}/php.ini
1718 %{_sbindir}/php-module-install install dbase %{_sysconfdir}/php.ini
1721 if [ "$1" = "0" ]; then
1722 %{_sbindir}/php-module-install remove dbase %{_sysconfdir}/php.ini
1726 %{_sbindir}/php-module-install install dbx %{_sysconfdir}/php.ini
1729 if [ "$1" = "0" ]; then
1730 %{_sbindir}/php-module-install remove dbx %{_sysconfdir}/php.ini
1734 %{_sbindir}/php-module-install install dio %{_sysconfdir}/php.ini
1737 if [ "$1" = "0" ]; then
1738 %{_sbindir}/php-module-install remove dio %{_sysconfdir}/php.ini
1742 %{_sbindir}/php-module-install install exif %{_sysconfdir}/php.ini
1745 if [ "$1" = "0" ]; then
1746 %{_sbindir}/php-module-install remove exif %{_sysconfdir}/php.ini
1750 %{_sbindir}/php-module-install install fam %{_sysconfdir}/php.ini
1753 if [ "$1" = "0" ]; then
1754 %{_sbindir}/php-module-install remove fam %{_sysconfdir}/php.ini
1758 %{_sbindir}/php-module-install install fdf %{_sysconfdir}/php.ini
1761 if [ "$1" = "0" ]; then
1762 %{_sbindir}/php-module-install remove fdf %{_sysconfdir}/php.ini
1766 %{_sbindir}/php-module-install install filepro %{_sysconfdir}/php.ini
1769 if [ "$1" = "0" ]; then
1770 %{_sbindir}/php-module-install remove filepro %{_sysconfdir}/php.ini
1774 %{_sbindir}/php-module-install install ftp %{_sysconfdir}/php.ini
1777 if [ "$1" = "0" ]; then
1778 %{_sbindir}/php-module-install remove ftp %{_sysconfdir}/php.ini
1782 %{_sbindir}/php-module-install install gd %{_sysconfdir}/php.ini
1785 if [ "$1" = "0" ]; then
1786 %{_sbindir}/php-module-install remove gd %{_sysconfdir}/php.ini
1790 %{_sbindir}/php-module-install install gettext %{_sysconfdir}/php.ini
1793 if [ "$1" = "0" ]; then
1794 %{_sbindir}/php-module-install remove gettext %{_sysconfdir}/php.ini
1798 %{_sbindir}/php-module-install install gmp %{_sysconfdir}/php.ini
1801 if [ "$1" = "0" ]; then
1802 %{_sbindir}/php-module-install remove gmp %{_sysconfdir}/php.ini
1806 %{_sbindir}/php-module-install install hwapi %{_sysconfdir}/php.ini
1809 if [ "$1" = "0" ]; then
1810 %{_sbindir}/php-module-install remove hwapi %{_sysconfdir}/php.ini
1814 %{_sbindir}/php-module-install install iconv %{_sysconfdir}/php.ini
1817 if [ "$1" = "0" ]; then
1818 %{_sbindir}/php-module-install remove iconv %{_sysconfdir}/php.ini
1822 %{_sbindir}/php-module-install install imap %{_sysconfdir}/php.ini
1825 if [ "$1" = "0" ]; then
1826 %{_sbindir}/php-module-install remove imap %{_sysconfdir}/php.ini
1830 %{_sbindir}/php-module-install install interbase %{_sysconfdir}/php.ini
1833 if [ "$1" = "0" ]; then
1834 %{_sbindir}/php-module-install remove interbase %{_sysconfdir}/php.ini
1838 %{_sbindir}/php-module-install install ldap %{_sysconfdir}/php.ini
1841 if [ "$1" = "0" ]; then
1842 %{_sbindir}/php-module-install remove ldap %{_sysconfdir}/php.ini
1846 %{_sbindir}/php-module-install install mbstring %{_sysconfdir}/php.ini
1849 if [ "$1" = "0" ]; then
1850 %{_sbindir}/php-module-install remove mbstring %{_sysconfdir}/php.ini
1854 %{_sbindir}/php-module-install install mcrypt %{_sysconfdir}/php.ini
1857 if [ "$1" = "0" ]; then
1858 %{_sbindir}/php-module-install remove mcrypt %{_sysconfdir}/php.ini
1862 %{_sbindir}/php-module-install install mhash %{_sysconfdir}/php.ini
1865 if [ "$1" = "0" ]; then
1866 %{_sbindir}/php-module-install remove mhash %{_sysconfdir}/php.ini
1870 %{_sbindir}/php-module-install install mime_magic %{_sysconfdir}/php.ini
1873 if [ "$1" = "0" ]; then
1874 %{_sbindir}/php-module-install remove mime_magic %{_sysconfdir}/php.ini
1878 %{_sbindir}/php-module-install install ming %{_sysconfdir}/php.ini
1881 if [ "$1" = "0" ]; then
1882 %{_sbindir}/php-module-install remove ming %{_sysconfdir}/php.ini
1886 %{_sbindir}/php-module-install install mnogosearch %{_sysconfdir}/php.ini
1889 if [ "$1" = "0" ]; then
1890 %{_sbindir}/php-module-install remove mnogosearch %{_sysconfdir}/php.ini
1894 %{_sbindir}/php-module-install install mono %{_sysconfdir}/php.ini
1897 if [ "$1" = "0" ]; then
1898 %{_sbindir}/php-module-install remove mono %{_sysconfdir}/php.ini
1902 %{_sbindir}/php-module-install install msession %{_sysconfdir}/php.ini
1905 if [ "$1" = "0" ]; then
1906 %{_sbindir}/php-module-install remove msession %{_sysconfdir}/php.ini
1910 %{_sbindir}/php-module-install install mssql %{_sysconfdir}/php.ini
1913 if [ "$1" = "0" ]; then
1914 %{_sbindir}/php-module-install remove mssql %{_sysconfdir}/php.ini
1918 %{_sbindir}/php-module-install install mysql %{_sysconfdir}/php.ini
1921 if [ "$1" = "0" ]; then
1922 %{_sbindir}/php-module-install remove mysql %{_sysconfdir}/php.ini
1926 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
1927 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cgi.ini
1929 if [ -f %{_sysconfdir}/php-cli.ini ]; then
1930 %{_sbindir}/php-module-install install ncurses %{_sysconfdir}/php-cli.ini
1934 if [ "$1" = "0" ]; then
1935 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
1936 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cgi.ini
1938 if [ -f %{_sysconfdir}/php-cli.ini ]; then
1939 %{_sbindir}/php-module-install remove ncurses %{_sysconfdir}/php-cli.ini
1944 %{_sbindir}/php-module-install install oci8 %{_sysconfdir}/php.ini
1947 if [ "$1" = "0" ]; then
1948 %{_sbindir}/php-module-install remove oci8 %{_sysconfdir}/php.ini
1952 %{_sbindir}/php-module-install install odbc %{_sysconfdir}/php.ini
1955 if [ "$1" = "0" ]; then
1956 %{_sbindir}/php-module-install remove odbc %{_sysconfdir}/php.ini
1960 %{_sbindir}/php-module-install install openssl %{_sysconfdir}/php.ini
1963 if [ "$1" = "0" ]; then
1964 %{_sbindir}/php-module-install remove openssl %{_sysconfdir}/php.ini
1968 %{_sbindir}/php-module-install install oracle %{_sysconfdir}/php.ini
1971 if [ "$1" = "0" ]; then
1972 %{_sbindir}/php-module-install remove oracle %{_sysconfdir}/php.ini
1976 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
1977 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cgi.ini
1979 if [ -f %{_sysconfdir}/php-cli.ini ]; then
1980 %{_sbindir}/php-module-install install pcntl %{_sysconfdir}/php-cli.ini
1984 if [ "$1" = "0" ]; then
1985 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
1986 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cgi.ini
1988 if [ -f %{_sysconfdir}/php-cli.ini ]; then
1989 %{_sbindir}/php-module-install remove pcntl %{_sysconfdir}/php-cli.ini
1994 %{_sbindir}/php-module-install install pcre %{_sysconfdir}/php.ini
1997 if [ "$1" = "0" ]; then
1998 %{_sbindir}/php-module-install remove pcre %{_sysconfdir}/php.ini
2002 %{_sbindir}/php-module-install install pgsql %{_sysconfdir}/php.ini
2005 if [ "$1" = "0" ]; then
2006 %{_sbindir}/php-module-install remove pgsql %{_sysconfdir}/php.ini
2010 %{_sbindir}/php-module-install install posix %{_sysconfdir}/php.ini
2013 if [ "$1" = "0" ]; then
2014 %{_sbindir}/php-module-install remove posix %{_sysconfdir}/php.ini
2018 %{_sbindir}/php-module-install install pspell %{_sysconfdir}/php.ini
2021 if [ "$1" = "0" ]; then
2022 %{_sbindir}/php-module-install remove pspell %{_sysconfdir}/php.ini
2026 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2027 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cgi.ini
2029 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2030 %{_sbindir}/php-module-install install readline %{_sysconfdir}/php-cli.ini
2034 if [ "$1" = "0" ]; then
2035 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2036 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cgi.ini
2038 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2039 %{_sbindir}/php-module-install remove readline %{_sysconfdir}/php-cli.ini
2044 %{_sbindir}/php-module-install install recode %{_sysconfdir}/php.ini
2047 if [ "$1" = "0" ]; then
2048 %{_sbindir}/php-module-install remove recode %{_sysconfdir}/php.ini
2052 %{_sbindir}/php-module-install install session %{_sysconfdir}/php.ini
2055 if [ "$1" = "0" ]; then
2056 %{_sbindir}/php-module-install remove session %{_sysconfdir}/php.ini
2060 %{_sbindir}/php-module-install install shmop %{_sysconfdir}/php.ini
2063 if [ "$1" = "0" ]; then
2064 %{_sbindir}/php-module-install remove shmop %{_sysconfdir}/php.ini
2068 %{_sbindir}/php-module-install install simplexml %{_sysconfdir}/php.ini
2071 if [ "$1" = "0" ]; then
2072 %{_sbindir}/php-module-install remove simplexml %{_sysconfdir}/php.ini
2076 %{_sbindir}/php-module-install install snmp %{_sysconfdir}/php.ini
2079 if [ "$1" = "0" ]; then
2080 %{_sbindir}/php-module-install remove snmp %{_sysconfdir}/php.ini
2084 %{_sbindir}/php-module-install install sockets %{_sysconfdir}/php.ini
2087 if [ "$1" = "0" ]; then
2088 %{_sbindir}/php-module-install remove sockets %{_sysconfdir}/php.ini
2092 %{_sbindir}/php-module-install install sqlite %{_sysconfdir}/php.ini
2095 if [ "$1" = "0" ]; then
2096 %{_sbindir}/php-module-install remove sqlite %{_sysconfdir}/php.ini
2100 %{_sbindir}/php-module-install install sybase %{_sysconfdir}/php.ini
2103 if [ "$1" = "0" ]; then
2104 %{_sbindir}/php-module-install remove sybase %{_sysconfdir}/php.ini
2108 %{_sbindir}/php-module-install install sybase_ct %{_sysconfdir}/php.ini
2111 if [ "$1" = "0" ]; then
2112 %{_sbindir}/php-module-install remove sybase_ct %{_sysconfdir}/php.ini
2116 %{_sbindir}/php-module-install install sysvmsg %{_sysconfdir}/php.ini
2119 if [ "$1" = "0" ]; then
2120 %{_sbindir}/php-module-install remove sysvmsg %{_sysconfdir}/php.ini
2124 %{_sbindir}/php-module-install install sysvsem %{_sysconfdir}/php.ini
2127 if [ "$1" = "0" ]; then
2128 %{_sbindir}/php-module-install remove sysvsem %{_sysconfdir}/php.ini
2132 %{_sbindir}/php-module-install install sysvshm %{_sysconfdir}/php.ini
2135 if [ "$1" = "0" ]; then
2136 %{_sbindir}/php-module-install remove sysvshm %{_sysconfdir}/php.ini
2140 %{_sbindir}/php-module-install install wddx %{_sysconfdir}/php.ini
2143 if [ "$1" = "0" ]; then
2144 %{_sbindir}/php-module-install remove wddx %{_sysconfdir}/php.ini
2148 %{_sbindir}/php-module-install install xml %{_sysconfdir}/php.ini
2151 if [ "$1" = "0" ]; then
2152 %{_sbindir}/php-module-install remove xml %{_sysconfdir}/php.ini
2156 %{_sbindir}/php-module-install install xmlrpc %{_sysconfdir}/php.ini
2159 if [ "$1" = "0" ]; then
2160 %{_sbindir}/php-module-install remove xmlrpc %{_sysconfdir}/php.ini
2164 %{_sbindir}/php-module-install install yaz %{_sysconfdir}/php.ini
2167 if [ "$1" = "0" ]; then
2168 %{_sbindir}/php-module-install remove yaz %{_sysconfdir}/php.ini
2172 %{_sbindir}/php-module-install install yp %{_sysconfdir}/php.ini
2175 if [ "$1" = "0" ]; then
2176 %{_sbindir}/php-module-install remove yp %{_sysconfdir}/php.ini
2180 %{_sbindir}/php-module-install install zlib %{_sysconfdir}/php.ini
2183 if [ "$1" = "0" ]; then
2184 %{_sbindir}/php-module-install remove zlib %{_sysconfdir}/php.ini
2188 %defattr(644,root,root,755)
2190 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/httpd.conf/*_mod_php.conf
2192 %attr(755,root,root) %{_libdir}/apache/libphp5.so
2193 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-apache.ini
2196 %defattr(644,root,root,755)
2197 %attr(755,root,root) %{_bindir}/php.fcgi
2198 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi-fcgi.ini
2201 %defattr(644,root,root,755)
2202 %attr(755,root,root) %{_bindir}/php.cgi
2203 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cgi.ini
2206 %defattr(644,root,root,755)
2207 %attr(755,root,root) %{_bindir}/php.cli
2208 %attr(755,root,root) %{_bindir}/php
2209 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php-cli.ini
2210 %{_mandir}/man1/php.1*
2213 %defattr(644,root,root,755)
2215 %doc CODING_STANDARDS CREDITS Zend/ZEND_CHANGES
2216 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2217 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2220 %attr(644,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/php.ini
2221 %attr(770,root,http) %dir %verify(not group mode) /var/run/php
2224 %attr(755,root,root) %{_sbindir}/*
2225 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2226 %dir %{extensionsdir}
2229 %defattr(644,root,root,755)
2230 %attr(755,root,root) %{_bindir}/phpextdist
2231 %attr(755,root,root) %{_bindir}/phpize
2232 %attr(755,root,root) %{_bindir}/php-config
2233 %attr(755,root,root) %{_libdir}/libphp_common.so
2234 %{_libdir}/libphp_common.la
2236 %{_libdir}/php/build
2239 %defattr(644,root,root,755)
2240 %attr(755,root,root) %{extensionsdir}/bcmath.so
2243 %defattr(644,root,root,755)
2244 %attr(755,root,root) %{extensionsdir}/bz2.so
2247 %defattr(644,root,root,755)
2248 %attr(755,root,root) %{extensionsdir}/calendar.so
2252 %defattr(644,root,root,755)
2253 %attr(755,root,root) %{extensionsdir}/cpdf.so
2257 %defattr(644,root,root,755)
2258 %attr(755,root,root) %{extensionsdir}/ctype.so
2262 %defattr(644,root,root,755)
2263 %attr(755,root,root) %{extensionsdir}/curl.so
2267 %defattr(644,root,root,755)
2268 %attr(755,root,root) %{extensionsdir}/dba.so
2271 %defattr(644,root,root,755)
2272 %attr(755,root,root) %{extensionsdir}/dbase.so
2275 %defattr(644,root,root,755)
2276 %attr(755,root,root) %{extensionsdir}/dbx.so
2279 %defattr(644,root,root,755)
2280 %attr(755,root,root) %{extensionsdir}/dio.so
2284 %defattr(644,root,root,755)
2285 %attr(755,root,root) %{extensionsdir}/fam.so
2290 %defattr(644,root,root,755)
2291 %attr(755,root,root) %{extensionsdir}/fdf.so
2295 %defattr(644,root,root,755)
2296 %attr(755,root,root) %{extensionsdir}/exif.so
2299 %defattr(644,root,root,755)
2300 %attr(755,root,root) %{extensionsdir}/filepro.so
2303 %defattr(644,root,root,755)
2304 %attr(755,root,root) %{extensionsdir}/ftp.so
2307 %defattr(644,root,root,755)
2308 %attr(755,root,root) %{extensionsdir}/gd.so
2311 %defattr(644,root,root,755)
2312 %attr(755,root,root) %{extensionsdir}/gettext.so
2315 %defattr(644,root,root,755)
2316 %attr(755,root,root) %{extensionsdir}/gmp.so
2320 %defattr(644,root,root,755)
2321 %attr(755,root,root) %{extensionsdir}/hwapi.so
2325 %defattr(644,root,root,755)
2326 %attr(755,root,root) %{extensionsdir}/iconv.so
2330 %defattr(644,root,root,755)
2331 %attr(755,root,root) %{extensionsdir}/imap.so
2334 %if %{with interbase}
2336 %defattr(644,root,root,755)
2337 %attr(755,root,root) %{extensionsdir}/interbase.so
2342 %defattr(644,root,root,755)
2343 %attr(755,root,root) %{extensionsdir}/ldap.so
2347 %defattr(644,root,root,755)
2348 %attr(755,root,root) %{extensionsdir}/mbstring.so
2351 %defattr(644,root,root,755)
2352 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2356 %defattr(644,root,root,755)
2357 %attr(755,root,root) %{extensionsdir}/mhash.so
2361 %defattr(644,root,root,755)
2362 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2366 %defattr(644,root,root,755)
2367 %attr(755,root,root) %{extensionsdir}/ming.so
2370 %if %{with mnogosearch}
2372 %defattr(644,root,root,755)
2373 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2378 %defattr(644,root,root,755)
2379 %attr(755,root,root) %{extensionsdir}/mono.so
2382 %if %{with msession}
2384 %defattr(644,root,root,755)
2385 %attr(755,root,root) %{extensionsdir}/msession.so
2390 %defattr(644,root,root,755)
2391 %attr(755,root,root) %{extensionsdir}/mssql.so
2395 %defattr(644,root,root,755)
2396 %attr(755,root,root) %{extensionsdir}/mysql.so
2399 %defattr(644,root,root,755)
2400 %attr(755,root,root) %{extensionsdir}/ncurses.so
2404 %defattr(644,root,root,755)
2405 %attr(755,root,root) %{extensionsdir}/oci8.so
2410 %defattr(644,root,root,755)
2411 %attr(755,root,root) %{extensionsdir}/odbc.so
2416 %defattr(644,root,root,755)
2417 %attr(755,root,root) %{extensionsdir}/openssl.so
2422 %defattr(644,root,root,755)
2423 %attr(755,root,root) %{extensionsdir}/oracle.so
2427 %defattr(644,root,root,755)
2428 %attr(755,root,root) %{extensionsdir}/pcntl.so
2432 %defattr(644,root,root,755)
2433 %attr(755,root,root) %{extensionsdir}/pcre.so
2438 %defattr(644,root,root,755)
2439 %attr(755,root,root) %{extensionsdir}/pgsql.so
2443 %defattr(644,root,root,755)
2444 %attr(755,root,root) %{extensionsdir}/posix.so
2448 %defattr(644,root,root,755)
2449 %attr(755,root,root) %{extensionsdir}/pspell.so
2453 %defattr(644,root,root,755)
2454 %attr(755,root,root) %{extensionsdir}/readline.so
2458 %defattr(644,root,root,755)
2459 %attr(755,root,root) %{extensionsdir}/recode.so
2462 # session_mm doesn't work with shared session
2464 #%defattr(644,root,root,755)
2465 #%attr(755,root,root) %{extensionsdir}/session.so
2468 %defattr(644,root,root,755)
2469 %attr(755,root,root) %{extensionsdir}/shmop.so
2473 %defattr(644,root,root,755)
2474 %attr(755,root,root) %{extensionsdir}/snmp.so
2478 %defattr(644,root,root,755)
2479 %attr(755,root,root) %{extensionsdir}/sockets.so
2483 %defattr(644,root,root,755)
2484 %attr(755,root,root) %{extensionsdir}/sqlite.so
2489 %defattr(644,root,root,755)
2490 %attr(755,root,root) %{extensionsdir}/sybase.so
2493 %if %{with sybase_ct}
2495 %defattr(644,root,root,755)
2496 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
2500 %defattr(644,root,root,755)
2501 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
2504 %defattr(644,root,root,755)
2505 %attr(755,root,root) %{extensionsdir}/sysvsem.so
2508 %defattr(644,root,root,755)
2509 %attr(755,root,root) %{extensionsdir}/sysvshm.so
2513 %defattr(644,root,root,755)
2514 %attr(755,root,root) %{extensionsdir}/tidy.so
2519 %defattr(644,root,root,755)
2520 %attr(755,root,root) %{extensionsdir}/wddx.so
2525 %defattr(644,root,root,755)
2526 %attr(755,root,root) %{extensionsdir}/xml.so
2529 # FIXME: build as shared module
2530 %if 0 && %{with simplexml}
2532 %defattr(644,root,root,755)
2533 %attr(755,roor,root) %{extensionsdir}/simplexml.so
2538 %defattr(644,root,root,755)
2539 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
2544 %defattr(644,root,root,755)
2545 %attr(755,root,root) %{extensionsdir}/yaz.so
2549 %defattr(644,root,root,755)
2550 %attr(755,root,root) %{extensionsdir}/yp.so
2553 %defattr(644,root,root,755)
2554 %attr(755,root,root) %{extensionsdir}/zlib.so
2557 %defattr(644,root,root,755)
2558 %dir %{php_pear_dir}
2559 %dir %{php_pear_dir}/Archive
2560 %dir %{php_pear_dir}/Console
2561 %dir %{php_pear_dir}/Crypt
2562 %dir %{php_pear_dir}/HTML
2563 %dir %{php_pear_dir}/HTML/Template
2564 %dir %{php_pear_dir}/Image
2565 %dir %{php_pear_dir}/Net
2566 %dir %{php_pear_dir}/Science
2567 %dir %{php_pear_dir}/XML