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