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