/[packages]/backports/7/php/current/SPECS/php.spec
ViewVC logotype

Contents of /backports/7/php/current/SPECS/php.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1637645 - (show annotations) (download)
Wed Oct 21 11:24:34 2020 UTC (3 years, 9 months ago) by mokraemer
File size: 66363 byte(s)
new version 7.4.11
1 %define _disable_ld_no_undefined 1
2
3 %define mod_name mod_php
4
5 %define build_test 0
6 %{?_with_test: %{expand: %%global build_test 1}}
7 %{?_without_test: %{expand: %%global build_test 0}}
8
9 %define build_libmagic 0
10 %{?_with_libmagic: %{expand: %%global build_libmagic 1}}
11 %{?_without_libmagic: %{expand: %%global build_libmagic 0}}
12
13 %global __requires_exclude BEGIN|mkinstalldirs|pear\\(|/usr/bin/tclsh
14
15 %define php_common_major 7
16 %define php_common_sub 4
17 %define libname %mklibname php_common %{php_common_major}
18
19 # enforce versioned postgresql dependencies because of multiple version
20 # availability in the distribution
21 %define postgresql_version %(pg_config &>/dev/null && pg_config 2>/dev/null | awk '/^VERSION/ { print $4 }' | sed -re 's/rc[0-9]+$//'|| echo 0)
22
23 %define _RC %nil
24
25 Summary: The PHP scripting language
26 Name: php
27 Epoch: 3
28 Version: %{php_common_major}.%{php_common_sub}.11
29 Release: %mkrel 1
30 Source0: http://fr2.php.net/distributions/php-%{version}.tar.xz
31 Group: Development/PHP
32 License: PHP License
33 URL: http://www.php.net
34 Source1: php-test-ini
35 Source2: maxlifetime
36 Source3: php.crond
37 Source4: php-fpm.service
38 Source5: php-fpm.sysconf
39 Source6: php-fpm.logrotate
40 # S7 comes from ext/fileinfo/create_data_file.php but could be removed someday
41 Source7: create_data_file.php
42 # ini based on production version
43 Source8: php-ini
44 Source9: php-fpm-tmpfiles.conf
45 Source10: 10_php-fpm.conf
46 Source11: php.ini-production-orig
47 Source12: php.ini-development-orig
48 Source13: 70_mod_php.conf
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 #####################################################################
128 # Stolen from fedora
129 # Functional changes
130 #Patch115: php-dlopen.diff
131 #why do we want to have them public?
132 Patch226: php-no-fvisibility_hidden_fix.diff
133 Patch228: php-5.3.0RC2-xmlrpc-epi_fix.diff
134 Patch229: php-7.0.2RC1-session.use_strict_mode.diff
135 # apache-mod_php
136 Patch400: php-7.0.0RC5-apache-mod_php.diff
137
138 BuildRequires: apache-devel >= 2.2
139 BuildRequires: autoconf
140 BuildRequires: automake
141 BuildRequires: bison
142 BuildRequires: byacc
143 BuildRequires: bzip2-devel
144 BuildRequires: c-client-devel >= 2007
145 BuildRequires: db-devel
146 BuildRequires: elfutils-devel
147 BuildRequires: file
148 BuildRequires: flex
149 BuildRequires: freetds-devel >= 0.63
150 BuildRequires: freetype2-devel
151 BuildRequires: gdbm-devel
152 BuildRequires: gettext-devel
153 BuildRequires: gmp-devel
154 BuildRequires: gpm-devel
155 BuildRequires: icu-devel >= 49.0
156 BuildRequires: lemon
157 BuildRequires: libldap-devel
158 BuildRequires: libtool
159 BuildRequires: libtool-devel
160 BuildRequires: mbfl-devel >= 1.2.0-2
161 BuildRequires: mercurial
162 BuildRequires: mhash-devel
163 BuildRequires: mysql-devel
164 BuildRequires: net-snmp-devel
165 BuildRequires: net-snmp-mibs
166 BuildRequires: openssl
167 BuildRequires: pam-devel
168 BuildRequires: pkgconfig(enchant-2)
169 BuildRequires: pkgconfig(fbclient)
170 BuildRequires: pkgconfig(gdlib) >= 2.1
171 BuildRequires: pkgconfig(libcurl) >= 7.9.8
172 BuildRequires: pkgconfig(libedit)
173 BuildRequires: pkgconfig(libjpeg)
174 BuildRequires: pkgconfig(libpcre2-posix) >= 10.30
175 BuildRequires: pkgconfig(libpng)
176 BuildRequires: pkgconfig(libsasl2)
177 BuildRequires: pkgconfig(libsodium)
178 BuildRequires: pkgconfig(libwebp) >= 0.4
179 BuildRequires: pkgconfig(libxml-2.0) >= 2.6
180 BuildRequires: pkgconfig(libxslt) >= 1.1.0
181 BuildRequires: pkgconfig(libzip) >= 0.10.1
182 BuildRequires: pkgconfig(ncurses)
183 BuildRequires: pkgconfig(oniguruma) >= 5.9.2
184 BuildRequires: pkgconfig(openssl)
185 BuildRequires: pkgconfig(sqlite3)
186 BuildRequires: pkgconfig(systemd)
187 BuildRequires: pkgconfig(x11)
188 BuildRequires: pkgconfig(xpm)
189 BuildRequires: postgresql-devel
190 BuildRequires: re2c >= 0.13.4
191 BuildRequires: readline-devel
192 BuildRequires: tidy-devel
193 BuildRequires: unixODBC-devel >= 2.2.1
194 BuildRequires: xmlrpc-epi-devel
195 %if %{build_libmagic}
196 BuildRequires: file-devel >= 5.14
197 %endif
198
199 %description
200 PHP is an HTML-embeddable scripting language. PHP offers built-in database
201 integration for several commercial and non-commercial database management
202 systems, so writing a database-enabled script with PHP is fairly simple. The
203 most common use of PHP coding is probably as a replacement for CGI scripts.
204
205 %package ini
206 Summary: INI files for PHP
207 Group: Development/PHP
208 Requires: php = %{epoch}:%{version}
209
210 %description ini
211 The php-ini package contains the ini file required for PHP.
212
213
214 %package -n apache-mod_php
215 Summary: The PHP HTML-embedded scripting language for use with apache
216 Group: System/Servers
217 Requires(pre): rpm-helper
218 Requires(postun): rpm-helper
219 Requires: apache >= 2.2
220 #add all common requirements to the lib as a central
221 Requires: %{libname} = %{epoch}:%{version}
222 # php is not fully thread safe
223 # http://www.php.net/manual/en/faq.installation.php#faq.installation.apache2
224 # http://stackoverflow.com/questions/681081/is-php-thread-safe
225 Provides: php-webinterface = %{epoch}:%{version}-%{release}
226 Conflicts: php-fpm-apache
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 - 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 - unixODBC - Supports access to database servers through the unixODBC driver
910 manager and the database's own ODBC drivers.
911
912 - 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 Suggests: php-fpm-apache
1244
1245 %description fpm
1246 PHP is an HTML-embeddable scripting language. PHP offers built-in database
1247 integration for several commercial and non-commercial database management
1248 systems, so writing a database-enabled script with PHP is fairly simple. The
1249 most common use of PHP coding is probably as a replacement for CGI scripts.
1250
1251 This package contains the FastCGI Process Manager. You must also install
1252 %{libname}.
1253
1254 %package fpm-apache
1255 Summary: PHP FastCGI Process Manager config for apache
1256 Group: Development/PHP
1257 Requires: php-fpm
1258 Requires: apache >= 2.2
1259 Conflicts: apache-mod_php
1260
1261 %description fpm-apache
1262 This provides the configuration files to use php-fpm with apache.
1263 %package -n phpdbg
1264 Summary: The interactive PHP debugger
1265 Group: Development/PHP
1266 Requires: %{libname} = %{epoch}:%{version}
1267 Requires: php = %{epoch}:%{version}
1268
1269 %description -n phpdbg
1270 PHP is an HTML-embeddable scripting language. PHP offers built-in database
1271 integration for several commercial and non-commercial database management
1272 systems, so writing a database-enabled script with PHP is fairly simple. The
1273 most common use of PHP coding is probably as a replacement for CGI scripts.
1274
1275 This package contains the The interactive PHP debugger. You must also install
1276 %{libname}.
1277
1278 Implemented as a SAPI module, phpdbg can excert complete control over the
1279 environment without impacting the functionality or performance of your code.
1280
1281 phpdbg aims to be a lightweight, powerful, easy to use debugging platform for
1282 PHP5.4+
1283
1284 %prep
1285
1286 %autosetup -S hg -n php-%{version}%{_RC}
1287
1288 mv sapi/apache2handler/mod_php%{php_common_major}.c sapi/apache2handler/mod_php.c
1289
1290 cp %{SOURCE1} php-test.ini
1291 cp %{SOURCE4} php-fpm.service
1292 cp %{SOURCE5} php-fpm.sysconf
1293 cp %{SOURCE6} php-fpm.logrotate
1294 cp %{SOURCE7} create_data_file.php
1295
1296 # Change perms otherwise rpm would get fooled while finding requires
1297 find -name "*.inc" | xargs chmod 644
1298 find -name "*.php*" | xargs chmod 644
1299 find -name "*README*" | xargs chmod 644
1300
1301 mkdir -p php-devel/extensions
1302 mkdir -p php-devel/sapi
1303
1304 # Install test files in php-devel
1305 cp -a tests php-devel
1306
1307 cp -dpR ext/* php-devel/extensions/
1308 rm -f php-devel/extensions/informix/stub.c
1309 rm -f php-devel/extensions/standard/.deps
1310 rm -f php-devel/extensions/skeleton/EXPERIMENTAL
1311
1312 # SAPI
1313 cp -dpR sapi/* php-devel/sapi/
1314 rm -f php-devel/sapi/thttpd/stub.c
1315 rm -f php-devel/sapi/cgi/php.sym
1316 rm -f php-devel/sapi/fastcgi/php.sym
1317 rm -f php-devel/sapi/pi3web/php.sym
1318
1319 # cleanup
1320 find php-devel -name "*.droplet" | xargs rm -f
1321
1322 # don't ship MS Windows source
1323 rm -rf php-devel/extensions/com_dotnet
1324
1325 # likewise with these:
1326 find php-devel -name "*.dsp" | xargs rm -f
1327 find php-devel -name "*.mak" | xargs rm -f
1328 find php-devel -name "*.w32" | xargs rm
1329
1330 # make sure using system libs
1331 rm -rf ext/pcre/pcrelib
1332 rm -rf ext/pdo_sqlite/sqlite
1333 rm -rf ext/xmlrpc/libxmlrpc
1334
1335 %build
1336 %serverbuild
1337
1338 export CFLAGS="${CFLAGS} -O3 -fno-strict-aliasing -fvisibility=default"
1339 export LDFLAGS="%{ldflags} -O3 -lz"
1340 export CXXFLAGS="${CXXFLAGS} -O3 -fvisibility=default -fvisibility-inlines-hidden"
1341
1342 cat > php-devel/buildext <<EOF
1343 #!/bin/bash
1344 gcc -Wall -fPIC -shared $CFLAGS \\
1345 -I. \`%{_bindir}/php-config --includes\` \\
1346 -I%{_includedir}/libxml2 \\
1347 -I%{_includedir}/freetype \\
1348 -I%{_includedir}/openssl \\
1349 -I%{_usrsrc}/php-devel/ext \\
1350 -I%{_includedir}/\$1 \\
1351 \$4 \$2 -o \$1.so \$3 -lc
1352 EOF
1353
1354 chmod 755 php-devel/buildext
1355
1356 #export PHP_AUTOCONF=autoconf-2.13
1357 rm -f configure
1358 rm -rf autom4te.cache
1359 ./buildconf --force
1360
1361 # Do this patch with a perl hack...
1362 perl -pi -e "s|'\\\$install_libdir'|'%{_libdir}'|" ltmain.sh
1363
1364 export oldstyleextdir=yes
1365 export EXTENSION_DIR="%{_libdir}/php/extensions"
1366 export PROG_SENDMAIL="%{_sbindir}/sendmail"
1367 export GD_SHARED_LIBADD="$GD_SHARED_LIBADD -lm"
1368 export ENCHANT_CFLAGS=`pkgconf --cflags enchant-2`
1369 export ENCHANT_LIBS=`pkgconf --libs enchant-2`
1370
1371 # never use "--disable-rpath", it does the opposite
1372
1373 # Configure php
1374 for i in fpm cgi cli apxs; do
1375 ./configure \
1376 `[ $i = fpm ] && echo --disable-cli --enable-fpm --with-fpm-user=apache --with-fpm-group=apache --with-fpm-systemd` \
1377 `[ $i = cgi ] && echo --disable-cli` \
1378 `[ $i = cli ] && echo --disable-cgi --enable-cli` \
1379 `[ $i = apxs ] && echo --with-apxs2=%{_httpd_apxs}` \
1380 --with-pic \
1381 --build=%{_build} \
1382 --prefix=%{_prefix} \
1383 --exec-prefix=%{_prefix} \
1384 --bindir=%{_bindir} \
1385 --sbindir=%{_sbindir} \
1386 --sysconfdir=%{_sysconfdir} \
1387 --datadir=%{_datadir} \
1388 --includedir=%{_includedir} \
1389 --libdir=%{_libdir} \
1390 --libexecdir=%{_libexecdir} \
1391 --localstatedir=/var/lib \
1392 --mandir=%{_mandir} \
1393 --enable-shared=yes \
1394 --enable-static=no \
1395 --disable-debug \
1396 --enable-bcmath=shared \
1397 --enable-calendar=shared \
1398 --enable-ctype=shared \
1399 --enable-dba=shared \
1400 --enable-dom=shared,%{_prefix} \
1401 --enable-exif=shared \
1402 --enable-fileinfo=shared \
1403 --enable-filter=shared \
1404 --enable-ftp=shared \
1405 --enable-gd=shared \
1406 --enable-inline-optimization \
1407 --enable-intl=shared \
1408 --enable-json=shared \
1409 --enable-mbregex \
1410 --enable-mbstring=shared,%{_prefix} \
1411 --enable-mysqlnd=shared,%{_bindir}/mysql_config \
1412 --enable-opcache=shared \
1413 --enable-pcntl=shared \
1414 --enable-pdo=shared,%{_prefix} \
1415 --enable-phar=shared \
1416 --enable-phpdbg \
1417 --enable-phpdbg-webhelper \
1418 --enable-posix=shared \
1419 --enable-session=shared,%{_prefix} \
1420 --enable-shmop=shared,%{_prefix} \
1421 --enable-simplexml \
1422 --enable-soap=shared,%{_prefix} \
1423 --enable-sockets=shared,%{_prefix} \
1424 --enable-sysvmsg=shared,%{_prefix} \
1425 --enable-sysvsem=shared,%{_prefix} \
1426 --enable-sysvshm=shared,%{_prefix} \
1427 --enable-tokenizer=shared,%{_prefix} \
1428 --enable-xmlreader=shared,%{_prefix} \
1429 --enable-xmlwriter=shared,%{_prefix} \
1430 --with-zip=shared \
1431 --with-bz2=shared,%{_prefix} \
1432 --with-cdb \
1433 --with-config-file-path=%{_sysconfdir} \
1434 --with-config-file-scan-dir=%{_sysconfdir}/php.d \
1435 --with-curl=shared,%{_prefix} \
1436 --with-db4 \
1437 --with-enchant=shared,%{_prefix} \
1438 --with-freetype=%{_prefix} \
1439 --with-gdbm \
1440 --with-external-gd=shared,%{_prefix} \
1441 --with-gettext=shared,%{_prefix} \
1442 --with-gmp=shared,%{_prefix} \
1443 --with-iconv=shared \
1444 --with-imap=shared,%{_prefix} \
1445 --with-imap-ssl=%{_prefix} \
1446 --with-jpeg=%{_prefix} \
1447 --with-ldap-sasl \
1448 --with-ldap=shared,%{_prefix} \
1449 --with-libdir=%{_lib} \
1450 --with-mysqli=shared,mysqlnd \
1451 --with-mysql-sock=/var/lib/mysql/mysql.sock \
1452 --with-openssl-dir=%{_prefix} \
1453 --with-openssl=shared,%{_prefix} \
1454 --without-pear \
1455 --with-external-pcre=%{_prefix} \
1456 --with-pcre-jit \
1457 --with-pdo-dblib=shared,%{_prefix} \
1458 --with-pdo-firebird=shared,%{_libdir}/firebird \
1459 --with-pdo-mysql=shared,mysqlnd \
1460 --with-pdo-odbc=shared,unixODBC,%{_prefix} \
1461 --with-pdo-pgsql=shared,%{_prefix} \
1462 --with-pdo-sqlite=shared,%{_prefix} \
1463 --with-pgsql=shared,%{_prefix} \
1464 --with-readline=shared,%{_prefix} \
1465 --with-snmp=shared,%{_prefix} \
1466 --with-sodium=shared,%{_prefix} \
1467 --with-sqlite3=shared,%{_prefix} \
1468 --with-system-ciphers \
1469 --with-tidy=shared,%{_prefix} \
1470 --with-unixODBC=shared,%{_prefix} \
1471 --with-webp=%{_prefix} \
1472 --with-xmlrpc=shared,%{_prefix} \
1473 --with-xpm=%{_prefix}/X11R6 \
1474 --with-xsl=shared,%{_prefix} \
1475 --with-zlib=shared,%{_prefix} \
1476 --with-zlib-dir=%{_prefix}
1477
1478 cp -f Makefile Makefile.$i
1479
1480 # left for debugging purposes
1481 cp -f main/php_config.h php_config.h.$i
1482
1483 # when all else failed...
1484 #perl -pi -e "s|-prefer-non-pic -static||g" Makefile.$i
1485
1486 done
1487
1488 %make_build
1489
1490 %if %{build_libmagic}
1491 # keep in sync with latest system magic, the next best thing when system libmagic can't be used...
1492 sapi/cli/php create_data_file.php %{_datadir}/misc/magic.mgc > ext/fileinfo/data_file.c
1493 rm -rf ext/fileinfo/.libs ext/fileinfo/*.lo ext/fileinfo/*.la modules/fileinfo.so modules/fileinfo.la
1494 cp -p ext/fileinfo/data_file.c php-devel/extensions/fileinfo/data_file.c
1495 %make_build
1496 %endif
1497
1498 # make php-cgi
1499 cp -af php_config.h.cgi main/php_config.h
1500 make -f Makefile.cgi sapi/cgi/php-cgi
1501 cp -af php_config.h.apxs main/php_config.h
1502
1503 # make php-fpm
1504 cp -af php_config.h.fpm main/php_config.h
1505 make -f Makefile.fpm sapi/fpm/php-fpm
1506 cp -af php_config.h.apxs main/php_config.h
1507
1508 %install
1509
1510 install -d %{buildroot}%{_libdir}
1511 install -d %{buildroot}%{_bindir}
1512 install -d %{buildroot}%{_sysconfdir}/php.d
1513 install -d %{buildroot}%{_libdir}/php/extensions
1514 install -d %{buildroot}%{_usrsrc}/php-devel
1515 install -d %{buildroot}%{_mandir}/man1
1516 install -d %{buildroot}%{_sysconfdir}/cron.d
1517 install -d %{buildroot}/var/lib/php
1518 install -d %{buildroot}%{_datadir}/php
1519
1520 make -f Makefile.apxs install \
1521 INSTALL_ROOT=%{buildroot} \
1522 INSTALL_IT="\$(LIBTOOL) --mode=install install libphp%{php_common_major}_common.la %{buildroot}%{_libdir}/"
1523
1524 # borked autopoo
1525 rm -f %{buildroot}%{_bindir}/php %{buildroot}%{_bindir}/php-cgi %{buildroot}%{_bindir}/phpdbg
1526 ./libtool --silent --mode=install install sapi/cli/php %{buildroot}%{_bindir}/php
1527 ./libtool --silent --mode=install install sapi/cgi/php-cgi %{buildroot}%{_bindir}/php-cgi
1528 ./libtool --silent --mode=install install sapi/phpdbg/phpdbg %{buildroot}%{_bindir}/phpdbg
1529
1530 # compat php-fcgi symlink
1531 ln -s php-cgi %{buildroot}%{_bindir}/php-fcgi
1532
1533 cp -dpR php-devel/* %{buildroot}%{_usrsrc}/php-devel/
1534 install -m0644 run-tests*.php %{buildroot}%{_usrsrc}/php-devel/
1535 install -m0644 main/internal_functions.c %{buildroot}%{_usrsrc}/php-devel/
1536
1537 install -m0644 sapi/cli/php.1 %{buildroot}%{_mandir}/man1/
1538 install -m0644 scripts/man1/phpize.1 %{buildroot}%{_mandir}/man1/
1539 install -m0644 scripts/man1/php-config.1 %{buildroot}%{_mandir}/man1/
1540
1541 # fpm
1542 install -d %{buildroot}%{_unitdir}
1543 install -d %{buildroot}%{_sysconfdir}/logrotate.d
1544 install -d %{buildroot}%{_sysconfdir}/sysconfig
1545 install -d %{buildroot}%{_sysconfdir}/php-fpm.d
1546 install -d %{buildroot}%{_sbindir}
1547 install -d %{buildroot}%{_mandir}/man8
1548 install -d %{buildroot}/var/lib/php-fpm
1549 install -d %{buildroot}/var/log/php-fpm
1550 install -D -p -m 0644 %{SOURCE9} %{buildroot}%{_tmpfilesdir}/php-fpm.conf
1551 # a small bug here...
1552 echo "; place your config here" > %{buildroot}%{_sysconfdir}/php-fpm.d/default.conf
1553 install -m0644 sapi/fpm/www.conf %{buildroot}%{_sysconfdir}/php-fpm.d/
1554
1555 ./libtool --silent --mode=install install sapi/fpm/php-fpm %{buildroot}%{_sbindir}/php-fpm
1556 install -m0644 sapi/fpm/php-fpm.8 %{buildroot}%{_mandir}/man8/
1557 install -m0644 sapi/fpm/php-fpm.conf %{buildroot}%{_sysconfdir}/
1558 install -m0644 php-fpm.service %{buildroot}%{_unitdir}/php-fpm.service
1559 install -m0644 php-fpm.sysconf %{buildroot}%{_sysconfdir}/sysconfig/php-fpm
1560 install -m0644 php-fpm.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/php-fpm
1561 install -d %{buildroot}%{_httpd_moddir}
1562 install -d %{buildroot}%{_httpd_modconfdir}
1563 install -m0644 %{SOURCE10} %{buildroot}%{_httpd_modconfdir}/
1564 install -m0644 %{SOURCE13} %{buildroot}%{_httpd_modconfdir}/
1565
1566 # adjust a bit
1567 perl -pi -e "s|^pid.*|pid = /run/php-fpm/php-fpm.pid|g" %{buildroot}%{_sysconfdir}/php-fpm.conf
1568
1569 ln -snf extensions %{buildroot}%{_usrsrc}/php-devel/ext
1570
1571
1572 install -m0755 .libs/libphp%{php_common_major}.so %{buildroot}%{_httpd_moddir}/%{mod_name}.so
1573
1574
1575 # extensions
1576 install -m0644 %{_sourcedir}/*.ini %{buildroot}%{_sysconfdir}/php.d/
1577 install -m0755 %{SOURCE2} %{buildroot}%{_libdir}/php/maxlifetime
1578 install -m0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/cron.d/php
1579 install -m0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/php.ini
1580 install -m0644 %{SOURCE8} %{buildroot}%{_sysconfdir}/php-cgi-fcgi.ini
1581
1582 # lib64 hack
1583 perl -pi -e "s|/usr/lib/|%{_libdir}/|" \
1584 %{buildroot}%{_sysconfdir}/cron.d/php \
1585 %{buildroot}%{_sysconfdir}/php.ini \
1586 %{buildroot}%{_sysconfdir}/php-cgi-fcgi.ini \
1587 php.ini-production \
1588 php.ini-development
1589
1590 # install doc manually in _docdir/php, rather than _docdir/php-doc
1591 install -d -m 755 %{buildroot}%{_docdir}/php
1592 install -m 644 \
1593 CODING_STANDARDS.md EXTENSIONS LICENSE NEWS \
1594 php.ini-production php.ini-development \
1595 README.md README.REDIST.BINS UPGRADING UPGRADING.INTERNALS \
1596 %{buildroot}%{_docdir}/php
1597
1598 # fix docs
1599 cp Zend/LICENSE Zend/ZEND_LICENSE
1600 cp ext/openssl/CREDITS CREDITS.openssl
1601 cp ext/spl/CREDITS CREDITS.spl
1602 cp ext/libxml/CREDITS CREDITS.libxml
1603 cp ext/zlib/CREDITS CREDITS.zlib
1604
1605 # cgi docs
1606 cp sapi/cgi/CREDITS CREDITS.cgi
1607
1608 # cli docs
1609 cp sapi/cli/CREDITS CREDITS.cli
1610
1611 # phar fixes
1612 if [ -L %{buildroot}%{_bindir}/phar ]; then
1613 rm -f %{buildroot}%{_bindir}/phar
1614 mv %{buildroot}%{_bindir}/phar.phar %{buildroot}%{_bindir}/phar
1615 fi
1616
1617 # house cleaning
1618 rm -f %{buildroot}%{_bindir}/pear
1619 rm -f %{buildroot}%{_libdir}/*.*a
1620
1621 # php-devel.i586: E: zero-length /usr/src/php-devel/extensions/pdo_firebird/EXPERIMENTAL
1622 find %{buildroot}%{_usrsrc}/php-devel -type f -size 0 -exec rm -f {} \;
1623
1624 %multiarch_includes %{buildroot}%{_includedir}/php/main/build-defs.h
1625
1626 %multiarch_includes %{buildroot}%{_includedir}/php/main/php_config.h
1627
1628 %check
1629 %if %{build_test}
1630 # do a make test
1631 export NO_INTERACTION=1
1632 export PHPRC="."
1633 export REPORT_EXIT_STATUS=2
1634 export TEST_PHP_DETAILED=0
1635 export TEST_PHP_ERROR_STYLE=EMACS
1636 export TEST_PHP_LOG_FORMAT=LEODC
1637 export PHP_INI_SCAN_DIR=/dev/null
1638
1639 # FAILING TESTS:
1640 # unknown errors with ext/date/tests/oo_002.phpt probably because of php-5.2.5-systzdata.patch
1641 # http://bugs.php.net/bug.php?id=22414 (claimed to be fixed in 2003, but seems not)
1642 # unknown errors with ext/standard/tests/general_functions/phpinfo.phpt
1643 # unknown errors with ext/standard/tests/strings/setlocale_*
1644 disable_tests="ext/date/tests/oo_002.phpt \
1645 ext/standard/tests/file/bug22414.phpt \
1646 ext/standard/tests/general_functions/phpinfo.phpt \
1647 ext/standard/tests/strings/setlocale_basic1.phpt \
1648 ext/standard/tests/strings/setlocale_basic2.phpt \
1649 ext/standard/tests/strings/setlocale_basic3.phpt \
1650 ext/standard/tests/strings/setlocale_variation1.phpt \
1651 ext/standard/tests/strings/setlocale_variation3.phpt \
1652 ext/standard/tests/strings/setlocale_variation4.phpt \
1653 ext/standard/tests/strings/setlocale_variation5.phpt"
1654
1655 [[ -n "$disable_tests" ]] && \
1656 for f in $disable_tests; do
1657 [[ -f "$f" ]] && mv $f $f.disabled
1658 done
1659
1660 TEST_PHP_EXECUTABLE=sapi/cli/php sapi/cli/php -c ./php-test.ini run-tests.php
1661 %endif
1662
1663
1664
1665 %post fpm
1666 %_tmpfilescreate php-fpm
1667 %_post_service php-fpm
1668
1669 %preun fpm
1670 %_preun_service php-fpm
1671
1672 # rpm filetrigger to reload httpd when installing/removing php extensions
1673 %transfiletriggerin -- %{_libdir}/php/extensions/
1674 systemctl reload-or-try-restart httpd.service || :
1675
1676 %files doc
1677 %doc LICENSE NEWS Zend/ZEND_LICENSE
1678 %doc php.ini-production php.ini-development
1679 %doc CREDITS.libxml CREDITS.zlib
1680
1681 %files ini
1682 %{_docdir}/php
1683 %config(noreplace) %{_sysconfdir}/php.ini
1684 %config(noreplace) %{_sysconfdir}/php-cgi-fcgi.ini
1685 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE102})
1686 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE103})
1687 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE104})
1688 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE101})
1689 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1066})
1690 %dir %{_sysconfdir}/php.d
1691 %dir %{_libdir}/php
1692 %dir %{_datadir}/php
1693 %dir %{_libdir}/php/extensions
1694
1695 %files -n apache-mod_php
1696 %config(noreplace) %{_httpd_modconfdir}/%(basename %{SOURCE13})
1697 %{_httpd_moddir}/mod_php.so
1698
1699 %files -n %{libname}
1700 %{_libdir}/libphp%{php_common_major}_common.so.%{php_common_major}{,.*}
1701
1702 %files cli
1703 %doc CREDITS.cli
1704 %{_bindir}/php
1705 %{_mandir}/man1/php.1*
1706
1707 %files cgi
1708 %doc CREDITS.cgi
1709 %{_bindir}/php-cgi
1710 %{_bindir}/php-fcgi
1711 %{_mandir}/man1/php-cgi.1*
1712
1713 %files devel
1714 %doc CODING_STANDARDS.md EXTENSIONS
1715 %doc Zend/ZEND_*
1716 %{_bindir}/php-config
1717 %{_bindir}/phpize
1718 %{_libdir}/libphp%{php_common_major}_common.so
1719 %{_libdir}/php/build
1720 %{_usrsrc}/php-devel
1721 %{multiarch_includedir}/php/main/build-defs.h
1722 %{multiarch_includedir}/php/main/php_config.h
1723 %{_includedir}/php
1724 %{_mandir}/man1/php-config.1*
1725 %{_mandir}/man1/phpize.1*
1726
1727 %files openssl
1728 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1012})
1729 %{_libdir}/php/extensions/openssl.so
1730
1731 %files zlib
1732 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1013})
1733 %{_libdir}/php/extensions/zlib.so
1734
1735 %files bcmath
1736 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1051})
1737 %{_libdir}/php/extensions/bcmath.so
1738
1739 %files bz2
1740 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE105})
1741 %{_libdir}/php/extensions/bz2.so
1742
1743 %files calendar
1744 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE106})
1745 %{_libdir}/php/extensions/calendar.so
1746
1747 %files ctype
1748 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE107})
1749 %{_libdir}/php/extensions/ctype.so
1750
1751 %files curl
1752 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE108})
1753 %{_libdir}/php/extensions/curl.so
1754
1755 %files dba
1756 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE109})
1757 %{_libdir}/php/extensions/dba.so
1758
1759 %files dom
1760 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1010})
1761 %{_libdir}/php/extensions/dom.so
1762
1763 %files enchant
1764 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1026})
1765 %{_libdir}/php/extensions/enchant.so
1766
1767 %files exif
1768 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1011})
1769 %{_libdir}/php/extensions/exif.so
1770
1771 %files fileinfo
1772 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1023})
1773 %{_libdir}/php/extensions/fileinfo.so
1774
1775 %files filter
1776 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1060})
1777 %{_libdir}/php/extensions/filter.so
1778
1779 %files ftp
1780 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1014})
1781 %{_libdir}/php/extensions/ftp.so
1782
1783 %files gd
1784 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1015})
1785 %{_libdir}/php/extensions/gd.so
1786
1787 %files gettext
1788 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1016})
1789 %{_libdir}/php/extensions/gettext.so
1790
1791 %files gmp
1792 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1017})
1793 %{_libdir}/php/extensions/gmp.so
1794
1795 %files iconv
1796 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1018})
1797 %{_libdir}/php/extensions/iconv.so
1798
1799 %files imap
1800 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1019})
1801 %{_libdir}/php/extensions/imap.so
1802
1803 %files intl
1804 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1020})
1805 %{_libdir}/php/extensions/intl.so
1806
1807 %files json
1808 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1061})
1809 %{_libdir}/php/extensions/json.so
1810
1811 %files ldap
1812 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1021})
1813 %{_libdir}/php/extensions/ldap.so
1814
1815 %files mbstring
1816 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1022})
1817 %{_libdir}/php/extensions/mbstring.so
1818
1819 %files mysqli
1820 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1025})
1821 %{_libdir}/php/extensions/mysqli.so
1822
1823 %files mysqlnd
1824 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1024})
1825 %{_libdir}/php/extensions/mysqlnd.so
1826
1827 %files odbc
1828 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1027})
1829 %{_libdir}/php/extensions/odbc.so
1830
1831 %files opcache
1832 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1064})
1833 %{_libdir}/php/extensions/opcache.so
1834
1835 %files pcntl
1836 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1028})
1837 %{_libdir}/php/extensions/pcntl.so
1838
1839 %files pdo
1840 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1052})
1841 %{_libdir}/php/extensions/pdo.so
1842
1843 %files pdo_dblib
1844 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1053})
1845 %{_libdir}/php/extensions/pdo_dblib.so
1846
1847 %files pdo_firebird
1848 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1058})
1849 %{_libdir}/php/extensions/pdo_firebird.so
1850
1851 %files pdo_mysql
1852 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1054})
1853 %{_libdir}/php/extensions/pdo_mysql.so
1854
1855 %files pdo_odbc
1856 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1055})
1857 %{_libdir}/php/extensions/pdo_odbc.so
1858
1859 %files pdo_pgsql
1860 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1056})
1861 %{_libdir}/php/extensions/pdo_pgsql.so
1862
1863 %files pdo_sqlite
1864 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1057})
1865 %{_libdir}/php/extensions/pdo_sqlite.so
1866
1867 %files pgsql
1868 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1030})
1869 %{_libdir}/php/extensions/pgsql.so
1870
1871 %files phar
1872 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1063})
1873 %{_libdir}/php/extensions/phar.so
1874 %{_bindir}/phar
1875 %{_mandir}/man1/phar.1*
1876 %{_mandir}/man1/phar.phar.1*
1877
1878 %files posix
1879 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1031})
1880 %{_libdir}/php/extensions/posix.so
1881
1882 %files readline
1883 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1032})
1884 %{_libdir}/php/extensions/readline.so
1885
1886 %files session
1887 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1034})
1888 %config(noreplace) %{_sysconfdir}/cron.d/php
1889 %{_libdir}/php/extensions/session.so
1890 %{_libdir}/php/maxlifetime
1891 %attr(01733,apache,apache) %dir /var/lib/php
1892
1893 %files shmop
1894 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1035})
1895 %{_libdir}/php/extensions/shmop.so
1896
1897 %files snmp
1898 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1036})
1899 %{_libdir}/php/extensions/snmp.so
1900
1901 %files soap
1902 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1037})
1903 %{_libdir}/php/extensions/soap.so
1904
1905 %files sockets
1906 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1038})
1907 %{_libdir}/php/extensions/sockets.so
1908
1909 %files sodium
1910 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1065})
1911 %{_libdir}/php/extensions/sodium.so
1912
1913 %files sqlite3
1914 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1059})
1915 %{_libdir}/php/extensions/sqlite3.so
1916
1917 %files sysvmsg
1918 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1040})
1919 %{_libdir}/php/extensions/sysvmsg.so
1920
1921 %files sysvsem
1922 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1041})
1923 %{_libdir}/php/extensions/sysvsem.so
1924
1925 %files sysvshm
1926 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1042})
1927 %{_libdir}/php/extensions/sysvshm.so
1928
1929 %files tidy
1930 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1043})
1931 %{_libdir}/php/extensions/tidy.so
1932
1933 %files tokenizer
1934 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1044})
1935 %{_libdir}/php/extensions/tokenizer.so
1936
1937 %files xmlreader
1938 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1048})
1939 %{_libdir}/php/extensions/xmlreader.so
1940
1941 %files xmlrpc
1942 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1046})
1943 %{_libdir}/php/extensions/xmlrpc.so
1944
1945 %files xmlwriter
1946 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1050})
1947 %{_libdir}/php/extensions/xmlwriter.so
1948
1949 %files xsl
1950 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1049})
1951 %{_libdir}/php/extensions/xsl.so
1952
1953 %files zip
1954 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1062})
1955 %{_libdir}/php/extensions/zip.so
1956
1957 %files fpm
1958 %doc sapi/fpm/CREDITS sapi/fpm/LICENSE sapi/fpm/status.html
1959 %{_unitdir}/php-fpm.service
1960 %config(noreplace) %{_sysconfdir}/php-fpm.conf
1961 %config(noreplace) %{_sysconfdir}/sysconfig/php-fpm
1962 %{_sysconfdir}/logrotate.d/php-fpm
1963 %dir %{_sysconfdir}/php-fpm.d
1964 %config(noreplace) %{_sysconfdir}/php-fpm.d/default.conf
1965 %config(noreplace) %{_sysconfdir}/php-fpm.d/www.conf
1966 %{_sbindir}/php-fpm
1967 %{_mandir}/man8/php-fpm.8*
1968 %attr(0711,apache,apache) %dir /var/lib/php-fpm
1969 %attr(0711,apache,apache) %dir /var/log/php-fpm
1970 %{_tmpfilesdir}/php-fpm.conf
1971
1972 %files fpm-apache
1973 %config(noreplace) %{_httpd_modconfdir}/%(basename %{SOURCE10})
1974
1975 %files -n phpdbg
1976 %doc sapi/phpdbg/CREDITS sapi/phpdbg/README.md
1977 %doc sapi/phpdbg/*.php
1978 %{_bindir}/phpdbg
1979 %{_mandir}/man1/phpdbg.1*

  ViewVC Help
Powered by ViewVC 1.1.30