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