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