]> git.pld-linux.org Git - packages/php4.git/blob - php4.spec
- update from current 5.2; needs some tweaks
[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 0.1
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.8
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:  ed31e77414e0331e787487b53732dbca
91 #Source0:       http://cvs.php.net/viewvc.cgi/phpweb/distributions/php-%{version}.tar.bz2?revision=1.1
92 Source2:        zend.gif
93 Source3:        %{name}-mod_php.conf
94 Source4:        %{name}-cgi-fcgi.ini
95 Source5:        %{name}-cgi.ini
96 Source6:        %{name}-apache.ini
97 Source7:        %{name}-cli.ini
98 Source8:        http://www.hardened-php.net/hardening-patch-4.4.0-0.4.3.patch.gz
99 # Source8-md5:  6eac3c5c5a7473c68a043c7657298f48
100 Patch0:         %{name}-shared.patch
101 Patch1:         %{name}-pldlogo.patch
102 Patch2:         %{name}-xml-expat-fix.patch
103 Patch3:         %{name}-mail.patch
104 Patch4:         %{name}-link-libs.patch
105 Patch5:         %{name}-libpq_fs_h_path.patch
106 Patch6:         %{name}-wddx-fix.patch
107 Patch7:         %{name}-lib.patch
108 Patch8:         %{name}-hyperwave-fix.patch
109 Patch9:         %{name}-xslt-gcc33.patch
110 Patch10:        %{name}-java-norpath.patch
111 Patch11:        %{name}-mcal-shared-lib.patch
112 Patch12:        %{name}-msession-shared-lib.patch
113 Patch13:        %{name}-build_modules.patch
114 Patch14:        %{name}-sapi-ini-file.patch
115 Patch15:        %{name}-no-metaccld.patch
116 Patch16:        %{name}-session-unregister.patch
117 Patch17:        %{name}-ini.patch
118 Patch18:        %{name}-acam.patch
119 Patch19:        %{name}-xmlrpc-fix.patch
120 Patch20:        %{name}-libtool.patch
121 Patch21:        %{name}-allow-db31.patch
122 Patch22:        %{name}-threads-acfix.patch
123 Patch23:        %{name}-gmp.patch
124 Patch24:        %{name}-qt.patch
125 Patch25:        %{name}-no_pear_install.patch
126 Patch26:        %{name}-zlib.patch
127 Patch27:        %{name}-db-shared.patch
128 Patch28:        %{name}-sybase-fix.patch
129 Patch29:        %{name}-lib64.patch
130 Patch30:        %{name}-mnogosearch-fix.patch
131 Patch31:        %{name}-stupidapache_version.patch
132 Patch33:        %{name}-uint32_t.patch
133 Patch34:        %{name}-install_gd_headers.patch
134 Patch35:        %{name}-both-apxs.patch
135 Patch36:        php-dextension.patch
136 Patch37:        %{name}-zlib-for-getimagesize.patch
137 Patch38:        %{name}-ini-search-path.patch
138 Patch39:        %{name}-versioning.patch
139 Patch40:        %{name}-linkflags-clean.patch
140 Patch41:        %{name}-krb5.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}-fcgi-graceful.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}-cli = %{epoch}:%{version}-%{release}
1137 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1138 Provides:       php(pcntl)
1139
1140 %description pcntl
1141 This is a dynamic shared object (DSO) for PHP that will add process
1142 spawning and control support. It supports functions like fork(),
1143 waitpid(), signal() etc.
1144
1145 Warning: this is an experimental module. Also, don't use it in
1146 webserver environment!
1147
1148 %description pcntl -l pl.UTF-8
1149 Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi.
1150 Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne.
1151
1152 Uwaga: to jest moduł eksperymentalny. Ponadto nie jest przeznaczony do
1153 używania z serwerem WWW - nie próbuj tego!
1154
1155 %package pcre
1156 Summary:        PCRE extension module for PHP
1157 Summary(pl.UTF-8):      Moduł PCRE dla PHP
1158 Group:          Libraries
1159 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1160 Provides:       php(pcre)
1161
1162 %description pcre
1163 This is a dynamic shared object (DSO) for PHP that will add Perl
1164 Compatible Regular Expression support.
1165
1166 %description pcre -l pl.UTF-8
1167 Moduł PHP umożliwiający korzystanie z perlowych wyrażeń regularnych
1168 (Perl Compatible Regular Expressions)
1169
1170 %package pdf
1171 Summary:        PDF creation module module for PHP
1172 Summary(pl.UTF-8):      Moduł do tworzenia plików PDF dla PHP
1173 Group:          Libraries
1174 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1175 Provides:       php(pdf)
1176
1177 %description pdf
1178 This is a dynamic shared object (DSO) for PHP that will add PDF
1179 support through pdflib.
1180
1181 %description pdf -l pl.UTF-8
1182 Moduł PHP umożliwiający tworzenie plików PDF. Wykorzystuje bibliotekę
1183 pdflib.
1184
1185 %package pgsql
1186 Summary:        PostgreSQL database module for PHP
1187 Summary(pl.UTF-8):      Moduł bazy danych PostgreSQL dla PHP
1188 Group:          Libraries
1189 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1190 Provides:       php(pgsql)
1191
1192 %description pgsql
1193 This is a dynamic shared object (DSO) for PHP that will add PostgreSQL
1194 database support.
1195
1196 %description pgsql -l pl.UTF-8
1197 Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL.
1198
1199 %description pgsql -l pt_BR.UTF-8
1200 Um módulo para aplicações PHP que usam bancos de dados postgresql.
1201
1202 %package posix
1203 Summary:        POSIX extension module for PHP
1204 Summary(pl.UTF-8):      Moduł POSIX dla PHP
1205 Group:          Libraries
1206 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1207 Provides:       php(posix)
1208
1209 %description posix
1210 This is a dynamic shared object (DSO) for PHP that will add POSIX
1211 functions support to PHP.
1212
1213 %description posix -l pl.UTF-8
1214 Moduł PHP umożliwiający korzystanie z funkcji POSIX.
1215
1216 %package pspell
1217 Summary:        pspell extension module for PHP
1218 Summary(pl.UTF-8):      Moduł pspell dla PHP
1219 Group:          Libraries
1220 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1221 Provides:       php(pspell)
1222
1223 %description pspell
1224 This is a dynamic shared object (DSO) for PHP that will add pspell
1225 support to PHP. It allows to check the spelling of a word and offer
1226 suggestions.
1227
1228 %description pspell -l pl.UTF-8
1229 Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na
1230 sprawdzanie pisowni słowa i sugerowanie poprawek.
1231
1232 %package qtdom
1233 Summary:        Qt DOM extension module for PHP
1234 Summary(pl.UTF-8):      Moduł Qt DOM dla PHP
1235 Group:          Libraries
1236 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1237 Provides:       php(qtdom)
1238
1239 %description qtdom
1240 This PHP module adds Qt DOM functions support.
1241
1242 %description qtdom -l pl.UTF-8
1243 Moduł PHP dodający obsługę funkcji Qt DOM.
1244
1245 %package readline
1246 Summary:        readline extension module for PHP
1247 Summary(pl.UTF-8):      Moduł readline dla PHP
1248 Group:          Libraries
1249 Requires:       %{name}-cli = %{epoch}:%{version}-%{release}
1250 Provides:       php(readline)
1251
1252 %description readline
1253 This PHP module adds support for readline functions (only for cli and
1254 cgi SAPIs).
1255
1256 %description readline -l pl.UTF-8
1257 Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi).
1258
1259 %package recode
1260 Summary:        recode extension module for PHP
1261 Summary(pl.UTF-8):      Moduł recode dla PHP
1262 Group:          Libraries
1263 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1264 Requires:       recode >= 3.5d-3
1265 Provides:       php(recode)
1266
1267 %description recode
1268 This is a dynamic shared object (DSO) for PHP that will add recode
1269 support.
1270
1271 %description recode -l pl.UTF-8
1272 Moduł PHP dodający możliwość konwersji kodowania plików (poprzez
1273 bibliotekę recode).
1274
1275 %package shmop
1276 Summary:        Shared Memory Operations extension module for PHP
1277 Summary(pl.UTF-8):      Moduł shmop dla PHP
1278 Group:          Libraries
1279 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1280 Provides:       php(shmop)
1281
1282 %description shmop
1283 This is a dynamic shared object (DSO) for PHP that will add Shared
1284 Memory Operations support.
1285
1286 Warning: this is an experimental module.
1287
1288 %description shmop -l pl.UTF-8
1289 Moduł PHP umożliwiający korzystanie z pamięci dzielonej.
1290
1291 Uwaga: to jest moduł eksperymentalny.
1292
1293 %package snmp
1294 Summary:        SNMP extension module for PHP
1295 Summary(pl.UTF-8):      Moduł SNMP dla PHP
1296 Group:          Libraries
1297 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1298 Provides:       php(snmp)
1299
1300 %description snmp
1301 This is a dynamic shared object (DSO) for PHP that will add SNMP
1302 support.
1303
1304 %description snmp -l pl.UTF-8
1305 Moduł PHP dodający obsługę SNMP.
1306
1307 %package sockets
1308 Summary:        sockets extension module for PHP
1309 Summary(pl.UTF-8):      Moduł socket dla PHP
1310 Group:          Libraries
1311 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1312 Provides:       php(sockets)
1313
1314 %description sockets
1315 This is a dynamic shared object (DSO) for PHP that will add sockets
1316 support.
1317
1318 Warning: this is an experimental module.
1319
1320 %description sockets -l pl.UTF-8
1321 Moduł PHP dodający obsługę gniazdek.
1322
1323 Uwaga: to jest moduł eksperymentalny.
1324
1325 %package sybase
1326 Summary:        Sybase DB extension module for PHP
1327 Summary(pl.UTF-8):      Moduł Sybase DB dla PHP
1328 Group:          Libraries
1329 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1330 Provides:       php(sybase)
1331 Obsoletes:      php4-sybase-ct
1332 Conflicts:      %{name}-mssql
1333
1334 %description sybase
1335 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1336 MS SQL databases support through SYBDB library. Currently Sybase
1337 module is not maintained. Using Sybase-CT module is recommended
1338 instead.
1339
1340 %description sybase -l pl.UTF-8
1341 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1342 bibliotekę SYBDB. W chwili obecnej moduł Sybase nie jest wspierany.
1343 Zaleca się używanie modułu Sybase-CT.
1344
1345 %package sybase-ct
1346 Summary:        Sybase-CT extension module for PHP
1347 Summary(pl.UTF-8):      Moduł Sybase-CT dla PHP
1348 Group:          Libraries
1349 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1350 Provides:       php(sybase-ct)
1351 Obsoletes:      php4-sybase
1352 Conflicts:      %{name}-mssql
1353
1354 %description sybase-ct
1355 This is a dynamic shared object (DSO) for PHP that will add Sybase and
1356 MS SQL databases support through CT-lib.
1357
1358 %description sybase-ct -l pl.UTF-8
1359 Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez
1360 CT-lib.
1361
1362 %package sysvmsg
1363 Summary:        SysV msg extension module for PHP
1364 Summary(pl.UTF-8):      Moduł SysV msg dla PHP
1365 Group:          Libraries
1366 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1367 Provides:       php(sysvmsg)
1368
1369 %description sysvmsg
1370 This is a dynamic shared object (DSO) for PHP that will add SysV
1371 message queues support.
1372
1373 %description sysvmsg -l pl.UTF-8
1374 Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV.
1375
1376 %package sysvsem
1377 Summary:        SysV sem extension module for PHP
1378 Summary(pl.UTF-8):      Moduł SysV sem dla PHP
1379 Group:          Libraries
1380 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1381 Provides:       php(sysvsem)
1382
1383 %description sysvsem
1384 This is a dynamic shared object (DSO) for PHP that will add SysV
1385 semaphores support.
1386
1387 %description sysvsem -l pl.UTF-8
1388 Moduł PHP umożliwiający korzystanie z semaforów SysV.
1389
1390 %package sysvshm
1391 Summary:        SysV shm extension module for PHP
1392 Summary(pl.UTF-8):      Moduł SysV shm dla PHP
1393 Group:          Libraries
1394 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1395 Provides:       php(sysvshm)
1396
1397 %description sysvshm
1398 This is a dynamic shared object (DSO) for PHP that will add SysV
1399 Shared Memory support.
1400
1401 %description sysvshm -l pl.UTF-8
1402 Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV.
1403
1404 %package tokenizer
1405 Summary:        tokenizer extension module for PHP
1406 Summary(pl.UTF-8):      Moduł rozszerzenia tokenizer dla PHP
1407 Group:          Libraries
1408 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1409 Provides:       php(tokenizer)
1410
1411 %description tokenizer
1412 This is a dynamic shared object (DSO) for PHP that will add tokenizer
1413 support.
1414
1415 %description tokenizer -l pl.UTF-8
1416 Moduł PHP dodający obsługę tokenizera do PHP.
1417
1418 %package wddx
1419 Summary:        wddx extension module for PHP
1420 Summary(pl.UTF-8):      Moduł wddx dla PHP
1421 Group:          Libraries
1422 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1423 #Requires:      %{name}-session = %{epoch}:%{version}-%{release}
1424 Requires:       %{name}-xml = %{epoch}:%{version}-%{release}
1425 Provides:       php(wddx)
1426
1427 %description wddx
1428 This is a dynamic shared object (DSO) for PHP that will add wddx
1429 support.
1430
1431 %description wddx -l pl.UTF-8
1432 Moduł PHP umożliwiający korzystanie z wddx.
1433
1434 %package xml
1435 Summary:        XML extension module for PHP
1436 Summary(pl.UTF-8):      Moduł XML dla PHP
1437 Group:          Libraries
1438 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1439 Provides:       php(xml)
1440
1441 %description xml
1442 This is a dynamic shared object (DSO) for PHP that will add XML
1443 support. This extension lets you create XML parsers and then define
1444 handlers for different XML events.
1445
1446 %description xml -l pl.UTF-8
1447 Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń
1448 związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i
1449 następnie definiować procedury obsługi dla różnych zdarzeń XML.
1450
1451 %package xmlrpc
1452 Summary:        xmlrpc extension module for PHP
1453 Summary(pl.UTF-8):      Moduł xmlrpc dla PHP
1454 Group:          Libraries
1455 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1456 Provides:       php(xmlrpc)
1457
1458 %description xmlrpc
1459 This is a dynamic shared object (DSO) for PHP that will add XMLRPC
1460 support.
1461
1462 Warning: this is an experimental module.
1463
1464 %description xmlrpc -l pl.UTF-8
1465 Moduł PHP dodający obsługę XMLRPC.
1466
1467 Uwaga: to jest moduł eksperymentalny.
1468
1469 %package xslt
1470 Summary:        xslt extension module for PHP
1471 Summary(pl.UTF-8):      Moduł xslt dla PHP
1472 Group:          Libraries
1473 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1474 Provides:       php(xslt)
1475
1476 %description xslt
1477 This is a dynamic shared object (DSO) for PHP that will add xslt
1478 support.
1479
1480 %description xslt -l pl.UTF-8
1481 Moduł PHP umożliwiający korzystanie z technologii xslt.
1482
1483 %package yaz
1484 Summary:        yaz extension module for PHP
1485 Summary(pl.UTF-8):      Moduł yaz dla PHP
1486 Group:          Libraries
1487 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1488 Requires:       yaz >= 1.9
1489 Provides:       php(yaz)
1490
1491 %description yaz
1492 This is a dynamic shared object (DSO) for PHP that will add yaz
1493 support. yaz toolkit implements the Z39.50 protocol for information
1494 retrieval.
1495
1496 %description yaz -l pl.UTF-8
1497 Moduł PHP umożliwiający korzystanie z yaz - implementacji protokołu
1498 Z39.50 służącego do pozyskiwania informacji.
1499
1500 %package yp
1501 Summary:        NIS (yp) extension module for PHP
1502 Summary(pl.UTF-8):      Moduł NIS (yp) dla PHP
1503 Group:          Libraries
1504 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1505 Provides:       php(yp)
1506
1507 %description yp
1508 This is a dynamic shared object (DSO) for PHP that will add NIS
1509 (Yellow Pages) support.
1510
1511 %description yp -l pl.UTF-8
1512 Moduł PHP dodający wsparcie dla NIS (Yellow Pages).
1513
1514 %package zip
1515 Summary:        zip extension module for PHP
1516 Summary(pl.UTF-8):      Moduł zip dla PHP
1517 Group:          Libraries
1518 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1519 Provides:       php(zip)
1520
1521 %description zip
1522 This is a dynamic shared object (DSO) for PHP that will add ZZipLib
1523 (read-only access to ZIP archives) support.
1524
1525 %description zip -l pl.UTF-8
1526 Moduł PHP umożliwiający korzystanie z bibliotekli ZZipLib
1527 (pozwalającej na odczyt archiwów ZIP).
1528
1529 %package zlib
1530 Summary:        Zlib extension module for PHP
1531 Summary(pl.UTF-8):      Moduł zlib dla PHP
1532 Group:          Libraries
1533 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
1534 Provides:       php(zlib)
1535
1536 %description zlib
1537 This is a dynamic shared object (DSO) for PHP that will add zlib
1538 compression support to PHP.
1539
1540 %description zlib -l pl.UTF-8
1541 Moduł PHP umożliwiający używanie kompresji zlib.
1542
1543 %prep
1544 %setup -q -n php-%{version}
1545 #%patch43 -p1
1546 %patch40 -p1
1547 %patch0 -p1
1548 %patch1 -p1
1549 %patch2 -p1
1550 %patch3 -p1
1551 %patch4 -p1
1552 %patch5 -p1
1553 %patch6 -p1
1554 %patch7 -p1
1555 %patch8 -p1
1556 # Not really needed?
1557 #%patch9 -p1
1558 %patch10 -p1
1559 %patch11 -p1
1560 %patch12 -p1
1561 %patch13 -p1
1562 %patch14 -p1
1563 %patch15 -p1
1564 %patch16 -p1
1565 cp php.ini-dist php.ini
1566 %patch17 -p1
1567 # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked
1568 # conditionally...
1569 %patch18 -p1
1570 %patch19 -p1
1571 %patch20 -p1
1572 %patch21 -p1
1573 %patch22 -p1
1574 # %patch23 -p1
1575 %patch24 -p1
1576 %patch25 -p1
1577 %patch26 -p1
1578 %patch27 -p1
1579 %patch28 -p1
1580 %if "%{_lib}" == "lib64"
1581 %patch29 -p1
1582 %endif
1583 %patch30 -p1
1584 %patch31 -p1
1585 %patch33 -p1
1586 %patch34 -p1
1587 %patch35 -p1
1588 %patch36 -p1
1589 %patch37 -p1
1590 %patch38 -p1
1591 %{?with_versioning:%patch39 -p1}
1592 # XXX: I believe this one is obsolete as of 4.4.3
1593 #%patch41 -p1
1594 %patch41 -p1
1595 %patch42 -p1
1596 %patch43 -p1
1597 %patch45 -p1
1598 %patch46 -p1
1599 %patch47 -p1
1600 %patch48 -p1
1601
1602 %if %{with hardening}
1603 zcat %{SOURCE8} | patch -p1
1604 %endif
1605
1606 cp -f Zend/LICENSE{,.Zend}
1607
1608 %build
1609 API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h)
1610 if [ $API != %{php_api_version} ]; then
1611         echo "Set %%define php_api_version to $API and re-run."
1612         exit 1
1613 fi
1614
1615 API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h)
1616 if [ $API != %{zend_module_api} ]; then
1617         echo "Set %%define zend_module_api to $API and re-run."
1618         exit 1
1619 fi
1620
1621 API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h)
1622 if [ $API != %{zend_extension_api} ]; then
1623         echo "Set %%define zend_extension_api to $API and re-run."
1624         exit 1
1625 fi
1626
1627 export EXTENSION_DIR="%{extensionsdir}"
1628 if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes)
1629         rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies
1630         %{__libtoolize}
1631         %{__aclocal}
1632         ./buildconf --force
1633         touch _built-conf
1634 fi
1635 export PROG_SENDMAIL="/usr/lib/sendmail"
1636
1637 sapis="
1638 %if %{with fcgi}
1639 fcgi
1640 %endif
1641 cgi cli
1642 %if %{with apache1}
1643 apxs1
1644 %endif
1645 %if %{with apache2}
1646 apxs2
1647 %endif
1648 "
1649 for sapi in $sapis; do
1650         : SAPI $sapi
1651         [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes)
1652
1653         sapi_args=''
1654         case $sapi in
1655         cgi)
1656                 sapi_args='--enable-discard-path --enable-force-cgi-redirect'
1657                 ;;
1658         cli)
1659                 sapi_args='--disable-cgi'
1660                 ;;
1661         fcgi)
1662                 sapi_args='--enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect'
1663                 ;;
1664         apxs1)
1665                 ver=$(rpm -q --qf '%{V}' apache1-devel)
1666                 sapi_args="--with-apxs=%{apxs1} --with-apache-version=$ver"
1667                 ;;
1668         apxs2)
1669                 ver=$(rpm -q --qf '%{V}' apache-devel)
1670                 sapi_args="--with-apxs2=%{apxs2} --with-apache-version=$ver"
1671                 ;;
1672         esac
1673
1674         %configure \
1675         $sapi_args \
1676 %if "%{!?configure_cache:0}%{?configure_cache}" == "0"
1677         --cache-file=config.cache \
1678 %endif
1679         --with-config-file-path=%{_sysconfdir} \
1680         --with-config-file-scan-dir=%{_sysconfdir}/conf.d \
1681         --with-exec-dir=%{_bindir} \
1682         --%{!?debug:dis}%{?debug:en}able-debug \
1683         %{?with_zts:--enable-experimental-zts} \
1684         --enable-inline-optimization \
1685         --enable-shared \
1686         --disable-static \
1687         --enable-bcmath=shared \
1688         --enable-calendar=shared \
1689         --enable-ctype=shared \
1690         --enable-dba=shared \
1691         --enable-dbx=shared \
1692         --enable-dio=shared \
1693         --enable-exif=shared \
1694         --enable-filepro=shared \
1695         --enable-ftp=shared \
1696         --enable-magic-quotes \
1697         --enable-mbstring=shared,all --enable-mbregex \
1698         --enable-memory-limit \
1699         --enable-overload=shared \
1700         --enable-pcntl=shared \
1701         --enable-posix=shared \
1702         %{?with_recode:--with-recode=shared} \
1703         --enable-safe-mode \
1704         --enable-session --enable-trans-sid \
1705         --enable-shmop=shared \
1706         --enable-sockets=shared \
1707         --enable-sysvmsg=shared \
1708         --enable-sysvsem=shared \
1709         --enable-sysvshm=shared \
1710         --enable-tokenizer=shared \
1711         --enable-track-vars \
1712         %{?with_wddx:--enable-wddx=shared} \
1713         %{!?with_xml:--disable-xml}%{?with_xml:--enable-xml=shared} \
1714         %{?with_xslt:--enable-xslt=shared} \
1715         --enable-yp=shared \
1716         --with-bz2=shared \
1717         %{?with_cpdf:--with-cpdflib=shared} \
1718         --with-crack=shared \
1719         %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \
1720         --with-db=shared --with-db%{?with_db3:3}%{!?with_db3:4} \
1721         --with-dbase=shared \
1722         %{?with_domxslt:--with-dom-xslt=shared --with-dom-exslt=shared} \
1723 %if %{with xml} || %{with xmlrpc}
1724         --with-expat-dir=shared,/usr \
1725 %else
1726         --without-expat-dir \
1727 %endif
1728         %{?with_fdf:--with-fdftk=shared} \
1729         --with-filepro=shared \
1730         --with-freetype-dir=shared \
1731         %{?with_fribidi:--with-fribidi=shared} \
1732         --with-gd=shared --enable-gd-native-ttf \
1733         --with-gdbm \
1734         --with-gettext=shared \
1735         --with-gmp=shared \
1736         --with-hyperwave=shared \
1737         --with-iconv=shared \
1738         %{?with_imap:--with-imap=shared --with-imap-ssl --with-kerberos} \
1739         %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \
1740         %{?with_java:--with-java=%{_libdir}/java} \
1741         --with-jpeg-dir=/usr \
1742         %{?with_ldap:--with-ldap=shared} \
1743         --with-mcal=shared,/usr \
1744         --with-mcrypt=shared \
1745         %{?with_mhash:--with-mhash=shared} \
1746         --with-mime-magic=shared,/usr/share/file/magic.mime \
1747         %{?with_ming:--with-ming=shared} \
1748         %{!?with_mnogosearch:--without-mnogosearch}%{?with_mnogosearch:--with-mnogosearch=shared,/usr} \
1749         %{?with_msession:--with-msession=shared}%{!?with_msession:--without-msession} \
1750         %{?with_mssql:--with-mssql=shared} \
1751         --with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock \
1752         --with-ncurses=shared \
1753         %{?with_oci8:--with-oci8=shared} \
1754         %{?with_odbc:--with-unixODBC=shared} \
1755         %{?with_openssl:--with-openssl} \
1756         %{?with_oracle:--with-oracle=shared} \
1757         %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=shared,/usr} \
1758         %{?with_pdf:--with-pdflib=shared} \
1759         --with-pear=%{php_pear_dir} \
1760         %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \
1761         --with-png-dir=/usr \
1762         %{?with_qtdom:--with-qtdom=shared} \
1763         --with-readline=shared \
1764         --with-regex=php \
1765         %{?with_snmp:--with-snmp=shared --enable-ucd-snmp-hack} \
1766         %{?with_pspell:--with-pspell=shared} \
1767         %{?with_sybase:--with-sybase-ct=shared,/usr --with-sybase=shared,/usr} \
1768         --with-t1lib=shared \
1769         --with-tiff-dir=/usr \
1770         %{?with_xml:--with-dom=shared} \
1771         %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \
1772         %{?with_xslt:--with-xslt-sablot=shared} --without-sablot-js \
1773         %{?with_yaz:--with-yaz=shared} \
1774         --with-zip=shared \
1775         --with-zlib=shared --with-zlib-dir=shared,/usr \
1776
1777         cp -f Makefile Makefile.$sapi
1778         cp -f main/php_config.h php_config.h.$sapi
1779 done
1780
1781 # must make this first, so modules can link against it.
1782 %{__make} libphp_common.la
1783 %{__make} build-modules
1784
1785 %if %{with apache1}
1786 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp4.la -f Makefile.apxs1
1787 %endif
1788
1789 %if %{with apache2}
1790 %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp4.la -f Makefile.apxs2
1791 %endif
1792
1793 # FCGI
1794 %if %{with fcgi}
1795 cp -af php_config.h.fcgi main/php_config.h
1796 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1797 %{__make} sapi/cgi/php -f Makefile.fcgi
1798 cp -r sapi/cgi sapi/fcgi
1799 [ "$(echo '<?=php_sapi_name();' | ./sapi/fcgi/php -qn)" = cgi-fcgi ] || exit 1
1800 %endif
1801
1802 # CGI
1803 cp -af php_config.h.cgi main/php_config.h
1804 rm -rf sapi/cgi/.libs sapi/cgi/*.lo
1805 %{__make} sapi/cgi/php -f Makefile.cgi
1806 [ "$(echo '<?=php_sapi_name();' | ./sapi/cgi/php -qn)" = cgi ] || exit 1
1807
1808 # CLI
1809 cp -af php_config.h.cli main/php_config.h
1810 %{__make} sapi/cli/php -f Makefile.cli
1811 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1
1812
1813 %install
1814 rm -rf $RPM_BUILD_ROOT
1815 install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{_sysconfdir}} \
1816         $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \
1817         $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \
1818         $RPM_BUILD_ROOT{/etc/apache/conf.d,/etc/httpd/conf.d} \
1819         $RPM_BUILD_ROOT%{_mandir}/man1
1820
1821 # install the apache modules' files
1822 %{__make} install-headers install-build install-modules install-programs \
1823         INSTALL_ROOT=$RPM_BUILD_ROOT
1824
1825 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
1826 # fix install paths, avoid evil rpaths
1827 sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
1828
1829 # install apache1 DSO module
1830 %if %{with apache1}
1831 libtool --silent --mode=install install sapi/apache/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache1
1832 rm $RPM_BUILD_ROOT%{_libdir}/apache1/libphp4.la
1833 %endif
1834
1835 # install apache2 DSO module
1836 %if %{with apache2}
1837 libtool --silent --mode=install install sapi/apache2handler/libphp4.la $RPM_BUILD_ROOT%{_libdir}/apache
1838 rm $RPM_BUILD_ROOT%{_libdir}/apache/libphp4.la
1839 %endif
1840
1841 # better solution?
1842 sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
1843
1844 # install CGI
1845 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php4.cgi
1846
1847 # install FCGI
1848 %if %{with fcgi}
1849 libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php4.fcgi
1850 %endif
1851
1852 # install CLI
1853 libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php4.cli
1854
1855 install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php4.1
1856 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php4
1857 ln -sf php4.cli $RPM_BUILD_ROOT%{_bindir}/php
1858
1859 %{?with_java:install ext/java/php_java.jar $RPM_BUILD_ROOT%{extensionsdir}}
1860
1861 install php.ini $RPM_BUILD_ROOT%{_sysconfdir}/php.ini
1862 %if %{with fcgi}
1863 install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi-fcgi.ini
1864 %endif
1865 install %{SOURCE5} $RPM_BUILD_ROOT%{_sysconfdir}/php-cgi.ini
1866 install %{SOURCE7} $RPM_BUILD_ROOT%{_sysconfdir}/php-cli.ini
1867
1868 %if %{with apache1}
1869 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons
1870 install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php4.conf
1871 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache.ini
1872 %endif
1873
1874 %if %{with apache2}
1875 install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons
1876 install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/conf.d/70_mod_php4.conf
1877 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/php-apache2handler.ini
1878 %endif
1879
1880 # Generate stub .ini files for each subpackage
1881 install -d $RPM_BUILD_ROOT%{_sysconfdir}/conf.d
1882 generate_inifiles() {
1883         for so in modules/*.so; do
1884                 mod=$(basename $so .so)
1885                 conf="%{_sysconfdir}/conf.d/$mod.ini"
1886                 # xml needs to be loaded before wddx
1887                 [ "$mod" = "wddx" ] && conf="%{_sysconfdir}/conf.d/xml_$mod.ini"
1888                 echo "+ $conf"
1889                 cat > $RPM_BUILD_ROOT$conf <<-EOF
1890                         ; Enable $mod extension module
1891                         extension=$mod.so
1892                 EOF
1893         done
1894 }
1895 generate_inifiles
1896
1897 # per SAPI ini directories
1898 install -d $RPM_BUILD_ROOT%{_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d
1899
1900 # for CLI SAPI only
1901 mv $RPM_BUILD_ROOT%{_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d}
1902
1903 # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h
1904 # isn't installed by install-headers make target, we do it manually here.
1905 # this header file is required by e.g. filter PECL extension
1906 install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h
1907
1908 %clean
1909 rm -rf $RPM_BUILD_ROOT
1910
1911 %post -n apache1-mod_php4
1912 if [ "$1" = "1" ]; then
1913         %service -q apache restart
1914 fi
1915
1916 %postun -n apache1-mod_php4
1917 if [ "$1" = "0" ]; then
1918         %service -q apache restart
1919 fi
1920
1921 %post -n apache-mod_php4
1922 if [ "$1" = "1" ]; then
1923         %service -q httpd restart
1924 fi
1925
1926 %postun -n apache-mod_php4
1927 if [ "$1" = "0" ]; then
1928         %service -q httpd restart
1929 fi
1930
1931 # so tired of typing... so decided to create macros
1932 # macro called at extension post scriptlet
1933 %define extension_post \
1934 if [ "$1" = "1" ]; then \
1935         [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1936         [ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart \
1937 fi
1938
1939 # macro called at extension postun scriptlet
1940 %define extension_postun \
1941 if [ "$1" = "0" ]; then \
1942         [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart \
1943         [ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart \
1944 fi
1945
1946 %post   common -p /sbin/ldconfig
1947 %postun common -p /sbin/ldconfig
1948
1949 %posttrans common
1950 # minimizing apache restarts logics. we restart webserver:
1951 #
1952 # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2)
1953 # 2. first install of extension (post: $1 = 1)
1954 # 2. uninstall of extension (postun: $1 == 0)
1955 #
1956 # the strict internal deps between extensions (and apache modules) and
1957 # common package are very important for all this to work.
1958
1959 # restart webserver at the end of transaction
1960 [ ! -f /etc/apache/conf.d/??_mod_php4.conf ] || %service -q apache restart
1961 [ ! -f /etc/httpd/conf.d/??_mod_php4.conf ] || %service -q httpd restart
1962
1963 %if %{with apache2}
1964 %triggerpostun -n apache-mod_php4 -- apache-mod_php4 < 3:4.4.0-2.16, php4 < 3:4.3.11-4.16
1965 # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2
1966 if [ -f %{_sysconfdir}/php-apache.ini.rpmsave ]; then
1967         cp -f %{_sysconfdir}/php-apache2handler.ini{,.rpmnew}
1968         mv -f %{_sysconfdir}/php-apache.ini.rpmsave %{_sysconfdir}/php-apache2handler.ini
1969 fi
1970 %endif
1971
1972 %post bcmath
1973 %extension_post
1974
1975 %postun bcmath
1976 %extension_postun
1977
1978 %post bzip2
1979 %extension_post
1980
1981 %postun bzip2
1982 %extension_postun
1983
1984 %post calendar
1985 %extension_post
1986
1987 %postun calendar
1988 %extension_postun
1989
1990 %post cpdf
1991 %extension_post
1992
1993 %postun cpdf
1994 %extension_postun
1995
1996 %post crack
1997 %extension_post
1998
1999 %postun crack
2000 %extension_postun
2001
2002 %post ctype
2003 %extension_post
2004
2005 %postun ctype
2006 %extension_postun
2007
2008 %post curl
2009 %extension_post
2010
2011 %postun curl
2012 %extension_postun
2013
2014 %post db
2015 %extension_post
2016
2017 %postun db
2018 %extension_postun
2019
2020 %post dba
2021 %extension_post
2022
2023 %postun dba
2024 %extension_postun
2025
2026 %post dbase
2027 %extension_post
2028
2029 %postun dbase
2030 %extension_postun
2031
2032 %post dbx
2033 %extension_post
2034
2035 %postun dbx
2036 %extension_postun
2037
2038 %post dio
2039 %extension_post
2040
2041 %postun dio
2042 %extension_postun
2043
2044 %post domxml
2045 %extension_post
2046
2047 %postun domxml
2048 %extension_postun
2049
2050 %post exif
2051 %extension_post
2052
2053 %postun exif
2054 %extension_postun
2055
2056 %post fdf
2057 %extension_post
2058
2059 %postun fdf
2060 %extension_postun
2061
2062 %post filepro
2063 %extension_post
2064
2065 %postun filepro
2066 %extension_postun
2067
2068 %post fribidi
2069 %extension_post
2070
2071 %postun fribidi
2072 %extension_postun
2073
2074 %post ftp
2075 %extension_post
2076
2077 %postun ftp
2078 %extension_postun
2079
2080 %post gd
2081 %extension_post
2082
2083 %postun gd
2084 %extension_postun
2085
2086 %post gettext
2087 %extension_post
2088
2089 %postun gettext
2090 %extension_postun
2091
2092 %post gmp
2093 %extension_post
2094
2095 %postun gmp
2096 %extension_postun
2097
2098 %post hyperwave
2099 %extension_post
2100
2101 %postun hyperwave
2102 %extension_postun
2103
2104 %post iconv
2105 %extension_post
2106
2107 %postun iconv
2108 %extension_postun
2109
2110 %post imap
2111 %extension_post
2112
2113 %postun imap
2114 %extension_postun
2115
2116 %post interbase
2117 %extension_post
2118
2119 %postun interbase
2120 %extension_postun
2121
2122 %post java
2123 %extension_post
2124
2125 %postun java
2126 %extension_postun
2127
2128 %post ldap
2129 %extension_post
2130
2131 %postun ldap
2132 %extension_postun
2133
2134 %post mbstring
2135 %extension_post
2136
2137 %postun mbstring
2138 %extension_postun
2139
2140 %post mcal
2141 %extension_post
2142
2143 %postun mcal
2144 %extension_postun
2145
2146 %post mcrypt
2147 %extension_post
2148
2149 %postun mcrypt
2150 %extension_postun
2151
2152 %post mhash
2153 %extension_post
2154
2155 %postun mhash
2156 %extension_postun
2157
2158 %post mime_magic
2159 %extension_post
2160
2161 %postun mime_magic
2162 %extension_postun
2163
2164 %post ming
2165 %extension_post
2166
2167 %postun ming
2168 %extension_postun
2169
2170 %post mnogosearch
2171 %extension_post
2172
2173 %postun mnogosearch
2174 %extension_postun
2175
2176 %post msession
2177 %extension_post
2178
2179 %postun msession
2180 %extension_postun
2181
2182 %post mssql
2183 %extension_post
2184
2185 %postun mssql
2186 %extension_postun
2187
2188 %post mysql
2189 %extension_post
2190
2191 %postun mysql
2192 %extension_postun
2193
2194 %post oci8
2195 %extension_post
2196
2197 %postun oci8
2198 %extension_postun
2199
2200 %post odbc
2201 %extension_post
2202
2203 %postun odbc
2204 %extension_postun
2205
2206 %post oracle
2207 %extension_post
2208
2209 %postun oracle
2210 %extension_postun
2211
2212 %post overload
2213 %extension_post
2214
2215 %postun overload
2216 %extension_postun
2217
2218 %post pcre
2219 %extension_post
2220
2221 %postun pcre
2222 %extension_postun
2223
2224 %post pdf
2225 %extension_post
2226
2227 %postun pdf
2228 %extension_postun
2229
2230 %post pgsql
2231 %extension_post
2232
2233 %postun pgsql
2234 %extension_postun
2235
2236 %post posix
2237 %extension_post
2238
2239 %postun posix
2240 %extension_postun
2241
2242 %post pspell
2243 %extension_post
2244
2245 %postun pspell
2246 %extension_postun
2247
2248 %post qtdom
2249 %extension_post
2250
2251 %postun qtdom
2252 %extension_postun
2253
2254 %post recode
2255 %extension_post
2256
2257 %postun recode
2258 %extension_postun
2259
2260 %post shmop
2261 %extension_post
2262
2263 %postun shmop
2264 %extension_postun
2265
2266 %post snmp
2267 %extension_post
2268
2269 %postun snmp
2270 %extension_postun
2271
2272 %post sockets
2273 %extension_post
2274
2275 %postun sockets
2276 %extension_postun
2277
2278 %post sybase
2279 %extension_post
2280
2281 %postun sybase
2282 %extension_postun
2283
2284 %post sybase-ct
2285 %extension_post
2286
2287 %postun sybase-ct
2288 %extension_postun
2289
2290 %post sysvmsg
2291 %extension_post
2292
2293 %postun sysvmsg
2294 %extension_postun
2295
2296 %post sysvsem
2297 %extension_post
2298
2299 %postun sysvsem
2300 %extension_postun
2301
2302 %post sysvshm
2303 %extension_post
2304
2305 %postun sysvshm
2306 %extension_postun
2307
2308 %post tokenizer
2309 %extension_post
2310
2311 %postun tokenizer
2312 %extension_postun
2313
2314 %post wddx
2315 %extension_post
2316
2317 %postun wddx
2318 %extension_postun
2319
2320 %post xml
2321 %extension_post
2322
2323 %postun xml
2324 %extension_postun
2325
2326 %post xmlrpc
2327 %extension_post
2328
2329 %postun xmlrpc
2330 %extension_postun
2331
2332 %post xslt
2333 %extension_post
2334
2335 %postun xslt
2336 %extension_postun
2337
2338 %post yaz
2339 %extension_post
2340
2341 %postun yaz
2342 %extension_postun
2343
2344 %post yp
2345 %extension_post
2346
2347 %postun yp
2348 %extension_postun
2349
2350 %post zip
2351 %extension_post
2352
2353 %postun zip
2354 %extension_postun
2355
2356 %post zlib
2357 %extension_post
2358
2359 %postun zlib
2360 %extension_postun
2361
2362 # openssl trigger on common package. it removes shared openssl module from php.ini, if it was there.
2363 %triggerun common -- %{name}-openssl < 3:4.4.0-4
2364 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{_sysconfdir}/php.ini
2365
2366 %triggerun bcmath -- %{name}-bcmath < 3:4.4.0-2.1
2367 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{_sysconfdir}/php.ini
2368
2369 %triggerun bzip2 -- %{name}-bzip2 < 3:4.4.0-2.1
2370 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bz2\.so/d' %{_sysconfdir}/php.ini
2371
2372 %triggerun calendar -- %{name}-calendar < 3:4.4.0-2.1
2373 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{_sysconfdir}/php.ini
2374
2375 %triggerun cpdf -- %{name}-cpdf < 3:4.4.0-2.1
2376 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*cpdf\.so/d' %{_sysconfdir}/php.ini
2377
2378 %triggerun crack -- %{name}-crack < 3:4.4.0-2.1
2379 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*crack\.so/d' %{_sysconfdir}/php.ini
2380
2381 %triggerun ctype -- %{name}-ctype < 3:4.4.0-2.1
2382 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{_sysconfdir}/php.ini
2383
2384 %triggerun curl -- %{name}-curl < 3:4.4.0-2.1
2385 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{_sysconfdir}/php.ini
2386
2387 %triggerun db -- %{name}-db < 3:4.4.0-2.1
2388 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*db\.so/d' %{_sysconfdir}/php.ini
2389
2390 %triggerun dba -- %{name}-dba < 3:4.4.0-2.1
2391 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{_sysconfdir}/php.ini
2392
2393 %triggerun dbase -- %{name}-dbase < 3:4.4.0-2.1
2394 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{_sysconfdir}/php.ini
2395
2396 %triggerun dbx -- %{name}-dbx < 3:4.4.0-2.1
2397 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbx\.so/d' %{_sysconfdir}/php.ini
2398
2399 %triggerun dio -- %{name}-dio < 3:4.4.0-2.1
2400 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dio\.so/d' %{_sysconfdir}/php.ini
2401
2402 %triggerun domxml -- %{name}-domxml < 3:4.4.0-2.1
2403 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*domxml\.so/d' %{_sysconfdir}/php.ini
2404
2405 %triggerun exif -- %{name}-exif < 3:4.4.0-2.1
2406 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{_sysconfdir}/php.ini
2407
2408 %triggerun fdf -- %{name}-fdf < 3:4.4.0-2.1
2409 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{_sysconfdir}/php.ini
2410
2411 %triggerun filepro -- %{name}-filepro < 3:4.4.0-2.1
2412 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*filepro\.so/d' %{_sysconfdir}/php.ini
2413
2414 %triggerun fribidi -- %{name}-fribidi < 3:4.4.0-2.1
2415 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fribidi\.so/d' %{_sysconfdir}/php.ini
2416
2417 %triggerun ftp -- %{name}-ftp < 3:4.4.0-2.1
2418 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{_sysconfdir}/php.ini
2419
2420 %triggerun gd -- %{name}-gd < 3:4.4.0-2.1
2421 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{_sysconfdir}/php.ini
2422
2423 %triggerun gettext -- %{name}-gettext < 3:4.4.0-2.1
2424 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{_sysconfdir}/php.ini
2425
2426 %triggerun gmp -- %{name}-gmp < 3:4.4.0-2.1
2427 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{_sysconfdir}/php.ini
2428
2429 %triggerun hyperwave -- %{name}-hyperwave < 3:4.4.0-2.1
2430 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*hyperwave\.so/d' %{_sysconfdir}/php.ini
2431
2432 %triggerun iconv -- %{name}-iconv < 3:4.4.0-2.1
2433 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{_sysconfdir}/php.ini
2434
2435 %triggerun imap -- %{name}-imap < 3:4.4.0-2.1
2436 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{_sysconfdir}/php.ini
2437
2438 %triggerun interbase -- %{name}-interbase < 3:4.4.0-2.1
2439 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{_sysconfdir}/php.ini
2440
2441 %triggerun java -- %{name}-java < 3:4.4.0-2.1
2442 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*java\.so/d' %{_sysconfdir}/php.ini
2443
2444 %triggerun ldap -- %{name}-ldap < 3:4.4.0-2.1
2445 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{_sysconfdir}/php.ini
2446
2447 %triggerun mbstring -- %{name}-mbstring < 3:4.4.0-2.1
2448 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{_sysconfdir}/php.ini
2449
2450 %triggerun mcal -- %{name}-mcal < 3:4.4.0-2.1
2451 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcal\.so/d' %{_sysconfdir}/php.ini
2452
2453 %triggerun mcrypt -- %{name}-mcrypt < 3:4.4.0-2.1
2454 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{_sysconfdir}/php.ini
2455
2456 %triggerun mhash -- %{name}-mhash < 3:4.4.0-2.1
2457 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{_sysconfdir}/php.ini
2458
2459 %triggerun mime_magic -- %{name}-mime_magic < 3:4.4.0-2.1
2460 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{_sysconfdir}/php.ini
2461
2462 %triggerun ming -- %{name}-ming < 3:4.4.0-2.1
2463 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{_sysconfdir}/php.ini
2464
2465 %triggerun mnogosearch -- %{name}-mnogosearch < 3:4.4.0-2.1
2466 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mnogosearch\.so/d' %{_sysconfdir}/php.ini
2467
2468 %triggerun msession -- %{name}-msession < 3:4.4.0-2.1
2469 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*msession\.so/d' %{_sysconfdir}/php.ini
2470
2471 %triggerun mssql -- %{name}-mssql < 3:4.4.0-2.1
2472 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{_sysconfdir}/php.ini
2473
2474 %triggerun mysql -- %{name}-mysql < 3:4.4.0-2.1
2475 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{_sysconfdir}/php.ini
2476
2477 %triggerun ncurses -- %{name}-ncurses < 3:4.4.2-9.4
2478 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2479         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cgi.ini
2480 fi
2481 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2482         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{_sysconfdir}/php-cli.ini
2483 fi
2484
2485 %triggerun oci8 -- %{name}-oci8 < 3:4.4.0-2.1
2486 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{_sysconfdir}/php.ini
2487
2488 %triggerun odbc -- %{name}-odbc < 3:4.4.0-2.1
2489 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{_sysconfdir}/php.ini
2490
2491 %triggerun oracle -- %{name}-oracle < 3:4.4.0-2.1
2492 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oracle\.so/d' %{_sysconfdir}/php.ini
2493
2494 %triggerun overload -- %{name}-overload < 3:4.4.0-2.1
2495 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*overload\.so/d' %{_sysconfdir}/php.ini
2496
2497 %triggerun pcntl -- %{name}-pcntl < 3:4.4.2-9.4
2498 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2499         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cgi.ini
2500 fi
2501 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2502         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{_sysconfdir}/php-cli.ini
2503 fi
2504
2505 %triggerun pcre -- %{name}-pcre < 3:4.4.0-2.1
2506 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcre\.so/d' %{_sysconfdir}/php.ini
2507
2508 %triggerun pdf -- %{name}-pdf < 3:4.4.0-2.1
2509 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pdf\.so/d' %{_sysconfdir}/php.ini
2510
2511 %triggerun pgsql -- %{name}-pgsql < 3:4.4.0-2.1
2512 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{_sysconfdir}/php.ini
2513
2514 %triggerun posix -- %{name}-posix < 3:4.4.0-2.1
2515 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{_sysconfdir}/php.ini
2516
2517 %triggerun pspell -- %{name}-pspell < 3:4.4.0-2.1
2518 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{_sysconfdir}/php.ini
2519
2520 %triggerun qtdom -- %{name}-qtdom < 3:4.4.0-2.1
2521 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*qtdom\.so/d' %{_sysconfdir}/php.ini
2522
2523 %triggerun readline -- %{name}-readline < 3:4.4.2-9.4
2524 if [ -f %{_sysconfdir}/php-cgi.ini ]; then
2525         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cgi.ini
2526 fi
2527 if [ -f %{_sysconfdir}/php-cli.ini ]; then
2528         %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{_sysconfdir}/php-cli.ini
2529 fi
2530
2531 %triggerun recode -- %{name}-recode < 3:4.4.0-2.1
2532 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{_sysconfdir}/php.ini
2533
2534 %triggerun shmop -- %{name}-shmop < 3:4.4.0-2.1
2535 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{_sysconfdir}/php.ini
2536
2537 %triggerun snmp -- %{name}-snmp < 3:4.4.0-2.1
2538 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{_sysconfdir}/php.ini
2539
2540 %triggerun sockets -- %{name}-sockets < 3:4.4.0-2.1
2541 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{_sysconfdir}/php.ini
2542
2543 %triggerun sybase -- %{name}-sybase < 3:4.4.0-2.1
2544 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{_sysconfdir}/php.ini
2545
2546 %triggerun sybase-ct -- %{name}-sybase-ct < 3:4.4.0-2.1
2547 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase_ct\.so/d' %{_sysconfdir}/php.ini
2548
2549 %triggerun sysvmsg -- %{name}-sysvmsg < 3:4.4.0-2.1
2550 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{_sysconfdir}/php.ini
2551
2552 %triggerun sysvsem -- %{name}-sysvsem < 3:4.4.0-2.1
2553 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{_sysconfdir}/php.ini
2554
2555 %triggerun sysvshm -- %{name}-sysvshm < 3:4.4.0-2.1
2556 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{_sysconfdir}/php.ini
2557
2558 %triggerun wddx -- %{name}-wddx < 3:4.4.0-2.1
2559 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{_sysconfdir}/php.ini
2560
2561 %triggerun xml -- %{name}-xml < 3:4.4.0-2.1
2562 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{_sysconfdir}/php.ini
2563
2564 %triggerun xmlrpc -- %{name}-xmlrpc < 3:4.4.0-2.1
2565 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{_sysconfdir}/php.ini
2566
2567 %triggerun xslt -- %{name}-xslt < 3:4.4.0-2.1
2568 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xslt\.so/d' %{_sysconfdir}/php.ini
2569
2570 %triggerun yaz -- %{name}-yaz < 3:4.4.0-2.1
2571 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yaz\.so/d' %{_sysconfdir}/php.ini
2572
2573 %triggerun yp -- %{name}-yp < 3:4.4.0-2.1
2574 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*yp\.so/d' %{_sysconfdir}/php.ini
2575
2576 %triggerun zip -- %{name}-zip < 3:4.4.0-2.1
2577 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zip\.so/d' %{_sysconfdir}/php.ini
2578
2579 %triggerun zlib -- %{name}-zlib < 3:4.4.0-2.1
2580 %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{_sysconfdir}/php.ini
2581
2582 %if %{with apache1}
2583 %files -n apache1-mod_php4
2584 %defattr(644,root,root,755)
2585 %doc sapi/apache/CREDITS
2586 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php4.conf
2587 %dir %{_sysconfdir}/apache.d
2588 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache.ini
2589 %attr(755,root,root) %{_libdir}/apache1/libphp4.so
2590 /home/services/apache/icons/*
2591 %endif
2592
2593 %if %{with apache2}
2594 %files -n apache-mod_php4
2595 %defattr(644,root,root,755)
2596 %doc sapi/apache2handler/{CREDITS,README}
2597 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/conf.d/*_mod_php4.conf
2598 %dir %{_sysconfdir}/apache2handler.d
2599 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-apache2handler.ini
2600 %attr(755,root,root) %{_libdir}/apache/libphp4.so
2601 /home/services/httpd/icons/*
2602 %endif
2603
2604 %if %{with fcgi}
2605 %files fcgi
2606 %defattr(644,root,root,755)
2607 %doc sapi/cgi/{CREDITS,README.FastCGI}
2608 %attr(755,root,root) %{_bindir}/php4.fcgi
2609 %dir %{_sysconfdir}/cgi-fcgi.d
2610 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi-fcgi.ini
2611 %endif
2612
2613 %files cgi
2614 %defattr(644,root,root,755)
2615 %doc sapi/cgi/CREDITS
2616 %attr(755,root,root) %{_bindir}/php4.cgi
2617 %dir %{_sysconfdir}/cgi.d
2618 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cgi.ini
2619
2620 %files cli
2621 %defattr(644,root,root,755)
2622 %doc sapi/cli/{CREDITS,README}
2623 %attr(755,root,root) %{_bindir}/php4.cli
2624 %attr(755,root,root) %{_bindir}/php4
2625 %dir %{_sysconfdir}/cli.d
2626 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php-cli.ini
2627 %{_mandir}/man1/php4.1*
2628
2629 %files program
2630 %defattr(644,root,root,755)
2631 %attr(755,root,root) %{_bindir}/php
2632
2633 %files common
2634 %defattr(644,root,root,755)
2635 %doc php.ini-*
2636 %doc CREDITS Zend/ZEND_CHANGES
2637 %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO*
2638
2639 %dir %{_sysconfdir}
2640 %dir %{_sysconfdir}/conf.d
2641 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
2642 %attr(755,root,root) %{_libdir}/libphp_common-*.so
2643 %dir %{extensionsdir}
2644
2645 %files devel
2646 %defattr(644,root,root,755)
2647 %doc README.UNIX-BUILD-SYSTEM
2648 %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS
2649 %doc CODING_STANDARDS
2650 %attr(755,root,root) %{_bindir}/phpize
2651 %attr(755,root,root) %{_bindir}/php-config
2652 %attr(755,root,root) %{_libdir}/libphp_common.so
2653 # FIXME: how exactly this is needed? as it contains libdir for apache1 or apache2
2654 %{_libdir}/libphp_common.la
2655 %{_includedir}/php
2656 %{_libdir}/php/build
2657 %{_mandir}/man1/php-config.1*
2658 %{_mandir}/man1/phpize.1*
2659
2660 %files bcmath
2661 %defattr(644,root,root,755)
2662 %doc ext/bcmath/CREDITS
2663 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bcmath.ini
2664 %attr(755,root,root) %{extensionsdir}/bcmath.so
2665
2666 %files bzip2
2667 %defattr(644,root,root,755)
2668 %doc ext/bz2/CREDITS
2669 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/bz2.ini
2670 %attr(755,root,root) %{extensionsdir}/bz2.so
2671
2672 %files calendar
2673 %defattr(644,root,root,755)
2674 %doc ext/calendar/CREDITS
2675 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/calendar.ini
2676 %attr(755,root,root) %{extensionsdir}/calendar.so
2677
2678 %if %{with cpdf}
2679 %files cpdf
2680 %defattr(644,root,root,755)
2681 %doc ext/cpdf/CREDITS
2682 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/cpdf.ini
2683 %attr(755,root,root) %{extensionsdir}/cpdf.so
2684 %endif
2685
2686 %files crack
2687 %defattr(644,root,root,755)
2688 %doc ext/crack/CREDITS
2689 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/crack.ini
2690 %attr(755,root,root) %{extensionsdir}/crack.so
2691
2692 %files ctype
2693 %defattr(644,root,root,755)
2694 %doc ext/ctype/{CREDITS,README}
2695 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ctype.ini
2696 %attr(755,root,root) %{extensionsdir}/ctype.so
2697
2698 %if %{with curl}
2699 %files curl
2700 %defattr(644,root,root,755)
2701 %doc ext/curl/CREDITS
2702 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/curl.ini
2703 %attr(755,root,root) %{extensionsdir}/curl.so
2704 %endif
2705
2706 %files db
2707 %defattr(644,root,root,755)
2708 %doc ext/db/CREDITS
2709 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/db.ini
2710 %attr(755,root,root) %{extensionsdir}/db.so
2711
2712 %files dba
2713 %defattr(644,root,root,755)
2714 %doc ext/dba/{CREDITS,README}
2715 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dba.ini
2716 %attr(755,root,root) %{extensionsdir}/dba.so
2717
2718 %files dbase
2719 %defattr(644,root,root,755)
2720 %doc ext/dbase/CREDITS
2721 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbase.ini
2722 %attr(755,root,root) %{extensionsdir}/dbase.so
2723
2724 %files dbx
2725 %defattr(644,root,root,755)
2726 %doc ext/dbx/{CREDITS,howto_extend_dbx.html}
2727 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dbx.ini
2728 %attr(755,root,root) %{extensionsdir}/dbx.so
2729
2730 %files dio
2731 %defattr(644,root,root,755)
2732 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/dio.ini
2733 %attr(755,root,root) %{extensionsdir}/dio.so
2734
2735 %if %{with xml}
2736 %files domxml
2737 %defattr(644,root,root,755)
2738 %doc ext/domxml/{CREDITS,TODO}
2739 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/domxml.ini
2740 %attr(755,root,root) %{extensionsdir}/domxml.so
2741 %endif
2742
2743 %if %{with fdf}
2744 %files fdf
2745 %defattr(644,root,root,755)
2746 %doc ext/fdf/CREDITS
2747 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fdf.ini
2748 %attr(755,root,root) %{extensionsdir}/fdf.so
2749 %endif
2750
2751 %files exif
2752 %defattr(644,root,root,755)
2753 %doc ext/exif/CREDITS
2754 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/exif.ini
2755 %attr(755,root,root) %{extensionsdir}/exif.so
2756
2757 %files filepro
2758 %defattr(644,root,root,755)
2759 %doc ext/filepro/CREDITS
2760 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/filepro.ini
2761 %attr(755,root,root) %{extensionsdir}/filepro.so
2762
2763 %if %{with fribidi}
2764 %files fribidi
2765 %defattr(644,root,root,755)
2766 %doc ext/fribidi/{CREDITS,README}
2767 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/fribidi.ini
2768 %attr(755,root,root) %{extensionsdir}/fribidi.so
2769 %endif
2770
2771 %files ftp
2772 %defattr(644,root,root,755)
2773 %doc ext/ftp/CREDITS
2774 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ftp.ini
2775 %attr(755,root,root) %{extensionsdir}/ftp.so
2776
2777 %files gd
2778 %defattr(644,root,root,755)
2779 %doc ext/gd/CREDITS
2780 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gd.ini
2781 %attr(755,root,root) %{extensionsdir}/gd.so
2782
2783 %files gettext
2784 %defattr(644,root,root,755)
2785 %doc ext/gettext/CREDITS
2786 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gettext.ini
2787 %attr(755,root,root) %{extensionsdir}/gettext.so
2788
2789 %files gmp
2790 %defattr(644,root,root,755)
2791 %doc ext/gmp/{CREDITS,README,TODO}
2792 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/gmp.ini
2793 %attr(755,root,root) %{extensionsdir}/gmp.so
2794
2795 %files hyperwave
2796 %defattr(644,root,root,755)
2797 %doc ext/hyperwave/CREDITS
2798 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/hyperwave.ini
2799 %attr(755,root,root) %{extensionsdir}/hyperwave.so
2800
2801 %files iconv
2802 %defattr(644,root,root,755)
2803 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/iconv.ini
2804 %attr(755,root,root) %{extensionsdir}/iconv.so
2805
2806 %if %{with imap}
2807 %files imap
2808 %defattr(644,root,root,755)
2809 %doc ext/imap/CREDITS
2810 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/imap.ini
2811 %attr(755,root,root) %{extensionsdir}/imap.so
2812 %endif
2813
2814 %if %{with interbase}
2815 %files interbase
2816 %defattr(644,root,root,755)
2817 %doc ext/interbase/CREDITS
2818 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/interbase.ini
2819 %attr(755,root,root) %{extensionsdir}/interbase.so
2820 %endif
2821
2822 %if %{with java}
2823 %files java
2824 %defattr(644,root,root,755)
2825 %doc ext/java/{CREDITS,README}
2826 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/java.ini
2827 %attr(755,root,root) %{extensionsdir}/java.so
2828 %{extensionsdir}/php_java.jar
2829 %endif
2830
2831 %if %{with ldap}
2832 %files ldap
2833 %defattr(644,root,root,755)
2834 %doc ext/ldap/CREDITS
2835 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ldap.ini
2836 %attr(755,root,root) %{extensionsdir}/ldap.so
2837 %endif
2838
2839 %files mbstring
2840 %defattr(644,root,root,755)
2841 %doc ext/mbstring/{CREDITS,README,README.libmbfl}
2842 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mbstring.ini
2843 %attr(755,root,root) %{extensionsdir}/mbstring.so
2844
2845 %files mcal
2846 %defattr(644,root,root,755)
2847 %doc ext/mcal/CREDITS
2848 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcal.ini
2849 %attr(755,root,root) %{extensionsdir}/mcal.so
2850
2851 %files mcrypt
2852 %defattr(644,root,root,755)
2853 %doc ext/mcrypt/{CREDITS,TODO}
2854 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mcrypt.ini
2855 %attr(755,root,root) %{extensionsdir}/mcrypt.so
2856
2857 %if %{with mhash}
2858 %files mhash
2859 %defattr(644,root,root,755)
2860 %doc ext/mhash/CREDITS
2861 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mhash.ini
2862 %attr(755,root,root) %{extensionsdir}/mhash.so
2863 %endif
2864
2865 %files mime_magic
2866 %defattr(644,root,root,755)
2867 %doc ext/mime_magic/{CREDITS,TODO}
2868 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mime_magic.ini
2869 %attr(755,root,root) %{extensionsdir}/mime_magic.so
2870
2871 %if %{with ming}
2872 %files ming
2873 %defattr(644,root,root,755)
2874 %doc ext/ming/CREDITS
2875 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/ming.ini
2876 %attr(755,root,root) %{extensionsdir}/ming.so
2877 %endif
2878
2879 %if %{with mnogosearch}
2880 %files mnogosearch
2881 %defattr(644,root,root,755)
2882 %doc ext/mnogosearch/{CREDITS,README}
2883 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mnogosearch.ini
2884 %attr(755,root,root) %{extensionsdir}/mnogosearch.so
2885 %endif
2886
2887 %if %{with msession}
2888 %files msession
2889 %defattr(644,root,root,755)
2890 %doc ext/msession/{CREDITS,README,msession-test.php}
2891 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/msession.ini
2892 %attr(755,root,root) %{extensionsdir}/msession.so
2893 %endif
2894
2895 %if %{with mssql}
2896 %files mssql
2897 %defattr(644,root,root,755)
2898 %doc ext/mssql/CREDITS
2899 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mssql.ini
2900 %attr(755,root,root) %{extensionsdir}/mssql.so
2901 %endif
2902
2903 %files mysql
2904 %defattr(644,root,root,755)
2905 %doc ext/mysql/CREDITS
2906 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/mysql.ini
2907 %attr(755,root,root) %{extensionsdir}/mysql.so
2908
2909 %files ncurses
2910 %defattr(644,root,root,755)
2911 %doc ext/ncurses/CREDITS
2912 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/ncurses.ini
2913 %attr(755,root,root) %{extensionsdir}/ncurses.so
2914
2915 %if %{with oci8}
2916 %files oci8
2917 %defattr(644,root,root,755)
2918 %doc ext/oci8/CREDITS
2919 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oci8.ini
2920 %attr(755,root,root) %{extensionsdir}/oci8.so
2921 %endif
2922
2923 %if %{with odbc}
2924 %files odbc
2925 %defattr(644,root,root,755)
2926 %doc ext/odbc/CREDITS
2927 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/odbc.ini
2928 %attr(755,root,root) %{extensionsdir}/odbc.so
2929 %endif
2930
2931 %if %{with oracle}
2932 %files oracle
2933 %defattr(644,root,root,755)
2934 %doc ext/oracle/CREDITS
2935 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/oracle.ini
2936 %attr(755,root,root) %{extensionsdir}/oracle.so
2937 %endif
2938
2939 %files overload
2940 %defattr(644,root,root,755)
2941 %doc ext/overload/{CREDITS,README}
2942 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/overload.ini
2943 %attr(755,root,root) %{extensionsdir}/overload.so
2944
2945 %files pcntl
2946 %defattr(644,root,root,755)
2947 %doc ext/pcntl/{CREDITS,README}
2948 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/pcntl.ini
2949 %attr(755,root,root) %{extensionsdir}/pcntl.so
2950
2951 %if %{with pcre}
2952 %files pcre
2953 %defattr(644,root,root,755)
2954 %doc ext/pcre/CREDITS
2955 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pcre.ini
2956 %attr(755,root,root) %{extensionsdir}/pcre.so
2957 %endif
2958
2959 %if %{with pdf}
2960 %files pdf
2961 %defattr(644,root,root,755)
2962 %doc ext/pdf/CREDITS
2963 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pdf.ini
2964 %attr(755,root,root) %{extensionsdir}/pdf.so
2965 %endif
2966
2967 %if %{with pgsql}
2968 %files pgsql
2969 %defattr(644,root,root,755)
2970 %doc ext/pgsql/{CREDITS,README}
2971 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pgsql.ini
2972 %attr(755,root,root) %{extensionsdir}/pgsql.so
2973 %endif
2974
2975 %files posix
2976 %defattr(644,root,root,755)
2977 %doc ext/posix/CREDITS
2978 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/posix.ini
2979 %attr(755,root,root) %{extensionsdir}/posix.so
2980
2981 %if %{with pspell}
2982 %files pspell
2983 %defattr(644,root,root,755)
2984 %doc ext/overload/{CREDITS,README}
2985 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/pspell.ini
2986 %attr(755,root,root) %{extensionsdir}/pspell.so
2987 %endif
2988
2989 %if %{with qtdom}
2990 %files qtdom
2991 %defattr(644,root,root,755)
2992 %doc ext/qtdom/CREDITS
2993 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/qtdom.ini
2994 %attr(755,root,root) %{extensionsdir}/qtdom.so
2995 %endif
2996
2997 %files readline
2998 %defattr(644,root,root,755)
2999 %doc ext/readline/{CREDITS,README.libedit}
3000 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/cli.d/readline.ini
3001 %attr(755,root,root) %{extensionsdir}/readline.so
3002
3003 %if %{with recode}
3004 %files recode
3005 %defattr(644,root,root,755)
3006 %doc ext/recode/CREDITS
3007 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/recode.ini
3008 %attr(755,root,root) %{extensionsdir}/recode.so
3009 %endif
3010
3011 # session_mm doesn't work with shared session
3012 #%files session
3013 #%defattr(644,root,root,755)
3014 #%config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/conf.d/session.ini
3015 #%attr(755,root,root) %{extensionsdir}/session.so
3016
3017 %files shmop
3018 %defattr(644,root,root,755)
3019 %doc ext/shmop/{CREDITS,README}
3020 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/shmop.ini
3021 %attr(755,root,root) %{extensionsdir}/shmop.so
3022
3023 %if %{with snmp}
3024 %files snmp
3025 %defattr(644,root,root,755)
3026 %doc ext/snmp/CREDITS
3027 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/snmp.ini
3028 %attr(755,root,root) %{extensionsdir}/snmp.so
3029 %endif
3030
3031 %files sockets
3032 %defattr(644,root,root,755)
3033 %doc ext/sockets/CREDITS
3034 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sockets.ini
3035 %attr(755,root,root) %{extensionsdir}/sockets.so
3036
3037 %if %{with sybase}
3038 %files sybase
3039 %defattr(644,root,root,755)
3040 %doc ext/sybase/CREDITS
3041 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase.ini
3042 %attr(755,root,root) %{extensionsdir}/sybase.so
3043
3044 %files sybase-ct
3045 %defattr(644,root,root,755)
3046 %doc ext/sybase_ct/CREDITS
3047 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sybase_ct.ini
3048 %attr(755,root,root) %{extensionsdir}/sybase_ct.so
3049 %endif
3050
3051 %files sysvmsg
3052 %defattr(644,root,root,755)
3053 %doc ext/sysvmsg/CREDITS
3054 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvmsg.ini
3055 %attr(755,root,root) %{extensionsdir}/sysvmsg.so
3056
3057 %files sysvsem
3058 %defattr(644,root,root,755)
3059 %doc ext/sysvsem/CREDITS
3060 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvsem.ini
3061 %attr(755,root,root) %{extensionsdir}/sysvsem.so
3062
3063 %files sysvshm
3064 %defattr(644,root,root,755)
3065 %doc ext/sysvshm/CREDITS
3066 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/sysvshm.ini
3067 %attr(755,root,root) %{extensionsdir}/sysvshm.so
3068
3069 %files tokenizer
3070 %defattr(644,root,root,755)
3071 %doc ext/tokenizer/{CREDITS,tokenizer.php}
3072 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/tokenizer.ini
3073 %attr(755,root,root) %{extensionsdir}/tokenizer.so
3074
3075 %if %{with wddx}
3076 %files wddx
3077 %defattr(644,root,root,755)
3078 %doc ext/wddx/CREDITS
3079 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/*wddx.ini
3080 %attr(755,root,root) %{extensionsdir}/wddx.so
3081 %endif
3082
3083 %if %{with xml}
3084 %files xml
3085 %defattr(644,root,root,755)
3086 %doc ext/xml/CREDITS
3087 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xml.ini
3088 %attr(755,root,root) %{extensionsdir}/xml.so
3089 %endif
3090
3091 %if %{with xmlrpc}
3092 %files xmlrpc
3093 %defattr(644,root,root,755)
3094 %doc ext/xmlrpc/CREDITS
3095 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xmlrpc.ini
3096 %attr(755,root,root) %{extensionsdir}/xmlrpc.so
3097 %endif
3098
3099 %if %{with xslt}
3100 %files xslt
3101 %defattr(644,root,root,755)
3102 %doc ext/xslt/{README.XSLT-BACKENDS,TODO}
3103 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/xslt.ini
3104 %attr(755,root,root) %{extensionsdir}/xslt.so
3105 %endif
3106
3107 %if %{with yaz}
3108 %files yaz
3109 %defattr(644,root,root,755)
3110 %doc ext/yaz/{CREDITS,README}
3111 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yaz.ini
3112 %attr(755,root,root) %{extensionsdir}/yaz.so
3113 %endif
3114
3115 %files yp
3116 %defattr(644,root,root,755)
3117 %doc ext/yp/CREDITS
3118 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/yp.ini
3119 %attr(755,root,root) %{extensionsdir}/yp.so
3120
3121 %files zip
3122 %defattr(644,root,root,755)
3123 %doc ext/zip/CREDITS
3124 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zip.ini
3125 %attr(755,root,root) %{extensionsdir}/zip.so
3126
3127 %files zlib
3128 %defattr(644,root,root,755)
3129 %doc ext/zlib/CREDITS
3130 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/conf.d/zlib.ini
3131 %attr(755,root,root) %{extensionsdir}/zlib.so
This page took 0.351574 seconds and 3 git commands to generate.