1 |
%define _disable_ld_no_undefined 1 |
2 |
|
3 |
%define mod_name mod_php |
4 |
|
5 |
%define build_test 0 |
6 |
%{?_with_test: %{expand: %%global build_test 1}} |
7 |
%{?_without_test: %{expand: %%global build_test 0}} |
8 |
|
9 |
%define build_libmagic 0 |
10 |
%{?_with_libmagic: %{expand: %%global build_libmagic 1}} |
11 |
%{?_without_libmagic: %{expand: %%global build_libmagic 0}} |
12 |
|
13 |
%global __requires_exclude BEGIN|mkinstalldirs|pear\\(|/usr/bin/tclsh |
14 |
|
15 |
%define php_common_major 8 |
16 |
%define php_common_sub 1 |
17 |
%define libname %mklibname php %{php_common_major} |
18 |
|
19 |
# enforce versioned postgresql dependencies because of multiple version |
20 |
# availability in the distribution |
21 |
%define postgresql_version %(pg_config &>/dev/null && pg_config 2>/dev/null | awk '/^VERSION/ { print $4 }' | sed -re 's/rc[0-9]+$//'|| echo 0) |
22 |
|
23 |
%define sapi fpm cgi cli apxs |
24 |
#define sapi cli fpm cgi embed apxs |
25 |
|
26 |
%define _RC %nil |
27 |
|
28 |
Summary: The PHP scripting language |
29 |
Name: php |
30 |
Epoch: 3 |
31 |
Version: %{php_common_major}.%{php_common_sub}.17 |
32 |
Release: %mkrel 1 |
33 |
Source0: https://github.com/php/php-src/archive/refs/tags/php-%{version}.tar.gz |
34 |
Group: Development/PHP |
35 |
License: PHP License |
36 |
URL: https://www.php.net |
37 |
Source1: php-test-ini |
38 |
Source2: maxlifetime |
39 |
Source3: php.crond |
40 |
Source4: php-fpm.service |
41 |
Source5: php-fpm.sysconf |
42 |
Source6: php-fpm.logrotate |
43 |
# S7 comes from ext/fileinfo/create_data_file.php but could be removed someday |
44 |
Source7: create_data_file.php |
45 |
# ini based on production version |
46 |
Source8: php-ini |
47 |
Source9: php-fpm-tmpfiles.conf |
48 |
Source10: 10_php-fpm.conf |
49 |
Source11: php.ini-production-orig |
50 |
Source12: php.ini-development-orig |
51 |
Source13: 70_mod_php.conf |
52 |
|
53 |
# nginx files |
54 |
Source20: nginx-fpm.conf |
55 |
Source21: nginx-php.conf |
56 |
|
57 |
#automatic adding does not work on build server |
58 |
Source101: 05_assertion.ini |
59 |
Source102: 05_date.ini |
60 |
Source103: 05_mail.ini |
61 |
Source104: 05_pcre.ini |
62 |
Source105: 10_bz2.ini |
63 |
Source106: 11_calendar.ini |
64 |
Source107: 12_ctype.ini |
65 |
Source108: 13_curl.ini |
66 |
Source109: 14_dba.ini |
67 |
Source1010: 18_dom.ini |
68 |
Source1011: 19_exif.ini |
69 |
Source1012: 21_openssl.ini |
70 |
Source1013: 21_zlib.ini |
71 |
Source1014: 22_ftp.ini |
72 |
Source1015: 23_gd.ini |
73 |
Source1016: 24_gettext.ini |
74 |
Source1017: 25_gmp.ini |
75 |
Source1018: 26_iconv.ini |
76 |
Source1019: 27_imap.ini |
77 |
Source1020: 27_intl.ini |
78 |
Source1021: 28_ldap.ini |
79 |
Source1022: 29_mbstring.ini |
80 |
Source1023: 32_fileinfo.ini |
81 |
Source1024: 33_mysqlnd.ini |
82 |
Source1025: 37_mysqli.ini |
83 |
Source1026: 38_enchant.ini |
84 |
Source1027: 39_odbc.ini |
85 |
Source1028: 40_pcntl.ini |
86 |
Source1030: 42_pgsql.ini |
87 |
Source1031: 43_posix.ini |
88 |
Source1032: 45_readline.ini |
89 |
Source1034: 47_session.ini |
90 |
Source1035: 48_shmop.ini |
91 |
Source1036: 50_snmp.ini |
92 |
Source1037: 51_soap.ini |
93 |
Source1038: 52_sockets.ini |
94 |
Source1040: 56_sysvmsg.ini |
95 |
Source1041: 57_sysvsem.ini |
96 |
Source1042: 58_sysvshm.ini |
97 |
Source1043: 59_tidy.ini |
98 |
Source1044: 60_tokenizer.ini |
99 |
Source1048: 63_xmlreader.ini |
100 |
Source1049: 63_xsl.ini |
101 |
Source1050: 64_xmlwriter.ini |
102 |
Source1051: 66_bcmath.ini |
103 |
Source1052: 70_pdo.ini |
104 |
Source1053: 71_pdo_dblib.ini |
105 |
Source1054: 73_pdo_mysql.ini |
106 |
Source1055: 75_pdo_odbc.ini |
107 |
Source1056: 76_pdo_pgsql.ini |
108 |
Source1057: 77_pdo_sqlite.ini |
109 |
Source1058: 78_pdo_firebird.ini |
110 |
Source1059: 78_sqlite3.ini |
111 |
Source1060: 81_filter.ini |
112 |
Source1062: 83_zip.ini |
113 |
Source1063: 84_phar.ini |
114 |
Source1064: 99_opcache.ini |
115 |
Source1065: 85_sodium.ini |
116 |
Source1066: 98_ffi.ini |
117 |
#Patch1: php-shared.diff |
118 |
Patch2: php-7.1-mga_php.ini.diff |
119 |
Patch5: php-phpbuilddir.diff |
120 |
Patch11: php-7.0.2RC1-libdb.diff |
121 |
##################################################################### |
122 |
# Stolen from PLD |
123 |
Patch22: php-dba-link.patch |
124 |
Patch23: php-zlib-for-getimagesize.patch |
125 |
#(spuhler) taken from Mandriva |
126 |
#Patch29: php-7.0.0RC5-fpm-0.6.5-shared.diff |
127 |
Patch30: php-7.0.0RC5-fpm-0.6.5-mdv_conf.diff |
128 |
##################################################################### |
129 |
# stolen from debian |
130 |
Patch50: php-session.save_path.diff |
131 |
##################################################################### |
132 |
# Stolen from fedora |
133 |
# Functional changes |
134 |
#why do we want to have them public? |
135 |
Patch229: php-7.0.2RC1-session.use_strict_mode.diff |
136 |
|
137 |
BuildRequires: apache-devel >= 2.2 |
138 |
BuildRequires: autoconf |
139 |
BuildRequires: automake |
140 |
BuildRequires: bison |
141 |
BuildRequires: byacc |
142 |
BuildRequires: bzip2-devel |
143 |
BuildRequires: c-client-devel >= 2007 |
144 |
BuildRequires: db-devel |
145 |
BuildRequires: elfutils-devel |
146 |
BuildRequires: file |
147 |
BuildRequires: flex |
148 |
BuildRequires: freetds-devel >= 0.63 |
149 |
BuildRequires: freetype2-devel |
150 |
BuildRequires: gdbm-devel |
151 |
BuildRequires: gettext-devel |
152 |
BuildRequires: gmp-devel |
153 |
BuildRequires: gpm-devel |
154 |
BuildRequires: icu-devel >= 49.0 |
155 |
BuildRequires: lemon |
156 |
BuildRequires: libldap-devel |
157 |
BuildRequires: libtool |
158 |
BuildRequires: libtool-devel |
159 |
BuildRequires: mbfl-devel >= 1.2.0-2 |
160 |
BuildRequires: mercurial |
161 |
BuildRequires: mhash-devel |
162 |
BuildRequires: mysql-devel |
163 |
BuildRequires: net-snmp-devel |
164 |
BuildRequires: net-snmp-mibs |
165 |
BuildRequires: openssl |
166 |
BuildRequires: pam-devel |
167 |
BuildRequires: pkgconfig(enchant-2) |
168 |
BuildRequires: pkgconfig(fbclient) |
169 |
BuildRequires: pkgconfig(gdlib) >= 2.1 |
170 |
BuildRequires: pkgconfig(libcurl) >= 7.9.8 |
171 |
BuildRequires: pkgconfig(libedit) |
172 |
BuildRequires: pkgconfig(libjpeg) |
173 |
BuildRequires: pkgconfig(libpcre2-posix) >= 10.30 |
174 |
BuildRequires: pkgconfig(libpng) |
175 |
BuildRequires: pkgconfig(libsasl2) |
176 |
BuildRequires: pkgconfig(libsodium) |
177 |
BuildRequires: pkgconfig(libwebp) >= 0.4 |
178 |
BuildRequires: pkgconfig(libxml-2.0) >= 2.6 |
179 |
BuildRequires: pkgconfig(libxslt) >= 1.1.0 |
180 |
BuildRequires: pkgconfig(libzip) >= 0.10.1 |
181 |
BuildRequires: pkgconfig(ncurses) |
182 |
BuildRequires: pkgconfig(oniguruma) >= 5.9.2 |
183 |
BuildRequires: pkgconfig(openssl) |
184 |
BuildRequires: pkgconfig(sqlite3) |
185 |
BuildRequires: pkgconfig(systemd) |
186 |
BuildRequires: pkgconfig(x11) |
187 |
BuildRequires: pkgconfig(xpm) |
188 |
BuildRequires: postgresql-devel |
189 |
BuildRequires: re2c >= 0.13.4 |
190 |
BuildRequires: readline-devel |
191 |
BuildRequires: tidy-devel |
192 |
BuildRequires: unixODBC-devel >= 2.2.1 |
193 |
%if %{build_libmagic} |
194 |
BuildRequires: file-devel >= 5.14 |
195 |
%endif |
196 |
|
197 |
%description |
198 |
PHP is an HTML-embeddable scripting language. PHP offers built-in database |
199 |
integration for several commercial and non-commercial database management |
200 |
systems, so writing a database-enabled script with PHP is fairly simple. The |
201 |
most common use of PHP coding is probably as a replacement for CGI scripts. |
202 |
|
203 |
%package ini |
204 |
Summary: INI files for PHP |
205 |
Group: Development/PHP |
206 |
Provides: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
207 |
Provides: php-hash = %{epoch}:%{version} |
208 |
Provides: php-json = %{epoch}:%{version} |
209 |
Provides: php-pcre = %{epoch}:%{version} |
210 |
Provides: php-simplexml = %{epoch}:%{version} |
211 |
Provides: php-xml = %{epoch}:%{version} |
212 |
#TODO are theses really required ? |
213 |
# no, but removing them gives a bugstorm, so please don't. |
214 |
Requires: php = %{epoch}:%{version} |
215 |
Requires: php-openssl = %{epoch}:%{version} |
216 |
Requires: php-sysvsem = %{epoch}:%{version} |
217 |
Requires: php-sysvshm = %{epoch}:%{version} |
218 |
Requires: php-zlib = %{epoch}:%{version} |
219 |
Suggests: php-filter = %{epoch}:%{version} |
220 |
Suggests: php-gettext = %{epoch}:%{version} |
221 |
Suggests: php-posix = %{epoch}:%{version} |
222 |
Suggests: php-xmlreader = %{epoch}:%{version} |
223 |
Suggests: php-xmlwriter = %{epoch}:%{version} |
224 |
Obsoletes: %{libname} < %{epoch}:8.0.1 |
225 |
Obsoletes: php-amf < 0.9.3 |
226 |
Obsoletes: php-apacheaccessor < 1.0.2 |
227 |
Obsoletes: php-apm < 2.1.3 |
228 |
Obsoletes: php-auth_nds < 2.2.6 |
229 |
Obsoletes: php-awl < 0.54 |
230 |
Obsoletes: php-bbcode < 1.0.4 |
231 |
Obsoletes: php-bloomy < 0.1.1 |
232 |
Obsoletes: php-braille < 0.1.2 |
233 |
Obsoletes: php-cairo < 0.3.3 |
234 |
Obsoletes: php-cairo_wrapper < 0.2.5 |
235 |
Obsoletes: php-cyrus < 1.1 |
236 |
Obsoletes: php-dav < 1.3 |
237 |
Obsoletes: php-dbx < 1.1.3 |
238 |
Obsoletes: php-docblock < %{epoch}:%{version} |
239 |
Obsoletes: php-doublemetaphone < 1.0.2 |
240 |
Obsoletes: php-ecasound < %{epoch}:%{version} |
241 |
Obsoletes: php-esmtp < %{epoch}:%{version} |
242 |
Obsoletes: php-fam < 5.0.2 |
243 |
Obsoletes: php-gearman < 1.1.3 |
244 |
Obsoletes: php-geoip < 1.1.2 |
245 |
Obsoletes: php-gnutls < 0.4 |
246 |
Obsoletes: php-hash < %{epoch}:%{version} |
247 |
Obsoletes: php-haru < 1.0.5 |
248 |
Obsoletes: php-hidef < 0.1.14 |
249 |
Obsoletes: php-htscanner < 1.0.2 |
250 |
Obsoletes: php-http < 3.2.4 |
251 |
Obsoletes: php-id3 < 0.3 |
252 |
Obsoletes: php-inclued < 0.1.4 |
253 |
Obsoletes: php-interbase < %{epoch}:%{version} |
254 |
Obsoletes: php-json < %{epoch}:8.0.0 |
255 |
Obsoletes: php-layersmenu < 3.3.0 |
256 |
Obsoletes: php-libevent < 0.1.1 |
257 |
Obsoletes: php-magickwand < 1.0.9.3 |
258 |
Obsoletes: php-mailparse < 3.0.2 |
259 |
Obsoletes: php-mcal < 0.6-51 |
260 |
Obsoletes: php-mdbtools < %{epoch}:%{version} |
261 |
Obsoletes: php-ming < %{epoch}:%{version} |
262 |
Obsoletes: php-mongo < 1.6.14 |
263 |
Obsoletes: php-mssql < %{epoch}:%{version} |
264 |
Obsoletes: php-netools < %{epoch}:%{version} |
265 |
Obsoletes: php-newt < 1.3.0 |
266 |
Obsoletes: php-oggvorbis < 0.3 |
267 |
Obsoletes: php-optimizer < %{epoch}:%{version} |
268 |
Obsoletes: php-pam < %{epoch}:%{version} |
269 |
Obsoletes: php-pear-Date_Holidays < 0.22 |
270 |
Obsoletes: php-pear-Horde < %{epoch}:%{version} |
271 |
Obsoletes: php-pear-PHP_Parser < %{epoch}:%{version} |
272 |
Obsoletes: php-pear-PHP_Parser_DocblockParser < %{epoch}:%{version} |
273 |
Obsoletes: php-pinba < %{epoch}:%{version} |
274 |
Obsoletes: php-pluf < %{epoch}:%{version} |
275 |
Obsoletes: php-proctitle < 0.1.2 |
276 |
Obsoletes: php-propro < 2.1.1 |
277 |
Obsoletes: php-rar < 4.0.0 |
278 |
Obsoletes: php-recode < %{epoch}:%{version} |
279 |
Obsoletes: php-redland <= 1.0.17 |
280 |
Obsoletes: php-sasl < %{epoch}:%{version} |
281 |
Obsoletes: php-suhosin < %{epoch}:7.0.0 |
282 |
Obsoletes: php-swish < %{epoch}:%{version} |
283 |
Obsoletes: php-sybase_ct < %{epoch}:%{version} |
284 |
Obsoletes: php-symfony-YAML < %{epoch}:%{version} |
285 |
Obsoletes: php-syslog-ng < %{epoch}:%{version} |
286 |
Obsoletes: php-tclink < %{epoch}:7.0.0 |
287 |
Obsoletes: php-timezonedb < %{epoch}:7.0.0 |
288 |
Obsoletes: php-trace < 1.0.2 |
289 |
Obsoletes: php-trader < 0.4.2 |
290 |
Obsoletes: php-txforward < %{epoch}:%{version} |
291 |
Obsoletes: php-uploadprogress < %{epoch}:%{version} |
292 |
Obsoletes: php-vld < 0.17.1 |
293 |
Obsoletes: php-wbxml < %{epoch}:%{version} |
294 |
Obsoletes: php-wddx < %{epoch}:%{version} |
295 |
Obsoletes: php-xdiff <= 2.0.1 |
296 |
Obsoletes: php-xml < %{epoch}:7.0.0 |
297 |
Obsoletes: php-xmlrpc < %{epoch}:8.0.1 |
298 |
Obsoletes: php-yaz < 1.2.4 |
299 |
Obsoletes: php-yrmcds < %{epoch}:7.0.0 |
300 |
Obsoletes: php-ZendFramework < 2.0.0 |
301 |
|
302 |
%description ini |
303 |
The php-ini package contains the ini file required for PHP. |
304 |
|
305 |
|
306 |
%package -n apache-mod_php |
307 |
Summary: The PHP HTML-embedded scripting language for use with Apache |
308 |
Group: System/Servers |
309 |
Requires(pre): rpm-helper |
310 |
Requires(postun): rpm-helper |
311 |
Requires: apache >= 2.2 |
312 |
#add all common requirements to the lib as a central |
313 |
Requires: php-ini >= %{epoch}:%{version} |
314 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
315 |
Requires: php-session = %{epoch}:%{version} |
316 |
# php is not fully thread safe |
317 |
# https://www.php.net/manual/en/faq.installation.php#faq.installation.apache2 |
318 |
# https://stackoverflow.com/questions/681081/is-php-thread-safe |
319 |
Provides: php-webinterface = %{epoch}:%{version}-%{release} |
320 |
Conflicts: php-fpm-apache |
321 |
Epoch: %{epoch} |
322 |
|
323 |
%description -n apache-mod_php |
324 |
PHP is an HTML-embeddable scripting language. PHP offers built-in database |
325 |
integration for several commercial and non-commercial database management |
326 |
systems, so writing a database-enabled script with PHP is fairly simple. The |
327 |
most common use of PHP coding is probably as a replacement for CGI scripts. |
328 |
|
329 |
This package contains the PHP Apache module. |
330 |
|
331 |
%package cli |
332 |
Summary: PHP CLI interface |
333 |
Group: Development/PHP |
334 |
URL: https://www.php.net/cli |
335 |
#add all common requirements to the lib as a central |
336 |
Requires: php-ini >= %{epoch}:%{version} |
337 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
338 |
Provides: php = %{epoch}:%{version} |
339 |
Provides: /usr/bin/php |
340 |
|
341 |
%description cli |
342 |
PHP is an HTML-embeddable scripting language. PHP offers built-in database |
343 |
integration for several commercial and non-commercial database management |
344 |
systems, so writing a database-enabled script with PHP is fairly simple. The |
345 |
most common use of PHP coding is probably as a replacement for CGI scripts. |
346 |
|
347 |
This package contains a command-line (CLI) version of php. If you need Apache |
348 |
module support, you also need to install the apache-mod_php package. |
349 |
|
350 |
%package cgi |
351 |
Summary: PHP CGI interface |
352 |
Group: Development/PHP |
353 |
#add all common requirements to the lib as a central |
354 |
Requires: php-ini >= %{epoch}:%{version} |
355 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
356 |
Requires: webserver |
357 |
Requires: php-session = %{epoch}:%{version} |
358 |
Provides: php = %{epoch}:%{version} |
359 |
Provides: php-fcgi = %{epoch}:%{version}-%{release} |
360 |
Provides: php-webinterface = %{epoch}:%{version}-%{release} |
361 |
# because of a added compat softlink |
362 |
Obsoletes: php-fcgi < %{epoch}:%{version}-%{release} |
363 |
|
364 |
%description cgi |
365 |
PHP is an HTML-embeddable scripting language. PHP offers built-in database |
366 |
integration for several commercial and non-commercial database management |
367 |
systems, so writing a database-enabled script with PHP is fairly simple. The |
368 |
most common use of PHP coding is probably as a replacement for CGI scripts. |
369 |
|
370 |
This package contains a standalone (CGI) version of php with FastCGI support. |
371 |
If you need Apache module support, you also need to install the apache-mod_php |
372 |
package. |
373 |
|
374 |
%package devel |
375 |
Summary: Development package for PHP |
376 |
Group: Development/C |
377 |
Requires: php-ini >= %{epoch}:%{version} |
378 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
379 |
Requires: autoconf |
380 |
Requires: automake |
381 |
Requires: bison |
382 |
Requires: byacc |
383 |
Requires: chrpath |
384 |
Requires: dos2unix |
385 |
Requires: flex |
386 |
Requires: libtool |
387 |
Requires: libxml2-devel >= 2.6 |
388 |
Requires: libxslt-devel >= 1.1.0 |
389 |
Requires: openssl >= 0.9.8 |
390 |
Requires: openssl-devel >= 0.9.8 |
391 |
Requires: pam-devel |
392 |
Requires: pcre-devel >= 6.6 |
393 |
Requires: pkgconfig(libpcre2-posix) |
394 |
Requires: re2c >= 0.9.11 |
395 |
Requires: tcl |
396 |
|
397 |
%description devel |
398 |
The php-devel package lets you compile dynamic extensions to PHP. Included |
399 |
here is the source for the php extensions. Instead of recompiling the whole php |
400 |
binary to add support for, say, oracle, install this package and use the new |
401 |
self-contained extensions support. |
402 |
|
403 |
%package openssl |
404 |
Summary: OpenSSL extension module for PHP |
405 |
Group: Development/PHP |
406 |
URL: https://www.php.net/openssl |
407 |
Requires: php-ini >= %{epoch}:%{version} |
408 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
409 |
|
410 |
%description openssl |
411 |
This is a dynamic shared object (DSO) for PHP that will add OpenSSL support. |
412 |
|
413 |
%package zlib |
414 |
Summary: Zlib extension module for PHP |
415 |
Group: Development/PHP |
416 |
URL: https://www.php.net/zlib |
417 |
Requires: php-ini >= %{epoch}:%{version} |
418 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
419 |
|
420 |
%description zlib |
421 |
This is a dynamic shared object (DSO) for PHP that will add zlib compression |
422 |
support to PHP. |
423 |
|
424 |
%package doc |
425 |
Summary: Documentation for PHP |
426 |
Group: Development/PHP |
427 |
BuildArch: noarch |
428 |
|
429 |
%description doc |
430 |
Documentation for php. |
431 |
|
432 |
%package bcmath |
433 |
Summary: The bcmath module for PHP |
434 |
Group: Development/PHP |
435 |
URL: https://www.php.net/bcmath |
436 |
Requires: php-ini >= %{epoch}:%{version} |
437 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
438 |
|
439 |
%description bcmath |
440 |
This is a dynamic shared object (DSO) for PHP that will add bc style precision |
441 |
math functions support. |
442 |
|
443 |
For arbitrary precision mathematics PHP offers the Binary Calculator which |
444 |
supports numbers of any size and precision, represented as strings. |
445 |
|
446 |
%package bz2 |
447 |
Summary: Bzip2 extension module for PHP |
448 |
Group: Development/PHP |
449 |
URL: https://www.php.net/bzip2 |
450 |
Requires: php-ini >= %{epoch}:%{version} |
451 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
452 |
|
453 |
%description bz2 |
454 |
This is a dynamic shared object (DSO) for PHP that will add bzip2 compression |
455 |
support to PHP. |
456 |
|
457 |
The bzip2 functions are used to transparently read and write bzip2 (.bz2) |
458 |
compressed files. |
459 |
|
460 |
%package calendar |
461 |
Summary: Calendar extension module for PHP |
462 |
Group: Development/PHP |
463 |
URL: https://www.php.net/calendar |
464 |
Requires: php-ini >= %{epoch}:%{version} |
465 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
466 |
|
467 |
%description calendar |
468 |
This is a dynamic shared object (DSO) for PHP that will add calendar support. |
469 |
|
470 |
The calendar extension presents a series of functions to simplify converting |
471 |
between different calendar formats. The intermediary or standard it is based on |
472 |
is the Julian Day Count. The Julian Day Count is a count of days starting from |
473 |
January 1st, 4713 B.C. To convert between calendar systems, you must first |
474 |
convert to Julian Day Count, then to the calendar system of your choice. Julian |
475 |
Day Count is very different from the Julian Calendar! For more information on |
476 |
Julian Day Count, visit https://www.hermetic.ch/cal_stud/jdn.htm. For more |
477 |
information on calendar systems visit |
478 |
http://www.boogle.com/info/cal-overview.html. Excerpts from this page are |
479 |
included in these instructions, and are in quotes. |
480 |
|
481 |
%package ctype |
482 |
Summary: Ctype extension module for PHP |
483 |
Group: Development/PHP |
484 |
URL: https://www.php.net/ctype |
485 |
Requires: php-ini >= %{epoch}:%{version} |
486 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
487 |
|
488 |
%description ctype |
489 |
This is a dynamic shared object (DSO) for PHP that will add ctype support. |
490 |
|
491 |
The functions provided by this extension check whether a character or string |
492 |
falls into a certain character class according to the current locale (see also |
493 |
setlocale()). |
494 |
|
495 |
%package curl |
496 |
Summary: Curl extension module for PHP |
497 |
Group: Development/PHP |
498 |
URL: https://www.php.net/curl |
499 |
Requires: php-ini >= %{epoch}:%{version} |
500 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
501 |
|
502 |
%description curl |
503 |
This is a dynamic shared object (DSO) for PHP that will add curl support. |
504 |
|
505 |
PHP supports libcurl, a library created by Daniel Stenberg, that allows you to |
506 |
connect and communicate to many different types of servers with many different |
507 |
types of protocols. libcurl currently supports the http, https, ftp, gopher, |
508 |
telnet, dict, file, and ldap protocols. libcurl also supports HTTPS |
509 |
certificates, HTTP POST, HTTP PUT, FTP uploading (this can also be done with |
510 |
PHP's ftp extension), HTTP form based upload, proxies, cookies, and |
511 |
user+password authentication. |
512 |
|
513 |
%package dba |
514 |
Summary: DBA extension module for PHP |
515 |
Group: Development/PHP |
516 |
URL: https://www.php.net/dba |
517 |
Requires: php-ini >= %{epoch}:%{version} |
518 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
519 |
|
520 |
%description dba |
521 |
This is a dynamic shared object (DSO) for PHP that will add flat-file databases |
522 |
(DBA) support. |
523 |
|
524 |
These functions build the foundation for accessing Berkeley DB style databases. |
525 |
|
526 |
This is a general abstraction layer for several file-based databases. As such, |
527 |
functionality is limited to a common subset of features supported by modern |
528 |
databases such as Sleepycat Software's DB2. (This is not to be confused with |
529 |
IBM's DB2 software, which is supported through the ODBC functions.) |
530 |
|
531 |
%package dom |
532 |
Summary: Dom extension module for PHP |
533 |
Group: Development/PHP |
534 |
URL: https://www.php.net/dom |
535 |
Requires: php-ini >= %{epoch}:%{version} |
536 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
537 |
|
538 |
%description dom |
539 |
This is a dynamic shared object (DSO) for PHP that will add dom support. |
540 |
|
541 |
The DOM extension is the replacement for the DOM XML extension from PHP 4. The |
542 |
extension still contains many old functions, but they should no longer be used. |
543 |
In particular, functions that are not object-oriented should be avoided. |
544 |
|
545 |
The extension allows you to operate on an XML document with the DOM API. |
546 |
|
547 |
%package enchant |
548 |
Summary: Libenchant binder, support near all spelling tools |
549 |
Group: Development/PHP |
550 |
URL: https://www.php.net/ |
551 |
Requires: php-ini >= %{epoch}:%{version} |
552 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
553 |
|
554 |
%description enchant |
555 |
Enchant is a binder for libenchant. Libenchant provides a common API for many |
556 |
spell libraries: |
557 |
|
558 |
- aspell/pspell (intended to replace ispell) |
559 |
- hspell (Hebrew) |
560 |
- ispell |
561 |
- hunspell (OpenOffice project, mozilla) |
562 |
- uspell (primarily Yiddish, Hebrew, and Eastern European languages) |
563 |
A plugin system allows to add custom spell support. |
564 |
see www.abisource.com/enchant/ |
565 |
|
566 |
%package exif |
567 |
Summary: EXIF extension module for PHP |
568 |
Group: Development/PHP |
569 |
URL: https://www.php.net/exif |
570 |
Requires: php-ini >= %{epoch}:%{version} |
571 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
572 |
Requires: php-mbstring = %{epoch}:%{version} |
573 |
|
574 |
%description exif |
575 |
This is a dynamic shared object (DSO) for PHP that will add EXIF tags support |
576 |
in image files. |
577 |
|
578 |
With the exif extension you are able to work with image meta data. For example, |
579 |
you may use exif functions to read meta data of pictures taken from digital |
580 |
cameras by working with information stored in the headers of the JPEG and TIFF |
581 |
images. |
582 |
|
583 |
%package fileinfo |
584 |
Summary: Fileinfo extension module for PHP |
585 |
Group: Development/PHP |
586 |
URL: https://www.php.net/fileinfo |
587 |
Requires: php-ini >= %{epoch}:%{version} |
588 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
589 |
|
590 |
%description fileinfo |
591 |
This extension allows retrieval of information regarding vast majority of file. |
592 |
This information may include dimensions, quality, length etc... |
593 |
|
594 |
Additionally it can also be used to retrieve the mime type for a particular |
595 |
file and for text files proper language encoding. |
596 |
|
597 |
%package filter |
598 |
Summary: Extension for safely dealing with input parameters |
599 |
Group: Development/PHP |
600 |
URL: https://www.php.net/filter |
601 |
Requires: php-ini >= %{epoch}:%{version} |
602 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
603 |
|
604 |
%description filter |
605 |
The Input Filter extension is meant to address this issue by implementing a set |
606 |
of filters and mechanisms that users can use to safely access their input data. |
607 |
|
608 |
%package ftp |
609 |
Summary: FTP extension module for PHP |
610 |
Group: Development/PHP |
611 |
URL: https://www.php.net/ftp |
612 |
Requires: php-ini >= %{epoch}:%{version} |
613 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
614 |
|
615 |
%description ftp |
616 |
This is a dynamic shared object (DSO) for PHP that will add FTP support. |
617 |
|
618 |
The functions in this extension implement client access to file servers |
619 |
speaking the File Transfer Protocol (FTP) as defined in |
620 |
https://www.rfc-editor.org/rfc/rfc959.html. This extension is meant for |
621 |
detailed access to an FTP server providing a wide range of control to the |
622 |
executing script. If you only wish to read from or write to a file on an FTP |
623 |
server, consider using the ftp:// wrapper with the filesystem functions which |
624 |
provide a simpler and more intuitive interface. |
625 |
|
626 |
%package gd |
627 |
Summary: GD extension module for PHP |
628 |
Group: Development/PHP |
629 |
URL: https://www.php.net/gd |
630 |
Requires: php-ini >= %{epoch}:%{version} |
631 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
632 |
Provides: php-gd-bundled = %{epoch}:%{version} |
633 |
|
634 |
%description gd |
635 |
This is a dynamic shared object (DSO) for PHP that will add GD support, |
636 |
allowing you to create and manipulate images with PHP using the gd library. |
637 |
|
638 |
PHP is not limited to creating just HTML output. It can also be used to create |
639 |
and manipulate image files in a variety of different image formats, including |
640 |
gif, png, jpg, wbmp, and xpm. Even more convenient, PHP can output image |
641 |
streams directly to a browser. You will need to compile PHP with the GD library |
642 |
of image functions for this to work. GD and PHP may also require other |
643 |
libraries, depending on which image formats you want to work with. |
644 |
|
645 |
You can use the image functions in PHP to get the size of JPEG, GIF, PNG, SWF, |
646 |
TIFF and JPEG2000 images. |
647 |
|
648 |
%package gettext |
649 |
Summary: Gettext extension module for PHP |
650 |
Group: Development/PHP |
651 |
URL: https://www.php.net/gettext |
652 |
Requires: php-ini >= %{epoch}:%{version} |
653 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
654 |
|
655 |
%description gettext |
656 |
This is a dynamic shared object (DSO) for PHP that will add gettext support. |
657 |
|
658 |
The gettext functions implement an NLS (Native Language Support) API which can |
659 |
be used to internationalize your PHP applications. Please see the gettext |
660 |
documentation for your system for a thorough explanation of these functions or |
661 |
view the docs at https://www.gnu.org/software/gettext/manual/gettext.html. |
662 |
|
663 |
%package gmp |
664 |
Summary: Gmp extension module for PHP |
665 |
Group: Development/PHP |
666 |
URL: https://www.php.net/gmp |
667 |
Requires: php-ini >= %{epoch}:%{version} |
668 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
669 |
|
670 |
%description gmp |
671 |
This is a dynamic shared object (DSO) for PHP that will add arbitrary length |
672 |
number support using the GNU MP library. |
673 |
|
674 |
%package iconv |
675 |
Summary: Iconv extension module for PHP |
676 |
Group: Development/PHP |
677 |
URL: https://www.php.net/iconv |
678 |
Requires: php-ini >= %{epoch}:%{version} |
679 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
680 |
|
681 |
%description iconv |
682 |
This is a dynamic shared object (DSO) for PHP that will add iconv support. |
683 |
|
684 |
This module contains an interface to iconv character set conversion facility. |
685 |
With this module, you can turn a string represented by a local character set |
686 |
into the one represented by another character set, which may be the Unicode |
687 |
character set. Supported character sets depend on the iconv implementation of |
688 |
your system. Note that the iconv function on some systems may not work as you |
689 |
expect. In such case, it'd be a good idea to install the GNU libiconv library. |
690 |
It will most likely end up with more consistent results. |
691 |
|
692 |
%package imap |
693 |
Summary: IMAP extension module for PHP |
694 |
Group: Development/PHP |
695 |
URL: https://www.php.net/iamp |
696 |
Requires: php-ini >= %{epoch}:%{version} |
697 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
698 |
|
699 |
%description imap |
700 |
This is a dynamic shared object (DSO) for PHP that will add IMAP support. |
701 |
|
702 |
These functions are not limited to the IMAP protocol, despite their name. The |
703 |
underlying c-client library also supports NNTP, POP3 and local mailbox access |
704 |
methods. |
705 |
|
706 |
%package intl |
707 |
Summary: Internationalization extension module for PHP |
708 |
Group: Development/PHP |
709 |
URL: https://www.php.net/intl |
710 |
Requires: php-ini >= %{epoch}:%{version} |
711 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
712 |
|
713 |
%description intl |
714 |
This is a dynamic shared object (DSO) for PHP that will add |
715 |
Internationalization support. |
716 |
|
717 |
Internationalization extension implements ICU library functionality in PHP. |
718 |
|
719 |
%package ldap |
720 |
Summary: LDAP extension module for PHP |
721 |
Group: Development/PHP |
722 |
URL: https://www.php.net/ldap |
723 |
Requires: php-ini >= %{epoch}:%{version} |
724 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
725 |
|
726 |
|
727 |
%description ldap |
728 |
This is a dynamic shared object (DSO) for PHP that will add LDAP support. |
729 |
|
730 |
LDAP is the Lightweight Directory Access Protocol, and is a protocol used to |
731 |
access "Directory Servers". The Directory is a special kind of database that |
732 |
holds information in a tree structure. |
733 |
|
734 |
The concept is similar to your hard disk directory structure, except that in |
735 |
this context, the root directory is "The world" and the first level |
736 |
subdirectories are "countries". Lower levels of the directory structure contain |
737 |
entries for companies, organisations or places, while yet lower still we find |
738 |
directory entries for people, and perhaps equipment or documents. |
739 |
|
740 |
%package mbstring |
741 |
Summary: MBstring extension module for PHP |
742 |
Group: Development/PHP |
743 |
URL: https://www.php.net/mbstring |
744 |
Requires: php-ini >= %{epoch}:%{version} |
745 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
746 |
|
747 |
|
748 |
%description mbstring |
749 |
This is a dynamic shared object (DSO) for PHP that will add multibyte string |
750 |
support. |
751 |
|
752 |
mbstring provides multibyte specific string functions that help you deal with |
753 |
multibyte encodings in PHP. In addition to that, mbstring handles character |
754 |
encoding conversion between the possible encoding pairs. mbstring is designed |
755 |
to handle Unicode-based encodings such as UTF-8 and UCS-2 and many single-byte |
756 |
encodings for convenience. |
757 |
|
758 |
%package mysqli |
759 |
Summary: MySQL database module for PHP |
760 |
Group: Development/PHP |
761 |
URL: https://www.php.net/mysqli |
762 |
Requires: php-ini >= %{epoch}:%{version} |
763 |
|
764 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
765 |
Requires: php-mysqlnd = %{epoch}:%{version} |
766 |
|
767 |
%description mysqli |
768 |
This is a dynamic shared object (DSO) for PHP that will add MySQL database |
769 |
support. |
770 |
|
771 |
The mysqli extension allows you to access the functionality provided by MySQL |
772 |
4.1 and above. It is an improved version of the older PHP MySQL driver, |
773 |
offering various benefits. The developers of the PHP programming language |
774 |
recommend using MySQLi when dealing with MySQL server versions 4.1.3 and newer |
775 |
(takes advantage of new functionality) |
776 |
|
777 |
More information about the MySQL Database server can be found at |
778 |
https://www.mysql.com/ |
779 |
|
780 |
Documentation for MySQL can be found at https://dev.mysql.com/doc/. |
781 |
|
782 |
Documentation for MySQLi can be found at https://www.php.net/manual/en/mysqli.overview.php. |
783 |
|
784 |
%package mysqlnd |
785 |
Summary: MySQL native database module for PHP |
786 |
Group: Development/PHP |
787 |
URL: https://www.php.net/mysqlnd |
788 |
Requires: php-ini >= %{epoch}:%{version} |
789 |
|
790 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
791 |
Provides: php-mysql = %{epoch}:%{version}-%{release} |
792 |
|
793 |
%description mysqlnd |
794 |
This is a dynamic shared object (DSO) for PHP that will add MySQL native |
795 |
database support. |
796 |
|
797 |
These functions allow you to access MySQL database servers. More information |
798 |
about MySQL can be found at https://www.mysql.com/. |
799 |
|
800 |
Documentation for MySQL can be found at https://dev.mysql.com/doc/. |
801 |
|
802 |
%package odbc |
803 |
Summary: ODBC extension module for PHP |
804 |
Group: Development/PHP |
805 |
URL: https://www.php.net/odbc |
806 |
Requires: php-ini >= %{epoch}:%{version} |
807 |
|
808 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
809 |
|
810 |
%description odbc |
811 |
This is a dynamic shared object (DSO) for PHP that will add ODBC support. |
812 |
|
813 |
In addition to normal ODBC support, the Unified ODBC functions in PHP allow you |
814 |
to access several databases that have borrowed the semantics of the ODBC API to |
815 |
implement their own API. Instead of maintaining multiple database drivers that |
816 |
were all nearly identical, these drivers have been unified into a single set of |
817 |
ODBC functions. |
818 |
|
819 |
%package opcache |
820 |
Summary: Zend OPcache for PHP |
821 |
Group: Development/PHP |
822 |
URL: https://www.php.net/opcache |
823 |
Requires: php-ini >= %{epoch}:%{version} |
824 |
|
825 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
826 |
Obsoletes: php-xcache < 3.2.1 |
827 |
Obsoletes: php-xcache-admin < 3.2.1 |
828 |
|
829 |
%description opcache |
830 |
This is a dynamic shared object (DSO) for PHP that will add OPcache support. |
831 |
|
832 |
The Zend OPcache provides faster PHP execution through opcode caching and |
833 |
optimization. It improves PHP performance by storing precompiled script |
834 |
bytecode in the shared memory. This eliminates the stages of reading code from |
835 |
the disk and compiling it on future access. In addition, it applies a few |
836 |
bytecode optimization patterns that make code execution faster. |
837 |
|
838 |
%package pcntl |
839 |
Summary: Process Control extension module for PHP |
840 |
Group: Development/PHP |
841 |
URL: https://www.php.net/pcntl |
842 |
Requires: php-ini >= %{epoch}:%{version} |
843 |
|
844 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
845 |
|
846 |
%description pcntl |
847 |
This is a dynamic shared object (DSO) for PHP that will add process spawning |
848 |
and control support. It supports functions like fork(), waitpid(), signal() |
849 |
etc. |
850 |
|
851 |
Process Control support in PHP implements the Unix style of process creation, |
852 |
program execution, signal handling and process termination. Process Control |
853 |
should not be enabled within a webserver environment and unexpected results may |
854 |
happen if any Process Control functions are used within a webserver |
855 |
environment. |
856 |
|
857 |
%package pdo |
858 |
Summary: PHP Data Objects Interface |
859 |
Group: Development/PHP |
860 |
URL: https://www.php.net/pdo |
861 |
Requires: php-ini >= %{epoch}:%{version} |
862 |
|
863 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
864 |
|
865 |
%description pdo |
866 |
PDO provides a uniform data access interface, sporting advanced features such |
867 |
as prepared statements and bound parameters. PDO drivers are dynamically |
868 |
loadable and may be developed independently from the core, but still accessed |
869 |
using the same API. |
870 |
|
871 |
Read the documentation at https://www.php.net/pdo for more information. |
872 |
|
873 |
%package pdo_dblib |
874 |
Summary: Sybase Interface driver for PDO |
875 |
Group: Development/PHP |
876 |
URL: https://www.php.net/pdo_dblib |
877 |
Requires: freetds >= 0.63 |
878 |
Requires: php-pdo = %{epoch}:%{version} |
879 |
Requires: php-ini >= %{epoch}:%{version} |
880 |
|
881 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
882 |
|
883 |
%description pdo_dblib |
884 |
PDO_DBLIB is a driver that implements the PHP Data Objects (PDO) interface to |
885 |
enable access from PHP to Microsoft SQL Server and Sybase databases through the |
886 |
FreeTDS library. |
887 |
|
888 |
%package pdo_firebird |
889 |
Summary: Firebird/InterBase driver for PDO |
890 |
Group: Development/PHP |
891 |
URL: https://www.php.net/pdo_firebird |
892 |
Requires: php-pdo = %{epoch}:%{version} |
893 |
Requires: php-ini >= %{epoch}:%{version} |
894 |
|
895 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
896 |
|
897 |
%description pdo_firebird |
898 |
PDO_Firebird is a driver that implements the PHP Data Objects (PDO) interface to |
899 |
enable access from PHP to Firebird databases. |
900 |
|
901 |
%package pdo_mysql |
902 |
Summary: MySQL Interface driver for PDO |
903 |
Group: Development/PHP |
904 |
URL: https://www.php.net/pdo_mysql |
905 |
Requires: php-pdo = %{epoch}:%{version} |
906 |
Requires: php-ini >= %{epoch}:%{version} |
907 |
|
908 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
909 |
Requires: php-mysqlnd = %{epoch}:%{version} |
910 |
|
911 |
%description pdo_mysql |
912 |
PDO_MYSQL is a driver that implements the PHP Data Objects (PDO) interface to |
913 |
enable access from PHP to MySQL 3.x, 4.x and 5.x databases. |
914 |
|
915 |
PDO_MYSQL will take advantage of native prepared statement support present in |
916 |
MySQL 4.1 and higher. If you're using an older version of the mysql client |
917 |
libraries, PDO will emulate them for you. |
918 |
|
919 |
Please note that this build does NOT support compression protocol because it |
920 |
is built with MySQL Native Driver (mysqlnd). |
921 |
|
922 |
%package pdo_odbc |
923 |
Summary: ODBC v3 Interface driver for PDO |
924 |
Group: Development/PHP |
925 |
URL: https://www.php.net/pdo_odbc |
926 |
Requires: php-pdo = %{epoch}:%{version} |
927 |
Requires: php-ini >= %{epoch}:%{version} |
928 |
|
929 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
930 |
|
931 |
%description pdo_odbc |
932 |
PDO_ODBC is a driver that implements the PHP Data Objects (PDO) interface to |
933 |
enable access from PHP to databases through ODBC drivers or through the IBM DB2 |
934 |
Call Level Interface (DB2 CLI) library. PDO_ODBC currently supports three |
935 |
different "flavours" of database drivers: |
936 |
|
937 |
- ibm-db2 - Supports access to IBM DB2 Universal Database, Cloudscape, and |
938 |
Apache Derby servers through the free DB2 client. ibm-db2 is not |
939 |
supported in Mageia. |
940 |
|
941 |
- unixODBC - Supports access to database servers through the unixODBC driver |
942 |
manager and the database's own ODBC drivers. |
943 |
|
944 |
- generic - Offers a compile option for ODBC driver managers that are not |
945 |
explicitly supported by PDO_ODBC. |
946 |
|
947 |
%package pdo_pgsql |
948 |
Summary: PostgreSQL interface driver for PDO |
949 |
Group: Development/PHP |
950 |
URL: https://www.php.net/pdo_pgsql |
951 |
Requires: php-pdo = %{epoch}:%{version} |
952 |
Requires: php-ini >= %{epoch}:%{version} |
953 |
|
954 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
955 |
Requires: postgresql-libs >= %{postgresql_version} |
956 |
|
957 |
%description pdo_pgsql |
958 |
PDO_PGSQL is a driver that implements the PHP Data Objects (PDO) interface to |
959 |
enable access from PHP to PostgreSQL databases. |
960 |
|
961 |
%package pdo_sqlite |
962 |
Summary: SQLite v3 Interface driver for PDO |
963 |
Group: Development/PHP |
964 |
URL: https://www.php.net/pdo_sqlite |
965 |
Requires: php-pdo = %{epoch}:%{version} |
966 |
Requires: php-ini >= %{epoch}:%{version} |
967 |
|
968 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
969 |
|
970 |
%description pdo_sqlite |
971 |
PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to |
972 |
enable access to SQLite 3 databases. |
973 |
|
974 |
This extension provides an SQLite v3 driver for PDO. SQLite V3 is NOT |
975 |
compatible with the bundled SQLite 2 in PHP 5, but is a significant step |
976 |
forwards, featuring complete utf-8 support, native support for blobs, native |
977 |
support for prepared statements with bound parameters and improved concurrency. |
978 |
|
979 |
%package pgsql |
980 |
Summary: PostgreSQL database module for PHP |
981 |
Group: Development/PHP |
982 |
URL: https://www.php.net/pgsql |
983 |
Requires: php-ini >= %{epoch}:%{version} |
984 |
|
985 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
986 |
Requires: postgresql-libs >= %{postgresql_version} |
987 |
|
988 |
%description pgsql |
989 |
This is a dynamic shared object (DSO) for PHP that will add PostgreSQL database |
990 |
support. |
991 |
|
992 |
PostgreSQL database is Open Source product and available without cost. |
993 |
Postgres, developed originally in the UC Berkeley Computer Science Department, |
994 |
pioneered many of the object-relational concepts now becoming available in some |
995 |
commercial databases. It provides SQL92/SQL99 language support, transactions, |
996 |
referential integrity, stored procedures and type extensibility. PostgreSQL is |
997 |
an open source descendant of this original Berkeley code. |
998 |
|
999 |
%package phar |
1000 |
Summary: Allows running of complete applications out of .phar files |
1001 |
Group: Development/PHP |
1002 |
URL: https://www.php.net/phar |
1003 |
Requires: php-ini >= %{epoch}:%{version} |
1004 |
|
1005 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1006 |
Requires: php-bz2 |
1007 |
|
1008 |
%description phar |
1009 |
This is the extension version of PEAR's PHP_Archive package. Support for |
1010 |
zlib, bz2 and crc32 is achieved without any dependency other than the external |
1011 |
zlib or bz2 extension. |
1012 |
|
1013 |
.phar files can be read using the phar stream, or with the Phar class. If the |
1014 |
SPL extension is available, a Phar object can be used as an array to iterate |
1015 |
over a phar's contents or to read files directly from the phar. |
1016 |
|
1017 |
Phar archives can be created using the streams API or with the Phar class, if |
1018 |
the phar.readonly ini variable is set to false. |
1019 |
|
1020 |
Full support for MD5 and SHA1 signatures is possible. Signatures can be |
1021 |
required if the ini variable phar.require_hash is set to true. When PECL |
1022 |
extension hash is available then SHA-256 and SHA-512 signatures are supported as |
1023 |
well. |
1024 |
|
1025 |
%package posix |
1026 |
Summary: POSIX extension module for PHP |
1027 |
Group: Development/PHP |
1028 |
URL: https://www.php.net/posix |
1029 |
Requires: php-ini >= %{epoch}:%{version} |
1030 |
|
1031 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1032 |
|
1033 |
%description posix |
1034 |
This is a dynamic shared object (DSO) for PHP that will add POSIX functions |
1035 |
support to PHP. |
1036 |
|
1037 |
This module contains an interface to those functions defined in the IEEE 1003.1 |
1038 |
(POSIX.1) standards document which are not accessible through other means. |
1039 |
POSIX.1 for example defined the open(), read(), write() and close() functions, |
1040 |
too, which traditionally have been part of PHP 3 for a long time. Some more |
1041 |
system specific functions have not been available before, though, and this |
1042 |
module tries to remedy this by providing easy access to these functions. |
1043 |
|
1044 |
%package readline |
1045 |
Summary: Readline extension module for PHP |
1046 |
Group: Development/PHP |
1047 |
URL: https://www.php.net/readline |
1048 |
Requires: php-ini >= %{epoch}:%{version} |
1049 |
|
1050 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1051 |
|
1052 |
%description readline |
1053 |
This PHP module adds support for readline functions (only for cli and cgi |
1054 |
SAPIs). |
1055 |
|
1056 |
The readline() functions implement an interface to the GNU Readline library. |
1057 |
These are functions that provide editable command lines. An example being the |
1058 |
way Bash allows you to use the arrow keys to insert characters or scroll |
1059 |
through command history. Because of the interactive nature of this library, it |
1060 |
will be of little use for writing Web applications, but may be useful when |
1061 |
writing scripts used from a command line. |
1062 |
|
1063 |
%package session |
1064 |
Summary: Session extension module for PHP |
1065 |
Group: Development/PHP |
1066 |
URL: https://www.php.net/session |
1067 |
Requires(pre): rpm-helper |
1068 |
Requires(postun): rpm-helper |
1069 |
Requires: php-ini >= %{epoch}:%{version} |
1070 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1071 |
Requires: webserver |
1072 |
|
1073 |
%description session |
1074 |
This is a dynamic shared object (DSO) for PHP that will add session support. |
1075 |
|
1076 |
Session support in PHP consists of a way to preserve certain data across |
1077 |
subsequent accesses. This enables you to build more customized applications and |
1078 |
increase the appeal of your web site. |
1079 |
|
1080 |
A visitor accessing your web site is assigned a unique id, the so-called |
1081 |
session id. This is either stored in a cookie on the user side or is propagated |
1082 |
in the URL. |
1083 |
|
1084 |
%package shmop |
1085 |
Summary: Shared Memory Operations extension module for PHP |
1086 |
Group: Development/PHP |
1087 |
URL: https://www.php.net/shmop |
1088 |
Requires: php-ini >= %{epoch}:%{version} |
1089 |
|
1090 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1091 |
|
1092 |
%description shmop |
1093 |
This is a dynamic shared object (DSO) for PHP that will add Shared Memory |
1094 |
Operations support. |
1095 |
|
1096 |
Shmop is an easy to use set of functions that allows PHP to read, write, create |
1097 |
and delete Unix shared memory segments. |
1098 |
|
1099 |
%package snmp |
1100 |
Summary: NET-SNMP extension module for PHP |
1101 |
Group: Development/PHP |
1102 |
URL: https://www.php.net/snmp |
1103 |
Requires: net-snmp-mibs |
1104 |
Requires: php-ini >= %{epoch}:%{version} |
1105 |
|
1106 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1107 |
|
1108 |
%description snmp |
1109 |
This is a dynamic shared object (DSO) for PHP that will add SNMP support using |
1110 |
the NET-SNMP libraries. |
1111 |
|
1112 |
In order to use the SNMP functions you need to install the NET-SNMP package. |
1113 |
|
1114 |
%package soap |
1115 |
Summary: Soap extension module for PHP |
1116 |
Group: Development/PHP |
1117 |
URL: https://www.php.net/soap |
1118 |
Requires: php-ini >= %{epoch}:%{version} |
1119 |
|
1120 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1121 |
|
1122 |
%description soap |
1123 |
This is a dynamic shared object (DSO) for PHP that will add soap support. |
1124 |
|
1125 |
The SOAP extension can be used to write SOAP Servers and Clients. It supports |
1126 |
subsets of SOAP 1.1, SOAP 1.2 and WSDL 1.1 specifications. |
1127 |
|
1128 |
%package sockets |
1129 |
Summary: Sockets extension module for PHP |
1130 |
Group: Development/PHP |
1131 |
URL: https://www.php.net/sockets |
1132 |
Requires: php-ini >= %{epoch}:%{version} |
1133 |
|
1134 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1135 |
|
1136 |
%description sockets |
1137 |
This is a dynamic shared object (DSO) for PHP that will add sockets support. |
1138 |
|
1139 |
The socket extension implements a low-level interface to the socket |
1140 |
communication functions based on the popular BSD sockets, providing the |
1141 |
possibility to act as a socket server as well as a client. |
1142 |
|
1143 |
%package sodium |
1144 |
Summary: Wrapper for the Sodium cryptographic library |
1145 |
Group: Development/PHP |
1146 |
URL: https://php.net/manual/en/book.sodium.php |
1147 |
Requires: php-ini >= %{epoch}:%{version} |
1148 |
|
1149 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1150 |
|
1151 |
%description sodium |
1152 |
This is a dynamic shared object (DSO) for PHP that will add libsodium support. |
1153 |
|
1154 |
%package sqlite3 |
1155 |
Summary: SQLite database bindings for PHP |
1156 |
Group: Development/PHP |
1157 |
URL: https://www.php.net/sqlite3 |
1158 |
Requires: php-pdo = %{epoch}:%{version} |
1159 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1160 |
Obsoletes: php-sqlite < 4:1.0.4 |
1161 |
|
1162 |
%description sqlite3 |
1163 |
This is an extension for the SQLite Embeddable SQL Database Engine. SQLite is a |
1164 |
C library that implements an embeddable SQL database engine. Programs that link |
1165 |
with the SQLite library can have SQL database access without running a separate |
1166 |
RDBMS process. |
1167 |
|
1168 |
SQLite is not a client library used to connect to a big database server. SQLite |
1169 |
is the server. The SQLite library reads and writes directly to and from the |
1170 |
database files on disk. |
1171 |
|
1172 |
%package sysvmsg |
1173 |
Summary: SysV msg extension module for PHP |
1174 |
Group: Development/PHP |
1175 |
URL: https://www.php.net/sem |
1176 |
Requires: php-ini >= %{epoch}:%{version} |
1177 |
|
1178 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1179 |
|
1180 |
%description sysvmsg |
1181 |
This is a dynamic shared object (DSO) for PHP that will add SysV message queues |
1182 |
support. |
1183 |
|
1184 |
%package sysvsem |
1185 |
Summary: SysV sem extension module for PHP |
1186 |
Group: Development/PHP |
1187 |
URL: https://www.php.net/sem |
1188 |
Requires: php-ini >= %{epoch}:%{version} |
1189 |
|
1190 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1191 |
|
1192 |
%description sysvsem |
1193 |
This is a dynamic shared object (DSO) for PHP that will add SysV semaphores |
1194 |
support. |
1195 |
|
1196 |
%package sysvshm |
1197 |
Summary: SysV shm extension module for PHP |
1198 |
Group: Development/PHP |
1199 |
URL: https://www.php.net/sem |
1200 |
Requires: php-ini >= %{epoch}:%{version} |
1201 |
|
1202 |
|
1203 |
%description sysvshm |
1204 |
This is a dynamic shared object (DSO) for PHP that will add SysV Shared Memory |
1205 |
support. |
1206 |
|
1207 |
%package tidy |
1208 |
Summary: Tidy HTML Repairing and Parsing for PHP |
1209 |
Group: Development/PHP |
1210 |
URL: https://www.php.net/tidy |
1211 |
Requires: php-ini >= %{epoch}:%{version} |
1212 |
|
1213 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1214 |
|
1215 |
%description tidy |
1216 |
Tidy is a binding for the Tidy HTML clean and repair utility which allows you |
1217 |
to not only clean and otherwise manipulate HTML documents, but also traverse |
1218 |
the document tree using the Zend Engine 2 OO semantics. |
1219 |
|
1220 |
%package tokenizer |
1221 |
Summary: Tokenizer extension module for PHP |
1222 |
Group: Development/PHP |
1223 |
URL: https://www.php.net/tokenizer |
1224 |
Requires: php-ini >= %{epoch}:%{version} |
1225 |
|
1226 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1227 |
|
1228 |
%description tokenizer |
1229 |
This is a dynamic shared object (DSO) for PHP that will add Tokenizer support. |
1230 |
|
1231 |
The tokenizer functions provide an interface to the PHP tokenizer embedded in |
1232 |
the Zend Engine. Using these functions you may write your own PHP source |
1233 |
analyzing or modification tools without having to deal with the language |
1234 |
specification at the lexical level. |
1235 |
|
1236 |
%package xmlreader |
1237 |
Summary: Xmlreader extension module for PHP |
1238 |
Group: Development/PHP |
1239 |
URL: https://www.php.net/xmlreader |
1240 |
Requires: php-dom = %{epoch}:%{version} |
1241 |
Requires: php-ini >= %{epoch}:%{version} |
1242 |
|
1243 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1244 |
|
1245 |
%description xmlreader |
1246 |
XMLReader represents a reader that provides non-cached, forward-only access to |
1247 |
XML data. It is based upon the xmlTextReader api from libxml |
1248 |
|
1249 |
%package xmlwriter |
1250 |
Summary: Provides fast, non-cached, forward-only means to write XML data |
1251 |
Group: Development/PHP |
1252 |
URL: https://www.php.net/xmlwriter |
1253 |
Requires: php-ini >= %{epoch}:%{version} |
1254 |
|
1255 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1256 |
|
1257 |
%description xmlwriter |
1258 |
This extension wraps the libxml xmlWriter API. Represents a writer that |
1259 |
provides a non-cached, forward-only means of generating streams or files |
1260 |
containing XML data. |
1261 |
|
1262 |
%package xsl |
1263 |
Summary: Xsl extension module for PHP |
1264 |
Group: Development/PHP |
1265 |
URL: https://www.php.net/xsl |
1266 |
Requires: php-ini >= %{epoch}:%{version} |
1267 |
|
1268 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1269 |
|
1270 |
%description xsl |
1271 |
This is a dynamic shared object (DSO) for PHP that will add xsl support. |
1272 |
|
1273 |
The XSL extension implements the XSL standard, performing XSLT transformations |
1274 |
using the libxslt library |
1275 |
|
1276 |
%package zip |
1277 |
Summary: A zip management extension for PHP |
1278 |
Group: Development/PHP |
1279 |
URL: https://www.php.net/zip |
1280 |
Requires: php-ini >= %{epoch}:%{version} |
1281 |
|
1282 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1283 |
|
1284 |
%description zip |
1285 |
This is a dynamic shared object (DSO) for PHP that will add zip support to |
1286 |
create and read zip files using the libzip library. |
1287 |
|
1288 |
%package fpm |
1289 |
Summary: PHP FastCGI Process Manager |
1290 |
Group: Development/PHP |
1291 |
Requires(post): systemd >= %{systemd_required_version} |
1292 |
Requires(post): rpm-helper |
1293 |
Requires(preun): rpm-helper |
1294 |
Requires(pre): rpm-helper |
1295 |
Requires(postun): rpm-helper |
1296 |
#add all common requirements to the lib as a central |
1297 |
Requires: php-ini >= %{epoch}:%{version} |
1298 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1299 |
Requires: php-session = %{epoch}:%{version} |
1300 |
Requires: webserver |
1301 |
Provides: php = %{epoch}:%{version} |
1302 |
Suggests: php-fpm-apache |
1303 |
|
1304 |
%description fpm |
1305 |
PHP is an HTML-embeddable scripting language. PHP offers built-in database |
1306 |
integration for several commercial and non-commercial database management |
1307 |
systems, so writing a database-enabled script with PHP is fairly simple. The |
1308 |
most common use of PHP coding is probably as a replacement for CGI scripts. |
1309 |
|
1310 |
This package contains the FastCGI Process Manager. |
1311 |
|
1312 |
%package fpm-apache |
1313 |
Summary: PHP FastCGI Process Manager config for apache |
1314 |
Group: Development/PHP |
1315 |
Requires: php-fpm |
1316 |
Requires: apache >= 2.2 |
1317 |
Requires: apache-mod_proxy |
1318 |
Conflicts: apache-mod_php |
1319 |
Provides: php-webinterface = %{epoch}:%{version}-%{release} |
1320 |
|
1321 |
%description fpm-apache |
1322 |
This provides the configuration files to use php-fpm with Apache. |
1323 |
|
1324 |
%package fpm-nginx |
1325 |
Summary: PHP FastCGI Process Manager config for nginx |
1326 |
Group: Development/PHP |
1327 |
Requires: php-fpm |
1328 |
Requires: nginx |
1329 |
Provides: php-webinterface = %{epoch}:%{version}-%{release} |
1330 |
|
1331 |
%description fpm-nginx |
1332 |
This provides the configuration files to use php-fpm with Apache. |
1333 |
|
1334 |
%package -n phpdbg |
1335 |
Summary: The interactive PHP debugger |
1336 |
Group: Development/PHP |
1337 |
Requires: php-ini >= %{epoch}:%{version} |
1338 |
|
1339 |
Requires: php-common = %{epoch}:%{php_common_major}.%{php_common_sub} |
1340 |
Requires: php = %{epoch}:%{version} |
1341 |
|
1342 |
%description -n phpdbg |
1343 |
PHP is an HTML-embeddable scripting language. PHP offers built-in database |
1344 |
integration for several commercial and non-commercial database management |
1345 |
systems, so writing a database-enabled script with PHP is fairly simple. The |
1346 |
most common use of PHP coding is probably as a replacement for CGI scripts. |
1347 |
|
1348 |
This package contains the The interactive PHP debugger. |
1349 |
|
1350 |
Implemented as a SAPI module, phpdbg can exert complete control over the |
1351 |
environment without impacting the functionality or performance of your code. |
1352 |
|
1353 |
phpdbg aims to be a lightweight, powerful, easy to use debugging platform for |
1354 |
PHP5.4+ |
1355 |
|
1356 |
%prep |
1357 |
|
1358 |
%autosetup -S hg -n php-src-php-%{version}%{_RC} |
1359 |
|
1360 |
cp %{SOURCE1} php-test.ini |
1361 |
cp %{SOURCE4} php-fpm.service |
1362 |
cp %{SOURCE5} php-fpm.sysconf |
1363 |
cp %{SOURCE6} php-fpm.logrotate |
1364 |
cp %{SOURCE7} create_data_file.php |
1365 |
|
1366 |
# Change perms otherwise rpm would get fooled while finding requires |
1367 |
find -name "*.inc" -type f -not -path "./.hg/*" -print0| xargs -0 chmod 644 |
1368 |
find -name "*.php*" -type f -not -path "./.hg/*" -print0| xargs -0 chmod 644 |
1369 |
find -name "*README*" -type f -not -path "./.hg/*" -print0| xargs -0 chmod 644 |
1370 |
|
1371 |
mkdir -p php-devel/extensions |
1372 |
mkdir -p php-devel/sapi |
1373 |
|
1374 |
# Install test files in php-devel |
1375 |
cp -a tests php-devel |
1376 |
|
1377 |
cp -dpR ext/* php-devel/extensions/ |
1378 |
rm -f php-devel/extensions/informix/stub.c |
1379 |
rm -f php-devel/extensions/standard/.deps |
1380 |
rm -f php-devel/extensions/skeleton/EXPERIMENTAL |
1381 |
|
1382 |
# SAPI |
1383 |
cp -dpR sapi/* php-devel/sapi/ |
1384 |
rm -f php-devel/sapi/thttpd/stub.c |
1385 |
rm -f php-devel/sapi/cgi/php.sym |
1386 |
rm -f php-devel/sapi/fastcgi/php.sym |
1387 |
rm -f php-devel/sapi/pi3web/php.sym |
1388 |
|
1389 |
# cleanup |
1390 |
find php-devel -name "*.droplet" | xargs rm -f |
1391 |
|
1392 |
# don't ship MS Windows source |
1393 |
rm -rf php-devel/extensions/com_dotnet |
1394 |
|
1395 |
# likewise with these: |
1396 |
find php-devel -name "*.dsp" | xargs rm -f |
1397 |
find php-devel -name "*.mak" | xargs rm -f |
1398 |
find php-devel -name "*.w32" | xargs rm |
1399 |
|
1400 |
# make sure using system libs |
1401 |
rm -rf ext/pcre/pcrelib |
1402 |
rm -rf ext/pdo_sqlite/sqlite |
1403 |
|
1404 |
%build |
1405 |
%serverbuild |
1406 |
|
1407 |
export CFLAGS="${CFLAGS} -O3 -fno-strict-aliasing -fvisibility=default -Wno-error=deprecated-declarations -Wno-deprecated-declarations" |
1408 |
export LDFLAGS="%{ldflags} -O3 -lz" |
1409 |
export CXXFLAGS="${CXXFLAGS} -O3 -fvisibility=default -fvisibility-inlines-hidden -Wno-error=deprecated-declarations -Wno-deprecated-declarations" |
1410 |
|
1411 |
cat > php-devel/buildext <<EOF |
1412 |
#!/bin/bash |
1413 |
gcc -Wall -fPIC -shared $CFLAGS \\ |
1414 |
-I. \`%{_bindir}/php-config --includes\` \\ |
1415 |
-I%{_includedir}/libxml2 \\ |
1416 |
-I%{_includedir}/freetype \\ |
1417 |
-I%{_includedir}/openssl \\ |
1418 |
-I%{_usrsrc}/php-devel/ext \\ |
1419 |
-I%{_includedir}/\$1 \\ |
1420 |
\$4 \$2 -o \$1.so \$3 -lc |
1421 |
EOF |
1422 |
|
1423 |
chmod 755 php-devel/buildext |
1424 |
|
1425 |
#export PHP_AUTOCONF=autoconf-2.13 |
1426 |
rm -f configure |
1427 |
rm -rf autom4te.cache |
1428 |
./buildconf --force |
1429 |
|
1430 |
# Do this patch with a perl hack... |
1431 |
perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh |
1432 |
|
1433 |
export oldstyleextdir=yes |
1434 |
export EXTENSION_DIR="%{_libdir}/php/extensions" |
1435 |
export PROG_SENDMAIL="%{_sbindir}/sendmail" |
1436 |
export GD_SHARED_LIBADD="$GD_SHARED_LIBADD -lm" |
1437 |
export ENCHANT_CFLAGS=`pkgconf --cflags enchant-2` |
1438 |
export ENCHANT_LIBS=`pkgconf --libs enchant-2` |
1439 |
|
1440 |
# never use "--disable-rpath", it does the opposite |
1441 |
|
1442 |
# Configure php |
1443 |
./configure \ |
1444 |
--enable-fpm --with-fpm-user=apache --with-fpm-group=apache --with-fpm-systemd \ |
1445 |
--enable-cli \ |
1446 |
--with-apxs2=%{_httpd_apxs} --enable-zts \ |
1447 |
--with-pic \ |
1448 |
--build=%{_build} \ |
1449 |
--prefix=%{_prefix} \ |
1450 |
--exec-prefix=%{_prefix} \ |
1451 |
--bindir=%{_bindir} \ |
1452 |
--sbindir=%{_sbindir} \ |
1453 |
--sysconfdir=%{_sysconfdir} \ |
1454 |
--datadir=%{_datadir} \ |
1455 |
--includedir=%{_includedir} \ |
1456 |
--libdir=%{_libdir} \ |
1457 |
--libexecdir=%{_libexecdir} \ |
1458 |
--localstatedir=/var/lib \ |
1459 |
--mandir=%{_mandir} \ |
1460 |
--enable-shared=yes \ |
1461 |
--enable-static=no \ |
1462 |
--disable-debug \ |
1463 |
--enable-bcmath=shared \ |
1464 |
--enable-calendar=shared \ |
1465 |
--enable-ctype=shared \ |
1466 |
--enable-dba=shared \ |
1467 |
--enable-dom=shared,%{_prefix} \ |
1468 |
--enable-exif=shared \ |
1469 |
--enable-fileinfo=shared \ |
1470 |
--enable-filter=shared \ |
1471 |
--enable-ftp=shared \ |
1472 |
--enable-gd=shared \ |
1473 |
--enable-intl=shared \ |
1474 |
--enable-mbregex \ |
1475 |
--enable-mbstring=shared,%{_prefix} \ |
1476 |
--enable-mysqlnd=shared,%{_bindir}/mysql_config \ |
1477 |
--enable-opcache=shared \ |
1478 |
--enable-pcntl=shared \ |
1479 |
--enable-pdo=shared,%{_prefix} \ |
1480 |
--enable-phar=shared \ |
1481 |
--enable-phpdbg \ |
1482 |
--enable-phpdbg-webhelper \ |
1483 |
--enable-posix=shared \ |
1484 |
--enable-session=shared,%{_prefix} \ |
1485 |
--enable-shmop=shared,%{_prefix} \ |
1486 |
--enable-simplexml \ |
1487 |
--enable-soap=shared,%{_prefix} \ |
1488 |
--enable-sockets=shared,%{_prefix} \ |
1489 |
--enable-sysvmsg=shared,%{_prefix} \ |
1490 |
--enable-sysvsem=shared,%{_prefix} \ |
1491 |
--enable-sysvshm=shared,%{_prefix} \ |
1492 |
--enable-tokenizer=shared,%{_prefix} \ |
1493 |
--enable-xmlreader=shared,%{_prefix} \ |
1494 |
--enable-xmlwriter=shared,%{_prefix} \ |
1495 |
--with-zip=shared \ |
1496 |
--with-bz2=shared,%{_prefix} \ |
1497 |
--with-cdb \ |
1498 |
--with-config-file-path=%{_sysconfdir} \ |
1499 |
--with-config-file-scan-dir=%{_sysconfdir}/php.d \ |
1500 |
--with-curl=shared,%{_prefix} \ |
1501 |
--with-db4 \ |
1502 |
--with-enchant=shared,%{_prefix} \ |
1503 |
--with-freetype=%{_prefix} \ |
1504 |
--with-gdbm \ |
1505 |
--with-external-gd=shared,%{_prefix} \ |
1506 |
--with-gettext=shared,%{_prefix} \ |
1507 |
--with-gmp=shared,%{_prefix} \ |
1508 |
--with-iconv=shared \ |
1509 |
--with-imap=shared,%{_prefix} \ |
1510 |
--with-imap-ssl=%{_prefix} \ |
1511 |
--with-jpeg=%{_prefix} \ |
1512 |
--with-ldap-sasl \ |
1513 |
--with-ldap=shared,%{_prefix} \ |
1514 |
--with-libdir=%{_lib} \ |
1515 |
--with-mhash=shared,%{_prefix} \ |
1516 |
--with-mysqli=shared,mysqlnd \ |
1517 |
--with-mysql-sock=/var/lib/mysql/mysql.sock \ |
1518 |
--with-openssl-dir=%{_prefix} \ |
1519 |
--with-openssl=shared,%{_prefix} \ |
1520 |
--without-pear \ |
1521 |
--with-external-pcre=%{_prefix} \ |
1522 |
--with-pcre-jit \ |
1523 |
--with-pdo-dblib=shared,%{_prefix} \ |
1524 |
--with-pdo-firebird=shared,%{_libdir}/firebird \ |
1525 |
--with-pdo-mysql=shared,mysqlnd \ |
1526 |
--with-pdo-odbc=shared,unixODBC,%{_prefix} \ |
1527 |
--with-pdo-pgsql=shared,%{_prefix} \ |
1528 |
--with-pdo-sqlite=shared,%{_prefix} \ |
1529 |
--with-pgsql=shared,%{_prefix} \ |
1530 |
--with-readline=shared,%{_prefix} \ |
1531 |
--with-snmp=shared,%{_prefix} \ |
1532 |
--with-sodium=shared,%{_prefix} \ |
1533 |
--with-sqlite3=shared,%{_prefix} \ |
1534 |
--with-system-ciphers \ |
1535 |
--with-tidy=shared,%{_prefix} \ |
1536 |
--with-unixODBC=shared,%{_prefix} \ |
1537 |
--with-webp=%{_prefix} \ |
1538 |
--with-xpm=%{_prefix}/X11R6 \ |
1539 |
--with-xsl=shared,%{_prefix} \ |
1540 |
--with-zlib=shared,%{_prefix} \ |
1541 |
--with-zlib-dir=%{_prefix} |
1542 |
|
1543 |
%make_build |
1544 |
|
1545 |
%if %{build_libmagic} |
1546 |
# keep in sync with latest system magic, the next best thing when system libmagic can't be used... |
1547 |
sapi/cli/php create_data_file.php %{_datadir}/misc/magic.mgc > ext/fileinfo/data_file.c |
1548 |
rm -rf ext/fileinfo/.libs ext/fileinfo/*.lo ext/fileinfo/*.la modules/fileinfo.so modules/fileinfo.la |
1549 |
cp -p ext/fileinfo/data_file.c php-devel/extensions/fileinfo/data_file.c |
1550 |
%make_build |
1551 |
%endif |
1552 |
|
1553 |
%install |
1554 |
|
1555 |
install -d %{buildroot}%{_libdir} |
1556 |
install -d %{buildroot}%{_bindir} |
1557 |
install -d %{buildroot}%{_sysconfdir}/php.d |
1558 |
install -d %{buildroot}%{_libdir}/php/extensions |
1559 |
install -d %{buildroot}%{_usrsrc}/php-devel |
1560 |
install -d %{buildroot}%{_mandir}/man1 |
1561 |
install -d %{buildroot}%{_sysconfdir}/cron.d |
1562 |
install -d %{buildroot}/var/lib/php |
1563 |
install -d %{buildroot}%{_datadir}/php |
1564 |
|
1565 |
make install \ |
1566 |
INSTALL_ROOT=%{buildroot} \ |
1567 |
INSTALL_IT="\$(LIBTOOL) --mode=install install libphp.la %{buildroot}%{_libdir}/" |
1568 |
|
1569 |
#clean |
1570 |
rm -f %{buildroot}%{_sysconfdir}/php-fpm.conf.default \ |
1571 |
%{buildroot}%{_sysconfdir}/php-fpm.d/www.conf.default \ |
1572 |
%{buildroot}%{_datadir}/fpm/status.html |
1573 |
|
1574 |
|
1575 |
# borked autopoo |
1576 |
rm -f %{buildroot}%{_bindir}/php %{buildroot}%{_bindir}/php-cgi %{buildroot}%{_bindir}/phpdbg |
1577 |
./libtool --silent --mode=install install sapi/cli/php %{buildroot}%{_bindir}/php |
1578 |
./libtool --silent --mode=install install sapi/cgi/php-cgi %{buildroot}%{_bindir}/php-cgi |
1579 |
./libtool --silent --mode=install install sapi/phpdbg/phpdbg %{buildroot}%{_bindir}/phpdbg |
1580 |
|
1581 |
# compat php-fcgi symlink |
1582 |
ln -s php-cgi %{buildroot}%{_bindir}/php-fcgi |
1583 |
|
1584 |
cp -dpR php-devel/* %{buildroot}%{_usrsrc}/php-devel/ |
1585 |
install -m0644 run-tests*.php %{buildroot}%{_usrsrc}/php-devel/ |
1586 |
install -m0644 main/internal_functions.c %{buildroot}%{_usrsrc}/php-devel/ |
1587 |
|
1588 |
install -m0644 sapi/cli/php.1 %{buildroot}%{_mandir}/man1/ |
1589 |
install -m0644 scripts/man1/phpize.1 %{buildroot}%{_mandir}/man1/ |
1590 |
install -m0644 scripts/man1/php-config.1 %{buildroot}%{_mandir}/man1/ |
1591 |
|
1592 |
# fpm |
1593 |
install -d %{buildroot}%{_unitdir} |
1594 |
install -d %{buildroot}%{_sysconfdir}/logrotate.d |
1595 |
install -d %{buildroot}%{_sysconfdir}/sysconfig |
1596 |
install -d %{buildroot}%{_sysconfdir}/php-fpm.d |
1597 |
install -d %{buildroot}%{_sbindir} |
1598 |
install -d %{buildroot}%{_mandir}/man8 |
1599 |
install -d %{buildroot}/var/lib/php-fpm |
1600 |
install -d %{buildroot}/var/log/php-fpm |
1601 |
install -D -p -m 0644 %{SOURCE9} %{buildroot}%{_tmpfilesdir}/php-fpm.conf |
1602 |
# a small bug here... |
1603 |
echo "; place your config here" > %{buildroot}%{_sysconfdir}/php-fpm.d/default.conf |
1604 |
install -m0644 sapi/fpm/www.conf %{buildroot}%{_sysconfdir}/php-fpm.d/ |
1605 |
|
1606 |
./libtool --silent --mode=install install sapi/fpm/php-fpm %{buildroot}%{_sbindir}/php-fpm |
1607 |
install -m0644 sapi/fpm/php-fpm.8 %{buildroot}%{_mandir}/man8/ |
1608 |
install -m0644 sapi/fpm/php-fpm.conf %{buildroot}%{_sysconfdir}/ |
1609 |
install -m0644 php-fpm.service %{buildroot}%{_unitdir}/php-fpm.service |
1610 |
install -m0644 php-fpm.sysconf %{buildroot}%{_sysconfdir}/sysconfig/php-fpm |
1611 |
install -m0644 php-fpm.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/php-fpm |
1612 |
install -d %{buildroot}%{_httpd_moddir} |
1613 |
install -d %{buildroot}%{_httpd_modconfdir} |
1614 |
install -m0644 %{SOURCE10} %{buildroot}%{_httpd_modconfdir}/ |
1615 |
install -m0644 %{SOURCE13} %{buildroot}%{_httpd_modconfdir}/ |
1616 |
|
1617 |
# Nginx configuration |
1618 |
|
1619 |
install -D -m 644 %{SOURCE20} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/conf.d/php-fpm.conf |
1620 |
install -D -m 644 %{SOURCE21} $RPM_BUILD_ROOT%{_sysconfdir}/nginx/default.d/php.conf |
1621 |
|
1622 |
# adjust a bit |
1623 |
perl -pi -e "s|^pid.*|pid = /run/php-fpm/php-fpm.pid|g" %{buildroot}%{_sysconfdir}/php-fpm.conf |
1624 |
|
1625 |
ln -snf extensions %{buildroot}%{_usrsrc}/php-devel/ext |
1626 |
mv %{buildroot}%{_libdir}/libphp.so %{buildroot}%{_httpd_moddir}/%{mod_name}.so |
1627 |
|
1628 |
# extensions |
1629 |
install -m0644 %{_sourcedir}/*.ini %{buildroot}%{_sysconfdir}/php.d/ |
1630 |
install -m0755 %{SOURCE2} %{buildroot}%{_libdir}/php/maxlifetime |
1631 |
install -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/cron.d/php |
1632 |
install -m0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/php.ini |
1633 |
install -m0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/php-cgi-fcgi.ini |
1634 |
|
1635 |
# lib64 hack |
1636 |
perl -pi -e "s|/usr/lib/|%{_libdir}/|" \ |
1637 |
%{buildroot}%{_sysconfdir}/cron.d/php \ |
1638 |
%{buildroot}%{_sysconfdir}/php.ini \ |
1639 |
%{buildroot}%{_sysconfdir}/php-cgi-fcgi.ini \ |
1640 |
php.ini-production \ |
1641 |
php.ini-development |
1642 |
|
1643 |
# install doc manually in _docdir/php, rather than _docdir/php-doc |
1644 |
install -d -m 755 %{buildroot}%{_docdir}/php |
1645 |
install -m 644 \ |
1646 |
CODING_STANDARDS.md EXTENSIONS LICENSE NEWS \ |
1647 |
php.ini-production php.ini-development \ |
1648 |
README.md README.REDIST.BINS UPGRADING UPGRADING.INTERNALS \ |
1649 |
%{buildroot}%{_docdir}/php |
1650 |
|
1651 |
# fix docs |
1652 |
cp Zend/LICENSE Zend/ZEND_LICENSE |
1653 |
cp ext/openssl/CREDITS CREDITS.openssl |
1654 |
cp ext/spl/CREDITS CREDITS.spl |
1655 |
cp ext/libxml/CREDITS CREDITS.libxml |
1656 |
cp ext/zlib/CREDITS CREDITS.zlib |
1657 |
|
1658 |
# cgi docs |
1659 |
cp sapi/cgi/CREDITS CREDITS.cgi |
1660 |
|
1661 |
# cli docs |
1662 |
cp sapi/cli/CREDITS CREDITS.cli |
1663 |
|
1664 |
# phar fixes |
1665 |
if [ -L %{buildroot}%{_bindir}/phar ]; then |
1666 |
rm -f %{buildroot}%{_bindir}/phar |
1667 |
mv %{buildroot}%{_bindir}/phar.phar %{buildroot}%{_bindir}/phar |
1668 |
fi |
1669 |
|
1670 |
# house cleaning |
1671 |
rm -f %{buildroot}%{_bindir}/pear |
1672 |
rm -f %{buildroot}%{_libdir}/*.*a |
1673 |
|
1674 |
# php-devel.i586: E: zero-length /usr/src/php-devel/extensions/pdo_firebird/EXPERIMENTAL |
1675 |
find %{buildroot}%{_usrsrc}/php-devel -type f -size 0 -exec rm -f {} \; |
1676 |
|
1677 |
%multiarch_includes %{buildroot}%{_includedir}/php/main/build-defs.h |
1678 |
|
1679 |
%multiarch_includes %{buildroot}%{_includedir}/php/main/php_config.h |
1680 |
|
1681 |
%check |
1682 |
%if %{build_test} |
1683 |
# do a make test |
1684 |
export NO_INTERACTION=1 |
1685 |
export PHPRC="." |
1686 |
export REPORT_EXIT_STATUS=2 |
1687 |
export TEST_PHP_DETAILED=0 |
1688 |
export TEST_PHP_ERROR_STYLE=EMACS |
1689 |
#export TEST_PHP_LOG_FORMAT=LESODC |
1690 |
export PHP_INI_SCAN_DIR=/dev/null |
1691 |
|
1692 |
# FAILING TESTS: |
1693 |
# unknown errors with ext/date/tests/oo_002.phpt probably because of php-5.2.5-systzdata.patch |
1694 |
# https://bugs.php.net/bug.php?id=22414 (claimed to be fixed in 2003, but seems not) |
1695 |
# unknown errors with ext/standard/tests/general_functions/phpinfo.phpt |
1696 |
# unknown errors with ext/standard/tests/strings/setlocale_* |
1697 |
disable_tests="ext/date/tests/oo_002.phpt \ |
1698 |
ext/standard/tests/file/bug22414.phpt \ |
1699 |
ext/standard/tests/general_functions/phpinfo.phpt \ |
1700 |
ext/standard/tests/strings/setlocale_basic1.phpt \ |
1701 |
ext/standard/tests/strings/setlocale_basic2.phpt \ |
1702 |
ext/standard/tests/strings/setlocale_basic3.phpt \ |
1703 |
ext/standard/tests/strings/setlocale_variation1.phpt \ |
1704 |
ext/standard/tests/strings/setlocale_variation3.phpt \ |
1705 |
ext/standard/tests/strings/setlocale_variation4.phpt \ |
1706 |
ext/standard/tests/strings/setlocale_variation5.phpt" |
1707 |
|
1708 |
[[ -n "$disable_tests" ]] && \ |
1709 |
for f in $disable_tests; do |
1710 |
[[ -f "$f" ]] && mv $f $f.disabled |
1711 |
done |
1712 |
|
1713 |
TEST_PHP_EXECUTABLE=sapi/cli/php sapi/cli/php -c ./php-test.ini run-tests.php |
1714 |
%endif |
1715 |
|
1716 |
|
1717 |
|
1718 |
%post fpm |
1719 |
%_tmpfilescreate php-fpm |
1720 |
%_post_service php-fpm |
1721 |
|
1722 |
%preun fpm |
1723 |
%_preun_service php-fpm |
1724 |
|
1725 |
# rpm filetrigger to reload httpd when installing/removing php extensions |
1726 |
%transfiletriggerin -n apache-mod_php -- %{_libdir}/php/extensions/ |
1727 |
systemctl reload-or-try-restart httpd.service || : |
1728 |
|
1729 |
%transfiletriggerin fpm -- %{_libdir}/php/extensions/ |
1730 |
systemctl reload-or-try-restart php-fpm.service || : |
1731 |
|
1732 |
%files doc |
1733 |
%doc LICENSE NEWS Zend/ZEND_LICENSE |
1734 |
%doc php.ini-production php.ini-development |
1735 |
%doc CREDITS.libxml CREDITS.zlib |
1736 |
|
1737 |
%files ini |
1738 |
%{_docdir}/php |
1739 |
%config(noreplace) %{_sysconfdir}/php.ini |
1740 |
%config(noreplace) %{_sysconfdir}/php-cgi-fcgi.ini |
1741 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE102}) |
1742 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE103}) |
1743 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE104}) |
1744 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE101}) |
1745 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1066}) |
1746 |
%dir %{_sysconfdir}/php.d |
1747 |
%dir %{_libdir}/php |
1748 |
%dir %{_datadir}/php |
1749 |
%dir %{_libdir}/php/extensions |
1750 |
|
1751 |
%files -n apache-mod_php |
1752 |
%config(noreplace) %{_httpd_modconfdir}/%(basename %{SOURCE13}) |
1753 |
%{_httpd_moddir}/mod_php.so |
1754 |
|
1755 |
%files cli |
1756 |
%doc CREDITS.cli |
1757 |
%{_bindir}/php |
1758 |
%{_mandir}/man1/php.1* |
1759 |
|
1760 |
%files cgi |
1761 |
%doc CREDITS.cgi |
1762 |
%{_bindir}/php-cgi |
1763 |
%{_bindir}/php-fcgi |
1764 |
%{_mandir}/man1/php-cgi.1* |
1765 |
|
1766 |
%files devel |
1767 |
%doc CODING_STANDARDS.md EXTENSIONS |
1768 |
%doc Zend/ZEND_* |
1769 |
%{_bindir}/php-config |
1770 |
%{_bindir}/phpize |
1771 |
%{_libdir}/php/build |
1772 |
%{_usrsrc}/php-devel |
1773 |
%{multiarch_includedir}/php/main/build-defs.h |
1774 |
%{multiarch_includedir}/php/main/php_config.h |
1775 |
%{_includedir}/php |
1776 |
%{_mandir}/man1/php-config.1* |
1777 |
%{_mandir}/man1/phpize.1* |
1778 |
|
1779 |
%files openssl |
1780 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1012}) |
1781 |
%{_libdir}/php/extensions/openssl.so |
1782 |
|
1783 |
%files zlib |
1784 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1013}) |
1785 |
%{_libdir}/php/extensions/zlib.so |
1786 |
|
1787 |
%files bcmath |
1788 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1051}) |
1789 |
%{_libdir}/php/extensions/bcmath.so |
1790 |
|
1791 |
%files bz2 |
1792 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE105}) |
1793 |
%{_libdir}/php/extensions/bz2.so |
1794 |
|
1795 |
%files calendar |
1796 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE106}) |
1797 |
%{_libdir}/php/extensions/calendar.so |
1798 |
|
1799 |
%files ctype |
1800 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE107}) |
1801 |
%{_libdir}/php/extensions/ctype.so |
1802 |
|
1803 |
%files curl |
1804 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE108}) |
1805 |
%{_libdir}/php/extensions/curl.so |
1806 |
|
1807 |
%files dba |
1808 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE109}) |
1809 |
%{_libdir}/php/extensions/dba.so |
1810 |
|
1811 |
%files dom |
1812 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1010}) |
1813 |
%{_libdir}/php/extensions/dom.so |
1814 |
|
1815 |
%files enchant |
1816 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1026}) |
1817 |
%{_libdir}/php/extensions/enchant.so |
1818 |
|
1819 |
%files exif |
1820 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1011}) |
1821 |
%{_libdir}/php/extensions/exif.so |
1822 |
|
1823 |
%files fileinfo |
1824 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1023}) |
1825 |
%{_libdir}/php/extensions/fileinfo.so |
1826 |
|
1827 |
%files filter |
1828 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1060}) |
1829 |
%{_libdir}/php/extensions/filter.so |
1830 |
|
1831 |
%files ftp |
1832 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1014}) |
1833 |
%{_libdir}/php/extensions/ftp.so |
1834 |
|
1835 |
%files gd |
1836 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1015}) |
1837 |
%{_libdir}/php/extensions/gd.so |
1838 |
|
1839 |
%files gettext |
1840 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1016}) |
1841 |
%{_libdir}/php/extensions/gettext.so |
1842 |
|
1843 |
%files gmp |
1844 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1017}) |
1845 |
%{_libdir}/php/extensions/gmp.so |
1846 |
|
1847 |
%files iconv |
1848 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1018}) |
1849 |
%{_libdir}/php/extensions/iconv.so |
1850 |
|
1851 |
%files imap |
1852 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1019}) |
1853 |
%{_libdir}/php/extensions/imap.so |
1854 |
|
1855 |
%files intl |
1856 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1020}) |
1857 |
%{_libdir}/php/extensions/intl.so |
1858 |
|
1859 |
%files ldap |
1860 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1021}) |
1861 |
%{_libdir}/php/extensions/ldap.so |
1862 |
|
1863 |
%files mbstring |
1864 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1022}) |
1865 |
%{_libdir}/php/extensions/mbstring.so |
1866 |
|
1867 |
%files mysqli |
1868 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1025}) |
1869 |
%{_libdir}/php/extensions/mysqli.so |
1870 |
|
1871 |
%files mysqlnd |
1872 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1024}) |
1873 |
%{_libdir}/php/extensions/mysqlnd.so |
1874 |
|
1875 |
%files odbc |
1876 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1027}) |
1877 |
%{_libdir}/php/extensions/odbc.so |
1878 |
|
1879 |
%files opcache |
1880 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1064}) |
1881 |
%{_libdir}/php/extensions/opcache.so |
1882 |
|
1883 |
%files pcntl |
1884 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1028}) |
1885 |
%{_libdir}/php/extensions/pcntl.so |
1886 |
|
1887 |
%files pdo |
1888 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1052}) |
1889 |
%{_libdir}/php/extensions/pdo.so |
1890 |
|
1891 |
%files pdo_dblib |
1892 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1053}) |
1893 |
%{_libdir}/php/extensions/pdo_dblib.so |
1894 |
|
1895 |
%files pdo_firebird |
1896 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1058}) |
1897 |
%{_libdir}/php/extensions/pdo_firebird.so |
1898 |
|
1899 |
%files pdo_mysql |
1900 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1054}) |
1901 |
%{_libdir}/php/extensions/pdo_mysql.so |
1902 |
|
1903 |
%files pdo_odbc |
1904 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1055}) |
1905 |
%{_libdir}/php/extensions/pdo_odbc.so |
1906 |
|
1907 |
%files pdo_pgsql |
1908 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1056}) |
1909 |
%{_libdir}/php/extensions/pdo_pgsql.so |
1910 |
|
1911 |
%files pdo_sqlite |
1912 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1057}) |
1913 |
%{_libdir}/php/extensions/pdo_sqlite.so |
1914 |
|
1915 |
%files pgsql |
1916 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1030}) |
1917 |
%{_libdir}/php/extensions/pgsql.so |
1918 |
|
1919 |
%files phar |
1920 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1063}) |
1921 |
%{_libdir}/php/extensions/phar.so |
1922 |
%{_bindir}/phar |
1923 |
%{_mandir}/man1/phar.1* |
1924 |
%{_mandir}/man1/phar.phar.1* |
1925 |
|
1926 |
%files posix |
1927 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1031}) |
1928 |
%{_libdir}/php/extensions/posix.so |
1929 |
|
1930 |
%files readline |
1931 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1032}) |
1932 |
%{_libdir}/php/extensions/readline.so |
1933 |
|
1934 |
%files session |
1935 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1034}) |
1936 |
%config(noreplace) %{_sysconfdir}/cron.d/php |
1937 |
%{_libdir}/php/extensions/session.so |
1938 |
%{_libdir}/php/maxlifetime |
1939 |
%attr(01733,apache,apache) %dir /var/lib/php |
1940 |
|
1941 |
%files shmop |
1942 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1035}) |
1943 |
%{_libdir}/php/extensions/shmop.so |
1944 |
|
1945 |
%files snmp |
1946 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1036}) |
1947 |
%{_libdir}/php/extensions/snmp.so |
1948 |
|
1949 |
%files soap |
1950 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1037}) |
1951 |
%{_libdir}/php/extensions/soap.so |
1952 |
|
1953 |
%files sockets |
1954 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1038}) |
1955 |
%{_libdir}/php/extensions/sockets.so |
1956 |
|
1957 |
%files sodium |
1958 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1065}) |
1959 |
%{_libdir}/php/extensions/sodium.so |
1960 |
|
1961 |
%files sqlite3 |
1962 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1059}) |
1963 |
%{_libdir}/php/extensions/sqlite3.so |
1964 |
|
1965 |
%files sysvmsg |
1966 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1040}) |
1967 |
%{_libdir}/php/extensions/sysvmsg.so |
1968 |
|
1969 |
%files sysvsem |
1970 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1041}) |
1971 |
%{_libdir}/php/extensions/sysvsem.so |
1972 |
|
1973 |
%files sysvshm |
1974 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1042}) |
1975 |
%{_libdir}/php/extensions/sysvshm.so |
1976 |
|
1977 |
%files tidy |
1978 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1043}) |
1979 |
%{_libdir}/php/extensions/tidy.so |
1980 |
|
1981 |
%files tokenizer |
1982 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1044}) |
1983 |
%{_libdir}/php/extensions/tokenizer.so |
1984 |
|
1985 |
%files xmlreader |
1986 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1048}) |
1987 |
%{_libdir}/php/extensions/xmlreader.so |
1988 |
|
1989 |
%files xmlwriter |
1990 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1050}) |
1991 |
%{_libdir}/php/extensions/xmlwriter.so |
1992 |
|
1993 |
%files xsl |
1994 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1049}) |
1995 |
%{_libdir}/php/extensions/xsl.so |
1996 |
|
1997 |
%files zip |
1998 |
%config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1062}) |
1999 |
%{_libdir}/php/extensions/zip.so |
2000 |
|
2001 |
%files fpm |
2002 |
%doc sapi/fpm/CREDITS sapi/fpm/LICENSE sapi/fpm/status.html |
2003 |
%{_unitdir}/php-fpm.service |
2004 |
%config(noreplace) %{_sysconfdir}/php-fpm.conf |
2005 |
%config(noreplace) %{_sysconfdir}/sysconfig/php-fpm |
2006 |
%{_sysconfdir}/logrotate.d/php-fpm |
2007 |
%dir %{_sysconfdir}/php-fpm.d |
2008 |
%config(noreplace) %{_sysconfdir}/php-fpm.d/default.conf |
2009 |
%config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf |
2010 |
%{_sbindir}/php-fpm |
2011 |
%{_mandir}/man8/php-fpm.8* |
2012 |
%attr(0711,apache,apache) %dir /var/lib/php-fpm |
2013 |
%attr(0711,apache,apache) %dir /var/log/php-fpm |
2014 |
%{_tmpfilesdir}/php-fpm.conf |
2015 |
|
2016 |
%files fpm-apache |
2017 |
%config(noreplace) %{_httpd_modconfdir}/%(basename %{SOURCE10}) |
2018 |
|
2019 |
%files fpm-nginx |
2020 |
%config(noreplace) %{_sysconfdir}/nginx/conf.d/php-fpm.conf |
2021 |
%config(noreplace) %{_sysconfdir}/nginx/default.d/php.conf |
2022 |
|
2023 |
%files -n phpdbg |
2024 |
%doc sapi/phpdbg/CREDITS |
2025 |
%doc sapi/phpdbg/*.php |
2026 |
%{_bindir}/phpdbg |
2027 |
%{_mandir}/man1/phpdbg.1* |