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