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