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

  ViewVC Help
Powered by ViewVC 1.1.30