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