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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30