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