/[packages]/cauldron/php/current/SPECS/php.spec
ViewVC logotype

Contents of /cauldron/php/current/SPECS/php.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 442375 - (show annotations) (download)
Thu Jun 13 07:01:53 2013 UTC (6 years, 9 months ago) by oden
File size: 77782 byte(s)
- S10: use json from pecl due to licensing issues

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

  ViewVC Help
Powered by ViewVC 1.1.26