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