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