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