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

  ViewVC Help
Powered by ViewVC 1.1.30