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

  ViewVC Help
Powered by ViewVC 1.1.30