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