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

  ViewVC Help
Powered by ViewVC 1.1.30