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

  ViewVC Help
Powered by ViewVC 1.1.30