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

  ViewVC Help
Powered by ViewVC 1.1.30