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

  ViewVC Help
Powered by ViewVC 1.1.30