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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1639487 - (show annotations) (download)
Mon Oct 26 01:56:43 2020 UTC (3 years, 5 months ago) by joequant
Original Path: cauldron/php/current/SPECS/php.spec
File size: 66386 byte(s)
fpm-apache requires mod_proxy to work

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

  ViewVC Help
Powered by ViewVC 1.1.30