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