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

  ViewVC Help
Powered by ViewVC 1.1.30