/[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 321555 - (show annotations) (download)
Sat Nov 24 16:45:28 2012 UTC (11 years, 4 months ago) by oden
File size: 76310 byte(s)
- merge firebird (interbase) into this package

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

  ViewVC Help
Powered by ViewVC 1.1.30