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