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