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