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

  ViewVC Help
Powered by ViewVC 1.1.30