]>
Commit | Line | Data |
---|---|---|
1 | # TODO | |
2 | # - fix -threads-acfix.patch | |
3 | # - deal with modules removed from php and not moved to PECL, still not obsoleted anywhere | |
4 | # - removed from php 5.0 (currently in php4): | |
5 | # db, hyperwave, java, mcal, overload, qtdom | |
6 | # - removed from php 5.1: | |
7 | # cpdf, fam, oracle | |
8 | # - removed from php 5.2: | |
9 | # filepro, hw | |
10 | # - mime_magic can't handle new "string/*" entries in magic.mime | |
11 | # thus doesn't work with system magic.mime database | |
12 | # - make additional headers and checking added by mail patch configurable | |
13 | # - apply -hardened patch by default ? | |
14 | # - modularize session, standard (output from pure php -m)? | |
15 | # | |
16 | # Conditional build: | |
17 | %bcond_with fdf # with FDF (PDF forms) module (BR: proprietary lib) | |
18 | %bcond_with hardening # build with hardening patch applied (http://www.hardened-php.net/) | |
19 | %bcond_with interbase_inst # use InterBase install., not Firebird (BR: proprietary libs) | |
20 | %bcond_with oci8 # with Oracle oci8 extension module (BR: proprietary libs) | |
21 | %bcond_without curl # without CURL extension module | |
22 | %bcond_without filter # without filter extension module | |
23 | %bcond_without imap # without IMAP extension module | |
24 | %bcond_without interbase # without InterBase extension module | |
25 | %bcond_without ldap # without LDAP extension module | |
26 | %bcond_without mhash # without mhash extension module | |
27 | %bcond_without mime_magic # without mime-magic module | |
28 | %bcond_without ming # without ming extension module | |
29 | %bcond_without mm # without mm support for session storage | |
30 | %bcond_without mssql # without MS SQL extension module | |
31 | %bcond_without mysqli # without mysqli support (Requires mysql > 4.1) | |
32 | %bcond_without odbc # without ODBC extension module | |
33 | %bcond_without openssl # without OpenSSL support and OpenSSL extension (module) | |
34 | %bcond_without pcre # without PCRE extension module | |
35 | %bcond_without pgsql # without PostgreSQL extension module | |
36 | %bcond_without pspell # without pspell extension module | |
37 | %bcond_without recode # without recode extension module | |
38 | %bcond_without snmp # without SNMP extension module | |
39 | %bcond_without sqlite # without SQLite extension module | |
40 | %bcond_without sybase # without Sybase extension module | |
41 | %bcond_without sybase_ct # without Sybase-CT extension module | |
42 | %bcond_without tidy # without Tidy extension module | |
43 | %bcond_without wddx # without WDDX extension module | |
44 | %bcond_without xmlrpc # without XML-RPC extension module | |
45 | %bcond_without apache1 # disable building apache 1.3.x module | |
46 | %bcond_without apache2 # disable building apache 2.x module | |
47 | %bcond_without fcgi # disable building FCGI SAPI | |
48 | %bcond_without zts # disable experimental-zts | |
49 | %bcond_with versioning # build with experimental versioning (to load php4/php5 into same apache) | |
50 | ||
51 | %define apxs1 /usr/sbin/apxs1 | |
52 | %define apxs2 /usr/sbin/apxs | |
53 | ||
54 | # some problems with apache 2.x | |
55 | %if %{with apache2} | |
56 | %undefine with_mm | |
57 | %endif | |
58 | ||
59 | %ifnarch %{ix86} %{x8664} sparc sparcv9 alpha | |
60 | # ppc disabled (broken on th-ppc) | |
61 | %undefine with_interbase | |
62 | %endif | |
63 | ||
64 | %if %{without apache1} && %{without apache2} | |
65 | ERROR: You need to select at least one Apache SAPI to build shared modules. | |
66 | %endif | |
67 | ||
68 | # filter depends on pcre | |
69 | %if %{without pcre} | |
70 | %undefine with_filter | |
71 | %endif | |
72 | ||
73 | %define _rel 2 | |
74 | Summary: PHP: Hypertext Preprocessor | |
75 | Summary(fr.UTF-8): Le langage de script embarque-HTML PHP | |
76 | Summary(pl.UTF-8): Język skryptowy PHP | |
77 | Summary(pt_BR.UTF-8): A linguagem de script PHP | |
78 | Summary(ru.UTF-8): PHP Версии 5 - язык препроцессирования HTML-файлов, выполняемый на сервере | |
79 | Summary(uk.UTF-8): PHP Версії 5 - мова препроцесування HTML-файлів, виконувана на сервері | |
80 | Name: php | |
81 | Version: 5.2.1 | |
82 | Release: %{_rel}%{?with_hardening:hardened} | |
83 | Epoch: 4 | |
84 | License: PHP | |
85 | Group: Libraries | |
86 | Source0: http://www.php.net/distributions/%{name}-%{version}.tar.bz2 | |
87 | # Source0-md5: 261218e3569a777dbd87c16a15f05c8d | |
88 | Source2: zend.gif | |
89 | Source3: %{name}-mod_%{name}.conf | |
90 | Source4: %{name}-cgi-fcgi.ini | |
91 | Source5: %{name}-cgi.ini | |
92 | Source6: %{name}-apache.ini | |
93 | Source7: %{name}-cli.ini | |
94 | Source8: http://www.hardened-php.net/hardening-patch-5.0.4-0.3.0.patch.gz | |
95 | # Source8-md5: 47a742fa9fab2826ad10c13a2376111a | |
96 | # Taken from: http://browsers.garykeith.com/downloads.asp | |
97 | Source9: %{name}_browscap.ini | |
98 | Patch0: %{name}-shared.patch | |
99 | Patch1: %{name}-pldlogo.patch | |
100 | Patch2: %{name}-mail.patch | |
101 | Patch3: %{name}-link-libs.patch | |
102 | Patch4: %{name}-libpq_fs_h_path.patch | |
103 | Patch5: %{name}-filter-shared.patch | |
104 | Patch6: %{name}-build_modules.patch | |
105 | Patch7: %{name}-sapi-ini-file.patch | |
106 | Patch8: %{name}-no-metaccld.patch | |
107 | Patch9: %{name}-sh.patch | |
108 | Patch10: %{name}-ini.patch | |
109 | Patch11: %{name}-acam.patch | |
110 | #Patch15: %{name}-threads-acfix.patch | |
111 | Patch16: %{name}-tsrmlsfetchgcc2.patch | |
112 | Patch17: %{name}-no_pear_install.patch | |
113 | Patch18: %{name}-zlib.patch | |
114 | Patch19: %{name}-sybase-fix.patch | |
115 | Patch20: %{name}-readline.patch | |
116 | Patch21: %{name}-nohttpd.patch | |
117 | Patch23: %{name}-gd_imagerotate_enable.patch | |
118 | Patch24: %{name}-uint32_t.patch | |
119 | Patch26: %{name}-dba-link.patch | |
120 | Patch30: %{name}-hardening-fix.patch | |
121 | Patch31: %{name}-both-apxs.patch | |
122 | Patch32: %{name}-builddir.patch | |
123 | Patch33: %{name}-zlib-for-getimagesize.patch | |
124 | Patch35: %{name}-versioning.patch | |
125 | Patch36: %{name}-linkflags-clean.patch | |
126 | ||
127 | Patch39: %{name}-pear.patch | |
128 | Patch41: %{name}-config-dir.patch | |
129 | URL: http://www.php.net/ | |
130 | %{?with_interbase:%{!?with_interbase_inst:BuildRequires: Firebird-devel >= 1.0.2.908-2}} | |
131 | %{?with_pspell:BuildRequires: aspell-devel >= 2:0.50.0} | |
132 | BuildRequires: autoconf >= 2.53 | |
133 | BuildRequires: automake >= 1.4d | |
134 | BuildRequires: bison | |
135 | BuildRequires: bzip2-devel | |
136 | %{?with_curl:BuildRequires: curl-devel >= 7.12.0} | |
137 | BuildRequires: cyrus-sasl-devel | |
138 | BuildRequires: db-devel >= 4.0 | |
139 | BuildRequires: elfutils-devel | |
140 | %if %{with xmlrpc} | |
141 | BuildRequires: expat-devel | |
142 | %endif | |
143 | %{?with_fcgi:BuildRequires: fcgi-devel} | |
144 | %{?with_fdf:BuildRequires: fdftk-devel} | |
145 | BuildRequires: flex | |
146 | %if %{with mssql} || %{with sybase} || %{with sybase_ct} | |
147 | BuildRequires: freetds-devel | |
148 | %endif | |
149 | BuildRequires: freetype-devel >= 2.0 | |
150 | BuildRequires: gd-devel >= 2.0.28-4 | |
151 | BuildRequires: gd-devel(imagerotate) = 5.2.0 | |
152 | BuildRequires: gdbm-devel | |
153 | BuildRequires: gmp-devel | |
154 | %{?with_imap:BuildRequires: imap-devel >= 1:2001-0.BETA.200107022325.2} | |
155 | BuildRequires: libjpeg-devel | |
156 | BuildRequires: libltdl-devel >= 1.4 | |
157 | BuildRequires: libmcrypt-devel >= 2.4.4 | |
158 | BuildRequires: libpng-devel >= 1.0.8 | |
159 | BuildRequires: libtiff-devel | |
160 | BuildRequires: libtool >= 1.4.3 | |
161 | BuildRequires: libwrap-devel | |
162 | BuildRequires: libxml2-devel >= 2.5.10 | |
163 | BuildRequires: libxslt-devel >= 1.1.0 | |
164 | %{?with_mhash:BuildRequires: mhash-devel} | |
165 | %{?with_ming:BuildRequires: ming-devel >= 0.3} | |
166 | %{?with_mm:BuildRequires: mm-devel >= 1.3.0} | |
167 | BuildRequires: mysql-devel >= 4.0.0 | |
168 | %{?with_mysqli:BuildRequires: mysql-devel >= 4.1.0} | |
169 | BuildRequires: ncurses-ext-devel | |
170 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} | |
171 | %if %{with openssl} || %{with ldap} | |
172 | BuildRequires: openssl-devel >= 0.9.7d | |
173 | %endif | |
174 | %{?with_snmp:BuildRequires: net-snmp-devel >= 5.0.7} | |
175 | BuildRequires: pam-devel | |
176 | %{?with_pcre:BuildRequires: pcre-devel >= 6.6} | |
177 | %{?with_pgsql:BuildRequires: postgresql-backend-devel >= 7.2} | |
178 | %{?with_pgsql:BuildRequires: postgresql-devel} | |
179 | BuildRequires: readline-devel | |
180 | %{?with_recode:BuildRequires: recode-devel >= 3.5d-3} | |
181 | BuildRequires: rpm-build >= 4.4.0 | |
182 | BuildRequires: rpmbuild(macros) >= 1.238 | |
183 | %{?with_sqlite:BuildRequires: sqlite-devel} | |
184 | %{?with_sqlite:BuildRequires: sqlite3-devel} | |
185 | BuildRequires: t1lib-devel | |
186 | %{?with_tidy:BuildRequires: tidy-devel} | |
187 | %{?with_odbc:BuildRequires: unixODBC-devel} | |
188 | %{?with_xmlrpc:BuildRequires: xmlrpc-epi-devel} | |
189 | BuildRequires: zlib-devel >= 1.0.9 | |
190 | %if %{with apache1} | |
191 | BuildRequires: apache1-devel | |
192 | %endif | |
193 | %if %{with apache2} | |
194 | BuildRequires: apache-devel >= 2.0.52-2 | |
195 | BuildRequires: apr-devel >= 1:1.0.0 | |
196 | BuildRequires: apr-util-devel >= 1:1.0.0 | |
197 | %endif | |
198 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
199 | ||
200 | %define php_sysconfdir /etc/php | |
201 | %define php_extensiondir %{_libdir}/php | |
202 | %define _sysconfdir %{php_sysconfdir} | |
203 | ||
204 | # must be in sync with source. extra check ensuring that it is so is done in %%build | |
205 | %define php_api_version 20041225 | |
206 | %define zend_module_api 20060613 | |
207 | %define zend_extension_api 220060519 | |
208 | %define zend_zts %{!?with_zts:0}%{?with_zts:1} | |
209 | %define php_debug %{!?debug:0}%{?debug:1} | |
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}. | |
221 | ||
222 | %description -l fr.UTF-8 | |
223 | PHP est un langage de script embarque dans le HTM. PHP essaye de | |
224 | rendre simple aux developpeurs d'ecrire des pages web generees | |
225 | dynamiquement. PHP incorpore egalement une integration avec plusieurs | |
226 | systemes de gestion de bases de donnees commerciaux et | |
227 | non-connerciaux, qui rent facile la creation de pages web liees avec | |
228 | des bases de donnees. L'utilisation la plus commune de PHP est | |
229 | probablement en remplacement de scripts CGI. Le module mod_php permet | |
230 | au serveur web apache de comprendre et de traiter le langage PHP | |
231 | integre dans des pages web. Ce package contient php version | |
232 | %{version}. | |
233 | ||
234 | %description -l pl.UTF-8 | |
235 | PHP jest językiem skryptowym, którego polecenia umieszcza się w | |
236 | plikach HTML. Jest próbą ułatwienia programistom pisania dynamicznie | |
237 | generowanych stron WWW. Oferuje także wbudowaną integrację z bazami | |
238 | danych dla kilku komercyjnych i niekomercyjnych systemów baz danych, | |
239 | co czyni tworzenie stron korzystających z baz danych w miarę łatwym. | |
240 | Najczęściej PHP jest używany prawdopodobnie jako zamiennik skryptów | |
241 | CGI. Moduł mod_php pozwala serwerowi WWW Apache rozumieć i przetwarzać | |
242 | język PHP osadzony w stronach. Ten pakiet zawiera php w wersji | |
243 | %{version}. | |
244 | ||
245 | %description -l pt_BR.UTF-8 | |
246 | PHP: Preprocessador de Hipertexto versão 4 é uma linguagem script | |
247 | embutida em HTML. Muito de sua sintaxe é emprestada de C, Java e Perl, | |
248 | com algumas características únicas, específicas ao PHP. O objetivo da | |
249 | linguagem é permitir que desenvolvedores web escrevam páginas | |
250 | dinamicamente geradas de forma rápida. | |
251 | ||
252 | %description -l ru.UTF-8 | |
253 | PHP - это язык написания скриптов, встраиваемых в HTML-код. PHP | |
254 | предлагает интерграцию с множеством СУБД, поэтому написание скриптов | |
255 | для работы с базами данных относительно просто. Наиболее популярное | |
256 | использование PHP - замена для CGI скриптов. | |
257 | ||
258 | Этот пакет содержит самодостаточную (CGI) версию интерпретатора языка. | |
259 | Вы должны также установить пакет %{name}-common. Если вам нужен | |
260 | интерпретатор PHP в качестве модуля apache, установите пакет | |
261 | apache-mod_php. | |
262 | ||
263 | %description -l uk.UTF-8 | |
264 | PHP - це мова написання скриптів, що вбудовуються в HTML-код. PHP | |
265 | пропонує інтеграцію з багатьма СУБД, тому написання скриптів для | |
266 | роботи з базами даних є доволі простим. Найбільш популярне | |
267 | використання PHP - заміна для CGI скриптів. | |
268 | ||
269 | Цей пакет містить самодостатню (CGI) версію інтерпретатора мови. Ви | |
270 | маєте також встановити пакет %{name}-common. Якщо вам потрібен | |
271 | інтерпретатор PHP в якості модуля apache, встановіть пакет | |
272 | apache-mod_php. | |
273 | ||
274 | %package -n apache1-mod_php | |
275 | Summary: PHP DSO module for apache 1.3.x | |
276 | Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 1.3.x | |
277 | Group: Development/Languages/PHP | |
278 | Requires(triggerpostun): sed >= 4.0 | |
279 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
280 | Requires: apache1(EAPI) >= 1.3.33-2 | |
281 | Requires: apache1-mod_mime | |
282 | Provides: webserver(php) = %{version} | |
283 | Obsoletes: apache-mod_php < 1:4.1.1 | |
284 | Obsoletes: phpfi | |
285 | ||
286 | %description -n apache1-mod_php | |
287 | PHP as DSO module for apache 1.3.x. | |
288 | ||
289 | %description -n apache1-mod_php -l pl.UTF-8 | |
290 | php jako moduł DSO (Dynamic Shared Object) dla apache 1.3.x. | |
291 | ||
292 | %package -n apache-mod_php | |
293 | Summary: PHP DSO module for apache 2.x | |
294 | Summary(pl.UTF-8): Moduł DSO (Dynamic Shared Object) php dla apache 2.x | |
295 | Group: Development/Languages/PHP | |
296 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
297 | Requires: apache(modules-api) = %{apache_modules_api} | |
298 | Requires: apache-mod_mime | |
299 | Provides: webserver(php) = %{version} | |
300 | Obsoletes: phpfi | |
301 | ||
302 | %description -n apache-mod_php | |
303 | PHP as DSO module for apache 2.x. | |
304 | ||
305 | %description -n apache-mod_php -l pl.UTF-8 | |
306 | php jako moduł DSO (Dynamic Shared Object) dla apache 2.x. | |
307 | ||
308 | %package fcgi | |
309 | Summary: php as FastCGI program | |
310 | Summary(pl.UTF-8): php jako program FastCGI | |
311 | Group: Development/Languages/PHP | |
312 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
313 | Provides: webserver(php) = %{version} | |
314 | ||
315 | %description fcgi | |
316 | php as FastCGI program. | |
317 | ||
318 | %description fcgi -l pl.UTF-8 | |
319 | php jako program FastCGI. | |
320 | ||
321 | %package cgi | |
322 | Summary: php as CGI program | |
323 | Summary(pl.UTF-8): php jako program CGI | |
324 | Group: Development/Languages/PHP | |
325 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
326 | ||
327 | %description cgi | |
328 | php as CGI program. | |
329 | ||
330 | %description cgi -l pl.UTF-8 | |
331 | php jako program CGI. | |
332 | ||
333 | %package cli | |
334 | Summary: php as CLI interpreter | |
335 | Summary(pl.UTF-8): php jako interpreter działający z linii poleceń | |
336 | Group: Development/Languages/PHP | |
337 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
338 | ||
339 | %description cli | |
340 | php as CLI interpreter. | |
341 | ||
342 | %description cli -l pl.UTF-8 | |
343 | php jako interpreter działający z linii poleceń. | |
344 | ||
345 | %package program | |
346 | Summary: /usr/bin/php symlink | |
347 | Summary(pl.UTF-8): Dowiązanie symboliczne /usr/bin/php | |
348 | Group: Development/Languages/PHP | |
349 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} | |
350 | Obsoletes: /usr/bin/php | |
351 | ||
352 | %description program | |
353 | Package providing /usr/bin/php symlink to PHP CLI. | |
354 | ||
355 | %description program -l pl.UTF-8 | |
356 | Pakiet dostarczający dowiązanie symboliczne /usr/bin/php do PHP CLI. | |
357 | ||
358 | %package common | |
359 | Summary: Common files needed by both apache module and CGI | |
360 | Summary(pl.UTF-8): Wspólne pliki dla modułu apache'a i programu CGI | |
361 | Summary(ru.UTF-8): Разделяемые библиотеки для php | |
362 | Summary(uk.UTF-8): Бібліотеки спільного використання для php | |
363 | Group: Libraries | |
364 | # because of dlclose() bugs in glibc <= 2.3.4 causing SEGVs on exit | |
365 | Requires: glibc >= 6:2.3.5 | |
366 | Requires: php-dirs | |
367 | Provides: php(date) | |
368 | Provides: php(libxml) | |
369 | Provides: php(modules_api) = %{php_api_version} | |
370 | Provides: php(overload) | |
371 | %{?with_pcre:Provides: php(pcre)} | |
372 | Provides: php(reflection) | |
373 | Provides: php(session) | |
374 | Provides: php(simplexml) | |
375 | Provides: php(spl) | |
376 | Provides: php(standard) | |
377 | Provides: php(zend_extension_api) = %{zend_extension_api} | |
378 | Provides: php(zend_module_api) = %{zend_module_api} | |
379 | Provides: php5(debug) = %{php_debug} | |
380 | Provides: php5(thread-safety) = %{zend_zts} | |
381 | Obsoletes: php-pcre < 4:5.2.0 | |
382 | Obsoletes: php-pecl-domxml | |
383 | Obsoletes: php-session < 3:4.2.1-2 | |
384 | Conflicts: php4-common < 3:4.4.4-8 | |
385 | Conflicts: rpm < 4.4.2-0.2 | |
386 | ||
387 | %description common | |
388 | Common files needed by both apache module and CGI. | |
389 | ||
390 | %description common -l pl.UTF-8 | |
391 | Wspólne pliki dla modułu apacha i programu CGI. | |
392 | ||
393 | %description common -l ru.UTF-8 | |
394 | Этот пакет содержит общие файлы для разных вариантов реализации PHP | |
395 | (самодостаточной и в качестве модуля apache). | |
396 | ||
397 | %description common -l uk.UTF-8 | |
398 | Цей пакет містить спільні файли для різних варіантів реалізації PHP | |
399 | (самодостатньої та в якості модуля apache). | |
400 | ||
401 | %package devel | |
402 | Summary: Files for PHP modules development | |
403 | Summary(pl.UTF-8): Pliki do kompilacji modułów PHP | |
404 | Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para PHP | |
405 | Summary(ru.UTF-8): Пакет разработки для построения расширений PHP | |
406 | Summary(uk.UTF-8): Пакет розробки для побудови розширень PHP | |
407 | Group: Development/Languages/PHP | |
408 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
409 | Requires: autoconf | |
410 | Requires: automake | |
411 | Requires: libtool | |
412 | Requires: shtool | |
413 | Obsoletes: php-pear-devel | |
414 | Obsoletes: php4-devel | |
415 | ||
416 | %description devel | |
417 | The php-devel package lets you compile dynamic extensions to PHP. | |
418 | Included here is the source for the PHP extensions. Instead of | |
419 | recompiling the whole php binary to add support for, say, oracle, | |
420 | install this package and use the new self-contained extensions | |
421 | support. For more information, read the file | |
422 | README.SELF-CONTAINED-EXTENSIONS. | |
423 | ||
424 | %description devel -l pl.UTF-8 | |
425 | Ten pakiet zawiera pliki potrzebne do kompilacji modułów PHP. Zamiast | |
426 | rekompilować całe php aby dodać obsługę np. oracle, można przy użyciu | |
427 | tego pakietu skompilować samodzielne rozszerzenie. Więcej informacji o | |
428 | samodzielnych rozszerzeniach można znaleźć w pliku | |
429 | README.SELF-CONTAINED-EXTENSIONS. | |
430 | ||
431 | %description devel -l pt_BR.UTF-8 | |
432 | Este pacote contém arquivos usados no desenvolvimento de programas ou | |
433 | módulos PHP. | |
434 | ||
435 | %description devel -l ru.UTF-8 | |
436 | Пакет php-devel дает возможность компилировать динамические расширения | |
437 | PHP. Пакет включает исходный код этих расширений. Вместо повторной | |
438 | компиляции бинарного файла php для добавления, например, поддержки | |
439 | oracle, установите этот пакет для компилирования отдельных расширений. | |
440 | Подробности - в файле README.SELF-CONTAINED-EXTENSIONS. | |
441 | ||
442 | %description devel -l uk.UTF-8 | |
443 | Пакет php-devel дає можливість компілювати динамічні розширення PHP. | |
444 | До пакету включено вихідний код для розширень. Замість повторної | |
445 | компіляції бінарного файлу php для додання, наприклад, підтримки | |
446 | oracle, встановіть цей пакет для компіляції окремих розширень. | |
447 | Детальніша інформація - в файлі README.SELF-CONTAINED-EXTENSIONS. | |
448 | ||
449 | %package bcmath | |
450 | Summary: bcmath extension module for PHP | |
451 | Summary(pl.UTF-8): Moduł bcmath dla PHP | |
452 | Group: Libraries | |
453 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
454 | Provides: php(bcmath) | |
455 | ||
456 | %description bcmath | |
457 | This is a dynamic shared object (DSO) for PHP that will add bc style | |
458 | precision math functions support. | |
459 | ||
460 | %description bcmath -l pl.UTF-8 | |
461 | Moduł PHP umożliwiający korzystanie z dokładnych funkcji | |
462 | matematycznych takich jak w programie bc. | |
463 | ||
464 | %package bzip2 | |
465 | Summary: Bzip2 extension module for PHP | |
466 | Summary(pl.UTF-8): Moduł bzip2 dla PHP | |
467 | Group: Libraries | |
468 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
469 | Provides: php(bzip2) | |
470 | ||
471 | %description bzip2 | |
472 | This is a dynamic shared object (DSO) for PHP that will add bzip2 | |
473 | compression support to PHP. | |
474 | ||
475 | %description bzip2 -l pl.UTF-8 | |
476 | Moduł PHP umożliwiający używanie kompresji bzip2. | |
477 | ||
478 | %package calendar | |
479 | Summary: Calendar extension module for PHP | |
480 | Summary(pl.UTF-8): Moduł funkcji kalendarza dla PHP | |
481 | Group: Libraries | |
482 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
483 | Provides: php(calendar) | |
484 | ||
485 | %description calendar | |
486 | This is a dynamic shared object (DSO) for PHP that will add calendar | |
487 | support. | |
488 | ||
489 | %description calendar -l pl.UTF-8 | |
490 | Moduł PHP dodający wsparcie dla kalendarza. | |
491 | ||
492 | %package ctype | |
493 | Summary: ctype extension module for PHP | |
494 | Summary(pl.UTF-8): Moduł ctype dla PHP | |
495 | Group: Libraries | |
496 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
497 | Provides: php(ctype) | |
498 | ||
499 | %description ctype | |
500 | This is a dynamic shared object (DSO) for PHP that will add ctype | |
501 | support. | |
502 | ||
503 | %description ctype -l pl.UTF-8 | |
504 | Moduł PHP umożliwiający korzystanie z funkcji ctype. | |
505 | ||
506 | %package curl | |
507 | Summary: curl extension module for PHP | |
508 | Summary(pl.UTF-8): Moduł curl dla PHP | |
509 | Group: Libraries | |
510 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
511 | Provides: php(curl) | |
512 | ||
513 | %description curl | |
514 | This is a dynamic shared object (DSO) for PHP that will add curl | |
515 | support. | |
516 | ||
517 | %description curl -l pl.UTF-8 | |
518 | Moduł PHP umożliwiający korzystanie z biblioteki curl. | |
519 | ||
520 | %package dba | |
521 | Summary: DBA extension module for PHP | |
522 | Summary(pl.UTF-8): Moduł DBA dla PHP | |
523 | Group: Libraries | |
524 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
525 | Provides: php(dba) | |
526 | ||
527 | %description dba | |
528 | This is a dynamic shared object (DSO) for PHP that will add flat-file | |
529 | databases (DBA) support. | |
530 | ||
531 | %description dba -l pl.UTF-8 | |
532 | Moduł dla PHP dodający obsługę dla baz danych opartych na plikach | |
533 | (DBA). | |
534 | ||
535 | %package dbase | |
536 | Summary: DBase extension module for PHP | |
537 | Summary(pl.UTF-8): Moduł DBase dla PHP | |
538 | Group: Libraries | |
539 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
540 | Provides: php(dbase) | |
541 | ||
542 | %description dbase | |
543 | This is a dynamic shared object (DSO) for PHP that will add DBase | |
544 | support. | |
545 | ||
546 | %description dbase -l pl.UTF-8 | |
547 | Moduł PHP ze wsparciem dla DBase. | |
548 | ||
549 | %package dom | |
550 | Summary: DOM extension module for PHP | |
551 | Summary(pl.UTF-8): Moduł DOM dla PHP | |
552 | Group: Libraries | |
553 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
554 | Provides: php(dom) | |
555 | # it has some compatibility functions | |
556 | Provides: php(domxml) | |
557 | Obsoletes: php-domxml <= 3:4.3.8-1 | |
558 | ||
559 | %description dom | |
560 | This is a dynamic shared object (DSO) for PHP that will add new DOM | |
561 | support. | |
562 | ||
563 | %description dom -l pl.UTF-8 | |
564 | Moduł PHP dodający nową obsługę DOM. | |
565 | ||
566 | %package exif | |
567 | Summary: exif extension module for PHP | |
568 | Summary(pl.UTF-8): Moduł exif dla PHP | |
569 | Group: Libraries | |
570 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
571 | Provides: php(exif) | |
572 | ||
573 | %description exif | |
574 | This is a dynamic shared object (DSO) for PHP that will add EXIF tags | |
575 | support in image files. | |
576 | ||
577 | %description exif -l pl.UTF-8 | |
578 | Moduł PHP dodający obsługę znaczników EXIF w plikach obrazków. | |
579 | ||
580 | %package fdf | |
581 | Summary: FDF extension module for PHP | |
582 | Summary(pl.UTF-8): Moduł FDF dla PHP | |
583 | Group: Libraries | |
584 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
585 | Provides: php(fdf) | |
586 | ||
587 | %description fdf | |
588 | This PHP module adds support for PDF Forms through Adobe FDFTK | |
589 | library. | |
590 | ||
591 | %description fdf -l pl.UTF-8 | |
592 | Moduł PHP dodający obsługę formularzy PDF poprzez bibliotekę Adobe | |
593 | FDFTK. | |
594 | ||
595 | %package filter | |
596 | Summary: Extension for safely dealing with input parameters | |
597 | Summary(pl.UTF-8): Rozszerzenie do bezpiecznej obsługi danych wejściowych | |
598 | Group: Libraries | |
599 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
600 | Provides: php(filter) | |
601 | Obsoletes: php-pecl-filter | |
602 | ||
603 | %description filter | |
604 | We all know that you should always check input variables, but PHP does | |
605 | not offer really good functionality for doing this in a safe way. The | |
606 | Input Filter extension is meant to address this issue by implementing | |
607 | a set of filters and mechanisms that users can use to safely access | |
608 | their input data. | |
609 | ||
610 | %description filter -l pl.UTF-8 | |
611 | Wiadomo, że trzeba zawsze sprawdzać zmienne wejściowe, ale PHP nie | |
612 | oferuje naprawdę dobrej funkcjonalności do robienia tego w sposób | |
613 | bezpieczny. Rozszerzenie Input Filter ma rozwiązać ten problem poprzez | |
614 | zaimplementowanie zestawu filtrów i mechanizmów, których użytkownicy | |
615 | mogą bezpiecznie używać do dostępu do danych. | |
616 | ||
617 | %package ftp | |
618 | Summary: FTP extension module for PHP | |
619 | Summary(pl.UTF-8): Moduł FTP dla PHP | |
620 | Group: Libraries | |
621 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
622 | Provides: php(ftp) | |
623 | ||
624 | %description ftp | |
625 | This is a dynamic shared object (DSO) for PHP that will add FTP | |
626 | support. | |
627 | ||
628 | %description ftp -l pl.UTF-8 | |
629 | Moduł PHP dodający obsługę protokołu FTP. | |
630 | ||
631 | %package gd | |
632 | Summary: GD extension module for PHP | |
633 | Summary(pl.UTF-8): Moduł GD dla PHP | |
634 | Group: Libraries | |
635 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
636 | Requires: gd >= 2.0.28-4 | |
637 | Requires: gd(gif) | |
638 | Requires: gd(imagerotate) = 5.2.0 | |
639 | Provides: php(gd) | |
640 | ||
641 | %description gd | |
642 | This is a dynamic shared object (DSO) for PHP that will add GD | |
643 | support, allowing you to create and manipulate images with PHP. | |
644 | ||
645 | %description gd -l pl.UTF-8 | |
646 | Moduł PHP umożliwiający korzystanie z biblioteki GD, pozwalającej na | |
647 | tworzenie i obróbkę obrazków. | |
648 | ||
649 | %package gettext | |
650 | Summary: gettext extension module for PHP | |
651 | Summary(pl.UTF-8): Moduł gettext dla PHP | |
652 | Group: Libraries | |
653 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
654 | Provides: php(gettext) | |
655 | ||
656 | %description gettext | |
657 | This is a dynamic shared object (DSO) for PHP that will add gettext | |
658 | support. | |
659 | ||
660 | %description gettext -l pl.UTF-8 | |
661 | Moduł PHP dodający obsługę lokalizacji przez gettext. | |
662 | ||
663 | %package gmp | |
664 | Summary: gmp extension module for PHP | |
665 | Summary(pl.UTF-8): Moduł gmp dla PHP | |
666 | Group: Libraries | |
667 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
668 | Provides: php(gmp) | |
669 | ||
670 | %description gmp | |
671 | This is a dynamic shared object (DSO) for PHP that will add arbitrary | |
672 | length number support with GNU MP library. | |
673 | ||
674 | %description gmp -l pl.UTF-8 | |
675 | Moduł PHP umożliwiający korzystanie z biblioteki gmp do obliczeń na | |
676 | liczbach o dowolnej długości. | |
677 | ||
678 | %package hash | |
679 | Summary: HASH Message Digest Framework | |
680 | Summary(pl.UTF-8): Szkielet do obliczania skrótów wiadomości | |
681 | Group: Libraries | |
682 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
683 | Provides: php(hash) | |
684 | Obsoletes: php-pecl-hash | |
685 | ||
686 | %description hash | |
687 | Native implementations of common message digest algorithms using a | |
688 | generic factory method. | |
689 | ||
690 | %description hash -l pl.UTF-8 | |
691 | Natywne implementacje popularnych algorytmów obliczania skrótów | |
692 | wiadomości przy użyciu wspólnego interfejsu. | |
693 | ||
694 | %package iconv | |
695 | Summary: iconv extension module for PHP | |
696 | Summary(pl.UTF-8): Moduł iconv dla PHP | |
697 | Group: Libraries | |
698 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
699 | Provides: php(iconv) | |
700 | ||
701 | %description iconv | |
702 | This is a dynamic shared object (DSO) for PHP that will add iconv | |
703 | support. | |
704 | ||
705 | %description iconv -l pl.UTF-8 | |
706 | Moduł PHP dodający obsługę iconv. | |
707 | ||
708 | %package imap | |
709 | Summary: IMAP extension module for PHP | |
710 | Summary(pl.UTF-8): Moduł IMAP dla PHP | |
711 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam IMAP | |
712 | Group: Libraries | |
713 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
714 | Provides: php(imap) | |
715 | ||
716 | %description imap | |
717 | This is a dynamic shared object (DSO) for PHP that will add IMAP | |
718 | support. | |
719 | ||
720 | %description imap -l pl.UTF-8 | |
721 | Moduł PHP dodający obsługę skrzynek IMAP. | |
722 | ||
723 | %description imap -l pt_BR.UTF-8 | |
724 | Um módulo para aplicações PHP que usam IMAP. | |
725 | ||
726 | %package interbase | |
727 | Summary: InterBase/Firebird database module for PHP | |
728 | Summary(pl.UTF-8): Moduł bazy danych InterBase/Firebird dla PHP | |
729 | Group: Libraries | |
730 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
731 | Provides: php(interbase) | |
732 | %{?with_interbase_inst:Autoreq: false} | |
733 | ||
734 | %description interbase | |
735 | This is a dynamic shared object (DSO) for PHP that will add InterBase | |
736 | and Firebird database support. | |
737 | ||
738 | %description interbase -l pl.UTF-8 | |
739 | Moduł PHP umożliwiający dostęp do baz danych InterBase i Firebird. | |
740 | ||
741 | %package json | |
742 | Summary: PHP C extension for JSON serialization | |
743 | Summary(pl.UTF-8): Rozszerzenie C PHP dla serializacji JSON | |
744 | Group: Libraries | |
745 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
746 | Provides: php(json) | |
747 | Obsoletes: php-pecl-json | |
748 | ||
749 | %description json | |
750 | php-json is an extremely fast PHP C extension for JSON (JavaScript | |
751 | Object Notation) serialisation. | |
752 | ||
753 | %description json -l pl.UTF-8 | |
754 | php-json to bardzo szybkie rozszerzenie C PHP dla serializacji JSON | |
755 | (JavaScript Object Notation). | |
756 | ||
757 | %package ldap | |
758 | Summary: LDAP extension module for PHP | |
759 | Summary(pl.UTF-8): Moduł LDAP dla PHP | |
760 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam LDAP | |
761 | Group: Libraries | |
762 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
763 | Provides: php(ldap) | |
764 | ||
765 | %description ldap | |
766 | This is a dynamic shared object (DSO) for PHP that will add LDAP | |
767 | support. | |
768 | ||
769 | %description ldap -l pl.UTF-8 | |
770 | Moduł PHP dodający obsługę LDAP. | |
771 | ||
772 | %description ldap -l pt_BR.UTF-8 | |
773 | Um módulo para aplicações PHP que usam LDAP. | |
774 | ||
775 | %package mbstring | |
776 | Summary: mbstring extension module for PHP | |
777 | Summary(pl.UTF-8): Moduł mbstring dla PHP | |
778 | Group: Libraries | |
779 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
780 | Provides: php(mbstring) | |
781 | ||
782 | %description mbstring | |
783 | This is a dynamic shared object (DSO) for PHP that will add multibyte | |
784 | string support. | |
785 | ||
786 | %description mbstring -l pl.UTF-8 | |
787 | Moduł PHP dodający obsługę ciągów znaków wielobajtowych. | |
788 | ||
789 | %package mcrypt | |
790 | Summary: mcrypt extension module for PHP | |
791 | Summary(pl.UTF-8): Moduł mcrypt dla PHP | |
792 | Group: Libraries | |
793 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
794 | Provides: php(mcrypt) | |
795 | ||
796 | %description mcrypt | |
797 | This is a dynamic shared object (DSO) for PHP that will add mcrypt | |
798 | support. | |
799 | ||
800 | %description mcrypt -l pl.UTF-8 | |
801 | Moduł PHP dodający możliwość szyfrowania poprzez bibliotekę mcrypt. | |
802 | ||
803 | %package mhash | |
804 | Summary: mhash extension module for PHP | |
805 | Summary(pl.UTF-8): Moduł mhash dla PHP | |
806 | Group: Libraries | |
807 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
808 | Provides: php(mhash) | |
809 | ||
810 | %description mhash | |
811 | This is a dynamic shared object (DSO) for PHP that will add mhash | |
812 | support. | |
813 | ||
814 | %description mhash -l pl.UTF-8 | |
815 | Moduł PHP udostępniający funkcje mieszające z biblioteki mhash. | |
816 | ||
817 | %package mime_magic | |
818 | Summary: mime_magic extension module for PHP | |
819 | Summary(pl.UTF-8): Moduł mime_magic dla PHP | |
820 | Group: Libraries | |
821 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
822 | Requires: /usr/share/file/magic.mime | |
823 | Provides: php(mime_magic) | |
824 | ||
825 | %description mime_magic | |
826 | This PHP module adds support for MIME type lookup via file magic | |
827 | numbers using magic.mime database. | |
828 | ||
829 | %description mime_magic -l pl.UTF-8 | |
830 | Moduł PHP dodający obsługę wyszukiwania typów MIME według magicznych | |
831 | znaczników plików z użyciem bazy danych magic.mime. | |
832 | ||
833 | %package ming | |
834 | Summary: ming extension module for PHP | |
835 | Summary(pl.UTF-8): Moduł ming dla PHP | |
836 | Group: Libraries | |
837 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
838 | Provides: php(ming) | |
839 | ||
840 | %description ming | |
841 | This is a dynamic shared object (DSO) for PHP that will add ming | |
842 | (Flash - .swf files) support. | |
843 | ||
844 | %description ming -l pl.UTF-8 | |
845 | Moduł PHP dodający obsługę plików Flash (.swf) poprzez bibliotekę | |
846 | ming. | |
847 | ||
848 | %package mssql | |
849 | Summary: MS SQL extension module for PHP | |
850 | Summary(pl.UTF-8): Moduł MS SQL dla PHP | |
851 | Group: Libraries | |
852 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
853 | Provides: php(mssql) | |
854 | ||
855 | %description mssql | |
856 | This is a dynamic shared object (DSO) for PHP that will add MS SQL | |
857 | databases support through FreeTDS library. | |
858 | ||
859 | %description mssql -l pl.UTF-8 | |
860 | Moduł PHP dodający obsługę baz danych MS SQL poprzez bibliotekę | |
861 | FreeTDS. | |
862 | ||
863 | %package mysql | |
864 | Summary: MySQL database module for PHP | |
865 | Summary(pl.UTF-8): Moduł bazy danych MySQL dla PHP | |
866 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bancos de dados MySQL | |
867 | Group: Libraries | |
868 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
869 | Provides: php(mysql) | |
870 | ||
871 | %description mysql | |
872 | This is a dynamic shared object (DSO) for PHP that will add MySQL | |
873 | database support. | |
874 | ||
875 | %description mysql -l pl.UTF-8 | |
876 | Moduł PHP umożliwiający dostęp do bazy danych MySQL. | |
877 | ||
878 | %description mysql -l pt_BR.UTF-8 | |
879 | Um módulo para aplicações PHP que usam bancos de dados MySQL. | |
880 | ||
881 | %package mysqli | |
882 | Summary: MySQLi module for PHP | |
883 | Summary(pl.UTF-8): Moduł MySQLi dla PHP | |
884 | Group: Libraries | |
885 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
886 | Requires: mysql-libs >= 4.1.0 | |
887 | Provides: php(mysqli) | |
888 | ||
889 | %description mysqli | |
890 | This is a dynamic shared object (DSO) for PHP that will add MySQLi | |
891 | (Improved MySQL) support. The difference between it and mysql module | |
892 | is that it provides access to functionality of MySQL 4.1 and above. | |
893 | ||
894 | %description mysqli -l pl.UTF-8 | |
895 | Moduł PHP umożliwiający udoskonalony dostęp do bazy danych MySQL. | |
896 | Różnicą między nim a modułem mysql jest dostęp do funkcjonalności | |
897 | MySQL w wersji 4.1 i nowszych. | |
898 | ||
899 | %package ncurses | |
900 | Summary: ncurses module for PHP | |
901 | Summary(pl.UTF-8): Moduł ncurses dla PHP | |
902 | Group: Libraries | |
903 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} | |
904 | Provides: php(ncurses) | |
905 | ||
906 | %description ncurses | |
907 | This PHP module adds support for ncurses functions (only for cli and | |
908 | cgi SAPIs). | |
909 | ||
910 | %description ncurses -l pl.UTF-8 | |
911 | Moduł PHP dodający obsługę funkcji ncurses (tylko do SAPI cli i cgi). | |
912 | ||
913 | %package oci8 | |
914 | Summary: Oracle 8+ database module for PHP | |
915 | Summary(pl.UTF-8): Moduł bazy danych Oracle 8+ dla PHP | |
916 | Group: Libraries | |
917 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
918 | Provides: php(oci8) | |
919 | Autoreq: false | |
920 | ||
921 | %description oci8 | |
922 | This is a dynamic shared object (DSO) for PHP that will add Oracle 7, | |
923 | 8, 9 and 10 database support through Oracle8 Call-Interface (OCI8). | |
924 | ||
925 | %description oci8 -l pl.UTF-8 | |
926 | Moduł PHP umożliwiający dostęp do bazy danych Oracle 7, 8, 9 i 10 | |
927 | poprzez interfejs Oracle8 Call-Interface (OCI8). | |
928 | ||
929 | %package odbc | |
930 | Summary: ODBC extension module for PHP | |
931 | Summary(pl.UTF-8): Moduł ODBC dla PHP | |
932 | Summary(pt_BR.UTF-8): Um módulo para aplicações PHP que usam bases de dados ODBC | |
933 | Group: Libraries | |
934 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
935 | Requires: unixODBC >= 2.1.1-3 | |
936 | Provides: php(odbc) | |
937 | ||
938 | %description odbc | |
939 | This is a dynamic shared object (DSO) for PHP that will add ODBC | |
940 | support. | |
941 | ||
942 | %description odbc -l pl.UTF-8 | |
943 | Moduł PHP ze wsparciem dla ODBC. | |
944 | ||
945 | %description odbc -l pt_BR.UTF-8 | |
946 | Um módulo para aplicações PHP que usam ODBC. | |
947 | ||
948 | %package openssl | |
949 | Summary: OpenSSL extension module for PHP | |
950 | Summary(pl.UTF-8): Moduł OpenSSL dla PHP | |
951 | Group: Libraries | |
952 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
953 | Provides: php(openssl) | |
954 | ||
955 | %description openssl | |
956 | This is a dynamic shared object (DSO) for PHP that will add OpenSSL | |
957 | support. | |
958 | ||
959 | Warning: this is an experimental module. | |
960 | ||
961 | %description openssl -l pl.UTF-8 | |
962 | Moduł PHP umożliwiający korzystanie z biblioteki OpenSSL. | |
963 | ||
964 | Uwaga: to jest moduł eksperymentalny. | |
965 | ||
966 | %package pcntl | |
967 | Summary: Process Control extension module for PHP | |
968 | Summary(pl.UTF-8): Moduł Process Control dla PHP | |
969 | Group: Libraries | |
970 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} | |
971 | Provides: php(pcntl) | |
972 | ||
973 | %description pcntl | |
974 | This is a dynamic shared object (DSO) for PHP that will add process | |
975 | spawning and control support. It supports functions like fork(), | |
976 | waitpid(), signal() etc. | |
977 | ||
978 | Warning: this is an experimental module. Also, don't use it in | |
979 | webserver environment! | |
980 | ||
981 | %description pcntl -l pl.UTF-8 | |
982 | Moduł PHP umożliwiający tworzenie nowych procesów i kontrolę nad nimi. | |
983 | Obsługuje funkcje takie jak fork(), waitpid(), signal() i podobne. | |
984 | ||
985 | Uwaga: to jest moduł eksperymentalny. Ponadto nie jest przeznaczony do | |
986 | używania z serwerem WWW - nie próbuj tego! | |
987 | ||
988 | %package pdo | |
989 | Summary: PHP Data Objects (PDO) | |
990 | Summary(pl.UTF-8): Obsługa PHP Data Objects (PDO) | |
991 | Group: Libraries | |
992 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
993 | Provides: php(pdo) | |
994 | Obsoletes: php-pecl-PDO | |
995 | ||
996 | %description pdo | |
997 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
998 | support. | |
999 | ||
1000 | %description pdo -l pl.UTF-8 | |
1001 | Moduł PHP dodający obsługę PDO (PHP Data Objects). | |
1002 | ||
1003 | %package pdo-dblib | |
1004 | Summary: PHP Data Objects (PDO) FreeTDS support | |
1005 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą FreeTDS | |
1006 | Group: Libraries | |
1007 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1008 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1009 | Provides: php(dblib) | |
1010 | ||
1011 | %description pdo-dblib | |
1012 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1013 | FreeTDS support. | |
1014 | ||
1015 | %description pdo-dblib -l pl.UTF-8 | |
1016 | Moduł dla PHP dodający obsługę baz danych FreeTDS za pośrednictwem | |
1017 | interfejsu PDO. | |
1018 | ||
1019 | %package pdo-firebird | |
1020 | Summary: PHP Data Objects (PDO) Firebird support | |
1021 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Firebirda | |
1022 | Group: Libraries | |
1023 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1024 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1025 | Provides: php(pdo-firebird) | |
1026 | Obsoletes: php-pecl-PDO_FIREBIRD | |
1027 | ||
1028 | %description pdo-firebird | |
1029 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1030 | Firebird support. | |
1031 | ||
1032 | %description pdo-firebird -l pl.UTF-8 | |
1033 | Moduł dla PHP dodający obsługę baz danych Firebird za pośrednictwem | |
1034 | interfejsu PDO. | |
1035 | ||
1036 | %package pdo-mysql | |
1037 | Summary: PHP Data Objects (PDO) MySQL support | |
1038 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą MySQL-a | |
1039 | Group: Libraries | |
1040 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1041 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1042 | Provides: php(pdo-mysql) | |
1043 | Obsoletes: php-pecl-PDO_MYSQL | |
1044 | ||
1045 | %description pdo-mysql | |
1046 | This is a dynamic shared object (DSO) for PHP that will add PDO MySQL | |
1047 | support. | |
1048 | ||
1049 | %description pdo-mysql -l pl.UTF-8 | |
1050 | Moduł dla PHP dodający obsługę baz danych MySQL za pośrednictwem | |
1051 | interfejsu PDO. | |
1052 | ||
1053 | %package pdo-oci | |
1054 | Summary: PHP Data Objects (PDO) Oracle support | |
1055 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą Oracle'a | |
1056 | Group: Libraries | |
1057 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1058 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1059 | Provides: php(pdo-oci) | |
1060 | Obsoletes: php-pecl-PDO_OCI | |
1061 | ||
1062 | %description pdo-oci | |
1063 | This is a dynamic shared object (DSO) for PHP that will add PDO Oracle | |
1064 | support. | |
1065 | ||
1066 | %description pdo-oci -l pl.UTF-8 | |
1067 | Moduł dla PHP dodający obsługę baz danych Oracle za pośrednictwem | |
1068 | interfejsu PDO. | |
1069 | ||
1070 | %package pdo-odbc | |
1071 | Summary: PHP Data Objects (PDO) ODBC support | |
1072 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą ODBC | |
1073 | Group: Libraries | |
1074 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1075 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1076 | Provides: php(pdo-odbc) | |
1077 | Obsoletes: php-pecl-PDO_ODBC | |
1078 | ||
1079 | %description pdo-odbc | |
1080 | This is a dynamic shared object (DSO) for PHP that will add PDO ODBC | |
1081 | support. | |
1082 | ||
1083 | %description pdo-odbc -l pl.UTF-8 | |
1084 | Moduł dla PHP dodający obsługę baz danych ODBC za pośrednictwem | |
1085 | interfejsu PDO. | |
1086 | ||
1087 | %package pdo-pgsql | |
1088 | Summary: PHP Data Objects (PDO) PostgreSQL support | |
1089 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą PostgreSQL-a | |
1090 | Group: Libraries | |
1091 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1092 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1093 | Provides: php(pdo-pgsql) | |
1094 | Obsoletes: php-pecl-PDO_PGSQL | |
1095 | ||
1096 | %description pdo-pgsql | |
1097 | This is a dynamic shared object (DSO) for PHP that will add PDO | |
1098 | PostgreSQL support. | |
1099 | ||
1100 | %description pdo-pgsql -l pl.UTF-8 | |
1101 | Moduł dla PHP dodający obsługę baz danych PostgreSQL za pośrednictwem | |
1102 | interfejsu PDO. | |
1103 | ||
1104 | %package pdo-sqlite | |
1105 | Summary: PHP Data Objects (PDO) SQLite support | |
1106 | Summary(pl.UTF-8): Moduł PHP Data Objects (PDO) z obsługą SQLite | |
1107 | Group: Libraries | |
1108 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1109 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1110 | Provides: php(pdo-sqlite) | |
1111 | Obsoletes: php-pecl-PDO_SQLITE | |
1112 | ||
1113 | %description pdo-sqlite | |
1114 | This is a dynamic shared object (DSO) for PHP that will add PDO SQLite | |
1115 | support. | |
1116 | ||
1117 | %description pdo-sqlite -l pl.UTF-8 | |
1118 | Moduł dla PHP dodający obsługę baz danych SQLite za pośrednictwem | |
1119 | interfejsu PDO. | |
1120 | ||
1121 | %package pgsql | |
1122 | Summary: PostgreSQL database module for PHP | |
1123 | Summary(pl.UTF-8): Moduł bazy danych PostgreSQL dla PHP | |
1124 | Group: Libraries | |
1125 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1126 | Provides: php(pgsql) | |
1127 | ||
1128 | %description pgsql | |
1129 | This is a dynamic shared object (DSO) for PHP that will add PostgreSQL | |
1130 | database support. | |
1131 | ||
1132 | %description pgsql -l pl.UTF-8 | |
1133 | Moduł PHP umożliwiający dostęp do bazy danych PostgreSQL. | |
1134 | ||
1135 | %description pgsql -l pt_BR.UTF-8 | |
1136 | Um módulo para aplicações PHP que usam bancos de dados postgresql. | |
1137 | ||
1138 | %package posix | |
1139 | Summary: POSIX extension module for PHP | |
1140 | Summary(pl.UTF-8): Moduł POSIX dla PHP | |
1141 | Group: Libraries | |
1142 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1143 | Provides: php(posix) | |
1144 | ||
1145 | %description posix | |
1146 | This is a dynamic shared object (DSO) for PHP that will add POSIX | |
1147 | functions support to PHP. | |
1148 | ||
1149 | %description posix -l pl.UTF-8 | |
1150 | Moduł PHP umożliwiający korzystanie z funkcji POSIX. | |
1151 | ||
1152 | %package pspell | |
1153 | Summary: pspell extension module for PHP | |
1154 | Summary(pl.UTF-8): Moduł pspell dla PHP | |
1155 | Group: Libraries | |
1156 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1157 | Provides: php(pspell) | |
1158 | ||
1159 | %description pspell | |
1160 | This is a dynamic shared object (DSO) for PHP that will add pspell | |
1161 | support to PHP. It allows to check the spelling of a word and offer | |
1162 | suggestions. | |
1163 | ||
1164 | %description pspell -l pl.UTF-8 | |
1165 | Moduł PHP umożliwiający korzystanie z pspella. Pozwala on na | |
1166 | sprawdzanie pisowni słowa i sugerowanie poprawek. | |
1167 | ||
1168 | %package readline | |
1169 | Summary: readline extension module for PHP | |
1170 | Summary(pl.UTF-8): Moduł readline dla PHP | |
1171 | Group: Libraries | |
1172 | Requires: %{name}-cli = %{epoch}:%{version}-%{release} | |
1173 | Provides: php(readline) | |
1174 | ||
1175 | %description readline | |
1176 | This PHP module adds support for readline functions (only for cli and | |
1177 | cgi SAPIs). | |
1178 | ||
1179 | %description readline -l pl.UTF-8 | |
1180 | Moduł PHP dodający obsługę funkcji readline (tylko do SAPI cli i cgi). | |
1181 | ||
1182 | %package recode | |
1183 | Summary: recode extension module for PHP | |
1184 | Summary(pl.UTF-8): Moduł recode dla PHP | |
1185 | Group: Libraries | |
1186 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1187 | Requires: recode >= 3.5d-3 | |
1188 | Provides: php(recode) | |
1189 | ||
1190 | %description recode | |
1191 | This is a dynamic shared object (DSO) for PHP that will add recode | |
1192 | support. | |
1193 | ||
1194 | %description recode -l pl.UTF-8 | |
1195 | Moduł PHP dodający możliwość konwersji kodowania plików (poprzez | |
1196 | bibliotekę recode). | |
1197 | ||
1198 | %package shmop | |
1199 | Summary: Shared Memory Operations extension module for PHP | |
1200 | Summary(pl.UTF-8): Moduł shmop dla PHP | |
1201 | Group: Libraries | |
1202 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1203 | Provides: php(shmop) | |
1204 | ||
1205 | %description shmop | |
1206 | This is a dynamic shared object (DSO) for PHP that will add Shared | |
1207 | Memory Operations support. | |
1208 | ||
1209 | Warning: this is an experimental module. | |
1210 | ||
1211 | %description shmop -l pl.UTF-8 | |
1212 | Moduł PHP umożliwiający korzystanie z pamięci dzielonej. | |
1213 | ||
1214 | Uwaga: to jest moduł eksperymentalny. | |
1215 | ||
1216 | %package simplexml | |
1217 | Summary: Simple XML extension module for PHP | |
1218 | Summary(pl.UTF-8): Moduł prostego rozszerzenia XML dla PHP | |
1219 | Group: Libraries | |
1220 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1221 | Provides: php(simplexml) | |
1222 | ||
1223 | %description simplexml | |
1224 | This is a dynamic shared object (DSO) for PHP that will add Simple XML | |
1225 | support. | |
1226 | ||
1227 | %description simplexml -l pl.UTF-8 | |
1228 | Moduł PHP dodający obsługę prostego XML-a. | |
1229 | ||
1230 | %package snmp | |
1231 | Summary: SNMP extension module for PHP | |
1232 | Summary(pl.UTF-8): Moduł SNMP dla PHP | |
1233 | Group: Libraries | |
1234 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1235 | Requires: %{name}-sockets = %{epoch}:%{version}-%{release} | |
1236 | Provides: php(snmp) | |
1237 | ||
1238 | %description snmp | |
1239 | This is a dynamic shared object (DSO) for PHP that will add SNMP | |
1240 | support. | |
1241 | ||
1242 | %description snmp -l pl.UTF-8 | |
1243 | Moduł PHP dodający obsługę SNMP. | |
1244 | ||
1245 | %package soap | |
1246 | Summary: soap extension module for PHP | |
1247 | Summary(pl.UTF-8): Moduł soap dla PHP | |
1248 | Group: Libraries | |
1249 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1250 | Provides: php(soap) | |
1251 | ||
1252 | %description soap | |
1253 | This is a dynamic shared object (DSO) for PHP that will add SOAP/WSDL | |
1254 | support. | |
1255 | ||
1256 | %description soap -l pl.UTF-8 | |
1257 | Moduł PHP dodający obsługę SOAP/WSDL. | |
1258 | ||
1259 | %package sockets | |
1260 | Summary: sockets extension module for PHP | |
1261 | Summary(pl.UTF-8): Moduł socket dla PHP | |
1262 | Group: Libraries | |
1263 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1264 | Provides: php(sockets) | |
1265 | ||
1266 | %description sockets | |
1267 | This is a dynamic shared object (DSO) for PHP that will add sockets | |
1268 | support. | |
1269 | ||
1270 | Warning: this is an experimental module. | |
1271 | ||
1272 | %description sockets -l pl.UTF-8 | |
1273 | Moduł PHP dodający obsługę gniazdek. | |
1274 | ||
1275 | Uwaga: to jest moduł eksperymentalny. | |
1276 | ||
1277 | %package sqlite | |
1278 | Summary: SQLite extension module for PHP | |
1279 | Summary(pl.UTF-8): Moduł SQLite dla PHP | |
1280 | Group: Libraries | |
1281 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1282 | Requires: %{name}-pdo = %{epoch}:%{version}-%{release} | |
1283 | Provides: php(sqlite) | |
1284 | ||
1285 | %description sqlite | |
1286 | SQLite is a C library that implements an embeddable SQL database | |
1287 | engine. Programs that link with the SQLite library can have SQL | |
1288 | database access without running a separate RDBMS process. | |
1289 | ||
1290 | SQLite is not a client library used to connect to a big database | |
1291 | server. SQLite is the server. The SQLite library reads and writes | |
1292 | directly to and from the database files on disk. | |
1293 | ||
1294 | %description sqlite -l pl.UTF-8 | |
1295 | SQLite jest napisaną w C biblioteką implementującą osadzalny silnik | |
1296 | bazodanowy SQL. Program linkujący się z biblioteką SQLite może mieć | |
1297 | dostęp do bazy SQL bez potrzeby uruchamiania dodatkowego procesu | |
1298 | RDBMS. | |
1299 | ||
1300 | SQLite to nie klient baz danych - biblioteka nie łączy się z serwerami | |
1301 | baz danych. SQLite sam jest serwerem. Biblioteka SQLite czyta i | |
1302 | zapisuje dane bezpośrednio z/do plików baz danych znajdujących się na | |
1303 | dysku. | |
1304 | ||
1305 | %package sybase | |
1306 | Summary: Sybase DB extension module for PHP | |
1307 | Summary(pl.UTF-8): Moduł Sybase DB dla PHP | |
1308 | Group: Libraries | |
1309 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1310 | Provides: php(sybase) | |
1311 | Obsoletes: php-sybase-ct | |
1312 | ||
1313 | %description sybase | |
1314 | This is a dynamic shared object (DSO) for PHP that will add Sybase and | |
1315 | MS SQL databases support through SYBDB library. Currently Sybase | |
1316 | module is not maintained. Using Sybase-CT module is recommended | |
1317 | instead. | |
1318 | ||
1319 | %description sybase -l pl.UTF-8 | |
1320 | Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez | |
1321 | bibliotekę SYBDB. W chwili obecnej moduł Sybase nie jest wspierany. | |
1322 | Zaleca się używanie modułu Sybase-CT. | |
1323 | ||
1324 | %package sybase-ct | |
1325 | Summary: Sybase-CT extension module for PHP | |
1326 | Summary(pl.UTF-8): Moduł Sybase-CT dla PHP | |
1327 | Group: Libraries | |
1328 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1329 | Provides: php(sybase-ct) | |
1330 | Obsoletes: php-sybase | |
1331 | ||
1332 | %description sybase-ct | |
1333 | This is a dynamic shared object (DSO) for PHP that will add Sybase and | |
1334 | MS SQL databases support through CT-lib. | |
1335 | ||
1336 | %description sybase-ct -l pl.UTF-8 | |
1337 | Moduł PHP dodający obsługę baz danych Sybase oraz MS SQL poprzez | |
1338 | CT-lib. | |
1339 | ||
1340 | %package sysvmsg | |
1341 | Summary: SysV msg extension module for PHP | |
1342 | Summary(pl.UTF-8): Moduł SysV msg dla PHP | |
1343 | Group: Libraries | |
1344 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1345 | Provides: php(sysvmsg) | |
1346 | ||
1347 | %description sysvmsg | |
1348 | This is a dynamic shared object (DSO) for PHP that will add SysV | |
1349 | message queues support. | |
1350 | ||
1351 | %description sysvmsg -l pl.UTF-8 | |
1352 | Moduł PHP umożliwiający korzystanie z kolejek komunikatów SysV. | |
1353 | ||
1354 | %package sysvsem | |
1355 | Summary: SysV sem extension module for PHP | |
1356 | Summary(pl.UTF-8): Moduł SysV sem dla PHP | |
1357 | Group: Libraries | |
1358 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1359 | Provides: php(sysvsem) | |
1360 | ||
1361 | %description sysvsem | |
1362 | This is a dynamic shared object (DSO) for PHP that will add SysV | |
1363 | semaphores support. | |
1364 | ||
1365 | %description sysvsem -l pl.UTF-8 | |
1366 | Moduł PHP umożliwiający korzystanie z semaforów SysV. | |
1367 | ||
1368 | %package sysvshm | |
1369 | Summary: SysV shm extension module for PHP | |
1370 | Summary(pl.UTF-8): Moduł SysV shm dla PHP | |
1371 | Group: Libraries | |
1372 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1373 | Provides: php(sysvshm) | |
1374 | ||
1375 | %description sysvshm | |
1376 | This is a dynamic shared object (DSO) for PHP that will add SysV | |
1377 | Shared Memory support. | |
1378 | ||
1379 | %description sysvshm -l pl.UTF-8 | |
1380 | Moduł PHP umożliwiający korzystanie z pamięci dzielonej SysV. | |
1381 | ||
1382 | %package tidy | |
1383 | Summary: Tidy extension module for PHP | |
1384 | Summary(pl.UTF-8): Moduł Tidy dla PHP | |
1385 | Group: Libraries | |
1386 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1387 | Requires: tidy | |
1388 | Provides: php(tidy) | |
1389 | ||
1390 | %description tidy | |
1391 | This is a dynamic shared object (DSO) for PHP that will add Tidy | |
1392 | support. | |
1393 | ||
1394 | %description tidy -l pl.UTF-8 | |
1395 | Moduł PHP umożliwiający korzystanie z tidy. | |
1396 | ||
1397 | %package tokenizer | |
1398 | Summary: tokenizer extension module for PHP | |
1399 | Summary(pl.UTF-8): Moduł rozszerzenia tokenizer dla PHP | |
1400 | Group: Libraries | |
1401 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1402 | Provides: php(tokenizer) | |
1403 | ||
1404 | %description tokenizer | |
1405 | This is a dynamic shared object (DSO) for PHP that will add tokenizer | |
1406 | support. | |
1407 | ||
1408 | %description tokenizer -l pl.UTF-8 | |
1409 | Moduł PHP dodający obsługę tokenizera do PHP. | |
1410 | ||
1411 | %package wddx | |
1412 | Summary: wddx extension module for PHP | |
1413 | Summary(pl.UTF-8): Moduł wddx dla PHP | |
1414 | Group: Libraries | |
1415 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1416 | #Requires: %{name}-session = %{epoch}:%{version}-%{release} | |
1417 | Requires: %{name}-xml = %{epoch}:%{version}-%{release} | |
1418 | Provides: php(wddx) | |
1419 | ||
1420 | %description wddx | |
1421 | This is a dynamic shared object (DSO) for PHP that will add wddx | |
1422 | support. | |
1423 | ||
1424 | %description wddx -l pl.UTF-8 | |
1425 | Moduł PHP umożliwiający korzystanie z wddx. | |
1426 | ||
1427 | %package xml | |
1428 | Summary: XML extension module for PHP | |
1429 | Summary(pl.UTF-8): Moduł XML dla PHP | |
1430 | Group: Libraries | |
1431 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1432 | Provides: php(xml) | |
1433 | ||
1434 | %description xml | |
1435 | This is a dynamic shared object (DSO) for PHP that will add XML | |
1436 | support. This extension lets you create XML parsers and then define | |
1437 | handlers for different XML events. | |
1438 | ||
1439 | %description xml -l pl.UTF-8 | |
1440 | Moduł PHP umożliwiający parsowanie plików XML i obsługę zdarzeń | |
1441 | związanych z tymi plikami. Pozwala on tworzyć analizatory XML-a i | |
1442 | następnie definiować procedury obsługi dla różnych zdarzeń XML. | |
1443 | ||
1444 | %package xmlreader | |
1445 | Summary: XML Reader extension module for PHP | |
1446 | Summary(pl.UTF-8): Moduł XML Reader dla PHP | |
1447 | Group: Libraries | |
1448 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1449 | Requires: %{name}-dom = %{epoch}:%{version}-%{release} | |
1450 | Provides: php(xmlreader) | |
1451 | ||
1452 | %description xmlreader | |
1453 | This is a dynamic shared object (DSO) for PHP that will add XML Reader | |
1454 | support. The XMLReader extension is an XML Pull parser. The reader | |
1455 | acts as a cursor going forward on the document stream and stopping at | |
1456 | each node on the way. | |
1457 | ||
1458 | %description xmlreader -l pl.UTF-8 | |
1459 | Moduł PHP umożliwiający analizę plików XML w trybie Pull. Czytnik | |
1460 | działa jako kursor przechodzący przez strumień dokumentu i | |
1461 | zatrzymujący się na każdym węźle po drodze. | |
1462 | ||
1463 | %package xmlrpc | |
1464 | Summary: xmlrpc extension module for PHP | |
1465 | Summary(pl.UTF-8): Moduł xmlrpc dla PHP | |
1466 | Group: Libraries | |
1467 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1468 | Provides: php(xmlrpc) | |
1469 | ||
1470 | %description xmlrpc | |
1471 | This is a dynamic shared object (DSO) for PHP that will add XMLRPC | |
1472 | support. | |
1473 | ||
1474 | Warning: this is an experimental module. | |
1475 | ||
1476 | %description xmlrpc -l pl.UTF-8 | |
1477 | Moduł PHP dodający obsługę XMLRPC. | |
1478 | ||
1479 | Uwaga: to jest moduł eksperymentalny. | |
1480 | ||
1481 | %package xmlwriter | |
1482 | Summary: Fast, non-cached, forward-only means to write XML data | |
1483 | Summary(pl.UTF-8): Szybka, nie cachowana metoda zapisu danych w formacie XML | |
1484 | Group: Libraries | |
1485 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1486 | Provides: php(xmlwriter) | |
1487 | Obsoletes: php-pecl-xmlwriter | |
1488 | ||
1489 | %description xmlwriter | |
1490 | This extension wraps the libxml xmlWriter API. Represents a writer | |
1491 | that provides a non-cached, forward-only means of generating streams | |
1492 | or files containing XML data. | |
1493 | ||
1494 | %description xmlwriter -l pl.UTF-8 | |
1495 | To rozszerzenie obudowuje API xmlWriter z libxml. Reprezentuje obsługę | |
1496 | zapisu dostarczającą nie cachowanych metod generowania strumieni lub | |
1497 | plików zawierających dane XML. | |
1498 | ||
1499 | %package xsl | |
1500 | Summary: xsl extension module for PHP | |
1501 | Summary(pl.UTF-8): Moduł xsl dla PHP | |
1502 | Group: Libraries | |
1503 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1504 | Requires: libxslt >= 1.0.18 | |
1505 | # actually not true, functionality is similar, but API differs | |
1506 | Provides: php(xsl) | |
1507 | Obsoletes: php-xslt <= 3:4.3.8-1 | |
1508 | ||
1509 | %description xsl | |
1510 | This is a dynamic shared object (DSO) for PHP that will add new XSL | |
1511 | support (using libxslt). | |
1512 | ||
1513 | %description xsl -l pl.UTF-8 | |
1514 | Moduł PHP dodający nową obsługę XSLT (przy użyciu libxslt). | |
1515 | ||
1516 | %package zip | |
1517 | Summary: Zip management extension | |
1518 | Summary(pl.UTF-8): Zarządzanie archiwami zip | |
1519 | Group: Libraries | |
1520 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1521 | Provides: php(zip) | |
1522 | Obsoletes: php-pecl-zip | |
1523 | ||
1524 | %description zip | |
1525 | Zip is an extension to create, modify and read zip files. | |
1526 | ||
1527 | %description zip -l pl.UTF-8 | |
1528 | Zip jest rozszerzeniem umożliwiającym tworzenie, modyfikację oraz | |
1529 | odczyt archiwów zip. | |
1530 | ||
1531 | %package zlib | |
1532 | Summary: Zlib extension module for PHP | |
1533 | Summary(pl.UTF-8): Moduł zlib dla PHP | |
1534 | Group: Libraries | |
1535 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
1536 | Provides: php(zlib) | |
1537 | ||
1538 | %description zlib | |
1539 | This is a dynamic shared object (DSO) for PHP that will add zlib | |
1540 | compression support to PHP. | |
1541 | ||
1542 | %description zlib -l pl.UTF-8 | |
1543 | Moduł PHP umożliwiający używanie kompresji zlib. | |
1544 | ||
1545 | %prep | |
1546 | %setup -q | |
1547 | %patch36 -p1 | |
1548 | %patch0 -p1 | |
1549 | %patch1 -p1 | |
1550 | %patch2 -p1 | |
1551 | %patch3 -p1 | |
1552 | %patch4 -p1 | |
1553 | %patch5 -p1 | |
1554 | %patch6 -p1 | |
1555 | %patch7 -p1 | |
1556 | %patch8 -p1 | |
1557 | %patch9 -p1 | |
1558 | ||
1559 | cp php.ini-dist php.ini | |
1560 | %patch10 -p1 | |
1561 | # for ac2.53b/am1.6b - AC_LANG_CXX has AM_CONDITIONAL, so cannot be invoked | |
1562 | # conditionally... | |
1563 | %patch11 -p1 | |
1564 | #%patch15 -p1 # breaks with ac cache vars, but later -lpthread is missing ... | |
1565 | %patch16 -p1 | |
1566 | %patch17 -p1 | |
1567 | %patch18 -p1 | |
1568 | %patch19 -p1 | |
1569 | %patch20 -p1 | |
1570 | %patch21 -p1 | |
1571 | %patch23 -p1 | |
1572 | %patch24 -p1 | |
1573 | %patch26 -p1 | |
1574 | ||
1575 | %if %{with hardening} | |
1576 | zcat %{SOURCE8} | patch -p1 || exit 1 | |
1577 | patch -p1 < %{PATCH30} || exit 1 | |
1578 | %endif | |
1579 | %patch31 -p1 | |
1580 | %patch32 -p1 | |
1581 | %patch33 -p1 | |
1582 | ||
1583 | %{?with_versioning:%patch35 -p1} | |
1584 | ||
1585 | %patch39 -p1 | |
1586 | %patch41 -p1 | |
1587 | ||
1588 | # conflict seems to be resolved by recode patches | |
1589 | rm -f ext/recode/config9.m4 | |
1590 | ||
1591 | # remove all bundled libraries not to link with them accidentally | |
1592 | #rm -rf ext/sqlite/libsqlite | |
1593 | #rm -rf ext/bcmath/libbcmath | |
1594 | #rm -rf ext/date/lib | |
1595 | #rm -rf ext/dba/libcdb | |
1596 | #rm -rf ext/dba/libflatfile | |
1597 | #rm -rf ext/dba/libinifile | |
1598 | #rm -rf ext/gd/libgd | |
1599 | #rm -rf ext/mbstring/libmbfl | |
1600 | #rm -rf ext/mbstring/oniguruma | |
1601 | rm -rf ext/pcre/pcrelib | |
1602 | rm -rf ext/pdo_sqlite/sqlite | |
1603 | #rm -rf ext/soap/interop | |
1604 | rm -rf ext/xmlrpc/libxmlrpc | |
1605 | ||
1606 | %build | |
1607 | if API=$(awk '/#define PHP_API_VERSION/{print $3}' main/php.h) && [ $API != %{php_api_version} ]; then | |
1608 | echo "Set %%define php_api_version to $API and rerun." | |
1609 | exit 1 | |
1610 | fi | |
1611 | ||
1612 | if API=$(awk '/#define ZEND_MODULE_API_NO/{print $3}' Zend/zend_modules.h) && [ $API != %{zend_module_api} ]; then | |
1613 | echo "Set %%define zend_module_api to $API and rerun." | |
1614 | exit 1 | |
1615 | fi | |
1616 | ||
1617 | if API=$(awk '/#define ZEND_EXTENSION_API_NO/{print $3}' Zend/zend_extensions.h) && [ $API != %{zend_extension_api} ]; then | |
1618 | echo "Set %%define zend_extension_api to $API and rerun." | |
1619 | exit 1 | |
1620 | fi | |
1621 | ||
1622 | export EXTENSION_DIR="%{php_extensiondir}" | |
1623 | if [ ! -f _built-conf ]; then # configure once (for faster debugging purposes) | |
1624 | rm -f Makefile.{fcgi,cgi,cli,apxs{1,2}} # now remove Makefile copies | |
1625 | %{__libtoolize} | |
1626 | %{__aclocal} | |
1627 | ./buildconf --force | |
1628 | touch _built-conf | |
1629 | fi | |
1630 | export PROG_SENDMAIL="/usr/lib/sendmail" | |
1631 | ||
1632 | sapis=" | |
1633 | %if %{with fcgi} | |
1634 | fcgi | |
1635 | %endif | |
1636 | cgi cli | |
1637 | %if %{with apache1} | |
1638 | apxs1 | |
1639 | %endif | |
1640 | %if %{with apache2} | |
1641 | apxs2 | |
1642 | %endif | |
1643 | " | |
1644 | for sapi in $sapis; do | |
1645 | [ -f Makefile.$sapi ] && continue # skip if already configured (for faster debugging purposes) | |
1646 | ||
1647 | %configure \ | |
1648 | ` | |
1649 | case $sapi in | |
1650 | cgi) | |
1651 | echo --enable-discard-path --enable-force-cgi-redirect | |
1652 | ;; | |
1653 | cli) | |
1654 | echo --disable-cgi | |
1655 | ;; | |
1656 | fcgi) | |
1657 | echo --enable-fastcgi --with-fastcgi=/usr --enable-force-cgi-redirect | |
1658 | ;; | |
1659 | apxs1) | |
1660 | ver=%(rpm -q --qf '%%{version}' apache1-apxs) | |
1661 | echo --with-apxs=%{apxs1} --with-apache-version=$ver | |
1662 | ;; | |
1663 | apxs2) | |
1664 | ver=%(rpm -q --qf '%%{version}' apache-apxs) | |
1665 | echo --with-apxs2=%{apxs2} --with-apache-version=$ver | |
1666 | ;; | |
1667 | esac | |
1668 | ` \ | |
1669 | %if "%{!?configure_cache:0}%{?configure_cache}" == "0" | |
1670 | --cache-file=config.cache \ | |
1671 | %endif | |
1672 | --with-libdir=%{_lib} \ | |
1673 | --with-config-file-path=%{php_sysconfdir} \ | |
1674 | --with-config-file-scan-dir=%{php_sysconfdir}/conf.d \ | |
1675 | --with-exec-dir=%{_bindir} \ | |
1676 | --%{!?debug:dis}%{?debug:en}able-debug \ | |
1677 | %{?with_zts:--enable-maintainer-zts} \ | |
1678 | --enable-inline-optimization \ | |
1679 | --enable-memory-limit \ | |
1680 | --enable-bcmath=shared \ | |
1681 | --enable-calendar=shared \ | |
1682 | --enable-ctype=shared \ | |
1683 | --enable-dba=shared \ | |
1684 | --with-inifile \ | |
1685 | --with-flatfile \ | |
1686 | --enable-dom=shared \ | |
1687 | --enable-exif=shared \ | |
1688 | --enable-ftp=shared \ | |
1689 | --enable-gd-native-ttf \ | |
1690 | --enable-gd-jus-conf \ | |
1691 | --enable-libxml \ | |
1692 | --enable-magic-quotes \ | |
1693 | --enable-mbstring=shared,all \ | |
1694 | --enable-mbregex \ | |
1695 | --enable-pcntl=shared \ | |
1696 | --enable-pdo=shared \ | |
1697 | --enable-json=shared \ | |
1698 | --enable-hash=shared \ | |
1699 | --enable-xmlwriter=shared \ | |
1700 | %if %{with mssql} || %{with sybase} || %{with sybase_ct} | |
1701 | --with-pdo-dblib=shared \ | |
1702 | %endif | |
1703 | %if %{with interbase} && !%{with interbase_inst} | |
1704 | --with-pdo-firebird=shared,/usr \ | |
1705 | %endif | |
1706 | --with-pdo-mysql=shared \ | |
1707 | %{?with_oci8:--with-pdo-oci=shared} \ | |
1708 | %{?with_odbc:--with-pdo-odbc=shared,unixODBC,/usr} \ | |
1709 | %{?with_pgsql:--with-pdo-pgsql=shared} \ | |
1710 | %{?with_sqlite:--with-pdo-sqlite=shared,/usr} \ | |
1711 | --enable-posix=shared \ | |
1712 | --enable-reflection \ | |
1713 | --enable-session \ | |
1714 | --enable-shared \ | |
1715 | --enable-shmop=shared \ | |
1716 | --enable-simplexml \ | |
1717 | --enable-sysvmsg=shared \ | |
1718 | --enable-sysvsem=shared \ | |
1719 | --enable-sysvshm=shared \ | |
1720 | --enable-track-vars \ | |
1721 | --enable-trans-sid \ | |
1722 | --enable-safe-mode \ | |
1723 | --enable-soap=shared \ | |
1724 | --enable-sockets=shared \ | |
1725 | --enable-tokenizer=shared \ | |
1726 | --enable-ucd-snmp-hack \ | |
1727 | %{?with_wddx:--enable-wddx=shared} \ | |
1728 | --enable-xml=shared \ | |
1729 | --enable-xmlreader=shared \ | |
1730 | --with-bz2=shared \ | |
1731 | %{!?with_curl:--without-curl}%{?with_curl:--with-curl=shared} \ | |
1732 | --with-db4 \ | |
1733 | --enable-dbase=shared \ | |
1734 | %if %{with xmlrpc} | |
1735 | --with-expat-dir=shared,/usr \ | |
1736 | %else | |
1737 | --without-expat-dir \ | |
1738 | %endif | |
1739 | %{?with_fdf:--with-fdftk=shared} \ | |
1740 | --with-iconv=shared \ | |
1741 | --with-freetype-dir=shared \ | |
1742 | --with-gettext=shared \ | |
1743 | --with-gd=shared,/usr \ | |
1744 | --with-gdbm \ | |
1745 | --with-gmp=shared \ | |
1746 | %{?with_imap:--with-imap=shared --with-imap-ssl} \ | |
1747 | %{?with_interbase:--with-interbase=shared%{!?with_interbase_inst:,/usr}} \ | |
1748 | --with-jpeg-dir=/usr \ | |
1749 | %{?with_ldap:--with-ldap=shared --with-ldap-sasl} \ | |
1750 | --with-mcrypt=shared \ | |
1751 | %{?with_mhash:--with-mhash=shared} \ | |
1752 | %{?with_mime_magic:--with-mime-magic=shared,/usr/share/file/magic.mime}%{!?with_mime_magic:--disable-mime-magic} \ | |
1753 | %{?with_ming:--with-ming=shared} \ | |
1754 | %{?with_mm:--with-mm} \ | |
1755 | %{?with_mssql:--with-mssql=shared} \ | |
1756 | --with-mysql=shared,/usr \ | |
1757 | --with-mysql-sock=/var/lib/mysql/mysql.sock \ | |
1758 | %{?with_mysqli:--with-mysqli=shared} \ | |
1759 | --with-ncurses=shared \ | |
1760 | %{?with_oci8:--with-oci8=shared} \ | |
1761 | %{?with_openssl:--with-openssl=shared} \ | |
1762 | --with-kerberos \ | |
1763 | %{!?with_pcre:--without-pcre-regex}%{?with_pcre:--with-pcre-regex=/usr} \ | |
1764 | %{!?with_filter:--disable-filter}%{?with_filter:--enable-filter=shared} \ | |
1765 | --with-pear=%{php_pear_dir} \ | |
1766 | %{!?with_pgsql:--without-pgsql}%{?with_pgsql:--with-pgsql=shared,/usr} \ | |
1767 | --with-png-dir=/usr \ | |
1768 | %{?with_pspell:--with-pspell=shared} \ | |
1769 | --with-readline=shared \ | |
1770 | %{?with_recode:--with-recode=shared} \ | |
1771 | --with-regex=php \ | |
1772 | --without-sablot-js \ | |
1773 | %{?with_snmp:--with-snmp=shared} \ | |
1774 | %{?with_sybase:--with-sybase=shared,/usr} \ | |
1775 | %{?with_sybase_ct:--with-sybase-ct=shared,/usr} \ | |
1776 | %{?with_sqlite:--with-sqlite=shared,/usr --enable-sqlite-utf8} \ | |
1777 | --with-t1lib=shared \ | |
1778 | %{?with_tidy:--with-tidy=shared} \ | |
1779 | --with-tiff-dir=/usr \ | |
1780 | %{?with_odbc:--with-unixODBC=shared,/usr} \ | |
1781 | %{!?with_xmlrpc:--without-xmlrpc}%{?with_xmlrpc:--with-xmlrpc=shared,/usr} \ | |
1782 | --with-xsl=shared \ | |
1783 | --with-zlib=shared \ | |
1784 | --with-zlib-dir=shared,/usr \ | |
1785 | --enable-zip=shared,/usr \ | |
1786 | ||
1787 | cp -f Makefile Makefile.$sapi | |
1788 | cp -f main/php_config.h php_config.h.$sapi | |
1789 | done | |
1790 | ||
1791 | # must make this first, so modules can link against it. | |
1792 | %{__make} libphp_common.la | |
1793 | %{__make} build-modules | |
1794 | ||
1795 | %if %{with apache1} | |
1796 | %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache/libphp5.la -f Makefile.apxs1 | |
1797 | %endif | |
1798 | ||
1799 | %if %{with apache2} | |
1800 | %{__make} libtool-sapi LIBTOOL_SAPI=sapi/apache2handler/libphp5.la -f Makefile.apxs2 | |
1801 | %endif | |
1802 | ||
1803 | # FCGI | |
1804 | %if %{with fcgi} | |
1805 | cp -af php_config.h.fcgi main/php_config.h | |
1806 | %{__make} sapi/cgi/php -f Makefile.fcgi LDFLAGS=-lpthread | |
1807 | cp -r sapi/cgi sapi/fcgi | |
1808 | rm -rf sapi/cgi/.libs sapi/cgi/*.lo | |
1809 | %endif | |
1810 | ||
1811 | # CGI | |
1812 | cp -af php_config.h.cgi main/php_config.h | |
1813 | %{__make} sapi/cgi/php -f Makefile.cgi LDFLAGS=-lpthread | |
1814 | ||
1815 | # CLI | |
1816 | cp -af php_config.h.cli main/php_config.h | |
1817 | %{__make} sapi/cli/php -f Makefile.cli LDFLAGS=-lpthread | |
1818 | ||
1819 | %install | |
1820 | rm -rf $RPM_BUILD_ROOT | |
1821 | install -d $RPM_BUILD_ROOT{%{_libdir}/{php,apache{,1}},%{php_sysconfdir}/{apache,cgi}} \ | |
1822 | $RPM_BUILD_ROOT/home/services/{httpd,apache}/icons \ | |
1823 | $RPM_BUILD_ROOT{%{_sbindir},%{_bindir}} \ | |
1824 | $RPM_BUILD_ROOT/etc/{apache/conf.d,httpd/httpd.conf} \ | |
1825 | $RPM_BUILD_ROOT%{_mandir}/man1 \ | |
1826 | ||
1827 | # install the apache modules' files | |
1828 | %{__make} install-headers install-build install-modules install-programs \ | |
1829 | INSTALL_ROOT=$RPM_BUILD_ROOT | |
1830 | ||
1831 | # install apache1 DSO module | |
1832 | %if %{with apache1} | |
1833 | libtool --silent --mode=install install sapi/apache/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache1 | |
1834 | %endif | |
1835 | ||
1836 | # install apache2 DSO module | |
1837 | %if %{with apache2} | |
1838 | libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUILD_ROOT%{_libdir}/apache | |
1839 | %endif | |
1840 | ||
1841 | libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir} | |
1842 | # fix install paths, avoid evil rpaths | |
1843 | sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la | |
1844 | # better solution? | |
1845 | sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4 | |
1846 | ||
1847 | # install CGI | |
1848 | libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi | |
1849 | ||
1850 | # install FCGI | |
1851 | %if %{with fcgi} | |
1852 | libtool --silent --mode=install install sapi/fcgi/php $RPM_BUILD_ROOT%{_bindir}/php.fcgi | |
1853 | %endif | |
1854 | ||
1855 | # install CLI | |
1856 | libtool --silent --mode=install install sapi/cli/php $RPM_BUILD_ROOT%{_bindir}/php.cli | |
1857 | install sapi/cli/php.1 $RPM_BUILD_ROOT%{_mandir}/man1/php.1 | |
1858 | echo ".so php.1" >$RPM_BUILD_ROOT%{_mandir}/man1/php.cli.1 | |
1859 | ||
1860 | ln -sf php.cli $RPM_BUILD_ROOT%{_bindir}/php | |
1861 | ||
1862 | sed -e 's#%{_prefix}/lib/php#%{_libdir}/php#g' php.ini > $RPM_BUILD_ROOT%{php_sysconfdir}/php.ini | |
1863 | %if %{with fcgi} | |
1864 | install %{SOURCE4} $RPM_BUILD_ROOT%{php_sysconfdir}/php-cgi-fcgi.ini | |
1865 | %endif | |
1866 | install %{SOURCE5} $RPM_BUILD_ROOT%{php_sysconfdir}/php-cgi.ini | |
1867 | install %{SOURCE7} $RPM_BUILD_ROOT%{php_sysconfdir}/php-cli.ini | |
1868 | install %{SOURCE9} $RPM_BUILD_ROOT%{php_sysconfdir}/browscap.ini | |
1869 | ||
1870 | %if %{with apache1} | |
1871 | install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/apache/icons | |
1872 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/apache/conf.d/70_mod_php.conf | |
1873 | install %{SOURCE6} $RPM_BUILD_ROOT%{php_sysconfdir}/php-apache.ini | |
1874 | rm -f $RPM_BUILD_ROOT%{_libdir}/apache1/libphp5.la | |
1875 | %endif | |
1876 | ||
1877 | %if %{with apache2} | |
1878 | install %{SOURCE2} php.gif $RPM_BUILD_ROOT/home/services/httpd/icons | |
1879 | install %{SOURCE3} $RPM_BUILD_ROOT/etc/httpd/httpd.conf/70_mod_php.conf | |
1880 | install %{SOURCE6} $RPM_BUILD_ROOT%{php_sysconfdir}/php-apache2handler.ini | |
1881 | rm -f $RPM_BUILD_ROOT%{_libdir}/apache/libphp5.la | |
1882 | %endif | |
1883 | ||
1884 | cp -f Zend/LICENSE{,.Zend} | |
1885 | ||
1886 | # Generate stub .ini files for each subpackage | |
1887 | install -d $RPM_BUILD_ROOT%{php_sysconfdir}/conf.d | |
1888 | for so in modules/*.so; do | |
1889 | mod=$(basename $so .so) | |
1890 | conf="%{php_sysconfdir}/conf.d/${mod}.ini" | |
1891 | # xml needs to be loaded before wddx | |
1892 | [ "$mod" = "wddx" ] && conf="%{php_sysconfdir}/conf.d/xml_${mod}.ini" | |
1893 | cat > $RPM_BUILD_ROOT${conf} <<EOF | |
1894 | ; Enable ${mod} extension module | |
1895 | extension=${mod}.so | |
1896 | EOF | |
1897 | done | |
1898 | ||
1899 | # per SAPI ini directories | |
1900 | install -d $RPM_BUILD_ROOT%{php_sysconfdir}/{cgi,cli,cgi-fcgi,apache,apache2handler}.d | |
1901 | ||
1902 | # for CLI SAPI only | |
1903 | mv $RPM_BUILD_ROOT%{php_sysconfdir}/{conf.d/{ncurses,pcntl,readline}.ini,cli.d} | |
1904 | ||
1905 | # use system automake and {lib,sh}tool | |
1906 | ln -snf /usr/share/automake/config.{guess,sub} $RPM_BUILD_ROOT%{_libdir}/php/build | |
1907 | ln -snf %{_aclocaldir}/libtool.m4 $RPM_BUILD_ROOT%{_libdir}/php/build | |
1908 | ln -snf %{_datadir}/libtool/ltmain.sh $RPM_BUILD_ROOT%{_libdir}/php/build | |
1909 | ln -snf %{_bindir}/shtool $RPM_BUILD_ROOT%{_libdir}/php/build | |
1910 | ||
1911 | # as a result of ext/pcre/pcrelib removal in %%prep, ext/pcre/php_pcre.h | |
1912 | # isn't installed by install-headers make target, we do it manually here. | |
1913 | # this header file is required by e.g. filter PECL extension | |
1914 | install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pcre.h | |
1915 | # for php-pecl-mailparse | |
1916 | install -d $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring | |
1917 | cp -a ext/mbstring/libmbfl/mbfl/*.h $RPM_BUILD_ROOT%{_includedir}/php/ext/mbstring | |
1918 | ||
1919 | %clean | |
1920 | rm -rf $RPM_BUILD_ROOT | |
1921 | ||
1922 | %post -n apache1-mod_php | |
1923 | if [ "$1" = "1" ]; then | |
1924 | %service -q apache restart | |
1925 | fi | |
1926 | ||
1927 | %postun -n apache1-mod_php | |
1928 | if [ "$1" = "0" ]; then | |
1929 | %service -q apache restart | |
1930 | fi | |
1931 | ||
1932 | %post -n apache-mod_php | |
1933 | if [ "$1" = "1" ]; then | |
1934 | %service -q httpd restart | |
1935 | fi | |
1936 | ||
1937 | %postun -n apache-mod_php | |
1938 | if [ "$1" = "0" ]; then | |
1939 | %service -q httpd restart | |
1940 | fi | |
1941 | ||
1942 | %post common -p /sbin/ldconfig | |
1943 | %postun common -p /sbin/ldconfig | |
1944 | ||
1945 | %posttrans common | |
1946 | # minimizing apache restarts logics. we restart webserver: | |
1947 | # | |
1948 | # 1. at the end of transaction. (posttrans, feature from rpm 4.4.2) | |
1949 | # 2. first install of extension (post: $1 = 1) | |
1950 | # 2. uninstall of extension (postun: $1 == 0) | |
1951 | # | |
1952 | # the strict internal deps between extensions (and apache modules) and | |
1953 | # common package are very important for all this to work. | |
1954 | ||
1955 | # restart webserver at the end of transaction | |
1956 | [ ! -f /etc/apache/conf.d/??_mod_php.conf ] || %service -q apache restart | |
1957 | [ ! -f /etc/httpd/httpd.conf/??_mod_php.conf ] || %service -q httpd restart | |
1958 | ||
1959 | %if %{with apache1} | |
1960 | %triggerpostun -n apache1-mod_php -- php < 4:5.0.4-9.11 | |
1961 | sed -i -e ' | |
1962 | /^AddType application\/x-httpd-php \.php/s,^,#, | |
1963 | /^\(Add\|Load\)Module.*php5\.\(so\|c\)/d | |
1964 | ' /etc/apache/apache.conf | |
1965 | %service -q apache restart | |
1966 | %endif | |
1967 | ||
1968 | %if %{with apache2} | |
1969 | %triggerpostun -n apache-mod_php -- php < 4:5.0.4-7.1, php < 4:5.0.4-7.1 | |
1970 | # for fixed php-SAPI.ini, the poor php-apache.ini was never read for apache2 | |
1971 | if [ -f %{php_sysconfdir}/php-apache.ini.rpmsave ]; then | |
1972 | cp -f %{php_sysconfdir}/php-apache2handler.ini{,.rpmnew} | |
1973 | mv -f %{php_sysconfdir}/php-apache.ini.rpmsave %{php_sysconfdir}/php-apache2handler.ini | |
1974 | fi | |
1975 | %endif | |
1976 | ||
1977 | # common macros called at extension post/postun scriptlet | |
1978 | %define extension_scripts() \ | |
1979 | %post %1 \ | |
1980 | if [ "$1" = "1" ]; then \ | |
1981 | %php_webserver_restart \ | |
1982 | fi \ | |
1983 | \ | |
1984 | %postun %1 \ | |
1985 | if [ "$1" = "0" ]; then \ | |
1986 | %php_webserver_restart \ | |
1987 | fi | |
1988 | %{nil} | |
1989 | ||
1990 | # extension scripts defines | |
1991 | %extension_scripts bcmath | |
1992 | %extension_scripts bzip2 | |
1993 | %extension_scripts calendar | |
1994 | %extension_scripts ctype | |
1995 | %extension_scripts curl | |
1996 | %extension_scripts dba | |
1997 | %extension_scripts dbase | |
1998 | %extension_scripts dom | |
1999 | %extension_scripts exif | |
2000 | %extension_scripts fdf | |
2001 | %extension_scripts filter | |
2002 | %extension_scripts ftp | |
2003 | %extension_scripts gd | |
2004 | %extension_scripts gettext | |
2005 | %extension_scripts gmp | |
2006 | %extension_scripts hash | |
2007 | %extension_scripts iconv | |
2008 | %extension_scripts imap | |
2009 | %extension_scripts interbase | |
2010 | %extension_scripts json | |
2011 | %extension_scripts ldap | |
2012 | %extension_scripts mbstring | |
2013 | %extension_scripts mcrypt | |
2014 | %extension_scripts mhash | |
2015 | %extension_scripts mime_magic | |
2016 | %extension_scripts ming | |
2017 | %extension_scripts mssql | |
2018 | %extension_scripts mysql | |
2019 | %extension_scripts mysqli | |
2020 | %extension_scripts oci8 | |
2021 | %extension_scripts odbc | |
2022 | %extension_scripts openssl | |
2023 | %extension_scripts pdo-dblib | |
2024 | %extension_scripts pdo-firebird | |
2025 | %extension_scripts pdo-mysql | |
2026 | %extension_scripts pdo-odbc | |
2027 | %extension_scripts pdo-pgsql | |
2028 | %extension_scripts pdo-sqlite | |
2029 | %extension_scripts pgsql | |
2030 | %extension_scripts posix | |
2031 | %extension_scripts pspell | |
2032 | %extension_scripts recode | |
2033 | %extension_scripts shmop | |
2034 | %extension_scripts snmp | |
2035 | %extension_scripts soap | |
2036 | %extension_scripts sockets | |
2037 | %extension_scripts sqlite | |
2038 | %extension_scripts sybase | |
2039 | %extension_scripts sybase-ct | |
2040 | %extension_scripts sysvmsg | |
2041 | %extension_scripts sysvsem | |
2042 | %extension_scripts sysvshm | |
2043 | %extension_scripts tidy | |
2044 | %extension_scripts tokenizer | |
2045 | %extension_scripts wddx | |
2046 | %extension_scripts xml | |
2047 | %extension_scripts xmlreader | |
2048 | %extension_scripts xmlrpc | |
2049 | %extension_scripts xmlwriter | |
2050 | %extension_scripts xsl | |
2051 | %extension_scripts zip | |
2052 | %extension_scripts zlib | |
2053 | ||
2054 | %triggerun bcmath -- %{name}-bcmath < 4:5.0.4-9.1 | |
2055 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bcmath\.so/d' %{php_sysconfdir}/php.ini | |
2056 | ||
2057 | %triggerun bzip2 -- %{name}-bzip2 < 4:5.0.4-9.1 | |
2058 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*bzip2\.so/d' %{php_sysconfdir}/php.ini | |
2059 | ||
2060 | %triggerun calendar -- %{name}-calendar < 4:5.0.4-9.1 | |
2061 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*calendar\.so/d' %{php_sysconfdir}/php.ini | |
2062 | ||
2063 | %triggerun ctype -- %{name}-ctype < 4:5.0.4-9.1 | |
2064 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ctype\.so/d' %{php_sysconfdir}/php.ini | |
2065 | ||
2066 | %triggerun curl -- %{name}-curl < 4:5.0.4-9.1 | |
2067 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*curl\.so/d' %{php_sysconfdir}/php.ini | |
2068 | ||
2069 | %triggerun dba -- %{name}-dba < 4:5.0.4-9.1 | |
2070 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dba\.so/d' %{php_sysconfdir}/php.ini | |
2071 | ||
2072 | %triggerun dbase -- %{name}-dbase < 4:5.0.4-9.1 | |
2073 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dbase\.so/d' %{php_sysconfdir}/php.ini | |
2074 | ||
2075 | %triggerun dom -- %{name}-dom < 4:5.0.4-9.1 | |
2076 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*dom\.so/d' %{php_sysconfdir}/php.ini | |
2077 | ||
2078 | %triggerun exif -- %{name}-exif < 4:5.0.4-9.1 | |
2079 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*exif\.so/d' %{php_sysconfdir}/php.ini | |
2080 | ||
2081 | %triggerun fdf -- %{name}-fdf < 4:5.0.4-9.1 | |
2082 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*fdf\.so/d' %{php_sysconfdir}/php.ini | |
2083 | ||
2084 | %triggerun ftp -- %{name}-ftp < 4:5.0.4-9.1 | |
2085 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ftp\.so/d' %{php_sysconfdir}/php.ini | |
2086 | ||
2087 | %triggerun gd -- %{name}-gd < 4:5.0.4-9.1 | |
2088 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gd\.so/d' %{php_sysconfdir}/php.ini | |
2089 | ||
2090 | %triggerun gettext -- %{name}-gettext < 4:5.0.4-9.1 | |
2091 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gettext\.so/d' %{php_sysconfdir}/php.ini | |
2092 | ||
2093 | %triggerun gmp -- %{name}-gmp < 4:5.0.4-9.1 | |
2094 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*gmp\.so/d' %{php_sysconfdir}/php.ini | |
2095 | ||
2096 | %triggerun iconv -- %{name}-iconv < 4:5.0.4-9.1 | |
2097 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*iconv\.so/d' %{php_sysconfdir}/php.ini | |
2098 | ||
2099 | %triggerun imap -- %{name}-imap < 4:5.0.4-9.1 | |
2100 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*imap\.so/d' %{php_sysconfdir}/php.ini | |
2101 | ||
2102 | %triggerun interbase -- %{name}-interbase < 4:5.0.4-9.1 | |
2103 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*interbase\.so/d' %{php_sysconfdir}/php.ini | |
2104 | ||
2105 | %triggerun ldap -- %{name}-ldap < 4:5.0.4-9.1 | |
2106 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ldap\.so/d' %{php_sysconfdir}/php.ini | |
2107 | ||
2108 | %triggerun mbstring -- %{name}-mbstring < 4:5.0.4-9.1 | |
2109 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mbstring\.so/d' %{php_sysconfdir}/php.ini | |
2110 | ||
2111 | %triggerun mcrypt -- %{name}-mcrypt < 4:5.0.4-9.1 | |
2112 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mcrypt\.so/d' %{php_sysconfdir}/php.ini | |
2113 | ||
2114 | %triggerun mhash -- %{name}-mhash < 4:5.0.4-9.1 | |
2115 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mhash\.so/d' %{php_sysconfdir}/php.ini | |
2116 | ||
2117 | %triggerun mime_magic -- %{name}-mime_magic < 4:5.0.4-9.1 | |
2118 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mime_magic\.so/d' %{php_sysconfdir}/php.ini | |
2119 | ||
2120 | %triggerun ming -- %{name}-ming < 4:5.0.4-9.1 | |
2121 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ming\.so/d' %{php_sysconfdir}/php.ini | |
2122 | ||
2123 | %triggerun mssql -- %{name}-mssql < 4:5.0.4-9.1 | |
2124 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mssql\.so/d' %{php_sysconfdir}/php.ini | |
2125 | ||
2126 | %triggerun mysql -- %{name}-mysql < 4:5.0.4-9.1 | |
2127 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysql\.so/d' %{php_sysconfdir}/php.ini | |
2128 | ||
2129 | %triggerun ncurses -- %{name}-ncurses < 4:5.1.2-9.5 | |
2130 | if [ -f %{php_sysconfdir}/php-cgi.ini ]; then | |
2131 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{php_sysconfdir}/php-cgi.ini | |
2132 | fi | |
2133 | if [ -f %{php_sysconfdir}/php-cli.ini ]; then | |
2134 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*ncurses\.so/d' %{php_sysconfdir}/php-cli.ini | |
2135 | fi | |
2136 | ||
2137 | %triggerun mysqli -- %{name}-mysqli < 4:5.0.4-9.1 | |
2138 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*mysqli\.so/d' %{php_sysconfdir}/php.ini | |
2139 | ||
2140 | %triggerun oci8 -- %{name}-oci8 < 4:5.0.4-9.1 | |
2141 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*oci8\.so/d' %{php_sysconfdir}/php.ini | |
2142 | ||
2143 | %triggerun odbc -- %{name}-odbc < 4:5.0.4-9.1 | |
2144 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*odbc\.so/d' %{php_sysconfdir}/php.ini | |
2145 | ||
2146 | %triggerun openssl -- %{name}-openssl < 4:5.0.4-9.1 | |
2147 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*openssl\.so/d' %{php_sysconfdir}/php.ini | |
2148 | ||
2149 | %triggerun pcntl -- %{name}-pcntl < 4:5.1.2-9.5 | |
2150 | if [ -f %{php_sysconfdir}/php-cgi.ini ]; then | |
2151 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{php_sysconfdir}/php-cgi.ini | |
2152 | fi | |
2153 | if [ -f %{php_sysconfdir}/php-cli.ini ]; then | |
2154 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pcntl\.so/d' %{php_sysconfdir}/php-cli.ini | |
2155 | fi | |
2156 | ||
2157 | %triggerun pgsql -- %{name}-pgsql < 4:5.0.4-9.1 | |
2158 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pgsql\.so/d' %{php_sysconfdir}/php.ini | |
2159 | ||
2160 | %triggerun posix -- %{name}-posix < 4:5.0.4-9.1 | |
2161 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*posix\.so/d' %{php_sysconfdir}/php.ini | |
2162 | ||
2163 | %triggerun pspell -- %{name}-pspell < 4:5.0.4-9.1 | |
2164 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*pspell\.so/d' %{php_sysconfdir}/php.ini | |
2165 | ||
2166 | %triggerun readline -- %{name}-readline < 4:5.1.2-9.5 | |
2167 | if [ -f %{php_sysconfdir}/php-cgi.ini ]; then | |
2168 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{php_sysconfdir}/php-cgi.ini | |
2169 | fi | |
2170 | if [ -f %{php_sysconfdir}/php-cli.ini ]; then | |
2171 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*readline\.so/d' %{php_sysconfdir}/php-cli.ini | |
2172 | fi | |
2173 | ||
2174 | %triggerun recode -- %{name}-recode < 4:5.0.4-9.1 | |
2175 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*recode\.so/d' %{php_sysconfdir}/php.ini | |
2176 | ||
2177 | %triggerun shmop -- %{name}-shmop < 4:5.0.4-9.1 | |
2178 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*shmop\.so/d' %{php_sysconfdir}/php.ini | |
2179 | ||
2180 | %triggerun snmp -- %{name}-snmp < 4:5.0.4-9.1 | |
2181 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*snmp\.so/d' %{php_sysconfdir}/php.ini | |
2182 | ||
2183 | %triggerun soap -- %{name}-soap < 4:5.0.4-9.1 | |
2184 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*soap\.so/d' %{php_sysconfdir}/php.ini | |
2185 | ||
2186 | %triggerun sockets -- %{name}-sockets < 4:5.0.4-9.1 | |
2187 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sockets\.so/d' %{php_sysconfdir}/php.ini | |
2188 | ||
2189 | %triggerun sqlite -- %{name}-sqlite < 4:5.0.4-9.1 | |
2190 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sqlite\.so/d' %{php_sysconfdir}/php.ini | |
2191 | ||
2192 | %triggerun sybase -- %{name}-sybase < 4:5.0.4-9.1 | |
2193 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase\.so/d' %{php_sysconfdir}/php.ini | |
2194 | ||
2195 | %triggerun sybase-ct -- %{name}-sybase-ct < 4:5.0.4-9.1 | |
2196 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sybase-ct\.so/d' %{php_sysconfdir}/php.ini | |
2197 | ||
2198 | %triggerun sysvmsg -- %{name}-sysvmsg < 4:5.0.4-9.1 | |
2199 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvmsg\.so/d' %{php_sysconfdir}/php.ini | |
2200 | ||
2201 | %triggerun sysvsem -- %{name}-sysvsem < 4:5.0.4-9.1 | |
2202 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvsem\.so/d' %{php_sysconfdir}/php.ini | |
2203 | ||
2204 | %triggerun sysvshm -- %{name}-sysvshm < 4:5.0.4-9.1 | |
2205 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*sysvshm\.so/d' %{php_sysconfdir}/php.ini | |
2206 | ||
2207 | %triggerun tidy -- %{name}-tidy < 4:5.0.4-9.1 | |
2208 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*tidy\.so/d' %{php_sysconfdir}/php.ini | |
2209 | ||
2210 | %triggerun wddx -- %{name}-wddx < 4:5.0.4-9.1 | |
2211 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*wddx\.so/d' %{php_sysconfdir}/php.ini | |
2212 | ||
2213 | %triggerun xml -- %{name}-xml < 4:5.0.4-9.1 | |
2214 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xml\.so/d' %{php_sysconfdir}/php.ini | |
2215 | ||
2216 | %triggerun xmlrpc -- %{name}-xmlrpc < 4:5.0.4-9.1 | |
2217 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xmlrpc\.so/d' %{php_sysconfdir}/php.ini | |
2218 | ||
2219 | %triggerun xsl -- %{name}-xsl < 4:5.0.4-9.1 | |
2220 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*xsl\.so/d' %{php_sysconfdir}/php.ini | |
2221 | ||
2222 | %triggerun zlib -- %{name}-zlib < 4:5.0.4-9.1 | |
2223 | %{__sed} -i -e '/^extension[[:space:]]*=[[:space:]]*zlib\.so/d' %{php_sysconfdir}/php.ini | |
2224 | ||
2225 | %if %{with apache1} | |
2226 | %files -n apache1-mod_php | |
2227 | %defattr(644,root,root,755) | |
2228 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/apache/conf.d/*_mod_php.conf | |
2229 | %dir %{php_sysconfdir}/apache.d | |
2230 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/php-apache.ini | |
2231 | %attr(755,root,root) %{_libdir}/apache1/libphp5.so | |
2232 | /home/services/apache/icons/* | |
2233 | %endif | |
2234 | ||
2235 | %if %{with apache2} | |
2236 | %files -n apache-mod_php | |
2237 | %defattr(644,root,root,755) | |
2238 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/httpd/httpd.conf/*_mod_php.conf | |
2239 | %dir %{php_sysconfdir}/apache2handler.d | |
2240 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/php-apache2handler.ini | |
2241 | %attr(755,root,root) %{_libdir}/apache/libphp5.so | |
2242 | /home/services/httpd/icons/* | |
2243 | %endif | |
2244 | ||
2245 | %if %{with fcgi} | |
2246 | %files fcgi | |
2247 | %defattr(644,root,root,755) | |
2248 | %doc sapi/cgi/README.FastCGI | |
2249 | %dir %{php_sysconfdir}/cgi-fcgi.d | |
2250 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/php-cgi-fcgi.ini | |
2251 | %attr(755,root,root) %{_bindir}/php.fcgi | |
2252 | %endif | |
2253 | ||
2254 | %files cgi | |
2255 | %defattr(644,root,root,755) | |
2256 | %dir %{php_sysconfdir}/cgi.d | |
2257 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/php-cgi.ini | |
2258 | %attr(755,root,root) %{_bindir}/php.cgi | |
2259 | ||
2260 | %files cli | |
2261 | %defattr(644,root,root,755) | |
2262 | %dir %{php_sysconfdir}/cli.d | |
2263 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/php-cli.ini | |
2264 | %attr(755,root,root) %{_bindir}/php.cli | |
2265 | %{_mandir}/man1/php.1* | |
2266 | %{_mandir}/man1/php.cli.1* | |
2267 | ||
2268 | %files program | |
2269 | %defattr(644,root,root,755) | |
2270 | %attr(755,root,root) %{_bindir}/php | |
2271 | ||
2272 | %files common | |
2273 | %defattr(644,root,root,755) | |
2274 | %doc php.ini-* | |
2275 | %doc CREDITS Zend/ZEND_CHANGES | |
2276 | %doc LICENSE Zend/LICENSE.Zend EXTENSIONS NEWS TODO* | |
2277 | %doc README.PHP4-TO-PHP5-THIN-CHANGES README.UPDATE_5_2 | |
2278 | ||
2279 | %dir %{php_sysconfdir} | |
2280 | %dir %{php_sysconfdir}/conf.d | |
2281 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/php.ini | |
2282 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/browscap.ini | |
2283 | %attr(755,root,root) %{_libdir}/libphp_common-*.so | |
2284 | %dir %{php_extensiondir} | |
2285 | ||
2286 | %doc ext/session/mod_files.sh | |
2287 | ||
2288 | %files devel | |
2289 | %defattr(644,root,root,755) | |
2290 | %doc README.UNIX-BUILD-SYSTEM | |
2291 | %doc README.EXT_SKEL README.SELF-CONTAINED-EXTENSIONS | |
2292 | %doc CODING_STANDARDS README.EXTENSIONS README.PARAMETER_PARSING_API README.STREAMS | |
2293 | %doc README.SUBMITTING_PATCH README.TESTING README.TESTING2 | |
2294 | %attr(755,root,root) %{_bindir}/phpize | |
2295 | %attr(755,root,root) %{_bindir}/php-config | |
2296 | %attr(755,root,root) %{_libdir}/libphp_common.so | |
2297 | %{_libdir}/libphp_common.la | |
2298 | %{_includedir}/php | |
2299 | %{_libdir}/php/build | |
2300 | %{_mandir}/man1/* | |
2301 | ||
2302 | %files bcmath | |
2303 | %defattr(644,root,root,755) | |
2304 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/bcmath.ini | |
2305 | %attr(755,root,root) %{php_extensiondir}/bcmath.so | |
2306 | ||
2307 | %files bzip2 | |
2308 | %defattr(644,root,root,755) | |
2309 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/bz2.ini | |
2310 | %attr(755,root,root) %{php_extensiondir}/bz2.so | |
2311 | ||
2312 | %files calendar | |
2313 | %defattr(644,root,root,755) | |
2314 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/calendar.ini | |
2315 | %attr(755,root,root) %{php_extensiondir}/calendar.so | |
2316 | ||
2317 | %files ctype | |
2318 | %defattr(644,root,root,755) | |
2319 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/ctype.ini | |
2320 | %attr(755,root,root) %{php_extensiondir}/ctype.so | |
2321 | ||
2322 | %if %{with curl} | |
2323 | %files curl | |
2324 | %defattr(644,root,root,755) | |
2325 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/curl.ini | |
2326 | %attr(755,root,root) %{php_extensiondir}/curl.so | |
2327 | %endif | |
2328 | ||
2329 | %files dba | |
2330 | %defattr(644,root,root,755) | |
2331 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/dba.ini | |
2332 | %attr(755,root,root) %{php_extensiondir}/dba.so | |
2333 | ||
2334 | %files dbase | |
2335 | %defattr(644,root,root,755) | |
2336 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/dbase.ini | |
2337 | %attr(755,root,root) %{php_extensiondir}/dbase.so | |
2338 | ||
2339 | %files dom | |
2340 | %defattr(644,root,root,755) | |
2341 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/dom.ini | |
2342 | %attr(755,root,root) %{php_extensiondir}/dom.so | |
2343 | ||
2344 | %if %{with fdf} | |
2345 | %files fdf | |
2346 | %defattr(644,root,root,755) | |
2347 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/fdf.ini | |
2348 | %attr(755,root,root) %{php_extensiondir}/fdf.so | |
2349 | %endif | |
2350 | ||
2351 | %if %{with filter} | |
2352 | %files filter | |
2353 | %defattr(644,root,root,755) | |
2354 | %doc README.input_filter | |
2355 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/filter.ini | |
2356 | %attr(755,root,root) %{php_extensiondir}/filter.so | |
2357 | %endif | |
2358 | ||
2359 | %files exif | |
2360 | %defattr(644,root,root,755) | |
2361 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/exif.ini | |
2362 | %attr(755,root,root) %{php_extensiondir}/exif.so | |
2363 | ||
2364 | %files ftp | |
2365 | %defattr(644,root,root,755) | |
2366 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/ftp.ini | |
2367 | %attr(755,root,root) %{php_extensiondir}/ftp.so | |
2368 | ||
2369 | %files gd | |
2370 | %defattr(644,root,root,755) | |
2371 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/gd.ini | |
2372 | %attr(755,root,root) %{php_extensiondir}/gd.so | |
2373 | ||
2374 | %files gettext | |
2375 | %defattr(644,root,root,755) | |
2376 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/gettext.ini | |
2377 | %attr(755,root,root) %{php_extensiondir}/gettext.so | |
2378 | ||
2379 | %files gmp | |
2380 | %defattr(644,root,root,755) | |
2381 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/gmp.ini | |
2382 | %attr(755,root,root) %{php_extensiondir}/gmp.so | |
2383 | ||
2384 | %files hash | |
2385 | %defattr(644,root,root,755) | |
2386 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/hash.ini | |
2387 | %attr(755,root,root) %{php_extensiondir}/hash.so | |
2388 | ||
2389 | %files iconv | |
2390 | %defattr(644,root,root,755) | |
2391 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/iconv.ini | |
2392 | %attr(755,root,root) %{php_extensiondir}/iconv.so | |
2393 | ||
2394 | %if %{with imap} | |
2395 | %files imap | |
2396 | %defattr(644,root,root,755) | |
2397 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/imap.ini | |
2398 | %attr(755,root,root) %{php_extensiondir}/imap.so | |
2399 | %endif | |
2400 | ||
2401 | %if %{with interbase} | |
2402 | %files interbase | |
2403 | %defattr(644,root,root,755) | |
2404 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/interbase.ini | |
2405 | %attr(755,root,root) %{php_extensiondir}/interbase.so | |
2406 | %endif | |
2407 | ||
2408 | %files json | |
2409 | %defattr(644,root,root,755) | |
2410 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/json.ini | |
2411 | %attr(755,root,root) %{php_extensiondir}/json.so | |
2412 | ||
2413 | %if %{with ldap} | |
2414 | %files ldap | |
2415 | %defattr(644,root,root,755) | |
2416 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/ldap.ini | |
2417 | %attr(755,root,root) %{php_extensiondir}/ldap.so | |
2418 | %endif | |
2419 | ||
2420 | %files mbstring | |
2421 | %defattr(644,root,root,755) | |
2422 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/mbstring.ini | |
2423 | %attr(755,root,root) %{php_extensiondir}/mbstring.so | |
2424 | ||
2425 | %files mcrypt | |
2426 | %defattr(644,root,root,755) | |
2427 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/mcrypt.ini | |
2428 | %attr(755,root,root) %{php_extensiondir}/mcrypt.so | |
2429 | ||
2430 | %if %{with mhash} | |
2431 | %files mhash | |
2432 | %defattr(644,root,root,755) | |
2433 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/mhash.ini | |
2434 | %attr(755,root,root) %{php_extensiondir}/mhash.so | |
2435 | %endif | |
2436 | ||
2437 | %if %{with mime_magic} | |
2438 | %files mime_magic | |
2439 | %defattr(644,root,root,755) | |
2440 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/mime_magic.ini | |
2441 | %attr(755,root,root) %{php_extensiondir}/mime_magic.so | |
2442 | %endif | |
2443 | ||
2444 | %if %{with ming} | |
2445 | %files ming | |
2446 | %defattr(644,root,root,755) | |
2447 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/ming.ini | |
2448 | %attr(755,root,root) %{php_extensiondir}/ming.so | |
2449 | %endif | |
2450 | ||
2451 | %if %{with mssql} | |
2452 | %files mssql | |
2453 | %defattr(644,root,root,755) | |
2454 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/mssql.ini | |
2455 | %attr(755,root,root) %{php_extensiondir}/mssql.so | |
2456 | %endif | |
2457 | ||
2458 | %files mysql | |
2459 | %defattr(644,root,root,755) | |
2460 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/mysql.ini | |
2461 | %attr(755,root,root) %{php_extensiondir}/mysql.so | |
2462 | ||
2463 | %if %{with mysqli} | |
2464 | %files mysqli | |
2465 | %defattr(644,root,root,755) | |
2466 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/mysqli.ini | |
2467 | %attr(755,root,root) %{php_extensiondir}/mysqli.so | |
2468 | %endif | |
2469 | ||
2470 | %files ncurses | |
2471 | %defattr(644,root,root,755) | |
2472 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/cli.d/ncurses.ini | |
2473 | %attr(755,root,root) %{php_extensiondir}/ncurses.so | |
2474 | ||
2475 | %if %{with oci8} | |
2476 | %files oci8 | |
2477 | %defattr(644,root,root,755) | |
2478 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/oci8.ini | |
2479 | %attr(755,root,root) %{php_extensiondir}/oci8.so | |
2480 | %endif | |
2481 | ||
2482 | %if %{with odbc} | |
2483 | %files odbc | |
2484 | %defattr(644,root,root,755) | |
2485 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/odbc.ini | |
2486 | %attr(755,root,root) %{php_extensiondir}/odbc.so | |
2487 | %endif | |
2488 | ||
2489 | %if %{with openssl} | |
2490 | %files openssl | |
2491 | %defattr(644,root,root,755) | |
2492 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/openssl.ini | |
2493 | %attr(755,root,root) %{php_extensiondir}/openssl.so | |
2494 | %endif | |
2495 | ||
2496 | %files pcntl | |
2497 | %defattr(644,root,root,755) | |
2498 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/cli.d/pcntl.ini | |
2499 | %attr(755,root,root) %{php_extensiondir}/pcntl.so | |
2500 | ||
2501 | %files pdo | |
2502 | %defattr(644,root,root,755) | |
2503 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pdo.ini | |
2504 | %attr(755,root,root) %{php_extensiondir}/pdo.so | |
2505 | ||
2506 | %if %{with mssql} || %{with sybase} || %{with sybase_ct} | |
2507 | %files pdo-dblib | |
2508 | %defattr(644,root,root,755) | |
2509 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pdo_dblib.ini | |
2510 | %attr(755,root,root) %{php_extensiondir}/pdo_dblib.so | |
2511 | %endif | |
2512 | ||
2513 | %if %{with interbase} && !%{with interbase_inst} | |
2514 | %files pdo-firebird | |
2515 | %defattr(644,root,root,755) | |
2516 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pdo_firebird.ini | |
2517 | %attr(755,root,root) %{php_extensiondir}/pdo_firebird.so | |
2518 | %endif | |
2519 | ||
2520 | %files pdo-mysql | |
2521 | %defattr(644,root,root,755) | |
2522 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pdo_mysql.ini | |
2523 | %attr(755,root,root) %{php_extensiondir}/pdo_mysql.so | |
2524 | ||
2525 | %if %{with oci8} | |
2526 | %files pdo-oci | |
2527 | %defattr(644,root,root,755) | |
2528 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pdo_oci.ini | |
2529 | %attr(755,root,root) %{php_extensiondir}/pdo_oci.so | |
2530 | %endif | |
2531 | ||
2532 | %if %{with odbc} | |
2533 | %files pdo-odbc | |
2534 | %defattr(644,root,root,755) | |
2535 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pdo_odbc.ini | |
2536 | %attr(755,root,root) %{php_extensiondir}/pdo_odbc.so | |
2537 | %endif | |
2538 | ||
2539 | %if %{with pgsql} | |
2540 | %files pdo-pgsql | |
2541 | %defattr(644,root,root,755) | |
2542 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pdo_pgsql.ini | |
2543 | %attr(755,root,root) %{php_extensiondir}/pdo_pgsql.so | |
2544 | %endif | |
2545 | ||
2546 | %if %{with sqlite} | |
2547 | %files pdo-sqlite | |
2548 | %defattr(644,root,root,755) | |
2549 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pdo_sqlite.ini | |
2550 | %attr(755,root,root) %{php_extensiondir}/pdo_sqlite.so | |
2551 | %endif | |
2552 | ||
2553 | %if %{with pgsql} | |
2554 | %files pgsql | |
2555 | %defattr(644,root,root,755) | |
2556 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pgsql.ini | |
2557 | %attr(755,root,root) %{php_extensiondir}/pgsql.so | |
2558 | %endif | |
2559 | ||
2560 | %files posix | |
2561 | %defattr(644,root,root,755) | |
2562 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/posix.ini | |
2563 | %attr(755,root,root) %{php_extensiondir}/posix.so | |
2564 | ||
2565 | %if %{with pspell} | |
2566 | %files pspell | |
2567 | %defattr(644,root,root,755) | |
2568 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/pspell.ini | |
2569 | %attr(755,root,root) %{php_extensiondir}/pspell.so | |
2570 | %endif | |
2571 | ||
2572 | %files readline | |
2573 | %defattr(644,root,root,755) | |
2574 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/cli.d/readline.ini | |
2575 | %attr(755,root,root) %{php_extensiondir}/readline.so | |
2576 | ||
2577 | %if %{with recode} | |
2578 | %files recode | |
2579 | %defattr(644,root,root,755) | |
2580 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/recode.ini | |
2581 | %attr(755,root,root) %{php_extensiondir}/recode.so | |
2582 | %endif | |
2583 | ||
2584 | %if 0 | |
2585 | # simplexml is needed by spl, and spl can't be built shared as of now (5.2.0) | |
2586 | # simplexml can be built shared, but SPL startup fails | |
2587 | # we could add R: -simplexml to -common... | |
2588 | %files simplexml | |
2589 | %defattr(644,root,root,755) | |
2590 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/simplexml.ini | |
2591 | %attr(755,root,root) %{php_extensiondir}/simplexml.so | |
2592 | %endif | |
2593 | ||
2594 | %files shmop | |
2595 | %defattr(644,root,root,755) | |
2596 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/shmop.ini | |
2597 | %attr(755,root,root) %{php_extensiondir}/shmop.so | |
2598 | ||
2599 | %if %{with snmp} | |
2600 | %files snmp | |
2601 | %defattr(644,root,root,755) | |
2602 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/snmp.ini | |
2603 | %attr(755,root,root) %{php_extensiondir}/snmp.so | |
2604 | %endif | |
2605 | ||
2606 | %files soap | |
2607 | %defattr(644,root,root,755) | |
2608 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/soap.ini | |
2609 | %attr(755,root,root) %{php_extensiondir}/soap.so | |
2610 | ||
2611 | %files sockets | |
2612 | %defattr(644,root,root,755) | |
2613 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/sockets.ini | |
2614 | %attr(755,root,root) %{php_extensiondir}/sockets.so | |
2615 | ||
2616 | %if %{with sqlite} | |
2617 | %files sqlite | |
2618 | %defattr(644,root,root,755) | |
2619 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/sqlite.ini | |
2620 | %attr(755,root,root) %{php_extensiondir}/sqlite.so | |
2621 | %endif | |
2622 | ||
2623 | %if %{with sybase} | |
2624 | %files sybase | |
2625 | %defattr(644,root,root,755) | |
2626 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/sybase.ini | |
2627 | %attr(755,root,root) %{php_extensiondir}/sybase.so | |
2628 | %endif | |
2629 | ||
2630 | %if %{with sybase_ct} | |
2631 | %files sybase-ct | |
2632 | %defattr(644,root,root,755) | |
2633 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/sybase_ct.ini | |
2634 | %attr(755,root,root) %{php_extensiondir}/sybase_ct.so | |
2635 | %endif | |
2636 | ||
2637 | %files sysvmsg | |
2638 | %defattr(644,root,root,755) | |
2639 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/sysvmsg.ini | |
2640 | %attr(755,root,root) %{php_extensiondir}/sysvmsg.so | |
2641 | ||
2642 | %files sysvsem | |
2643 | %defattr(644,root,root,755) | |
2644 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/sysvsem.ini | |
2645 | %attr(755,root,root) %{php_extensiondir}/sysvsem.so | |
2646 | ||
2647 | %files sysvshm | |
2648 | %defattr(644,root,root,755) | |
2649 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/sysvshm.ini | |
2650 | %attr(755,root,root) %{php_extensiondir}/sysvshm.so | |
2651 | ||
2652 | %if %{with tidy} | |
2653 | %files tidy | |
2654 | %defattr(644,root,root,755) | |
2655 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/tidy.ini | |
2656 | %attr(755,root,root) %{php_extensiondir}/tidy.so | |
2657 | %endif | |
2658 | ||
2659 | %files tokenizer | |
2660 | %defattr(644,root,root,755) | |
2661 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/tokenizer.ini | |
2662 | %attr(755,root,root) %{php_extensiondir}/tokenizer.so | |
2663 | ||
2664 | %if %{with wddx} | |
2665 | %files wddx | |
2666 | %defattr(644,root,root,755) | |
2667 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/*wddx.ini | |
2668 | %attr(755,root,root) %{php_extensiondir}/wddx.so | |
2669 | %endif | |
2670 | ||
2671 | %files xml | |
2672 | %defattr(644,root,root,755) | |
2673 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/xml.ini | |
2674 | %attr(755,root,root) %{php_extensiondir}/xml.so | |
2675 | ||
2676 | %files xmlreader | |
2677 | %defattr(644,root,root,755) | |
2678 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/xmlreader.ini | |
2679 | %attr(755,root,root) %{php_extensiondir}/xmlreader.so | |
2680 | ||
2681 | %if %{with xmlrpc} | |
2682 | %files xmlrpc | |
2683 | %defattr(644,root,root,755) | |
2684 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/xmlrpc.ini | |
2685 | %attr(755,root,root) %{php_extensiondir}/xmlrpc.so | |
2686 | %endif | |
2687 | ||
2688 | %files xmlwriter | |
2689 | %defattr(644,root,root,755) | |
2690 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/xmlwriter.ini | |
2691 | %attr(755,root,root) %{php_extensiondir}/xmlwriter.so | |
2692 | ||
2693 | %files xsl | |
2694 | %defattr(644,root,root,755) | |
2695 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/xsl.ini | |
2696 | %attr(755,root,root) %{php_extensiondir}/xsl.so | |
2697 | ||
2698 | %files zip | |
2699 | %defattr(644,root,root,755) | |
2700 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/zip.ini | |
2701 | %attr(755,root,root) %{php_extensiondir}/zip.so | |
2702 | ||
2703 | %files zlib | |
2704 | %defattr(644,root,root,755) | |
2705 | %config(noreplace) %verify(not md5 mtime size) %{php_sysconfdir}/conf.d/zlib.ini | |
2706 | %attr(755,root,root) %{php_extensiondir}/zlib.so |