/[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 1558713 - (show annotations) (download)
Sat Mar 21 21:20:26 2020 UTC (4 years ago) by joequant
Original Path: cauldron/php/current/SPECS/php.spec
File size: 66406 byte(s)
change order of config as php-fpm must be loaded after mod_proxy

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

  ViewVC Help
Powered by ViewVC 1.1.30