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