/[packages]/backports/8/php/current/SPECS/php.spec
ViewVC logotype

Annotation of /backports/8/php/current/SPECS/php.spec

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30