]> git.pld-linux.org Git - packages/php4.git/blob - php4.spec
f2000e43ac2e0f73575891f3323130ad796180dd
[packages/php4.git] / php4.spec
1 #
2 # Do NOT build openssl as shared module or
3 # fsockopen('tls://host',...) will not work!
4 #
5 # TODO:
6 # - make additional headers added by mail patch configurable
7 # - too many unneccessary libs:
8 #  - libkrb5.so.3 is needed by (installed) php4-common-4.4.8-15.i686
9 #  - php4-common-4.4.8-15.i686 marks net-snmp-libs-5.4.1.2-1.i686 (cap libnetsnmp.so.15)
10 #    php5-common doesn't have such deps
11 #  - php4-cli pulls: libltdl
12 # - above is caused by openssl linked in statically as openssl links with kerberos
13 #
14 # Conditional build:
15 %bcond_with     db3             # use db3 packages instead of db (4.x) for Berkeley DB support
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     java            # with Java extension module            (BR: jdk)
20 %bcond_with     oci8            # with Oracle oci8 extension module     (BR: proprietary libs)
21 %bcond_with     oracle          # with oracle extension module          (BR: proprietary libs)
22 %bcond_without  cpdf            # without cpdf extension module
23 %bcond_without  curl            # without CURL extension module
24 %bcond_without  domxslt         # without DOM XSLT/EXSLT support in DOM XML extension module
25 %bcond_with     fribidi         # without FriBiDi extension module (use pecl-fribidi)
26 %bcond_without  imap            # without IMAP extension module
27 %bcond_without  interbase       # without InterBase extension module
28 %bcond_without  ldap            # without LDAP extension module
29 %bcond_without  mhash           # without mhash extension module
30 %bcond_with     ming            # with ming extension module
31 %bcond_without  mm              # without mm support for session storage
32 %bcond_without  mnogosearch     # without mnogosearch extension module
33 %bcond_without  msession        # without msession extension module
34 %bcond_without  mssql           # without MS SQL extension module
35 %bcond_without  odbc            # without ODBC extension module
36 %bcond_without  openssl         # without OpenSSL support and OpenSSL extension (module)
37 %bcond_without  pcre            # without PCRE extension module
38 %bcond_without  pdf             # without PDF extension module
39 %bcond_without  pgsql           # without PostgreSQL extension module
40 %bcond_without  pspell          # without pspell extension module
41 %bcond_without  qtdom           # without Qt DOM extension module
42 %bcond_without  recode          # without recode extension module
43 %bcond_without  snmp            # without SNMP extension module
44 %bcond_without  sybase          # without Sybase and Sybase-CT extension modules
45 %bcond_without  wddx            # without WDDX extension module
46 %bcond_without  xml             # without XML and DOMXML extension modules
47 %bcond_without  xmlrpc          # without XML-RPC extension module
48 %bcond_with     system_xmlrpc_epi       # use system xmlrpc-epi library (broken on 64bit arches, see http://bugs.php.net/41611)
49 %bcond_without  xslt            # without XSLT extension module
50 %bcond_with     yaz             # without YAZ extension module
51 %bcond_with     yp
52 %bcond_without  apache1         # disable building apache 1.3.x module
53 %bcond_without  apache2         # disable building apache 2.x module
54 %bcond_without  fcgi            # disable building FCGI SAPI
55 %bcond_with     zts             # disable experimental-zts
56 %bcond_with     versioning      # build with experimental versioning (to load php4/php5 into same apache)
57
58 %define apxs1           /usr/sbin/apxs1
59 %define apxs2           /usr/sbin/apxs
60
61 # mm is not thread safe
62 # ext/session/mod_mm.c:37:3: #error mm is not thread-safe
63 %if %{with zts}
64 %undefine       with_mm
65 %endif
66
67 %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha
68 %undefine       with_interbase
69 %endif
70
71 # x86-only lib
72 %ifnarch %{ix86}
73 %undefine       with_msession
74 %endif
75
76 %define         rel 50
77 Summary:        PHP: Hypertext Preprocessor
78 Summary(fr.UTF-8):      Le langage de script embarque-HTML PHP
79 Summary(pl.UTF-8):      Język skryptowy PHP
80 Summary(pt_BR.UTF-8):   A linguagem de script PHP
81 Summary(ru.UTF-8):      PHP Версии 4 - язык препроцессирования HTML-файлов, выполняемый на сервере
82 Summary(uk.UTF-8):      PHP Версії 4 - мова препроцесування HTML-файлів, виконувана на сервері
83 Name:           php4
84 Version:        4.4.9
85 Release:        %{rel}%{?with_hardening:hardened}
86 Epoch:          3
87 License:        PHP
88 Group:          Libraries
89 Source0:        http://www.php.net/distributions/php-%{version}.tar.bz2
90 # Source0-md5:  2e3b2a0e27f10cb84fd00e5ecd7a1880
91 #Source0:       http://cvs.php.net/viewvc.cgi/phpweb/distributions/php-%{version}.tar.bz2?revision=1.1
92 Source3:        %{name}-mod_php.conf
93 Source4:        %{name}-cgi-fcgi.ini
94 Source5:        %{name}-cgi.ini
95 Source6:        %{name}-apache.ini
96 Source7:        %{name}-cli.ini
97 Source8:        http://www.hardened-php.net/hardening-patch-4.4.0-0.4.3.patch.gz
98 # Source8-md5:  6eac3c5c5a7473c68a043c7657298f48
99 Patch0:         %{name}-shared.patch
100 Patch1:         %{name}-pldlogo.patch
101 Patch2:         %{name}-xml-expat-fix.patch
102 Patch3:         %{name}-mail.patch
103 Patch4:         %{name}-link-libs.patch
104 Patch5:         %{name}-libpq_fs_h_path.patch
105 Patch6:         %{name}-wddx-fix.patch
106 Patch7:         %{name}-lib.patch
107 Patch8:         %{name}-hyperwave-fix.patch
108 Patch9:         %{name}-xslt-gcc33.patch
109 Patch10:        %{name}-java-norpath.patch
110 Patch11:        %{name}-mcal-shared-lib.patch
111 Patch12:        %{name}-msession-shared-lib.patch
112 Patch13:        %{name}-build_modules.patch
113 Patch14:        %{name}-sapi-ini-file.patch
114 Patch15:        %{name}-no-metaccld.patch
115 Patch16:        %{name}-session-unregister.patch
116 Patch17:        %{name}-ini.patch
117 Patch18:        %{name}-acam.patch
118 Patch19:        %{name}-xmlrpc-fix.patch
119 Patch20:        %{name}-libtool.patch
120 Patch21:        %{name}-allow-db31.patch
121 Patch22:        %{name}-threads-acfix.patch
122
123 Patch24:        %{name}-qt.patch
124 Patch25:        %{name}-no_pear_install.patch
125 Patch26:        %{name}-zlib.patch
126 Patch27:        %{name}-db-shared.patch
127 Patch28:        %{name}-sybase-fix.patch
128 Patch29:        %{name}-openssl.patch
129 Patch30:        %{name}-mnogosearch-fix.patch
130 Patch31:        %{name}-stupidapache_version.patch
131 Patch33:        %{name}-uint32_t.patch
132 Patch34:        %{name}-install_gd_headers.patch
133 Patch35:        %{name}-both-apxs.patch
134 Patch36:        php-dextension.patch
135 Patch37:        %{name}-zlib-for-getimagesize.patch
136 Patch38:        %{name}-ini-search-path.patch
137 Patch39:        %{name}-versioning.patch
138 Patch40:        %{name}-linkflags-clean.patch
139 Patch41:        %{name}-krb5.patch
140 Patch42:        %{name}-apr-apu.patch
141 Patch43:        %{name}-gd.patch
142 Patch45:        %{name}-config-dir.patch
143 Patch46:        %{name}-phpinfo_no_configure.patch
144 Patch47:        %{name}-ming.patch
145 Patch48:        %{name}-fcgi-graceful.patch
146 Patch49:        %{name}-ac.patch
147 Patch50:        %{name}-mime_magic.patch
148 Patch51:        %{name}-tds.patch
149 Patch52:        %{name}-lib64.patch
150 Patch53:        %{name}-silent-session-cleanup.patch
151 Patch54:        %{name}-m4-divert.patch
152 Patch55:        %{name}-libpng.patch
153 Patch56:        %{name}-gmp.patch
154 Patch57:        %{name}-pcre.patch
155 Patch58:        %{name}-apache24.patch
156 Patch59:        php-bug-68486.patch
157 URL:            http://www.php.net/
158 %{?with_interbase:%{!?with_interbase_inst:BuildRequires:        Firebird-devel >= 1.0.2.908-2}}
159 %{?with_pspell:BuildRequires:   aspell-devel >= 2:0.50.0}
160 BuildRequires:  autoconf >= 2.53
161 BuildRequires:  automake >= 1.4d
162 BuildRequires:  bison
163 BuildRequires:  bzip2-devel
164 BuildRequires:  cracklib-devel >= 2.7-15
165 %{?with_curl:BuildRequires:     curl-devel >= 7.12.0}
166 BuildRequires:  cyrus-sasl-devel
167 %{!?with_db3:BuildRequires:     db-devel >= 4.0}
168 %{?with_db3:BuildRequires:      db3-devel >= 3.1}
169 BuildRequires:  elfutils-devel
170 %if %{with wddx} || %{with xml} || %{with xmlrpc}
171 BuildRequires:  expat-devel
172 %endif
173 %{?with_fcgi:BuildRequires:     fcgi-devel}
174 %{?with_fdf:BuildRequires:      fdftk-devel}
175 BuildRequires:  flex
176 %if %{with mssql} || %{with sybase}
177 BuildRequires:  freetds-devel >= 0.82
178 %endif
179 BuildRequires:  freetype-devel >= 2.0
180 %{?with_fribidi:BuildRequires:  fribidi-devel >= 0.10.4}
181 BuildRequires:  gdbm-devel
182 BuildRequires:  gmp-devel
183 %{?with_imap:BuildRequires:     heimdal-devel >= 0.7}
184 %{?with_imap:BuildRequires:     imap-devel >= 1:2001-0.BETA.200107022325.2}
185 %{?with_java:BuildRequires:     jdk >= 1.1}
186 %{?with_cpdf:BuildRequires:     libcpdf-devel >= 2.02r1-2}
187 BuildRequires:  libjpeg-devel
188 BuildRequires:  libltdl-devel >= 1.4
189 BuildRequires:  libmcal-devel
190 BuildRequires:  libmcrypt-devel >= 2.4.4
191 BuildRequires:  libpng-devel >= 1.0.8
192 BuildRequires:  libtiff-devel
193 %if "%{pld_release}" != "ac"
194 BuildRequires:  libtool >= 2:2.2
195 %else
196 BuildRequires:  libtool >= 1.4.3
197 %endif
198 %{?with_xml:BuildRequires:      libxml2-devel >= 2.2.7}
199 %{?with_domxslt:BuildRequires:  libxslt-devel >= 1.0.3}
200 %{?with_mhash:BuildRequires:    mhash-devel}
201 %{?with_ming:BuildRequires:     ming-devel >= 0.3.0}
202 %{?with_mm:BuildRequires:       mm-devel >= 1.3.0}
203 %{?with_mnogosearch:BuildRequires:      mnogosearch-devel >= 3.2.29}
204 BuildRequires:  mysql-devel >= 3.23.32
205 BuildRequires:  ncurses-ext-devel
206 %{?with_ldap:BuildRequires:     openldap-devel >= 2.3.0}
207 %if %{with openssl} || %{with ldap}
208 BuildRequires:  openssl-devel >= 0.9.7d
209 %endif
210 %{?with_snmp:BuildRequires:     net-snmp-devel >= 5.0.7}
211 BuildRequires:  pam-devel
212 BuildRequires:  pcre-devel
213 %{?with_pdf:BuildRequires:      pdflib-devel >= 4.0.0}
214 %{?with_msession:BuildRequires: phoenix-devel}
215 BuildRequires:  pkgconfig
216 %{?with_pgsql:BuildRequires:    postgresql-backend-devel >= 7.2}
217 %{?with_pgsql:BuildRequires:    postgresql-devel}
218 %{?with_qtdom:BuildRequires:    qt-devel >= 2.2.0}
219 BuildRequires:  readline-devel
220 %{?with_recode:BuildRequires:   recode-devel >= 3.5d-3}
221 BuildRequires:  rpm >= 4.4.9-56
222 BuildRequires:  rpm-build >= 4.4.0
223 BuildRequires:  rpmbuild(macros) >= 1.236
224 %{?with_xslt:BuildRequires:     sablotron-devel >= 0.96}
225 BuildRequires:  sed >= 4.0
226 BuildRequires:  t1lib-devel
227 %{?with_odbc:BuildRequires:     unixODBC-devel}
228 %{?with_system_xmlrpc_epi:BuildRequires:        xmlrpc-epi-devel}
229 %{?with_yaz:BuildRequires:      yaz-devel >= 1.9}
230 BuildRequires:  zip
231 BuildRequires:  zlib-devel >= 1.0.9
232 BuildRequires:  zziplib-devel
233 %if %{with apache1}
234 BuildRequires:  apache1-devel >= 1.3.33-2
235 %endif
236 %if %{with apache2}
237 BuildRequires:  apache-devel >= 2.0.52-2
238 BuildRequires:  apr-devel >= 1:1.0.0
239 BuildRequires:  apr-util-devel >= 1:1.0.0
240 %endif
241 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
242
243 %define         _sysconfdir     /etc/php4
244 %define         extensionsdir   %{_libdir}/php4
245
246 # must be in sync with source. extra check ensuring that it is so is done in %%build
247 %define         php_api_version         20020918
248 %define         zend_module_api         20020429
249 %define         zend_extension_api      20050606
250 %define         zend_zts                        %{!?with_zts:0}%{?with_zts:1}
251 %define         php_debug                       %{!?debug:0}%{?debug:1}
252
253 %description
254 PHP is an HTML-embedded scripting language. PHP attempts to make it
255 easy for developers to write dynamically generated web pages. PHP also
256 offers built-in database integration for several commercial and
257 non-commercial database management systems, so writing a
258 database-enabled web page with PHP is fairly simple. The most common
259 use of PHP coding is probably as a replacement for CGI scripts. The
260 mod_php module enables the Apache web server to understand and process
261 the embedded PHP language in web pages. This package contains php
262 version %{version}.
263
264 %description -l fr.UTF-8
265 PHP est un langage de script embarque dans le HTM. PHP essaye de
266 rendre simple aux developpeurs d'ecrire des pages web generees
267 dynamiquement. PHP incorpore egalement une integration avec plusieurs
268 systemes de gestion de bases de donnees commerciaux et
269 non-connerciaux, qui rent facile la creation de pages web liees avec
270 des bases de donnees. L'utilisation la plus commune de PHP est
271 probablement en remplacement de scripts CGI. Le module mod_php permet
272 au serveur web apache de comprendre et de traiter le langage PHP
273 integre dans des pages web. Ce package contient php version
274 %{version}.
275
276 %description -l pl.UTF-8
277 PHP jest językiem skryptowym, którego polecenia umieszcza się w
278 plikach HTML. Pakiet ten zawiera moduł przeznaczony dla serwera HTTP
279 (jak np. Apache), który interpretuje te polecenia. Umożliwia to
280 tworzenie dynamicznie stron WWW. Spora część składni PHP zapożyczona
281 została z języków: C, Java i Perl.
282
283 %description -l pt_BR.UTF-8
284 PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script
285 embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl,
286 com algumas características únicas, específicas ao PHP. O objetivo da
287 linguagem é permitir que desenvolvedores web escrevam páginas
288 dinamicamente geradas de forma rápida.
289
290 %description -l ru.UTF-8
291 PHP4 - это язык написания скриптов, встраиваемых в HTML-код. PHP
292 предлагает интерграцию с множеством СУБД, поэтому написание скриптов
293 для работы с базами данных относительно просто. Наиболее популярное
294 использование PHP - замена для CGI скриптов.
295
296 Этот пакет содержит самодостаточную (CGI) версию интерпретатора языка.
297 Вы должны также установить пакет %{name}-common. Если вам нужен
298 интерпретатор PHP в качестве модуля apache, установите пакет
299 apache-php.
300
301 %description -l uk.UTF-8
302 PHP4 - це мова написання скриптів, що вбудовуються в HTML-код. PHP
303 пропонує інтеграцію з багатьма СУБД, тому написання скриптів для
304 роботи з базами даних є доволі простим. Найбільш популярне
305 використання PHP - заміна для CGI скриптів.
306
307 Цей пакет містить самодостатню (CGI) версію інтерпретатора мови. Ви
308 маєте також встановити пакет %{name}-common. Якщо вам потрібен
309 інтерпретатор PHP в якості модуля apache, встановіть пакет apache-php.
310
311 %package -n apache1-mod_php4
312 Summary:        php4 DSO module for apache 1.3.x
313 Summary(pl.UTF-8):      Moduł DSO (Dynamic Shared Object) php4 dla apache 1.3.x
314 Group:          Development/Languages/PHP
315 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
316 Requires:       apache1(EAPI) >= 1.3.33-2
317 Requires:       apache1-mod_mime
318 Provides:       webserver(php) = %{version}
319 Obsoletes:      apache-mod_php < 1:4.1.1
320 Obsoletes:      phpfi
321 # Obsolete last version when apache module was in main package
322 Obsoletes:      php4 < 3:4.3.11-4.16
323
324 %description -n apache1-mod_php4
325 php4 as DSO module for apache 1.3.x.
326
327 %description -n apache1-mod_php4 -l pl.UTF-8
328 php4 jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x.
329
330 %package -n apache-mod_php4
331 Summary:        php4 DSO module for apache 2.x
332 Summary(pl.UTF-8):      Moduł DSO (Dynamic Shared Object) php4 dla apache 2.x
333 Group:          Development/Languages/PHP
334 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
335 Requires:       apache(modules-api) = %{apache_modules_api}
336 Requires:       apache-mod_mime
337 Provides:       webserver(php) = %{version}
338 Obsoletes:      apache-mod_php < 1:4.1.1
339 Obsoletes:      phpfi
340 # Obsolete last version when apache module was in main package
341 Obsoletes:      php4 < 3:4.3.11-4.16
342
343 %description -n apache-mod_php4
344 php4 as DSO module for apache 2.x.
345
346 %description -n apache-mod_php4 -l pl.UTF-8
347 php4 jako moduł DSO (Dynamic Shared Object) dla apache 2.x.
348
349 %package fcgi
350 Summary:        php4 as FastCGI program
351 Summary(pl.UTF-8):      php4 jako program FastCGI
352 Group:          Development/Languages/PHP
353 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
354 Provides:       php-fcgi = %{epoch}:%{version}-%{release}
355 Provides:       webserver(php) = %{version}
356
357 %description fcgi
358 php4 as FastCGI program.
359
360 %description fcgi -l pl.UTF-8
361 php4 jako program FastCGI.
362
363 %package cgi
364 Summary:        php4 as CGI program
365 Summary(pl.UTF-8):      php4 jako program CGI
366 Group:          Development/Languages/PHP
367 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
368 Provides:       php-cgi = %{epoch}:%{version}-%{release}
369 Provides:       php(cgi)
370
371 %description cgi
372 php4 as CGI program.
373
374 %description cgi -l pl.UTF-8
375 php4 jako program CGI.
376
377 %package cli
378 Summary:        php4 as CLI interpreter
379 Summary(pl.UTF-8):      php4 jako interpreter działający z linii poleceń
380 Group:          Development/Languages/PHP
381 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
382
383 %description cli
384 php4 as CLI interpreter.
385
386 %description cli -l pl.UTF-8
387 php4 jako interpreter działający z linii poleceń.
388
389 %package program
390 Summary:        /usr/bin/php symlink
391 Summary(pl.UTF-8):      Dowiązanie symboliczne /usr/bin/php
392 Group:          Development/Languages/PHP
393 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
394 Obsoletes:      /usr/bin/php
395
396 %description program
397 Package providing /usr/bin/php symlink to PHP CLI.
398
399 %description program -l pl.UTF-8
400 Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI.
401
402 %package common
403 Summary:        Common files needed by all PHP SAPIs
404 Summary(pl.UTF-8):      Wspólne pliki dla modułu apache'a i programu CGI
405 Summary(ru.UTF-8):      Разделяемые библиотеки для php
406 Summary(uk.UTF-8):      Бібліотеки спільного використання для php
407 Group:          Libraries
408 # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit
409 Requires(triggerun):    sed >= 4.0
410 Requires:       glibc >= 6:2.3.5
411 Requires:       php-dirs
412 Provides:       php(modules_api) = %{php_api_version}
413 Provides:       php(openssl)
414 Provides:       php(session)
415 Provides:       php(standard)
416 Provides:       php(zend_extension_api) = %{zend_extension_api}
417 Provides:       php(zend_module_api) = %{zend_module_api}
418 Provides:       php-common = %{epoch}:%{version}-%{release}
419 Provides:       php4(debug) = %{php_debug}
420 Provides:       php4(thread-safety) = %{zend_zts}
421 Obsoletes:      php-session < 3:4.2.1-2
422 Obsoletes:      php4-openssl < 3:4.4.0-4
423 # for the posttrans scriptlet, conflicts because in vserver environment rpm package is not installed.
424 Conflicts:      rpm < 4.4.2-0.2
425
426 %description common
427 Common files needed by all PHP SAPIs.
428
429 %description common -l pl.UTF-8
430 Wspólne pliki dla modułu apacha i programu CGI.
431
432 %description common -l ru.UTF-8
433 Этот пакет содержит общие файлы для разных вариантов реализации PHP
434 (самодостаточной и в качестве модуля apache).
435
436 %description common -l uk.UTF-8
437 Цей пакет містить спільні файли для різних варіантів реалізації PHP
438 (самодостатньої та в якості модуля apache).
439
440 %package devel
441 Summary:        Files for PHP modules development
442 Summary(pl.UTF-8):      Pliki do kompilacji modułów PHP
443 Summary(pt_BR.UTF-8):   Arquivos de desenvolvimento para PHP
444 Summary(ru.UTF-8):      Пакет разработки для построения расширений PHP
445 Summary(uk.UTF-8):      Пакет розробки для побудови розширень PHP
446 Group:          Development/Languages/PHP
447 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
448 Requires:       autoconf
449 Requires:       automake
450 %if "%{pld_release}" != "ac"
451 Requires:       libtool >= 2:2.2
452 %else
453 Requires:       libtool
454 %endif
455 Obsoletes:      php-devel
456
457 %description devel
458 The php-devel package lets you compile dynamic extensions to PHP.
459 Included here is the source for the PHP extensions. Instead of
460 recompiling the whole php4 binary to add support for, say, oracle,
461 install this package and use the new self-contained extensions
462 support. For more information, read the file
463 SELF-CONTAINED-EXTENSIONS.
464
465 %description devel -l pl.UTF-8
466 Pliki potrzebne do kompilacji modułów PHP.
467
468 %description devel -l pt_BR.UTF-8
469 Este pacote contém arquivos usados no desenvolvimento de programas ou
470 módulos PHP.
471
472 %description devel -l uk.UTF-8
473 Пакет php-devel дає можливість компілювати динамічні розширення PHP.
474 До пакету включено вихідний код для розширень. Замість повторної
475 компіляції бінарного файлу php4 для додання, наприклад, підтримки
476 oracle, встановіть цей пакет для компіляції окремих розширень.
477 Детальніша інформація - в файлі SELF-CONTAINED-EXTENSIONS.
478
479 %description devel -l ru.UTF-8
480 Пакет php-devel дает возможность компилировать динамические расширения
481 PHP. Пакет включает исходный код этих расширений. Вместо повторной
482 компиляции бинарного файла php4 для добавления, например, поддержки
483 oracle, установите этот пакет для компилирования отдельных расширений.
484 Подробности - в файле SELF-CONTAINED-EXTENSIONS.
485
486 %package bcmath
487 Summary:        bcmath extension module for PHP
488 Summary(pl.UTF-8):      Moduł bcmath dla PHP
489 Group:          Libraries
490 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
491 Provides:       php(bcmath)
492
493 %description bcmath
494 This is a dynamic shared object (DSO) for PHP that will add bc style
495 precision math functions support.
496
497 %description bcmath -l pl.UTF-8
498 Moduł PHP umożliwiający korzystanie z dokładnych funkcji
499 matematycznych takich jak w programie bc.
500
501 %package bzip2
502 Summary:        Bzip2 extension module for PHP
503 Summary(pl.UTF-8):      Moduł bzip2 dla PHP
504 Group:          Libraries
505 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
506 Provides:       php(bzip2)
507
508 %description bzip2
509 This is a dynamic shared object (DSO) for PHP that will add bzip2
510 compression support to PHP.
511
512 %description bzip2 -l pl.UTF-8
513 Moduł PHP umożliwiający używanie kompresji bzip2.
514
515 %package calendar
516 Summary:        Calendar extension module for PHP
517 Summary(pl.UTF-8):      Moduł funkcji kalendarza dla PHP
518 Group:          Libraries
519 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
520 Provides:       php(calendar)
521
522 %description calendar
523 This is a dynamic shared object (DSO) for PHP that will add calendar
524 support.
525
526 %description calendar -l pl.UTF-8
527 Moduł PHP dodający wsparcie dla kalendarza.
528
529 %package cpdf
530 Summary:        cpdf extension module for PHP
531 Summary(pl.UTF-8):      Moduł cpdf dla PHP
532 Group:          Libraries
533 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
534 Provides:       php(cpdf)
535
536 %description cpdf
537 This is a dynamic shared object (DSO) for PHP that will add PDF
538 support through libcpdf library.
539
540 %description cpdf -l pl.UTF-8
541 Moduł PHP dodający obsługę plików PDF poprzez bibliotekę libcpdf.
542
543 %package crack
544 Summary:        crack extension module for PHP
545 Summary(pl.UTF-8):      Moduł crack dla PHP
546 Group:          Libraries
547 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
548 Provides:       php(crack)
549
550 %description crack
551 This is a dynamic shared object (DSO) for PHP that will add cracklib
552 support to PHP.
553
554 Warning: this is an experimental module.
555
556 %description crack -l pl.UTF-8
557 Moduł PHP umożliwiający korzystanie z biblioteki cracklib.
558
559 Uwaga: to jest moduł eksperymentalny.
560
561 %package ctype
562 Summary:        ctype extension module for PHP
563 Summary(pl.UTF-8):      Moduł ctype dla PHP
564 Group:          Libraries
565 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
566 Provides:       php(ctype)
567
568 %description ctype
569 This is a dynamic shared object (DSO) for PHP that will add ctype
570 support.
571
572 %description ctype -l pl.UTF-8
573 Moduł PHP umożliwiający korzystanie z funkcji ctype.
574
575 %package curl
576 Summary:        curl extension module for PHP
577 Summary(pl.UTF-8):      Moduł curl dla PHP
578 Group:          Libraries
579 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
580 Provides:       php(curl)
581
582 %description curl
583 This is a dynamic shared object (DSO) for PHP that will add curl
584 support.
585
586 %description curl -l pl.UTF-8
587 Moduł PHP umożliwiający korzystanie z biblioteki curl.
588
589 %package db
590 Summary:        Old xDBM extension module for PHP
591 Summary(pl.UTF-8):      Moduł xDBM dla PHP
592 Group:          Libraries
593 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
594 Provides:       php(db)
595
596 %description db
597 This is an old dynamic shared object (DSO) for PHP that will add DBM
598 databases support.
599
600 Warning: this module is deprecated and does not support database
601 locking correctly. Please use DBA extension which is a fully
602 operational superset.
603
604 %description db -l pl.UTF-8
605 Stary moduł PHP dodający obsługę baz danych DBM.
606
607 Uwaga: ten moduł jest przestarzały i nie obsługuje poprawnie
608 blokowania bazy danych. Zamiast niego lepiej używać rozszerzenia DBA,
609 które obsługuje nadzbiór funkcjonalności tego modułu.
610
611 %package dba
612 Summary:        DBA extension module for PHP
613 Summary(pl.UTF-8):      Moduł DBA dla PHP
614 Group:          Libraries
615 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
616 Provides:       php(dba)
617
618 %description dba
619 This is a dynamic shared object (DSO) for PHP that will add flat-file
620 databases (DBA) support.
621
622 %description dba -l pl.UTF-8
623 Moduł dla PHP dodający obsługę dla baz danych opartych na plikach
624 (DBA).
625
626 %package dbase
627 Summary:        DBase extension module for PHP
628 Summary(pl.UTF-8):      Moduł DBase dla PHP
629 Group:          Libraries
630 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
631 Provides:       php(dbase)
632
633 %description dbase
634 This is a dynamic shared object (DSO) for PHP that will add DBase
635 support.
636
637 %description dbase -l pl.UTF-8
638 Moduł PHP ze wsparciem dla DBase.
639
640 %package dbx
641 Summary:        DBX extension module for PHP
642 Summary(pl.UTF-8):      Moduł DBX dla PHP
643 Group:          Libraries
644 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
645 Provides:       php(dbx)
646
647 %description dbx
648 This is a dynamic shared object (DSO) for PHP that will add DB
649 abstraction layer. DBX supports odbc, mysql, pgsql, mssql, fbsql and
650 more.
651
652 %description dbx -l pl.UTF-8
653 Moduł PHP dodający warstwę abstrakcji do obsługi baz danych. DBX
654 obsługuje bazy odbc, mysql, pgsql, mssql, fbsql i inne.
655
656 %package dio
657 Summary:        Direct I/O extension module for PHP
658 Summary(pl.UTF-8):      Moduł Direct I/O dla PHP
659 Group:          Libraries
660 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
661 Provides:       php(dio)
662
663 %description dio
664 This is a dynamic shared object (DSO) for PHP that will add direct
665 file I/O support.
666
667 %description dio -l pl.UTF-8
668 Moduł PHP dodający obsługę bezpośrednich operacji I/O na plikach.
669
670 %package domxml
671 Summary:        DOM XML extension module for PHP
672 Summary(pl.UTF-8):      Moduł DOM XML dla PHP
673 Group:          Libraries
674 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
675 Provides:       php(domxml)
676
677 %description domxml
678 This is a dynamic shared object (DSO) for PHP that will add DOM XML
679 support.
680
681 Warning: this is an experimental module.
682
683 %description domxml -l pl.UTF-8
684 Moduł PHP dodający obsługę DOM XML.
685
686 Uwaga: to jest moduł eksperymentalny.
687
688 %package exif
689 Summary:        exif extension module for PHP
690 Summary(pl.UTF-8):      Moduł exif dla PHP
691 Group:          Libraries
692 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
693 Provides:       php(exif)
694
695 %description exif
696 This is a dynamic shared object (DSO) for PHP that will add EXIF tags
697 support in image files.
698
699 %description exif -l pl.UTF-8
700 Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków.
701
702 %package fdf
703 Summary:        FDF extension module for PHP
704 Summary(pl.UTF-8):      Moduł FDF dla PHP
705 Group:          Libraries
706 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
707 Provides:       php(fdf)
708
709 %description fdf
710 This PHP module adds support for PDF Forms through Adobe FDFTK
711 library.
712
713 %description fdf -l pl.UTF-8
714 Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe
715 FDFTK.
716
717 %package filepro
718 Summary:        filePro extension module for PHP
719 Summary(pl.UTF-8):      Moduł filePro dla PHP
720 Group:          Libraries
721 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
722 Provides:       php(filepro)
723
724 %description filepro
725 This is a dynamic shared object (DSO) for PHP that will add support
726 for read-only access to filePro databases.
727
728 %description filepro -l pl.UTF-8
729 Moduł PHP dodający możliwość dostępu (tylko do odczytu) do baz danych
730 filePro.
731
732 %package fribidi
733 Summary:        FriBiDi extension module for PHP
734 Summary(pl.UTF-8):      Modułe FriBiDi dla PHP
735 Group:          Libraries
736 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
737 Provides:       php(fribidi)
738
739 %description fribidi
740 This extension is basically a wrapper for the FriBidi implementation
741 of the Unicode Bidi algorithm. The need for such an algorithm rises
742 from the bidirectional language usage done by applications.
743 Arabic/Hebrew embedded within English is such a case.
744
745 %description fribidi -l pl.UTF-8
746 To rozszerzenie to głównie interfejs do implementacji FriBiDi
747 algorytmu Unicode Bidi. Taki algorytm jest potrzebny w przypadku
748 używania dwukierunkowego pisma w aplikacjach - na przykład przy
749 tekście arabskim lub hebrajskim osadzonym wewnątrz angielskiego.
750
751 %package ftp
752 Summary:        FTP extension module for PHP
753 Summary(pl.UTF-8):      Moduł FTP dla PHP
754 Group:          Libraries
755 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
756 Provides:       php(ftp)
757
758 %description ftp
759 This is a dynamic shared object (DSO) for PHP that will add FTP
760 support.
761
762 %description ftp -l pl.UTF-8
763 Moduł PHP dodający obsługę protokołu FTP.
764
765 %package gd
766 Summary:        GD extension module for PHP
767 Summary(pl.UTF-8):      Moduł GD dla PHP
768 Group:          Libraries
769 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
770 Requires:       gd >= 2.0.28-2
771 Requires:       gd(gif)
772 Provides:       php(gd)
773
774 %description gd
775 This is a dynamic shared object (DSO) for PHP that will add GD
776 support, allowing you to create and manipulate images with PHP.
777
778 %description gd -l pl.UTF-8
779 Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na
780 tworzenie i obróbkę obrazków.
781
782 %package gettext
783 Summary:        gettext extension module for PHP
784 Summary(pl.UTF-8):      Moduł gettext dla PHP
785 Group:          Libraries
786 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
787 Provides:       php(gettext)
788
789 %description gettext
790 This is a dynamic shared object (DSO) for PHP that will add gettext
791 support.
792
793 %description gettext -l pl.UTF-8
794 Moduł PHP dodający obsługę lokalizacji przez gettext.
795
796 %package gmp
797 Summary:        gmp extension module for PHP
798 Summary(pl.UTF-8):      Moduł gmp dla PHP
799 Group:          Libraries
800 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
801 Provides:       php(gmp)
802
803 %description gmp
804 This is a dynamic shared object (DSO) for PHP that will add arbitrary
805 length number support with GNU MP library.
806
807 %description gmp -l pl.UTF-8
808 Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na
809 liczbach o dowolnej długości.
810
811 %package hyperwave
812 Summary:        Hyperwave extension module for PHP
813 Summary(pl.UTF-8):      Moduł Hyperwave dla PHP
814 Group:          Libraries
815 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
816 Provides:       php(hyperwave)
817
818 %description hyperwave
819 This is a dynamic shared object (DSO) for PHP that will add Hyperwave
820 support.
821
822 %description hyperwave -l pl.UTF-8
823 Moduł PHP dodający obsługę Hyperwave.
824
825 %package iconv
826 Summary:        iconv extension module for PHP
827 Summary(pl.UTF-8):      Moduł iconv dla PHP
828 Group:          Libraries
829 Requires:       %{_libdir}/gconv
830 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
831 Requires:       iconv
832 Provides:       php(iconv)
833
834 %description iconv
835 This is a dynamic shared object (DSO) for PHP that will add iconv
836 support.
837
838 %description iconv -l pl.UTF-8
839 Moduł PHP dodający obsługę iconv.
840
841 %package imap
842 Summary:        IMAP extension module for PHP
843 Summary(pl.UTF-8):      Moduł IMAP dla PHP
844 Summary(pt_BR.UTF-8):   Um módulo para aplicações PHP que usam IMAP
845 Group:          Libraries
846 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
847 Provides:       php(imap)
848
849 %description imap
850 This is a dynamic shared object (DSO) for PHP that will add IMAP
851 support.
852
853 %description imap -l pl.UTF-8
854 Moduł PHP dodający obsługę skrzynek IMAP.
855
856 %description imap -l pt_BR.UTF-8
857 Um módulo para aplicações PHP que usam IMAP.
858
859 %package interbase
860 Summary:        InterBase/Firebird database module for PHP
861 Summary(pl.UTF-8):      Moduł bazy danych InterBase/Firebird dla PHP
862 Group:          Libraries
863 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
864 Provides:       php(interbase)
865 %{?with_interbase_inst:Autoreq: false}
866
867 %description interbase
868 This is a dynamic shared object (DSO) for PHP that will add InterBase
869 and Firebird database support.
870
871 %description interbase -l pl.UTF-8
872 Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird.
873
874 %package java
875 Summary:        Java extension module for PHP
876 Summary(pl.UTF-8):      Moduł Javy dla PHP
877 Group:          Libraries
878 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
879 Provides:       php(java)
880
881 %description java
882 This is a dynamic shared object (DSO) for PHP that will add Java
883 support to PHP. This extension provides a simple and effective means
884 for creating and invoking methods on Java objects from PHP.
885
886 Note: it requires setting LD_LIBRARY_PATH to JRE directories
887 containing JVM libraries (e.g. libjava.so, libverify.so and libjvm.so
888 for Sun's JRE) before starting Apache or PHP interpreter.
889
890 %description java -l pl.UTF-8
891 Moduł PHP dodający wsparcie dla Javy. Umożliwia odwoływanie się do
892 obiektów Javy z poziomu PHP.
893
894 Uwaga: moduł wymaga ustawienia LD_LIBRARY_PATH na katalogi JRE
895 zawierające biblioteki JVM (np. libjava.so, libverify.so i libjvm.so
896 dla JRE Suna) przed uruchomieniem Apache'a lub interpretera PHP.
897
898 %package ldap
899 Summary:        LDAP extension module for PHP
900 Summary(pl.UTF-8):      Moduł LDAP dla PHP
901 Summary(pt_BR.UTF-8):   Um módulo para aplicações PHP que usam LDAP
902 Group:          Libraries
903 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
904 Provides:       php(ldap)
905
906 %description ldap
907 This is a dynamic shared object (DSO) for PHP that will add LDAP
908 support.
909
910 %description ldap -l pl.UTF-8
911 Moduł PHP dodający obsługę LDAP.
912
913 %description ldap -l pt_BR.UTF-8
914 Um módulo para aplicações PHP que usam LDAP.
915
916 %package mbstring
917 Summary:        mbstring extension module for PHP
918 Summary(pl.UTF-8):      Moduł mbstring dla PHP
919 Group:          Libraries
920 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
921 Provides:       php(mbstring)
922
923 %description mbstring
924 This is a dynamic shared object (DSO) for PHP that will add multibyte
925 string support.
926
927 %description mbstring -l pl.UTF-8
928 Moduł PHP dodający obsługę ciągów znaków wielobajtowych.
929
930 %package mcal
931 Summary:        mcal extension module for PHP
932 Summary(pl.UTF-8):      Moduł mcal dla PHP
933 Group:          Libraries
934 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
935 Provides:       php(mcal)
936
937 %description mcal
938 This is a dynamic shared object (DSO) for PHP that will add mcal
939 (Modular Calendar Access Library) support.
940
941 %description mcal -l pl.UTF-8
942 Moduł PHP umożliwiający korzystanie z biblioteki mcal (dającej dostęp
943 do kalendarzy).
944
945 %package mcrypt
946 Summary:        mcrypt extension module for PHP
947 Summary(pl.UTF-8):      Moduł mcrypt dla PHP
948 Group:          Libraries
949 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
950 Provides:       php(mcrypt)
951
952 %description mcrypt
953 This is a dynamic shared object (DSO) for PHP that will add mcrypt
954 support.
955
956 %description mcrypt -l pl.UTF-8
957 Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt.
958
959 %package mhash
960 Summary:        mhash extension module for PHP
961 Summary(pl.UTF-8):      Moduł mhash dla PHP
962 Group:          Libraries
963 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
964 Provides:       php(mhash)
965
966 %description mhash
967 This is a dynamic shared object (DSO) for PHP that will add mhash
968 support.
969
970 %description mhash -l pl.UTF-8
971 Moduł PHP udostępniający funkcje mieszające z biblioteki mhash.
972
973 %package mime_magic
974 Summary:        mime_magic extension module for PHP
975 Summary(pl.UTF-8):      Moduł mime_magic dla PHP
976 Group:          Libraries
977 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
978 Requires:       /usr/share/misc/magic.mime
979 Provides:       php(mime_magic)
980
981 %description mime_magic
982 This PHP module adds support for MIME type lookup via file magic
983 numbers using magic.mime database.
984
985 %description mime_magic -l pl.UTF-8
986 Moduł PHP dodający obsługę wyszukiwania typów MIME według magicznych
987 znaczników plików z użyciem bazy danych magic.mime.
988
989 %package ming
990 Summary:        ming extension module for PHP
991 Summary(pl.UTF-8):      Moduł ming dla PHP
992 Group:          Libraries
993 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
994 Provides:       php(ming)
995
996 %description ming
997 This is a dynamic shared object (DSO) for PHP that will add ming
998 (Flash - .swf files) support.
999
1000 %description ming -l pl.UTF-8
1001 Moduł PHP dodający obsługę plików Flash (.swf) poprzez bibliotekę
1002 ming.
1003
1004 %package mnogosearch
1005 Summary:        mnoGoSearch extension module for PHP
1006 Summary(pl.UTF-8):      Moduł mnoGoSearch dla PHP
1007 Group:          Libraries
1008 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1009 Provides:       php(mnogosearch)
1010
1011 %description mnogosearch
1012 This is a dynamic shared object (DSO) for PHP that will allow you to
1013 access mnoGoSearch free search engine.
1014
1015 %description mnogosearch -l pl.UTF-8
1016 Moduł PHP dodający pozwalający na dostęp do wolnodostępnego silnika
1017 wyszukiwarki mnoGoSearch.
1018
1019 %package msession
1020 Summary:        msession extension module for PHP
1021 Summary(pl.UTF-8):      Moduł msession dla PHP
1022 Group:          Libraries
1023 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1024 Provides:       php(msession)
1025
1026 %description msession
1027 This is a dynamic shared object (DSO) for PHP that will allow you to
1028 use msession. msession is a high speed session daemon which can run
1029 either locally or remotely. It is designed to provide consistent
1030 session management for a PHP web farm.
1031
1032 %description msession -l pl.UTF-8
1033 Moduł PHP dodający umożliwiający korzystanie z demona msession. Jest
1034 to demon szybkiej obsługi sesji, który może działać lokalnie lub na
1035 innej maszynie. Służy do zapewniania spójnej obsługi sesji dla farmy
1036 serwerów.
1037
1038 %package mssql
1039 Summary:        MS SQL extension module for PHP
1040 Summary(pl.UTF-8):      Moduł MS SQL dla PHP
1041 Group:          Libraries
1042 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1043 Provides:       php(mssql)
1044 Conflicts:      %{name}-sybase
1045 Conflicts:      %{name}-sybase-ct
1046
1047 %description mssql
1048 This is a dynamic shared object (DSO) for PHP that will add MS SQL
1049 databases support through FreeTDS library.
1050
1051 %description mssql -l pl.UTF-8
1052 Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę
1053 FreeTDS.
1054
1055 %package mysql
1056 Summary:        MySQL database module for PHP
1057 Summary(pl.UTF-8):      Moduł bazy danych MySQL dla PHP
1058 Summary(pt_BR.UTF-8):   Um módulo para aplicações PHP que usam bancos de dados MySQL
1059 Group:          Libraries
1060 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1061 Provides:       php(mysql)
1062
1063 %description mysql
1064 This is a dynamic shared object (DSO) for PHP that will add MySQL
1065 database support.
1066
1067 %description mysql -l pl.UTF-8
1068 Moduł PHP umożliwiający dostęp do bazy danych MySQL.
1069
1070 %description mysql -l pt_BR.UTF-8
1071 Um módulo para aplicações PHP que usam bancos de dados MySQL.
1072
1073 %package ncurses
1074 Summary:        ncurses module for PHP
1075 Summary(pl.UTF-8):      Moduł ncurses dla PHP
1076 Group:          Libraries
1077 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1078 Provides:       php(ncurses)
1079
1080 %description ncurses
1081 This PHP module adds support for ncurses functions (only for cli and
1082 cgi SAPIs).
1083
1084 %description ncurses -l pl.UTF-8
1085 Moduł PHP dodający obsługę funkcji ncurses (tylko do SAPI cli i cgi).
1086
1087 %package oci8
1088 Summary:        Oracle 8 database module for PHP
1089 Summary(pl.UTF-8):      Moduł bazy danych Oracle 8 dla PHP
1090 Group:          Libraries
1091 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1092 Provides:       php(oci8)
1093 Autoreq:        false
1094
1095 %description oci8
1096 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1097 and Oracle 8 database support through Oracle8 Call-Interface (OCI8).
1098
1099 %description oci8 -l pl.UTF-8
1100 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7 i Oracle 8
1101 poprzez interfejs Oracle8 Call-Interface (OCI8).
1102
1103 %package odbc
1104 Summary:        ODBC extension module for PHP
1105 Summary(pl.UTF-8):      Moduł ODBC dla PHP
1106 Summary(pt_BR.UTF-8):   Um módulo para aplicações PHP que usam bases de dados ODBC
1107 Group:          Libraries
1108 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1109 Requires:       unixODBC >= 2.1.1-3
1110 Provides:       php(odbc)
1111
1112 %description odbc
1113 This is a dynamic shared object (DSO) for PHP that will add ODBC
1114 support.
1115
1116 %description odbc -l pl.UTF-8
1117 Moduł PHP ze wsparciem dla ODBC.
1118
1119 %description odbc -l pt_BR.UTF-8
1120 Um módulo para aplicações PHP que usam ODBC.
1121
1122 %package oracle
1123 Summary:        Oracle 7 database module for PHP
1124 Summary(pl.UTF-8):      Moduł bazy danych Oracle 7 dla PHP
1125 Group:          Libraries
1126 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1127 Provides:       php(oracle)
1128 Autoreq:        false
1129
1130 %description oracle
1131 This is a dynamic shared object (DSO) for PHP that will add Oracle 7
1132 database support.
1133
1134 %description oracle -l pl.UTF-8
1135 Moduł PHP umożliwiający dostęp do bazy danych Oracle 7.
1136
1137 %package overload
1138 Summary:        Overload extension module for PHP
1139 Summary(pl.UTF-8):      Moduł Overload dla PHP
1140 Group:          Libraries
1141 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1142 Provides:       php(overload)
1143
1144 %description overload
1145 This is a dynamic shared object (DSO) for PHP that will add user-space
1146 object overloading support.
1147
1148 Warning: this is an experimental module.
1149
1150 %description overload -l pl.UTF-8
1151 Moduł PHP umożliwiający przeciążanie obiektów.
1152
1153 Uwaga: to jest moduł eksperymentalny.
1154
1155 %package pcntl
1156 Summary:        Process Control extension module for PHP
1157 Summary(pl.UTF-8):      Moduł Process Control dla PHP
1158 Group:          Libraries
1159 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1160 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1161 Provides:       php(pcntl)
1162
1163 %description pcntl
1164 This is a dynamic shared object (DSO) for PHP that will add process
1165 spawning and control support. It supports functions like fork(),
1166 waitpid(), signal() etc.
1167
1168 Warning: this is an experimental module. Also, don't use it in
1169 webserver environment!
1170
1171 %description pcntl -l pl.UTF-8
1172 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1173 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1174
1175 Uwaga: to jest moduł eksperymentalny. Ponadto nie jest przeznaczony do
1176 używania z serwerem WWW - nie próbuj tego!
1177
1178 %package pcre
1179 Summary:        PCRE extension module for PHP
1180 Summary(pl.UTF-8):      Moduł PCRE dla PHP
1181 Group:          Libraries
1182 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1183 Provides:       php(pcre)
1184
1185 %description pcre
1186 This is a dynamic shared object (DSO) for PHP that will add Perl
1187 Compatible Regular Expression support.
1188
1189 %description pcre -l pl.UTF-8
1190 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1191 (Perl Compatible Regular Expressions)
1192
1193 %package pdf
1194 Summary:        PDF creation module module for PHP
1195 Summary(pl.UTF-8):      Moduł do tworzenia plików PDF dla PHP
1196 Group:          Libraries
1197 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1198 Provides:       php(pdf)
1199
1200 %description pdf
1201 This is a dynamic shared object (DSO) for PHP that will add PDF
1202 support through pdflib.
1203
1204 %description pdf -l pl.UTF-8
1205 Moduł PHP umożliwiający tworzenie plików PDF. Wykorzystuje bibliotekę
1206 pdflib.
1207
1208 %package pgsql
1209 Summary:        PostgreSQL database module for PHP
1210 Summary(pl.UTF-8):      Moduł bazy danych PostgreSQL dla PHP
1211 Group:          Libraries
1212 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1213 Provides:       php(pgsql)
1214
1215 %description pgsql
1216 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1217 database support.
1218
1219 %description pgsql -l pl.UTF-8
1220 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1221
1222 %description pgsql -l pt_BR.UTF-8
1223 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1224
1225 %package posix
1226 Summary:        POSIX extension module for PHP
1227 Summary(pl.UTF-8):      Moduł POSIX dla PHP
1228 Group:          Libraries
1229 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1230 Provides:       php(posix)
1231
1232 %description posix
1233 This is a dynamic shared object (DSO) for PHP that will add POSIX
1234 functions support to PHP.
1235
1236 %description posix -l pl.UTF-8
1237 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1238
1239 %package pspell
1240 Summary:        pspell extension module for PHP
1241 Summary(pl.UTF-8):      Moduł pspell dla PHP
1242 Group:          Libraries
1243 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1244 Provides:       php(pspell)
1245
1246 %description pspell
1247 This is a dynamic shared object (DSO) for PHP that will add pspell
1248 support to PHP. It allows to check the spelling of a word and offer
1249 suggestions.
1250
1251 %description pspell -l pl.UTF-8
1252 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1253 sprawdzanie pisowni słowa i sugerowanie poprawek.
1254
1255 %package qtdom
1256 Summary:        Qt DOM extension module for PHP
1257 Summary(pl.UTF-8):      Moduł Qt DOM dla PHP
1258 Group:          Libraries
1259 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1260 Provides:       php(qtdom)
1261
1262 %description qtdom
1263 This PHP module adds Qt DOM functions support.
1264
1265 %description qtdom -l pl.UTF-8
1266 Moduł PHP dodający obsługę funkcji Qt DOM.
1267
1268 %package readline
1269 Summary:        readline extension module for PHP
1270 Summary(pl.UTF-8):      Moduł readline dla PHP
1271 Group:          Libraries
1272 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1273 Provides:       php(readline)
1274
1275 %description readline
1276 This PHP module adds support for readline functions (only for cli and
1277 cgi SAPIs).
1278
1279 %description readline -l pl.UTF-8
1280 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1281
1282 %package recode
1283 Summary:        recode extension module for PHP
1284 Summary(pl.UTF-8):      Moduł recode dla PHP
1285 Group:          Libraries
1286 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1287 Requires:       recode >= 3.5d-3
1288 Provides:       php(recode)
1289
1290 %description recode
1291 This is a dynamic shared object (DSO) for PHP that will add recode
1292 support.
1293
1294 %description recode -l pl.UTF-8
1295 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1296 bibliotekę recode).
1297
1298 %package shmop
1299 Summary:        Shared Memory Operations extension module for PHP
1300 Summary(pl.UTF-8):      Moduł shmop dla PHP
1301 Group:          Libraries
1302 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1303 Provides:       php(shmop)
1304
1305 %description shmop
1306 This is a dynamic shared object (DSO) for PHP that will add Shared
1307 Memory Operations support.
1308
1309 Warning: this is an experimental module.
1310
1311 %description shmop -l pl.UTF-8
1312 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1313
1314 Uwaga: to jest moduł eksperymentalny.
1315
1316 %package snmp
1317 Summary:        SNMP extension module for PHP
1318 Summary(pl.UTF-8):      Moduł SNMP dla PHP
1319 Group:          Libraries
1320 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1321 Provides:       php(snmp)
1322
1323 %description snmp
1324 This is a dynamic shared object (DSO) for PHP that will add SNMP
1325 support.
1326
1327 %description snmp -l pl.UTF-8
1328 Moduł PHP dodający obsługę SNMP.
1329
1330 %package sockets
1331 Summary:        sockets extension module for PHP
1332 Summary(pl.UTF-8):      Moduł socket dla PHP
1333 Group:          Libraries
1334 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1335 Provides:       php(sockets)
1336
1337 %description sockets
1338 This is a dynamic shared object (DSO) for PHP that will add sockets
1339 support.
1340
1341 Warning: this is an experimental module.
1342
1343 %description sockets -l pl.UTF-8
1344 Moduł PHP dodający obsługę gniazdek.
1345
1346 Uwaga: to jest moduł eksperymentalny.
1347
1348 %package sybase
1349 Summary:        Sybase DB extension module for PHP
1350 Summary(pl.UTF-8):      Moduł Sybase DB dla PHP
1351 Group:          Libraries
1352 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1353 Provides:       php(sybase)
1354 Obsoletes:      php4-sybase-ct
1355 Conflicts:      %{name}-mssql
1356
1357 %description sybase
1358 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1359 MS SQL databases support through SYBDB library. Currently Sybase
1360 module is not maintained. Using Sybase-CT module is recommended
1361 instead.
1362
1363 %description sybase -l pl.UTF-8
1364 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1365 bibliotekę SYBDB. W chwili obecnej moduł Sybase nie jest wspierany.
1366 Zaleca się używanie modułu Sybase-CT.
1367
1368 %package sybase-ct
1369 Summary:        Sybase-CT extension module for PHP
1370 Summary(pl.UTF-8):      Moduł Sybase-CT dla PHP
1371 Group:          Libraries
1372 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1373 Provides:       php(sybase-ct)
1374 Obsoletes:      php4-sybase
1375 Conflicts:      %{name}-mssql
1376
1377 %description sybase-ct
1378 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1379 MS SQL databases support through CT-lib.
1380
1381 %description sybase-ct -l pl.UTF-8
1382 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1383 CT-lib.
1384
1385 %package sysvmsg
1386 Summary:        SysV msg extension module for PHP
1387 Summary(pl.UTF-8):      Moduł SysV msg dla PHP
1388 Group:          Libraries
1389 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1390 Provides:       php(sysvmsg)
1391
1392 %description sysvmsg
1393 This is a dynamic shared object (DSO) for PHP that will add SysV
1394 message queues support.
1395
1396 %description sysvmsg -l pl.UTF-8
1397 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1398
1399 %package sysvsem
1400 Summary:        SysV sem extension module for PHP
1401 Summary(pl.UTF-8):      Moduł SysV sem dla PHP
1402 Group:          Libraries
1403 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1404 Provides:       php(sysvsem)
1405
1406 %description sysvsem
1407 This is a dynamic shared object (DSO) for PHP that will add SysV
1408 semaphores support.
1409
1410 %description sysvsem -l pl.UTF-8
1411 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1412
1413 %package sysvshm
1414 Summary:        SysV shm extension module for PHP
1415 Summary(pl.UTF-8):      Moduł SysV shm dla PHP
1416 Group:          Libraries
1417 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1418 Provides:       php(sysvshm)
1419
1420 %description sysvshm
1421 This is a dynamic shared object (DSO) for PHP that will add SysV
1422 Shared Memory support.
1423
1424 %description sysvshm -l pl.UTF-8
1425 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1426
1427 %package tokenizer
1428 Summary:        tokenizer extension module for PHP
1429 Summary(pl.UTF-8):      Moduł rozszerzenia tokenizer dla PHP
1430 Group:          Libraries
1431 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1432 Provides:       php(tokenizer)
1433
1434 %description tokenizer
1435 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1436 support.
1437
1438 %description tokenizer -l pl.UTF-8
1439 Moduł PHP dodający obsługę tokenizera do PHP.
1440
1441 %package wddx
1442 Summary:        wddx extension module for PHP
1443 Summary(pl.UTF-8):      Moduł wddx dla PHP
1444 Group:          Libraries
1445 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1446 #Requires:      %{name}-session = %{epoch}:%{version}-%{release}
1447 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
1448 Provides:       php(wddx)
1449
1450 %description wddx
1451 This is a dynamic shared object (DSO) for PHP that will add wddx
1452 support.
1453
1454 %description wddx -l pl.UTF-8
1455 Moduł PHP umożliwiający korzystanie z wddx.
1456
1457 %package xml
1458 Summary:        XML extension module for PHP
1459 Summary(pl.UTF-8):      Moduł XML dla PHP
1460 Group:          Libraries
1461 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1462 Provides:       php(xml)
1463
1464 %description xml
1465 This is a dynamic shared object (DSO) for PHP that will add XML
1466 support. This extension lets you create XML parsers and then define
1467 handlers for different XML events.
1468
1469 %description xml -l pl.UTF-8
1470 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1471 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1472 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1473
1474 %package xmlrpc
1475 Summary:        xmlrpc extension module for PHP
1476 Summary(pl.UTF-8):      Moduł xmlrpc dla PHP
1477 Group:          Libraries
1478 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1479 Provides:       php(xmlrpc)
1480
1481 %description xmlrpc
1482 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1483 support.
1484
1485 Warning: this is an experimental module.
1486
1487 %description xmlrpc -l pl.UTF-8
1488 Moduł PHP dodający obsługę XMLRPC.
1489
1490 Uwaga: to jest moduł eksperymentalny.
1491
1492 %package xslt
1493 Summary:        xslt extension module for PHP
1494 Summary(pl.UTF-8):      Moduł xslt dla PHP
1495 Group:          Libraries
1496 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1497 Provides:       php(xslt)
1498
1499 %description xslt
1500 This is a dynamic shared object (DSO) for PHP that will add xslt
1501 support.
1502
1503 %description xslt -l pl.UTF-8
1504 Moduł PHP umożliwiający korzystanie z technologii xslt.
1505
1506 %package yaz
1507 Summary:        yaz extension module for PHP
1508 Summary(pl.UTF-8):      Moduł yaz dla PHP
1509 Group:          Libraries
1510 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1511 Requires:       yaz >= 1.9
1512 Provides:       php(yaz)
1513
1514 %description yaz
1515 This is a dynamic shared object (DSO) for PHP that will add yaz
1516 support. yaz toolkit implements the Z39.50 protocol for information
1517 retrieval.
1518
1519 %description yaz -l pl.UTF-8
1520 Moduł PHP umożliwiający korzystanie z yaz - implementacji protokołu
1521 Z39.50 służącego do pozyskiwania informacji.
1522
1523 %package yp
1524 Summary:        NIS (yp) extension module for PHP
1525 Summary(pl.UTF-8):      Moduł NIS (yp) dla PHP
1526 Group:          Libraries
1527 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1528 Provides:       php(yp)
1529
1530 %description yp
1531 This is a dynamic shared object (DSO) for PHP that will add NIS
1532 (Yellow Pages) support.
1533
1534 %description yp -l pl.UTF-8
1535 Moduł PHP dodający wsparcie dla NIS (Yellow Pages).
1536
1537 %package zip
1538 Summary:        zip extension module for PHP
1539 Summary(pl.UTF-8):      Moduł zip dla PHP
1540 Group:          Libraries
1541 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1542 Provides:       php(zip)
1543
1544 %description zip
1545 This is a dynamic shared object (DSO) for PHP that will add ZZipLib
1546 (read-only access to ZIP archives) support.
1547
1548 %description zip -l pl.UTF-8
1549 Moduł PHP umożliwiający korzystanie z bibliotekli ZZipLib
1550 (pozwalającej na odczyt archiwów ZIP).
1551
1552 %package zlib
1553 Summary:        Zlib extension module for PHP
1554 Summary(pl.UTF-8):      Moduł zlib dla PHP
1555 Group:          Libraries
1556 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1557 Provides:       php(zlib)
1558
1559 %description zlib
1560 This is a dynamic shared object (DSO) for PHP that will add zlib
1561 compression support to PHP.
1562
1563 %description zlib -l pl.UTF-8
1564 Moduł PHP umożliwiający używanie kompresji zlib.
1565
1566 %prep
1567 %setup -q -n php-%{version}
1568 #%patch43 -p1
1569 %patch40 -p1
1570 %patch0 -p1
1571 %patch1 -p1
1572 %patch2 -p1
1573 %patch3 -p1
1574 %patch4 -p1
1575 %patch5 -p1
1576 %patch6 -p1
1577 %patch7 -p1
1578 %patch8 -p1
1579 # Not really needed?
1580 #%patch9 -p1
1581 %patch10 -p1
1582 %patch11 -p1
1583 %patch12 -p1
1584 %patch13 -p1
1585 %patch14 -p1
1586 %patch15 -p1
1587 %patch16 -p1
1588 cp php.ini-dist php.ini
1589 %patch17 -p1
1590 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1591 # conditionally...
1592 %patch18 -p1
1593 %patch19 -p1
1594 %patch20 -p1
1595 %patch21 -p1
1596 %patch22 -p1
1597
1598 %patch24 -p1
1599 %patch25 -p1
1600 %patch26 -p1
1601 %patch27 -p1
1602 %patch28 -p1
1603 %patch29 -p1
1604 %patch30 -p1
1605 %patch31 -p1
1606 %patch33 -p1
1607 %patch34 -p1
1608 %patch35 -p1
1609 %patch36 -p1
1610 %patch37 -p1
1611 %patch38 -p1
1612 %{?with_versioning:%patch39 -p1}
1613 # XXX: I believe this one is obsolete as of 4.4.3
1614 #%patch41 -p1
1615 %patch41 -p1
1616 %patch42 -p1
1617 %patch43 -p1
1618 %patch45 -p1
1619 %patch46 -p1
1620 %patch47 -p1
1621 %patch48 -p1
1622 %patch49 -p1
1623 %patch50 -p1
1624 %patch51 -p1
1625 %if "%{_lib}" == "lib64"
1626 %patch52 -p1
1627 %endif
1628 %patch53 -p1
1629 %patch54 -p1
1630 %patch55 -p1
1631 %patch56 -p1
1632 %patch57 -p1
1633 %patch58 -p1
1634 %patch59 -p1
1635
1636 %if %{with hardening}
1637 zcat %{SOURCE8} | patch -p1
1638 %endif
1639
1640 cp -f Zend/LICENSE{,.Zend}
1641
1642 %build
1643 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1644 if [ $API != %{php_api_version} ]; then
1645         echo "Set %%define php_api_version to $API and re-run."
1646         exit 1
1647 fi
1648
1649 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1650 if [ $API != %{zend_module_api} ]; then
1651         echo "Set %%define zend_module_api to $API and re-run."
1652         exit 1
1653 fi
1654
1655 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1656 if [ $API != %{zend_extension_api} ]; then
1657         echo "Set %%define zend_extension_api to $API and re-run."
1658         exit 1
1659 fi
1660
1661 export EXTENSION_DIR="%{extensionsdir}"
1662 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1663         rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1664         %{__libtoolize}
1665         %{__aclocal}
1666         cp -f /usr/share/automake/config.{sub,guess} .
1667         ./buildconf --force
1668         touch _built-conf
1669 fi
1670 export PROG_SENDMAIL="/usr/lib/sendmail"
1671
1672 sapis="
1673 %if %{with fcgi}
1674 fcgi
1675 %endif
1676 cgi cli
1677 %if %{with apache1}
1678 apxs1
1679 %endif
1680 %if %{with apache2}
1681 apxs2
1682 %endif
1683 "
1684 for sapi in $sapis; do
1685         : SAPI $sapi
1686         [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1687
1688         sapi_args=''
1689         case $sapi in
1690         cgi)
1691                 sapi_args='--enable-discard-path --enable-force-cgi-redirect'
1692                 ;;
1693         cli)
1694                 sapi_args='--disable-cgi'
1695                 ;;
1696         fcgi)
1697                 sapi_args='--enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect'
1698                 ;;
1699         apxs1)
1700                 ver=$(rpm -q --qf '%{V}' apache1-devel)
1701                 sapi_args="--with-apxs=%{apxs1} --with-apache-version=$ver"
1702                 ;;
1703         apxs2)
1704                 ver=$(rpm -q --qf '%{V}' apache-devel)
1705                 sapi_args="--with-apxs2=%{apxs2} --with-apache-version=$ver"
1706                 ;;
1707         esac
1708
1709         %configure \
1710         $sapi_args \
1711 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1712         --cache-file=config.cache \
1713 %endif
1714         --with-config-file-path=%{_sysconfdir} \
1715         --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1716         --with-exec-dir=%{_bindir} \
1717         --%{!?debug:dis}%{?debug:en}able-debug \
1718         %{?with_zts:--enable-experimental-zts} \
1719         --enable-inline-optimization \
1720         --enable-shared \
1721         --disable-static \
1722         --enable-bcmath=shared \
1723         --enable-calendar=shared \
1724         --enable-ctype=shared \
1725         --enable-dba=shared \
1726         --enable-dbx=shared \
1727         --enable-dio=shared \
1728         --enable-exif=shared \
1729         --enable-filepro=shared \
1730         --enable-ftp=shared \
1731         --enable-magic-quotes \
1732         --enable-mbstring=shared,all --enable-mbregex \
1733         --enable-memory-limit \
1734         --enable-overload=shared \
1735         --enable-pcntl=shared \
1736         --enable-posix=shared \
1737         %{?with_recode:--with-recode=shared} \
1738         --enable-safe-mode \
1739         --enable-session --enable-trans-sid \
1740         --enable-shmop=shared \
1741         --enable-sockets=shared \
1742         --enable-sysvmsg=shared \
1743         --enable-sysvsem=shared \
1744         --enable-sysvshm=shared \
1745         --enable-tokenizer=shared \
1746         --enable-track-vars \
1747         %{?with_wddx:--enable-wddx=shared} \
1748         %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
1749         %{?with_xslt:--enable-xslt=shared} \
1750         %{?with_yp:--enable-yp=shared} \
1751         --with-bz2=shared \
1752         %{?with_cpdf:--with-cpdflib=shared} \
1753         --with-crack=shared \
1754         %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1755         --with-db=shared --with-db%{?with_db3:3}%{!?with_db3:4} \
1756         --with-dbase=shared \
1757         %{?with_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1758 %if %{with xml} || %{with xmlrpc}
1759         --with-expat-dir=shared,/usr \
1760 %else
1761         --without-expat-dir \
1762 %endif
1763         %{?with_fdf:--with-fdftk=shared} \
1764         --with-filepro=shared \
1765         --with-freetype-dir=shared \
1766         %{?with_fribidi:--with-fribidi=shared} \
1767         --with-gd=shared --enable-gd-native-ttf \
1768         --with-gdbm \
1769         --with-gettext=shared \
1770         --with-gmp=shared \
1771         --with-hyperwave=shared \
1772         --with-iconv=shared \
1773         %{?with_imap:--with-imap=shared --with-imap-ssl --with-kerberos} \
1774         %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1775         %{?with_java:--with-java=%{_libdir}/java} \
1776         --with-jpeg-dir=/usr \
1777         %{?with_ldap:--with-ldap=shared} \
1778         --with-mcal=shared,/usr \
1779         --with-mcrypt=shared \
1780         %{?with_mhash:--with-mhash=shared} \
1781         --with-mime-magic=shared,/usr/share/misc/magic.mime \
1782         %{?with_ming:--with-ming=shared} \
1783         %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1784         %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1785         %{?with_mssql:--with-mssql=shared} \
1786         --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock \
1787         --with-ncurses=shared \
1788         %{?with_oci8:--with-oci8=shared} \
1789         %{?with_odbc:--with-unixODBC=shared} \
1790         %{?with_openssl:--with-openssl} \
1791         %{?with_oracle:--with-oracle=shared} \
1792         %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1793         %{?with_pdf:--with-pdflib=shared} \
1794         --with-pear=%{php_pear_dir} \
1795         %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1796         --with-png-dir=/usr \
1797         %{?with_qtdom:--with-qtdom=shared} \
1798         --with-readline=shared \
1799         --with-regex=php \
1800         %{?with_snmp:--with-snmp=shared --enable-ucd-snmp-hack} \
1801         %{?with_pspell:--with-pspell=shared} \
1802         %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
1803         --with-t1lib=shared \
1804         --with-tiff-dir=/usr \
1805         %{?with_xml:--with-dom=shared} \
1806         %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared%{?with_system_xmlrpc_epi:,/usr}} \
1807         %{?with_xslt:--with-xslt-sablot=shared} --without-sablot-js \
1808         %{?with_yaz:--with-yaz=shared} \
1809         --with-zip=shared \
1810         --with-zlib=shared --with-zlib-dir=shared,/usr \
1811
1812         cp -f Makefile Makefile.$sapi
1813         cp -f main/php_config.h php_config.h.$sapi
1814 done
1815
1816 # must make this first, so modules can link against it.
1817 %{__make} libphp_common.la
1818 %{__make} build-modules
1819
1820 %if %{with apache1}
1821 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp4.la -f Makefile.apxs1
1822 %endif
1823
1824 %if %{with apache2}
1825 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp4.la -f Makefile.apxs2
1826 %endif
1827
1828 # FCGI
1829 %if %{with fcgi}
1830 cp -af php_config.h.fcgi main/php_config.h
1831 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1832 %{__make} sapi/cgi/php -f Makefile.fcgi
1833 cp -r sapi/cgi sapi/fcgi
1834 [ "$(echo '<?=php_sapi_name();' | ./sapi/fcgi/php -qn)" = cgi-fcgi ] || exit 1
1835 %endif
1836
1837 # CGI
1838 cp -af php_config.h.cgi main/php_config.h
1839 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1840 %{__make} sapi/cgi/php -f Makefile.cgi
1841 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php -qn)" = cgi ] || exit 1
1842
1843 # CLI
1844 cp -af php_config.h.cli main/php_config.h
1845 %{__make} sapi/cli/php -f Makefile.cli
1846 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1
1847
1848 %install
1849 rm -rf $RPM_BUILD_ROOT
1850 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}} \
1851         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1852         $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/conf.d} \
1853         $RPM_BUILD_ROOT%{_mandir}/man1
1854
1855 # install the apache modules' files
1856 %{__make} install-headers install-build install-modules install-programs \
1857         INSTALL_ROOT=$RPM_BUILD_ROOT
1858
1859 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1860 # fix install paths, avoid evil rpaths
1861 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1862
1863 # install apache1 DSO module
1864 %if %{with apache1}
1865 libtool --silent --mode=install install sapi/apache/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache1
1866 rm $RPM_BUILD_ROOT%{_libdir}/apache1/libphp4.la
1867 %endif
1868
1869 # install apache2 DSO module
1870 %if %{with apache2}
1871 libtool --silent --mode=install install sapi/apache2handler/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache
1872 rm $RPM_BUILD_ROOT%{_libdir}/apache/libphp4.la
1873 %endif
1874
1875 # better solution?
1876 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1877
1878 # install CGI
1879 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php4.cgi
1880
1881 # install FCGI
1882 %if %{with fcgi}
1883 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php4.fcgi
1884 %endif
1885
1886 # install CLI
1887 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php4.cli
1888
1889 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php4.1
1890 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php4
1891 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php
1892
1893 %{?with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{extensionsdir}}
1894
1895 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1896 %if %{with fcgi}
1897 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1898 %endif
1899 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1900 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1901
1902 %if %{with apache1}
1903 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php4.conf
1904 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1905 %endif
1906
1907 %if %{with apache2}
1908 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php4.conf
1909 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1910 %endif
1911
1912 # Generate stub .ini files for each subpackage
1913 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1914 generate_inifiles() {
1915         for so in modules/*.so; do
1916                 mod=$(basename $so .so)
1917                 conf="%{_sysconfdir}/conf.d/$mod.ini"
1918                 # xml needs to be loaded before wddx
1919                 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
1920                 echo "+ $conf"
1921                 cat > $RPM_BUILD_ROOT$conf <<-EOF
1922                         ; Enable $mod extension module
1923                         extension=$mod.so
1924                 EOF
1925         done
1926 }
1927 generate_inifiles
1928
1929 # per SAPI ini directories
1930 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1931
1932 # for CLI SAPI only
1933 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1934
1935 # use system automake and {lib,sh}tool
1936 %if "%{pld_release}" != "ac"
1937         ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build
1938         for i in libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4; do
1939                 ln -snf %{_aclocaldir}/${i} $RPM_BUILD_ROOT%{_libdir}/php/build
1940         done
1941         ln -snf %{_datadir}/libtool/config/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1942 %else
1943         ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build
1944         ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build
1945 %endif
1946 ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build
1947
1948 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1949 # isn't installed by install-headers make target, we do it manually here.
1950 # this header file is required by e.g. filter PECL extension
1951 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1952
1953 %clean
1954 rm -rf $RPM_BUILD_ROOT
1955
1956 %post -n apache1-mod_php4
1957 if [ "$1" = "1" ]; then
1958         %service -q apache restart
1959 fi
1960
1961 %postun -n apache1-mod_php4
1962 if [ "$1" = "0" ]; then
1963         %service -q apache restart
1964 fi
1965
1966 %post -n apache-mod_php4
1967 if [ "$1" = "1" ]; then
1968         %service -q httpd restart
1969 fi
1970
1971 %postun -n apache-mod_php4
1972 if [ "$1" = "0" ]; then
1973         %service -q httpd restart
1974 fi
1975
1976 # so tired of typing... so decided to create macros
1977 # macro called at extension post scriptlet
1978 %define extension_post \
1979 if [ "$1" = "1" ]; then \
1980         [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1981         [ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart \
1982 fi
1983
1984 # macro called at extension postun scriptlet
1985 %define extension_postun \
1986 if [ "$1" = "0" ]; then \
1987         [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1988         [ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart \
1989 fi
1990
1991 %post   common -p /sbin/ldconfig
1992 %postun common -p /sbin/ldconfig
1993
1994 %posttrans common
1995 # minimizing apache restarts logics. we restart webserver:
1996 #
1997 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1998 # 2. first install of extension (post: $1 = 1)
1999 # 2. uninstall of extension (postun: $1 == 0)
2000 #
2001 # the strict internal deps between extensions (and apache modules) and
2002 # common package are very important for all this to work.
2003
2004 # restart webserver at the end of transaction
2005 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
2006 [ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart
2007
2008 %if %{with apache2}
2009 %triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16, php4 < 3:4.3.11-4.16
2010 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
2011 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
2012         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
2013         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
2014 fi
2015 %endif
2016
2017 %post bcmath
2018 %extension_post
2019
2020 %postun bcmath
2021 %extension_postun
2022
2023 %post bzip2
2024 %extension_post
2025
2026 %postun bzip2
2027 %extension_postun
2028
2029 %post calendar
2030 %extension_post
2031
2032 %postun calendar
2033 %extension_postun
2034
2035 %post cpdf
2036 %extension_post
2037
2038 %postun cpdf
2039 %extension_postun
2040
2041 %post crack
2042 %extension_post
2043
2044 %postun crack
2045 %extension_postun
2046
2047 %post ctype
2048 %extension_post
2049
2050 %postun ctype
2051 %extension_postun
2052
2053 %post curl
2054 %extension_post
2055
2056 %postun curl
2057 %extension_postun
2058
2059 %post db
2060 %extension_post
2061
2062 %postun db
2063 %extension_postun
2064
2065 %post dba
2066 %extension_post
2067
2068 %postun dba
2069 %extension_postun
2070
2071 %post dbase
2072 %extension_post
2073
2074 %postun dbase
2075 %extension_postun
2076
2077 %post dbx
2078 %extension_post
2079
2080 %postun dbx
2081 %extension_postun
2082
2083 %post dio
2084 %extension_post
2085
2086 %postun dio
2087 %extension_postun
2088
2089 %post domxml
2090 %extension_post
2091
2092 %postun domxml
2093 %extension_postun
2094
2095 %post exif
2096 %extension_post
2097
2098 %postun exif
2099 %extension_postun
2100
2101 %post fdf
2102 %extension_post
2103
2104 %postun fdf
2105 %extension_postun
2106
2107 %post filepro
2108 %extension_post
2109
2110 %postun filepro
2111 %extension_postun
2112
2113 %post fribidi
2114 %extension_post
2115
2116 %postun fribidi
2117 %extension_postun
2118
2119 %post ftp
2120 %extension_post
2121
2122 %postun ftp
2123 %extension_postun
2124
2125 %post gd
2126 %extension_post
2127
2128 %postun gd
2129 %extension_postun
2130
2131 %post gettext
2132 %extension_post
2133
2134 %postun gettext
2135 %extension_postun
2136
2137 %post gmp
2138 %extension_post
2139
2140 %postun gmp
2141 %extension_postun
2142
2143 %post hyperwave
2144 %extension_post
2145
2146 %postun hyperwave
2147 %extension_postun
2148
2149 %post iconv
2150 %extension_post
2151
2152 %postun iconv
2153 %extension_postun
2154
2155 %post imap
2156 %extension_post
2157
2158 %postun imap
2159 %extension_postun
2160
2161 %post interbase
2162 %extension_post
2163
2164 %postun interbase
2165 %extension_postun
2166
2167 %post java
2168 %extension_post
2169
2170 %postun java
2171 %extension_postun
2172
2173 %post ldap
2174 %extension_post
2175
2176 %postun ldap
2177 %extension_postun
2178
2179 %post mbstring
2180 %extension_post
2181
2182 %postun mbstring
2183 %extension_postun
2184
2185 %post mcal
2186 %extension_post
2187
2188 %postun mcal
2189 %extension_postun
2190
2191 %post mcrypt
2192 %extension_post
2193
2194 %postun mcrypt
2195 %extension_postun
2196
2197 %post mhash
2198 %extension_post
2199
2200 %postun mhash
2201 %extension_postun
2202
2203 %post mime_magic
2204 %extension_post
2205
2206 %postun mime_magic
2207 %extension_postun
2208
2209 %post ming
2210 %extension_post
2211
2212 %postun ming
2213 %extension_postun
2214
2215 %post mnogosearch
2216 %extension_post
2217
2218 %postun mnogosearch
2219 %extension_postun
2220
2221 %post msession
2222 %extension_post
2223
2224 %postun msession
2225 %extension_postun
2226
2227 %post mssql
2228 %extension_post
2229
2230 %postun mssql
2231 %extension_postun
2232
2233 %post mysql
2234 %extension_post
2235
2236 %postun mysql
2237 %extension_postun
2238
2239 %post oci8
2240 %extension_post
2241
2242 %postun oci8
2243 %extension_postun
2244
2245 %post odbc
2246 %extension_post
2247
2248 %postun odbc
2249 %extension_postun
2250
2251 %post oracle
2252 %extension_post
2253
2254 %postun oracle
2255 %extension_postun
2256
2257 %post overload
2258 %extension_post
2259
2260 %postun overload
2261 %extension_postun
2262
2263 %post pcre
2264 %extension_post
2265
2266 %postun pcre
2267 %extension_postun
2268
2269 %post pdf
2270 %extension_post
2271
2272 %postun pdf
2273 %extension_postun
2274
2275 %post pgsql
2276 %extension_post
2277
2278 %postun pgsql
2279 %extension_postun
2280
2281 %post posix
2282 %extension_post
2283
2284 %postun posix
2285 %extension_postun
2286
2287 %post pspell
2288 %extension_post
2289
2290 %postun pspell
2291 %extension_postun
2292
2293 %post qtdom
2294 %extension_post
2295
2296 %postun qtdom
2297 %extension_postun
2298
2299 %post recode
2300 %extension_post
2301
2302 %postun recode
2303 %extension_postun
2304
2305 %post shmop
2306 %extension_post
2307
2308 %postun shmop
2309 %extension_postun
2310
2311 %post snmp
2312 %extension_post
2313
2314 %postun snmp
2315 %extension_postun
2316
2317 %post sockets
2318 %extension_post
2319
2320 %postun sockets
2321 %extension_postun
2322
2323 %post sybase
2324 %extension_post
2325
2326 %postun sybase
2327 %extension_postun
2328
2329 %post sybase-ct
2330 %extension_post
2331
2332 %postun sybase-ct
2333 %extension_postun
2334
2335 %post sysvmsg
2336 %extension_post
2337
2338 %postun sysvmsg
2339 %extension_postun
2340
2341 %post sysvsem
2342 %extension_post
2343
2344 %postun sysvsem
2345 %extension_postun
2346
2347 %post sysvshm
2348 %extension_post
2349
2350 %postun sysvshm
2351 %extension_postun
2352
2353 %post tokenizer
2354 %extension_post
2355
2356 %postun tokenizer
2357 %extension_postun
2358
2359 %post wddx
2360 %extension_post
2361
2362 %postun wddx
2363 %extension_postun
2364
2365 %post xml
2366 %extension_post
2367
2368 %postun xml
2369 %extension_postun
2370
2371 %post xmlrpc
2372 %extension_post
2373
2374 %postun xmlrpc
2375 %extension_postun
2376
2377 %post xslt
2378 %extension_post
2379
2380 %postun xslt
2381 %extension_postun
2382
2383 %post yaz
2384 %extension_post
2385
2386 %postun yaz
2387 %extension_postun
2388
2389 %post yp
2390 %extension_post
2391
2392 %postun yp
2393 %extension_postun
2394
2395 %post zip
2396 %extension_post
2397
2398 %postun zip
2399 %extension_postun
2400
2401 %post zlib
2402 %extension_post
2403
2404 %postun zlib
2405 %extension_postun
2406
2407 # openssl trigger on common package. it removes shared openssl module from php.ini, if it was there.
2408 %triggerun common -- %{name}-openssl < 3:4.4.0-4
2409 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2410
2411 %triggerun bcmath -- %{name}-bcmath < 3:4.4.0-2.1
2412 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2413
2414 %triggerun bzip2 -- %{name}-bzip2 < 3:4.4.0-2.1
2415 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bz2\.so/d' %{_sysconfdir}/php.ini
2416
2417 %triggerun calendar -- %{name}-calendar < 3:4.4.0-2.1
2418 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2419
2420 %triggerun cpdf -- %{name}-cpdf < 3:4.4.0-2.1
2421 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*cpdf\.so/d' %{_sysconfdir}/php.ini
2422
2423 %triggerun crack -- %{name}-crack < 3:4.4.0-2.1
2424 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*crack\.so/d' %{_sysconfdir}/php.ini
2425
2426 %triggerun ctype -- %{name}-ctype < 3:4.4.0-2.1
2427 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2428
2429 %triggerun curl -- %{name}-curl < 3:4.4.0-2.1
2430 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2431
2432 %triggerun db -- %{name}-db < 3:4.4.0-2.1
2433 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*db\.so/d' %{_sysconfdir}/php.ini
2434
2435 %triggerun dba -- %{name}-dba < 3:4.4.0-2.1
2436 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2437
2438 %triggerun dbase -- %{name}-dbase < 3:4.4.0-2.1
2439 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2440
2441 %triggerun dbx -- %{name}-dbx < 3:4.4.0-2.1
2442 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbx\.so/d' %{_sysconfdir}/php.ini
2443
2444 %triggerun dio -- %{name}-dio < 3:4.4.0-2.1
2445 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dio\.so/d' %{_sysconfdir}/php.ini
2446
2447 %triggerun domxml -- %{name}-domxml < 3:4.4.0-2.1
2448 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*domxml\.so/d' %{_sysconfdir}/php.ini
2449
2450 %triggerun exif -- %{name}-exif < 3:4.4.0-2.1
2451 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2452
2453 %triggerun fdf -- %{name}-fdf < 3:4.4.0-2.1
2454 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2455
2456 %triggerun filepro -- %{name}-filepro < 3:4.4.0-2.1
2457 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*filepro\.so/d' %{_sysconfdir}/php.ini
2458
2459 %triggerun fribidi -- %{name}-fribidi < 3:4.4.0-2.1
2460 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fribidi\.so/d' %{_sysconfdir}/php.ini
2461
2462 %triggerun ftp -- %{name}-ftp < 3:4.4.0-2.1
2463 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2464
2465 %triggerun gd -- %{name}-gd < 3:4.4.0-2.1
2466 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2467
2468 %triggerun gettext -- %{name}-gettext < 3:4.4.0-2.1
2469 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2470
2471 %triggerun gmp -- %{name}-gmp < 3:4.4.0-2.1
2472 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2473
2474 %triggerun hyperwave -- %{name}-hyperwave < 3:4.4.0-2.1
2475 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*hyperwave\.so/d' %{_sysconfdir}/php.ini
2476
2477 %triggerun iconv -- %{name}-iconv < 3:4.4.0-2.1
2478 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2479
2480 %triggerun imap -- %{name}-imap < 3:4.4.0-2.1
2481 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2482
2483 %triggerun interbase -- %{name}-interbase < 3:4.4.0-2.1
2484 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2485
2486 %triggerun java -- %{name}-java < 3:4.4.0-2.1
2487 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*java\.so/d' %{_sysconfdir}/php.ini
2488
2489 %triggerun ldap -- %{name}-ldap < 3:4.4.0-2.1
2490 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2491
2492 %triggerun mbstring -- %{name}-mbstring < 3:4.4.0-2.1
2493 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2494
2495 %triggerun mcal -- %{name}-mcal < 3:4.4.0-2.1
2496 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcal\.so/d' %{_sysconfdir}/php.ini
2497
2498 %triggerun mcrypt -- %{name}-mcrypt < 3:4.4.0-2.1
2499 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2500
2501 %triggerun mhash -- %{name}-mhash < 3:4.4.0-2.1
2502 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2503
2504 %triggerun mime_magic -- %{name}-mime_magic < 3:4.4.0-2.1
2505 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2506
2507 %triggerun ming -- %{name}-ming < 3:4.4.0-2.1
2508 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2509
2510 %triggerun mnogosearch -- %{name}-mnogosearch < 3:4.4.0-2.1
2511 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mnogosearch\.so/d' %{_sysconfdir}/php.ini
2512
2513 %triggerun msession -- %{name}-msession < 3:4.4.0-2.1
2514 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*msession\.so/d' %{_sysconfdir}/php.ini
2515
2516 %triggerun mssql -- %{name}-mssql < 3:4.4.0-2.1
2517 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2518
2519 %triggerun mysql -- %{name}-mysql < 3:4.4.0-2.1
2520 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2521
2522 %triggerun ncurses -- %{name}-ncurses < 3:4.4.2-9.4
2523 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2524         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2525 fi
2526 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2527         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2528 fi
2529
2530 %triggerun oci8 -- %{name}-oci8 < 3:4.4.0-2.1
2531 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2532
2533 %triggerun odbc -- %{name}-odbc < 3:4.4.0-2.1
2534 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2535
2536 %triggerun oracle -- %{name}-oracle < 3:4.4.0-2.1
2537 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oracle\.so/d' %{_sysconfdir}/php.ini
2538
2539 %triggerun overload -- %{name}-overload < 3:4.4.0-2.1
2540 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*overload\.so/d' %{_sysconfdir}/php.ini
2541
2542 %triggerun pcntl -- %{name}-pcntl < 3:4.4.2-9.4
2543 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2544         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2545 fi
2546 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2547         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2548 fi
2549
2550 %triggerun pcre -- %{name}-pcre < 3:4.4.0-2.1
2551 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2552
2553 %triggerun pdf -- %{name}-pdf < 3:4.4.0-2.1
2554 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pdf\.so/d' %{_sysconfdir}/php.ini
2555
2556 %triggerun pgsql -- %{name}-pgsql < 3:4.4.0-2.1
2557 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2558
2559 %triggerun posix -- %{name}-posix < 3:4.4.0-2.1
2560 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2561
2562 %triggerun pspell -- %{name}-pspell < 3:4.4.0-2.1
2563 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2564
2565 %triggerun qtdom -- %{name}-qtdom < 3:4.4.0-2.1
2566 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*qtdom\.so/d' %{_sysconfdir}/php.ini
2567
2568 %triggerun readline -- %{name}-readline < 3:4.4.2-9.4
2569 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2570         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2571 fi
2572 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2573         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2574 fi
2575
2576 %triggerun recode -- %{name}-recode < 3:4.4.0-2.1
2577 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2578
2579 %triggerun shmop -- %{name}-shmop < 3:4.4.0-2.1
2580 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2581
2582 %triggerun snmp -- %{name}-snmp < 3:4.4.0-2.1
2583 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2584
2585 %triggerun sockets -- %{name}-sockets < 3:4.4.0-2.1
2586 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2587
2588 %triggerun sybase -- %{name}-sybase < 3:4.4.0-2.1
2589 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2590
2591 %triggerun sybase-ct -- %{name}-sybase-ct < 3:4.4.0-2.1
2592 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase_ct\.so/d' %{_sysconfdir}/php.ini
2593
2594 %triggerun sysvmsg -- %{name}-sysvmsg < 3:4.4.0-2.1
2595 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2596
2597 %triggerun sysvsem -- %{name}-sysvsem < 3:4.4.0-2.1
2598 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2599
2600 %triggerun sysvshm -- %{name}-sysvshm < 3:4.4.0-2.1
2601 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2602
2603 %triggerun wddx -- %{name}-wddx < 3:4.4.0-2.1
2604 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2605
2606 %triggerun xml -- %{name}-xml < 3:4.4.0-2.1
2607 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2608
2609 %triggerun xmlrpc -- %{name}-xmlrpc < 3:4.4.0-2.1
2610 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2611
2612 %triggerun xslt -- %{name}-xslt < 3:4.4.0-2.1
2613 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xslt\.so/d' %{_sysconfdir}/php.ini
2614
2615 %triggerun yaz -- %{name}-yaz < 3:4.4.0-2.1
2616 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yaz\.so/d' %{_sysconfdir}/php.ini
2617
2618 %triggerun yp -- %{name}-yp < 3:4.4.0-2.1
2619 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yp\.so/d' %{_sysconfdir}/php.ini
2620
2621 %triggerun zip -- %{name}-zip < 3:4.4.0-2.1
2622 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zip\.so/d' %{_sysconfdir}/php.ini
2623
2624 %triggerun zlib -- %{name}-zlib < 3:4.4.0-2.1
2625 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2626
2627 %if %{with apache1}
2628 %files -n apache1-mod_php4
2629 %defattr(644,root,root,755)
2630 %doc sapi/apache/CREDITS
2631 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php4.conf
2632 %dir %{_sysconfdir}/apache.d
2633 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2634 %attr(755,root,root) %{_libdir}/apache1/libphp4.so
2635 %endif
2636
2637 %if %{with apache2}
2638 %files -n apache-mod_php4
2639 %defattr(644,root,root,755)
2640 %doc sapi/apache2handler/{CREDITS,README}
2641 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php4.conf
2642 %dir %{_sysconfdir}/apache2handler.d
2643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2644 %attr(755,root,root) %{_libdir}/apache/libphp4.so
2645 %endif
2646
2647 %if %{with fcgi}
2648 %files fcgi
2649 %defattr(644,root,root,755)
2650 %doc sapi/cgi/{CREDITS,README.FastCGI}
2651 %attr(755,root,root) %{_bindir}/php4.fcgi
2652 %dir %{_sysconfdir}/cgi-fcgi.d
2653 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2654 %endif
2655
2656 %files cgi
2657 %defattr(644,root,root,755)
2658 %doc sapi/cgi/CREDITS
2659 %attr(755,root,root) %{_bindir}/php4.cgi
2660 %dir %{_sysconfdir}/cgi.d
2661 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2662
2663 %files cli
2664 %defattr(644,root,root,755)
2665 %doc sapi/cli/{CREDITS,README}
2666 %attr(755,root,root) %{_bindir}/php4.cli
2667 %attr(755,root,root) %{_bindir}/php4
2668 %dir %{_sysconfdir}/cli.d
2669 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2670 %{_mandir}/man1/php4.1*
2671
2672 %files program
2673 %defattr(644,root,root,755)
2674 %attr(755,root,root) %{_bindir}/php
2675
2676 %files common
2677 %defattr(644,root,root,755)
2678 %doc php.ini-*
2679 %doc CREDITS Zend/ZEND_CHANGES
2680 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2681
2682 %dir %{_sysconfdir}
2683 %dir %{_sysconfdir}/conf.d
2684 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2685 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2686 %dir %{extensionsdir}
2687
2688 %files devel
2689 %defattr(644,root,root,755)
2690 %doc README.UNIX-BUILD-SYSTEM
2691 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2692 %doc CODING_STANDARDS
2693 %attr(755,root,root) %{_bindir}/phpize
2694 %attr(755,root,root) %{_bindir}/php-config
2695 %attr(755,root,root) %{_libdir}/libphp_common.so
2696 # FIXME: how exactly this is needed? as it contains libdir for apache1 or apache2
2697 %{_libdir}/libphp_common.la
2698 %{_includedir}/php
2699 %dir %{_libdir}/php
2700 %{_libdir}/php/build
2701 %{_mandir}/man1/php-config.1*
2702 %{_mandir}/man1/phpize.1*
2703
2704 %files bcmath
2705 %defattr(644,root,root,755)
2706 %doc ext/bcmath/CREDITS
2707 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2708 %attr(755,root,root) %{extensionsdir}/bcmath.so
2709
2710 %files bzip2
2711 %defattr(644,root,root,755)
2712 %doc ext/bz2/CREDITS
2713 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2714 %attr(755,root,root) %{extensionsdir}/bz2.so
2715
2716 %files calendar
2717 %defattr(644,root,root,755)
2718 %doc ext/calendar/CREDITS
2719 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2720 %attr(755,root,root) %{extensionsdir}/calendar.so
2721
2722 %if %{with cpdf}
2723 %files cpdf
2724 %defattr(644,root,root,755)
2725 %doc ext/cpdf/CREDITS
2726 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/cpdf.ini
2727 %attr(755,root,root) %{extensionsdir}/cpdf.so
2728 %endif
2729
2730 %files crack
2731 %defattr(644,root,root,755)
2732 %doc ext/crack/CREDITS
2733 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/crack.ini
2734 %attr(755,root,root) %{extensionsdir}/crack.so
2735
2736 %files ctype
2737 %defattr(644,root,root,755)
2738 %doc ext/ctype/{CREDITS,README}
2739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2740 %attr(755,root,root) %{extensionsdir}/ctype.so
2741
2742 %if %{with curl}
2743 %files curl
2744 %defattr(644,root,root,755)
2745 %doc ext/curl/CREDITS
2746 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2747 %attr(755,root,root) %{extensionsdir}/curl.so
2748 %endif
2749
2750 %files db
2751 %defattr(644,root,root,755)
2752 %doc ext/db/CREDITS
2753 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/db.ini
2754 %attr(755,root,root) %{extensionsdir}/db.so
2755
2756 %files dba
2757 %defattr(644,root,root,755)
2758 %doc ext/dba/{CREDITS,README}
2759 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2760 %attr(755,root,root) %{extensionsdir}/dba.so
2761
2762 %files dbase
2763 %defattr(644,root,root,755)
2764 %doc ext/dbase/CREDITS
2765 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2766 %attr(755,root,root) %{extensionsdir}/dbase.so
2767
2768 %files dbx
2769 %defattr(644,root,root,755)
2770 %doc ext/dbx/{CREDITS,howto_extend_dbx.html}
2771 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbx.ini
2772 %attr(755,root,root) %{extensionsdir}/dbx.so
2773
2774 %files dio
2775 %defattr(644,root,root,755)
2776 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dio.ini
2777 %attr(755,root,root) %{extensionsdir}/dio.so
2778
2779 %if %{with xml}
2780 %files domxml
2781 %defattr(644,root,root,755)
2782 %doc ext/domxml/{CREDITS,TODO}
2783 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/domxml.ini
2784 %attr(755,root,root) %{extensionsdir}/domxml.so
2785 %endif
2786
2787 %if %{with fdf}
2788 %files fdf
2789 %defattr(644,root,root,755)
2790 %doc ext/fdf/CREDITS
2791 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2792 %attr(755,root,root) %{extensionsdir}/fdf.so
2793 %endif
2794
2795 %files exif
2796 %defattr(644,root,root,755)
2797 %doc ext/exif/CREDITS
2798 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2799 %attr(755,root,root) %{extensionsdir}/exif.so
2800
2801 %files filepro
2802 %defattr(644,root,root,755)
2803 %doc ext/filepro/CREDITS
2804 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2805 %attr(755,root,root) %{extensionsdir}/filepro.so
2806
2807 %if %{with fribidi}
2808 %files fribidi
2809 %defattr(644,root,root,755)
2810 %doc ext/fribidi/{CREDITS,README}
2811 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fribidi.ini
2812 %attr(755,root,root) %{extensionsdir}/fribidi.so
2813 %endif
2814
2815 %files ftp
2816 %defattr(644,root,root,755)
2817 %doc ext/ftp/CREDITS
2818 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2819 %attr(755,root,root) %{extensionsdir}/ftp.so
2820
2821 %files gd
2822 %defattr(644,root,root,755)
2823 %doc ext/gd/CREDITS
2824 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2825 %attr(755,root,root) %{extensionsdir}/gd.so
2826
2827 %files gettext
2828 %defattr(644,root,root,755)
2829 %doc ext/gettext/CREDITS
2830 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2831 %attr(755,root,root) %{extensionsdir}/gettext.so
2832
2833 %files gmp
2834 %defattr(644,root,root,755)
2835 %doc ext/gmp/{CREDITS,README,TODO}
2836 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2837 %attr(755,root,root) %{extensionsdir}/gmp.so
2838
2839 %files hyperwave
2840 %defattr(644,root,root,755)
2841 %doc ext/hyperwave/CREDITS
2842 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hyperwave.ini
2843 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2844
2845 %files iconv
2846 %defattr(644,root,root,755)
2847 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2848 %attr(755,root,root) %{extensionsdir}/iconv.so
2849
2850 %if %{with imap}
2851 %files imap
2852 %defattr(644,root,root,755)
2853 %doc ext/imap/CREDITS
2854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2855 %attr(755,root,root) %{extensionsdir}/imap.so
2856 %endif
2857
2858 %if %{with interbase}
2859 %files interbase
2860 %defattr(644,root,root,755)
2861 %doc ext/interbase/CREDITS
2862 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2863 %attr(755,root,root) %{extensionsdir}/interbase.so
2864 %endif
2865
2866 %if %{with java}
2867 %files java
2868 %defattr(644,root,root,755)
2869 %doc ext/java/{CREDITS,README}
2870 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/java.ini
2871 %attr(755,root,root) %{extensionsdir}/java.so
2872 %{extensionsdir}/php_java.jar
2873 %endif
2874
2875 %if %{with ldap}
2876 %files ldap
2877 %defattr(644,root,root,755)
2878 %doc ext/ldap/CREDITS
2879 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2880 %attr(755,root,root) %{extensionsdir}/ldap.so
2881 %endif
2882
2883 %files mbstring
2884 %defattr(644,root,root,755)
2885 %doc ext/mbstring/{CREDITS,README,README.libmbfl}
2886 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2887 %attr(755,root,root) %{extensionsdir}/mbstring.so
2888
2889 %files mcal
2890 %defattr(644,root,root,755)
2891 %doc ext/mcal/CREDITS
2892 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcal.ini
2893 %attr(755,root,root) %{extensionsdir}/mcal.so
2894
2895 %files mcrypt
2896 %defattr(644,root,root,755)
2897 %doc ext/mcrypt/{CREDITS,TODO}
2898 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2899 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2900
2901 %if %{with mhash}
2902 %files mhash
2903 %defattr(644,root,root,755)
2904 %doc ext/mhash/CREDITS
2905 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2906 %attr(755,root,root) %{extensionsdir}/mhash.so
2907 %endif
2908
2909 %files mime_magic
2910 %defattr(644,root,root,755)
2911 %doc ext/mime_magic/{CREDITS,TODO}
2912 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2913 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2914
2915 %if %{with ming}
2916 %files ming
2917 %defattr(644,root,root,755)
2918 %doc ext/ming/CREDITS
2919 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2920 %attr(755,root,root) %{extensionsdir}/ming.so
2921 %endif
2922
2923 %if %{with mnogosearch}
2924 %files mnogosearch
2925 %defattr(644,root,root,755)
2926 %doc ext/mnogosearch/{CREDITS,README}
2927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mnogosearch.ini
2928 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2929 %endif
2930
2931 %if %{with msession}
2932 %files msession
2933 %defattr(644,root,root,755)
2934 %doc ext/msession/{CREDITS,README,msession-test.php}
2935 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2936 %attr(755,root,root) %{extensionsdir}/msession.so
2937 %endif
2938
2939 %if %{with mssql}
2940 %files mssql
2941 %defattr(644,root,root,755)
2942 %doc ext/mssql/CREDITS
2943 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2944 %attr(755,root,root) %{extensionsdir}/mssql.so
2945 %endif
2946
2947 %files mysql
2948 %defattr(644,root,root,755)
2949 %doc ext/mysql/CREDITS
2950 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2951 %attr(755,root,root) %{extensionsdir}/mysql.so
2952
2953 %files ncurses
2954 %defattr(644,root,root,755)
2955 %doc ext/ncurses/CREDITS
2956 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2957 %attr(755,root,root) %{extensionsdir}/ncurses.so
2958
2959 %if %{with oci8}
2960 %files oci8
2961 %defattr(644,root,root,755)
2962 %doc ext/oci8/CREDITS
2963 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2964 %attr(755,root,root) %{extensionsdir}/oci8.so
2965 %endif
2966
2967 %if %{with odbc}
2968 %files odbc
2969 %defattr(644,root,root,755)
2970 %doc ext/odbc/CREDITS
2971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2972 %attr(755,root,root) %{extensionsdir}/odbc.so
2973 %endif
2974
2975 %if %{with oracle}
2976 %files oracle
2977 %defattr(644,root,root,755)
2978 %doc ext/oracle/CREDITS
2979 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oracle.ini
2980 %attr(755,root,root) %{extensionsdir}/oracle.so
2981 %endif
2982
2983 %files overload
2984 %defattr(644,root,root,755)
2985 %doc ext/overload/{CREDITS,README}
2986 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/overload.ini
2987 %attr(755,root,root) %{extensionsdir}/overload.so
2988
2989 %files pcntl
2990 %defattr(644,root,root,755)
2991 %doc ext/pcntl/{CREDITS,README}
2992 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2993 %attr(755,root,root) %{extensionsdir}/pcntl.so
2994
2995 %if %{with pcre}
2996 %files pcre
2997 %defattr(644,root,root,755)
2998 %doc ext/pcre/CREDITS
2999 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
3000 %attr(755,root,root) %{extensionsdir}/pcre.so
3001 %endif
3002
3003 %if %{with pdf}
3004 %files pdf
3005 %defattr(644,root,root,755)
3006 %doc ext/pdf/CREDITS
3007 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdf.ini
3008 %attr(755,root,root) %{extensionsdir}/pdf.so
3009 %endif
3010
3011 %if %{with pgsql}
3012 %files pgsql
3013 %defattr(644,root,root,755)
3014 %doc ext/pgsql/{CREDITS,README}
3015 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
3016 %attr(755,root,root) %{extensionsdir}/pgsql.so
3017 %endif
3018
3019 %files posix
3020 %defattr(644,root,root,755)
3021 %doc ext/posix/CREDITS
3022 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
3023 %attr(755,root,root) %{extensionsdir}/posix.so
3024
3025 %if %{with pspell}
3026 %files pspell
3027 %defattr(644,root,root,755)
3028 %doc ext/overload/{CREDITS,README}
3029 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
3030 %attr(755,root,root) %{extensionsdir}/pspell.so
3031 %endif
3032
3033 %if %{with qtdom}
3034 %files qtdom
3035 %defattr(644,root,root,755)
3036 %doc ext/qtdom/CREDITS
3037 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/qtdom.ini
3038 %attr(755,root,root) %{extensionsdir}/qtdom.so
3039 %endif
3040
3041 %files readline
3042 %defattr(644,root,root,755)
3043 %doc ext/readline/{CREDITS,README.libedit}
3044 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3045 %attr(755,root,root) %{extensionsdir}/readline.so
3046
3047 %if %{with recode}
3048 %files recode
3049 %defattr(644,root,root,755)
3050 %doc ext/recode/CREDITS
3051 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3052 %attr(755,root,root) %{extensionsdir}/recode.so
3053 %endif
3054
3055 # session_mm doesn't work with shared session
3056 #%files session
3057 #%defattr(644,root,root,755)
3058 #%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/session.ini
3059 #%attr(755,root,root) %{extensionsdir}/session.so
3060
3061 %files shmop
3062 %defattr(644,root,root,755)
3063 %doc ext/shmop/{CREDITS,README}
3064 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3065 %attr(755,root,root) %{extensionsdir}/shmop.so
3066
3067 %if %{with snmp}
3068 %files snmp
3069 %defattr(644,root,root,755)
3070 %doc ext/snmp/CREDITS
3071 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3072 %attr(755,root,root) %{extensionsdir}/snmp.so
3073 %endif
3074
3075 %files sockets
3076 %defattr(644,root,root,755)
3077 %doc ext/sockets/CREDITS
3078 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3079 %attr(755,root,root) %{extensionsdir}/sockets.so
3080
3081 %if %{with sybase}
3082 %files sybase
3083 %defattr(644,root,root,755)
3084 %doc ext/sybase/CREDITS
3085 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
3086 %attr(755,root,root) %{extensionsdir}/sybase.so
3087
3088 %files sybase-ct
3089 %defattr(644,root,root,755)
3090 %doc ext/sybase_ct/CREDITS
3091 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3092 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3093 %endif
3094
3095 %files sysvmsg
3096 %defattr(644,root,root,755)
3097 %doc ext/sysvmsg/CREDITS
3098 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3099 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3100
3101 %files sysvsem
3102 %defattr(644,root,root,755)
3103 %doc ext/sysvsem/CREDITS
3104 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3105 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3106
3107 %files sysvshm
3108 %defattr(644,root,root,755)
3109 %doc ext/sysvshm/CREDITS
3110 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3111 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3112
3113 %files tokenizer
3114 %defattr(644,root,root,755)
3115 %doc ext/tokenizer/{CREDITS,tokenizer.php}
3116 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3117 %attr(755,root,root) %{extensionsdir}/tokenizer.so
3118
3119 %if %{with wddx}
3120 %files wddx
3121 %defattr(644,root,root,755)
3122 %doc ext/wddx/CREDITS
3123 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3124 %attr(755,root,root) %{extensionsdir}/wddx.so
3125 %endif
3126
3127 %if %{with xml}
3128 %files xml
3129 %defattr(644,root,root,755)
3130 %doc ext/xml/CREDITS
3131 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3132 %attr(755,root,root) %{extensionsdir}/xml.so
3133 %endif
3134
3135 %if %{with xmlrpc}
3136 %files xmlrpc
3137 %defattr(644,root,root,755)
3138 %doc ext/xmlrpc/CREDITS
3139 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3140 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3141 %endif
3142
3143 %if %{with xslt}
3144 %files xslt
3145 %defattr(644,root,root,755)
3146 %doc ext/xslt/{README.XSLT-BACKENDS,TODO}
3147 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xslt.ini
3148 %attr(755,root,root) %{extensionsdir}/xslt.so
3149 %endif
3150
3151 %if %{with yaz}
3152 %files yaz
3153 %defattr(644,root,root,755)
3154 %doc ext/yaz/{CREDITS,README}
3155 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yaz.ini
3156 %attr(755,root,root) %{extensionsdir}/yaz.so
3157 %endif
3158
3159 %if %{with yp}
3160 %files yp
3161 %defattr(644,root,root,755)
3162 %doc ext/yp/CREDITS
3163 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yp.ini
3164 %attr(755,root,root) %{extensionsdir}/yp.so
3165 %endif
3166
3167 %files zip
3168 %defattr(644,root,root,755)
3169 %doc ext/zip/CREDITS
3170 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3171 %attr(755,root,root) %{extensionsdir}/zip.so
3172
3173 %files zlib
3174 %defattr(644,root,root,755)
3175 %doc ext/zlib/CREDITS
3176 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3177 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.257687 seconds and 2 git commands to generate.