/[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 441224 - (show annotations) (download)
Sun Jun 9 10:03:08 2013 UTC (10 years, 10 months ago) by oden
File size: 77346 byte(s)
- 5.5.0RC3
- bye, bye logos and the eastern egg crap (drop P302+P303)
- P2: patch and use the php.ini-production file because the shipped php.ini file is several years old...
- P20: rediff
- say hello to opcache

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

  ViewVC Help
Powered by ViewVC 1.1.30