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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.30