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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30