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