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