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

  ViewVC Help
Powered by ViewVC 1.1.30