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

Diff of /updates/8/php/current/SPECS/php.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1462025 by mokraemer, Thu Nov 21 16:10:57 2019 UTC revision 1463510 by mokraemer, Fri Nov 29 00:41:40 2019 UTC
# Line 25  Line 25 
25  Summary:        The PHP scripting language  Summary:        The PHP scripting language
26  Name:           php  Name:           php
27  Epoch:          3  Epoch:          3
28  Version:        7.3.12  Version:        7.4.0
29  Release:        %mkrel 1  Release:        %mkrel 1
30  Source0:        http://fr2.php.net/distributions/php-%{version}.tar.xz  Source0:        http://fr2.php.net/distributions/php-%{version}.tar.xz
31  Group:          Development/PHP  Group:          Development/PHP
# Line 74  Source1025:    37_mysqli.ini Line 74  Source1025:    37_mysqli.ini
74  Source1026:     38_enchant.ini  Source1026:     38_enchant.ini
75  Source1027:     39_odbc.ini  Source1027:     39_odbc.ini
76  Source1028:     40_pcntl.ini  Source1028:     40_pcntl.ini
 Source1029:     42_interbase.ini  
77  Source1030:     42_pgsql.ini  Source1030:     42_pgsql.ini
78  Source1031:     43_posix.ini  Source1031:     43_posix.ini
79  Source1032:     45_readline.ini  Source1032:     45_readline.ini
 Source1033:     46_recode.ini  
80  Source1034:     47_session.ini  Source1034:     47_session.ini
81  Source1035:     48_shmop.ini  Source1035:     48_shmop.ini
82  Source1036:     50_snmp.ini  Source1036:     50_snmp.ini
83  Source1037:     51_soap.ini  Source1037:     51_soap.ini
84  Source1038:     52_sockets.ini  Source1038:     52_sockets.ini
 Source1039:     21_hash.ini  
85  Source1040:     56_sysvmsg.ini  Source1040:     56_sysvmsg.ini
86  Source1041:     57_sysvsem.ini  Source1041:     57_sysvsem.ini
87  Source1042:     58_sysvshm.ini  Source1042:     58_sysvshm.ini
88  Source1043:     59_tidy.ini  Source1043:     59_tidy.ini
89  Source1044:     60_tokenizer.ini  Source1044:     60_tokenizer.ini
 Source1045:     62_xml.ini  
90  Source1046:     62_xmlrpc.ini  Source1046:     62_xmlrpc.ini
 Source1047:     63_wddx.ini  
91  Source1048:     63_xmlreader.ini  Source1048:     63_xmlreader.ini
92  Source1049:     63_xsl.ini  Source1049:     63_xsl.ini
93  Source1050:     64_xmlwriter.ini  Source1050:     64_xmlwriter.ini
# Line 111  Source1062:    83_zip.ini Line 106  Source1062:    83_zip.ini
106  Source1063:     84_phar.ini  Source1063:     84_phar.ini
107  Source1064:     99_opcache.ini  Source1064:     99_opcache.ini
108  Source1065:     85_sodium.ini  Source1065:     85_sodium.ini
 #Patch0:                php-init.diff # not sure what kind of patch this should be....  
109  Patch1:         php-shared.diff  Patch1:         php-shared.diff
110  Patch2:         php-7.1-mga_php.ini.diff  Patch2:         php-7.1-mga_php.ini.diff
111  Patch5:         php-phpbuilddir.diff  Patch5:         php-phpbuilddir.diff
 # remove libedit once and for all  
 Patch7:         php-no_libedit.diff  
112  Patch8:         php-xmlrpc_epi.patch  Patch8:         php-xmlrpc_epi.patch
113  Patch9:         php-xmlrpc_no_rpath.diff  Patch9:         php-xmlrpc_no_rpath.diff
114  Patch11:        php-7.0.2RC1-libdb.diff  Patch11:        php-7.0.2RC1-libdb.diff
115  #####################################################################  #####################################################################
116  # Stolen from PLD  # Stolen from PLD
 Patch21:        php-filter-shared.diff  
117  Patch22:        php-dba-link.patch  Patch22:        php-dba-link.patch
118  Patch23:        php-zlib-for-getimagesize.patch  Patch23:        php-zlib-for-getimagesize.patch
119  #(spuhler) taken from Mandriva  #(spuhler) taken from Mandriva
# Line 135  Patch51:       php-exif_nesting_level.diff Line 126  Patch51:       php-exif_nesting_level.diff
126  #####################################################################  #####################################################################
127  # Stolen from fedora  # Stolen from fedora
128  # Functional changes  # Functional changes
129  Patch115:       php-dlopen.diff  #Patch115:      php-dlopen.diff
 # Fix bugs  
 Patch120:       php-tests-wddx.diff  
130  #why do we want to have them public?  #why do we want to have them public?
131  Patch226:       php-no-fvisibility_hidden_fix.diff  Patch226:       php-no-fvisibility_hidden_fix.diff
132  Patch228:       php-5.3.0RC2-xmlrpc-epi_fix.diff  Patch228:       php-5.3.0RC2-xmlrpc-epi_fix.diff
133  Patch229:       php-7.0.2RC1-session.use_strict_mode.diff  Patch229:       php-7.0.2RC1-session.use_strict_mode.diff
134  # apache-mod_php  # apache-mod_php
135  Patch400:       php-7.0.0RC5-apache-mod_php.diff  Patch400:       php-7.0.0RC5-apache-mod_php.diff
136  # Arch patch  
 Patch500:       enchant-2.patch  
137  BuildRequires:  apache-devel >= 2.2  BuildRequires:  apache-devel >= 2.2
138  BuildRequires:  autoconf  BuildRequires:  autoconf
139  BuildRequires:  automake  BuildRequires:  automake
# Line 160  BuildRequires: pkgconfig(libcurl) >= 7.9 Line 148  BuildRequires: pkgconfig(libcurl) >= 7.9
148  BuildRequires:  db-devel  BuildRequires:  db-devel
149  BuildRequires:  elfutils-devel  BuildRequires:  elfutils-devel
150  BuildRequires:  pkgconfig(enchant-2)  BuildRequires:  pkgconfig(enchant-2)
 BuildRequires:  pkgconfig(expat)  
151  BuildRequires:  file  BuildRequires:  file
152  BuildRequires:  pkgconfig(fbclient)  BuildRequires:  pkgconfig(fbclient)
153  BuildRequires:  flex  BuildRequires:  flex
# Line 198  BuildRequires: pkgconfig(libpcre2-posix) Line 185  BuildRequires: pkgconfig(libpcre2-posix)
185  BuildRequires:  postgresql-devel  BuildRequires:  postgresql-devel
186  BuildRequires:  re2c >= 0.13.4  BuildRequires:  re2c >= 0.13.4
187  BuildRequires:  readline-devel  BuildRequires:  readline-devel
188  BuildRequires:  recode-devel  BuildRequires:  pkgconfig(libedit)
189  BuildRequires:  pkgconfig(sqlite3)  BuildRequires:  pkgconfig(sqlite3)
190  BuildRequires:  pkgconfig(systemd)  BuildRequires:  pkgconfig(systemd)
191  BuildRequires:  pkgconfig(libsodium)  BuildRequires:  pkgconfig(libsodium)
# Line 299  Requires:      php-ctype >= %{epoch}:%{versio Line 286  Requires:      php-ctype >= %{epoch}:%{versio
286  Requires:       php-filter >= %{epoch}:%{version}  Requires:       php-filter >= %{epoch}:%{version}
287  Requires:       php-ftp >= %{epoch}:%{version}  Requires:       php-ftp >= %{epoch}:%{version}
288  Requires:       php-gettext >= %{epoch}:%{version}  Requires:       php-gettext >= %{epoch}:%{version}
 Requires:       php-hash >= %{epoch}:%{version}  
289  Requires:       php-ini >= %{version}  Requires:       php-ini >= %{version}
290  Requires:       php-json >= %{epoch}:%{version}  Requires:       php-json >= %{epoch}:%{version}
291  Requires:       php-openssl >= %{epoch}:%{version}  Requires:       php-openssl >= %{epoch}:%{version}
# Line 312  Requires:      php-tokenizer >= %{epoch}:%{ve Line 298  Requires:      php-tokenizer >= %{epoch}:%{ve
298  Requires:       php-xmlreader >= %{epoch}:%{version}  Requires:       php-xmlreader >= %{epoch}:%{version}
299  Requires:       php-xmlwriter >= %{epoch}:%{version}  Requires:       php-xmlwriter >= %{epoch}:%{version}
300  Requires:       php-zlib >= %{epoch}:%{version}  Requires:       php-zlib >= %{epoch}:%{version}
 Requires:       php-xml >= %{epoch}:%{version}  
301  #obsoletes added for #2017  #obsoletes added for #2017
 Obsoletes:      php-mcal < 0.6-51  
 Obsoletes:      php-pear-Horde  
 Obsoletes:      php-docblock  
 Obsoletes:      php-pear-PHP_Parser_DocblockParser  
 Obsoletes:      php-pear-PHP_Parser  
302  Obsoletes:      php-amf  Obsoletes:      php-amf
303  Obsoletes:      php-apacheaccessor  Obsoletes:      php-apacheaccessor
304    Obsoletes:      php-apm < 2.1.3
305  Obsoletes:      php-auth_nds  Obsoletes:      php-auth_nds
306  Obsoletes:      php-awl  Obsoletes:      php-awl
307  Obsoletes:      php-bbcode  Obsoletes:      php-bbcode
# Line 332  Obsoletes:     php-cyrus Line 313  Obsoletes:     php-cyrus
313  Obsoletes:      php-dav  Obsoletes:      php-dav
314  Obsoletes:      php-dbx  Obsoletes:      php-dbx
315  Obsoletes:      php-docblock  Obsoletes:      php-docblock
316    Obsoletes:      php-docblock
317  Obsoletes:      php-doublemetaphone  Obsoletes:      php-doublemetaphone
318  Obsoletes:      php-ecasound  Obsoletes:      php-ecasound
319  Obsoletes:      php-esmtp  Obsoletes:      php-esmtp
320  Obsoletes:      php-fam  Obsoletes:      php-fam
321  Obsoletes:      php-gearman < 1.1.3  Obsoletes:      php-gearman < 1.1.3
322  Obsoletes:      php-gnutls  Obsoletes:      php-gnutls
323    Obsoletes:      php-hash
324  Obsoletes:      php-haru  Obsoletes:      php-haru
325  Obsoletes:      php-hidef  Obsoletes:      php-hidef
326  Obsoletes:      php-htscanner  Obsoletes:      php-htscanner
 Obsoletes:      php-pear-Date_Holidays  
327  Obsoletes:      php-id3  Obsoletes:      php-id3
328  Obsoletes:      php-inclued  Obsoletes:      php-inclued
329    Obsoletes:      php-interbase
330  Obsoletes:      php-layersmenu  Obsoletes:      php-layersmenu
331  Obsoletes:      php-libevent  Obsoletes:      php-libevent
332  Obsoletes:      php-magickwand  Obsoletes:      php-magickwand
333    Obsoletes:      php-mailparse < 3.0.2
334  Obsoletes:      php-mcal  Obsoletes:      php-mcal
335    Obsoletes:      php-mcal < 0.6-51
336  Obsoletes:      php-mdbtools  Obsoletes:      php-mdbtools
337  Obsoletes:      php-ming  Obsoletes:      php-ming
338  Obsoletes:      php-mongo  Obsoletes:      php-mongo
# Line 357  Obsoletes:     php-newt Line 342  Obsoletes:     php-newt
342  Obsoletes:      php-oggvorbis  Obsoletes:      php-oggvorbis
343  Obsoletes:      php-optimizer  Obsoletes:      php-optimizer
344  Obsoletes:      php-pam  Obsoletes:      php-pam
345    Obsoletes:      php-pear-Date_Holidays
346    Obsoletes:      php-pear-Horde
347    Obsoletes:      php-pear-PHP_Parser
348    Obsoletes:      php-pear-PHP_Parser_DocblockParser
349    Obsoletes:      php-pinba
350  Obsoletes:      php-pluf  Obsoletes:      php-pluf
351    Obsoletes:      php-rar < 4.0.0
352    Obsoletes:      php-recode
353  Obsoletes:      php-sasl  Obsoletes:      php-sasl
354  Obsoletes:      php-suhosin  Obsoletes:      php-suhosin
355  Obsoletes:      php-swish  Obsoletes:      php-swish
# Line 369  Obsoletes:     php-timezonedb Line 361  Obsoletes:     php-timezonedb
361  Obsoletes:      php-txforward  Obsoletes:      php-txforward
362  Obsoletes:      php-uploadprogress  Obsoletes:      php-uploadprogress
363  Obsoletes:      php-wbxml  Obsoletes:      php-wbxml
364  Obsoletes:      php-ZendFramework  Obsoletes:      php-wddx
365  Obsoletes:      php-apm < 2.1.3  Obsoletes:      php-xml
 Obsoletes:      php-mailparse < 3.0.2  
 Obsoletes:      php-rar < 4.0.0  
 Obsoletes:      php-pinba  
366  Obsoletes:      php-yrmcds  Obsoletes:      php-yrmcds
367    Obsoletes:      php-ZendFramework
368    
369  %description -n %{libname}  %description -n %{libname}
370  This package provides the common files to run with different implementations of  This package provides the common files to run with different implementations of
# Line 404  Requires:      tcl Line 394  Requires:      tcl
394  The php-devel package lets you compile dynamic extensions to PHP. Included  The php-devel package lets you compile dynamic extensions to PHP. Included
395  here is the source for the php extensions. Instead of recompiling the whole php  here is the source for the php extensions. Instead of recompiling the whole php
396  binary to add support for, say, oracle, install this package and use the new  binary to add support for, say, oracle, install this package and use the new
397  self-contained extensions support. For more information, read the file  self-contained extensions support.
 SELF-CONTAINED-EXTENSIONS.  
398    
399  %package        openssl  %package        openssl
400  Summary:        OpenSSL extension module for PHP  Summary:        OpenSSL extension module for PHP
# Line 661  Requires:      %{libname} >= %{epoch}:%{versi Line 650  Requires:      %{libname} >= %{epoch}:%{versi
650  This is a dynamic shared object (DSO) for PHP that will add arbitrary length  This is a dynamic shared object (DSO) for PHP that will add arbitrary length
651  number support using the GNU MP library.  number support using the GNU MP library.
652    
 %package        hash  
 Summary:        HASH Message Digest Framework  
 Group:          Development/PHP  
 URL:            http://www.php.net/hash  
 Requires:       %{libname} >= %{epoch}:%{version}  
   
 %description    hash  
 Native implementations of common message digest algorithms using a generic  
 factory method.  
   
 Message Digest (hash) engine. Allows direct or incremental processing of  
 arbitrary length messages using a variety of hashing algorithms.  
   
653  %package        iconv  %package        iconv
654  Summary:        Iconv extension module for PHP  Summary:        Iconv extension module for PHP
655  Group:          Development/PHP  Group:          Development/PHP
# Line 704  These functions are not limited to the I Line 680  These functions are not limited to the I
680  underlying c-client library also supports NNTP, POP3 and local mailbox access  underlying c-client library also supports NNTP, POP3 and local mailbox access
681  methods.  methods.
682    
 %package        interbase  
 Summary:        Interbase/Firebird database module for PHP  
 Group:          Development/PHP  
 URL:            http://www.php.net/ibase  
 Requires:       %{libname} >= %{epoch}:%{version}  
 Provides:       php-firebird = %{epoch}:%{version}  
   
 %description    interbase  
 This is a dynamic shared object (DSO) for PHP that will add Firebird  
 database support.  
   
683  %package        intl  %package        intl
684  Summary:        Internationalization extension module for PHP  Summary:        Internationalization extension module for PHP
685  Group:          Development/PHP  Group:          Development/PHP
# Line 1047  through command history. Because of the Line 1012  through command history. Because of the
1012  will be of little use for writing Web applications, but may be useful when  will be of little use for writing Web applications, but may be useful when
1013  writing scripts used from a command line.  writing scripts used from a command line.
1014    
 %package        recode  
 Summary:        Recode extension module for PHP  
 Group:          Development/PHP  
 URL:            http://www.php.net/recode  
 Requires:       %{libname} >= %{epoch}:%{version}  
   
 %description    recode  
 This is a dynamic shared object (DSO) for PHP that will add recode support  
 using the recode library.  
   
 This module contains an interface to the GNU Recode library. The GNU Recode  
 library converts files between various coded character sets and surface  
 encodings. When this cannot be achieved exactly, it may get rid of the  
 offending characters or fall back on approximations. The library recognises or  
 produces nearly 150 different character sets and is able to convert files  
 between almost any pair. Most RFC 1345 character sets are supported.  
   
1015  %package        session  %package        session
1016  Summary:        Session extension module for PHP  Summary:        Session extension module for PHP
1017  Group:          Development/PHP  Group:          Development/PHP
# Line 1217  the Zend Engine. Using these functions y Line 1165  the Zend Engine. Using these functions y
1165  analyzing or modification tools without having to deal with the language  analyzing or modification tools without having to deal with the language
1166  specification at the lexical level.  specification at the lexical level.
1167    
 %package        xml  
 Summary:        XML extension module for PHP  
 Group:          Development/PHP  
 URL:            http://www.php.net/xml  
 Requires:       %{libname} >= %{epoch}:%{version}  
   
 %description    xml  
 This is a dynamic shared object (DSO) for PHP that will add XML support. This  
 extension lets you create XML parsers and then define handlers for different  
 XML events.  
   
1168  %package        xmlreader  %package        xmlreader
1169  Summary:        Xmlreader extension module for PHP  Summary:        Xmlreader extension module for PHP
1170  Group:          Development/PHP  Group:          Development/PHP
# Line 1276  This is a dynamic shared object (DSO) fo Line 1213  This is a dynamic shared object (DSO) fo
1213  The XSL extension implements the XSL standard, performing XSLT transformations  The XSL extension implements the XSL standard, performing XSLT transformations
1214  using the libxslt library  using the libxslt library
1215    
 %package        wddx  
 Summary:        WDDX serialization functions  
 Group:          Development/PHP  
 URL:            http://www.php.net/wddx  
 Requires:       php-xml  
 Requires:       %{libname} >= %{epoch}:%{version}  
   
 %description    wddx  
 This is a dynamic shared object (DSO) that adds wddx support to PHP.  
   
 These functions are intended for work with WDDX (http://www.openwddx.org/)  
   
1216  %package        zip  %package        zip
1217  Summary:        A zip management extension for PHP  Summary:        A zip management extension for PHP
1218  Group:          Development/PHP  Group:          Development/PHP
# Line 1355  cp %{SOURCE6} php-fpm.logrotate Line 1280  cp %{SOURCE6} php-fpm.logrotate
1280  cp %{SOURCE7} create_data_file.php  cp %{SOURCE7} create_data_file.php
1281  cp %{SOURCE10} 00-php-fpm.conf  cp %{SOURCE10} 00-php-fpm.conf
1282    
 # nuke bogus checks becuase i fixed this years ago in our recode package  
 rm -f ext/recode/config9.m4  
   
1283  # Change perms otherwise rpm would get fooled while finding requires  # Change perms otherwise rpm would get fooled while finding requires
1284  find -name "*.inc" | xargs chmod 644  find -name "*.inc" | xargs chmod 644
1285  find -name "*.php*" | xargs chmod 644  find -name "*.php*" | xargs chmod 644
# Line 1401  rm -rf ext/xmlrpc/libxmlrpc Line 1323  rm -rf ext/xmlrpc/libxmlrpc
1323  %serverbuild  %serverbuild
1324    
1325  export CFLAGS="${CFLAGS} -O3 -fno-strict-aliasing -fvisibility=default"  export CFLAGS="${CFLAGS} -O3 -fno-strict-aliasing -fvisibility=default"
1326  export LDFLAGS="%{ldflags} -O3"  export LDFLAGS="%{ldflags} -O3 -lz"
1327  export CXXFLAGS="${CXXFLAGS} -O3 -fvisibility=default -fvisibility-inlines-hidden"  export CXXFLAGS="${CXXFLAGS} -O3 -fvisibility=default -fvisibility-inlines-hidden"
1328    
1329  cat > php-devel/buildext <<EOF  cat > php-devel/buildext <<EOF
# Line 1430  export oldstyleextdir=yes Line 1352  export oldstyleextdir=yes
1352  export EXTENSION_DIR="%{_libdir}/php/extensions"  export EXTENSION_DIR="%{_libdir}/php/extensions"
1353  export PROG_SENDMAIL="%{_sbindir}/sendmail"  export PROG_SENDMAIL="%{_sbindir}/sendmail"
1354  export GD_SHARED_LIBADD="$GD_SHARED_LIBADD -lm"  export GD_SHARED_LIBADD="$GD_SHARED_LIBADD -lm"
1355    export ENCHANT_CFLAGS=`pkgconf --cflags enchant-2`
1356    export ENCHANT_LIBS=`pkgconf --libs enchant-2`
1357    
1358  # never use "--disable-rpath", it does the opposite  # never use "--disable-rpath", it does the opposite
1359    
# Line 1465  for i in fpm cgi cli apxs; do Line 1389  for i in fpm cgi cli apxs; do
1389      --enable-fileinfo=shared \      --enable-fileinfo=shared \
1390      --enable-filter=shared \      --enable-filter=shared \
1391      --enable-ftp=shared \      --enable-ftp=shared \
1392      --enable-gd-native-ttf \      --enable-gd=shared \
     --enable-hash=shared,%{_prefix} \  
1393      --enable-inline-optimization \      --enable-inline-optimization \
1394      --enable-intl=shared \      --enable-intl=shared \
1395      --enable-json=shared \      --enable-json=shared \
     --enable-libxml=%{_prefix} \  
1396      --enable-mbregex \      --enable-mbregex \
1397      --enable-mbstring=shared,%{_prefix} \      --enable-mbstring=shared,%{_prefix} \
1398      --enable-mysqlnd=shared,%{_bindir}/mysql_config \      --enable-mysqlnd=shared,%{_bindir}/mysql_config \
# Line 1490  for i in fpm cgi cli apxs; do Line 1412  for i in fpm cgi cli apxs; do
1412      --enable-sysvsem=shared,%{_prefix} \      --enable-sysvsem=shared,%{_prefix} \
1413      --enable-sysvshm=shared,%{_prefix} \      --enable-sysvshm=shared,%{_prefix} \
1414      --enable-tokenizer=shared,%{_prefix} \      --enable-tokenizer=shared,%{_prefix} \
     --enable-wddx=shared \  
1415      --enable-xmlreader=shared,%{_prefix} \      --enable-xmlreader=shared,%{_prefix} \
     --enable-xml=shared,%{_prefix} \  
1416      --enable-xmlwriter=shared,%{_prefix} \      --enable-xmlwriter=shared,%{_prefix} \
1417      --enable-zip=shared \      --with-zip=shared \
1418      --with-bz2=shared,%{_prefix} \      --with-bz2=shared,%{_prefix} \
1419      --with-cdb  \      --with-cdb  \
1420      --with-config-file-path=%{_sysconfdir} \      --with-config-file-path=%{_sysconfdir} \
# Line 1502  for i in fpm cgi cli apxs; do Line 1422  for i in fpm cgi cli apxs; do
1422      --with-curl=shared,%{_prefix} \      --with-curl=shared,%{_prefix} \
1423      --with-db4 \      --with-db4 \
1424      --with-enchant=shared,%{_prefix} \      --with-enchant=shared,%{_prefix} \
1425      --with-freetype-dir=%{_prefix} \      --with-freetype=%{_prefix} \
1426      --with-gdbm \      --with-gdbm \
1427      --with-gd=shared,%{_prefix} \      --with-external-gd=shared,%{_prefix} \
1428      --with-gettext=shared,%{_prefix} \      --with-gettext=shared,%{_prefix} \
1429      --with-gmp=shared,%{_prefix} \      --with-gmp=shared,%{_prefix} \
1430      --with-iconv=shared \      --with-iconv=shared \
     --with-icu-dir=%{_prefix} \  
1431      --with-imap=shared,%{_prefix} \      --with-imap=shared,%{_prefix} \
1432      --with-imap-ssl=%{_prefix} \      --with-imap-ssl=%{_prefix} \
1433      --with-interbase=shared,%{_libdir}/firebird \      --with-jpeg=%{_prefix} \
1434      --with-jpeg-dir=%{_prefix} \      --with-ldap-sasl \
     --with-ldap-sasl=%{_prefix} \  
1435      --with-ldap=shared,%{_prefix} \      --with-ldap=shared,%{_prefix} \
1436      --with-libdir=%{_lib} \      --with-libdir=%{_lib} \
     --with-libjson \  
     --with-libmbfl=%{_prefix} \  
     --with-libxml-dir=%{_prefix} \  
     --with-libzip=%{_prefix} \  
1437      --with-mysqli=shared,mysqlnd \      --with-mysqli=shared,mysqlnd \
1438      --with-mysql-sock=/var/lib/mysql/mysql.sock \      --with-mysql-sock=/var/lib/mysql/mysql.sock \
     --with-onig=%{_prefix} \  
1439      --with-openssl-dir=%{_prefix} \      --with-openssl-dir=%{_prefix} \
1440      --with-openssl=shared,%{_prefix} \      --with-openssl=shared,%{_prefix} \
     --without-curlwrappers \  
1441      --without-pear \      --without-pear \
1442      --with-pcre-dir=%{_prefix} \      --with-external-pcre=%{_prefix} \
1443      --with-pcre-regex=%{_prefix} \      --with-pcre-jit \
1444      --with-pdo-dblib=shared,%{_prefix} \      --with-pdo-dblib=shared,%{_prefix} \
1445      --with-pdo-firebird=shared,%{_libdir}/firebird \      --with-pdo-firebird=shared,%{_libdir}/firebird \
1446      --with-pdo-mysql=shared,mysqlnd \      --with-pdo-mysql=shared,mysqlnd \
# Line 1536  for i in fpm cgi cli apxs; do Line 1448  for i in fpm cgi cli apxs; do
1448      --with-pdo-pgsql=shared,%{_prefix}  \      --with-pdo-pgsql=shared,%{_prefix}  \
1449      --with-pdo-sqlite=shared,%{_prefix} \      --with-pdo-sqlite=shared,%{_prefix} \
1450      --with-pgsql=shared,%{_prefix} \      --with-pgsql=shared,%{_prefix} \
     --with-png-dir=%{_prefix} \  
1451      --with-readline=shared,%{_prefix} \      --with-readline=shared,%{_prefix} \
     --with-recode=shared,%{_prefix} \  
1452      --with-snmp=shared,%{_prefix} \      --with-snmp=shared,%{_prefix} \
1453                  --with-sodium=shared,%{_prefix} \                  --with-sodium=shared,%{_prefix} \
1454      --with-sqlite3=shared,%{_prefix} \      --with-sqlite3=shared,%{_prefix} \
1455      --with-system-ciphers \      --with-system-ciphers \
1456      --with-tidy=shared,%{_prefix} \      --with-tidy=shared,%{_prefix} \
1457      --with-unixODBC=shared,%{_prefix} \      --with-unixODBC=shared,%{_prefix} \
1458      --with-webp-dir=%{_prefix} \      --with-webp=%{_prefix} \
1459      --with-xmlrpc=shared,%{_prefix} \      --with-xmlrpc=shared,%{_prefix} \
1460      --with-xpm-dir=%{_prefix}/X11R6 \      --with-xpm=%{_prefix}/X11R6 \
1461      --with-xsl=shared,%{_prefix} \      --with-xsl=shared,%{_prefix} \
1462      --with-zlib=shared,%{_prefix}      --with-zlib=shared,%{_prefix} \
1463        --with-zlib-dir=%{_prefix}
1464    
1465  cp -f Makefile Makefile.$i  cp -f Makefile Makefile.$i
1466    
# Line 1675  perl -pi -e "s|/usr/lib/|%{_libdir}/|" \ Line 1586  perl -pi -e "s|/usr/lib/|%{_libdir}/|" \
1586  # install doc manually in _docdir/php, rather than _docdir/php-doc  # install doc manually in _docdir/php, rather than _docdir/php-doc
1587  install -d -m 755 %{buildroot}%{_docdir}/php  install -d -m 755 %{buildroot}%{_docdir}/php
1588  install -m 644 \  install -m 644 \
1589      CREDITS INSTALL LICENSE NEWS \      CODING_STANDARDS.md EXTENSIONS LICENSE NEWS \
1590      php.ini-production php.ini-development \      php.ini-production php.ini-development \
1591      README.EXT_SKEL \      README.md README.REDIST.BINS UPGRADING UPGRADING.INTERNALS \
     README.input_filter README.PARAMETER_PARSING_API README.STREAMS \  
1592      %{buildroot}%{_docdir}/php      %{buildroot}%{_docdir}/php
1593    
1594  # fix docs  # fix docs
1595  cp Zend/LICENSE Zend/ZEND_LICENSE  cp Zend/LICENSE Zend/ZEND_LICENSE
1596  cp README.SELF-CONTAINED-EXTENSIONS SELF-CONTAINED-EXTENSIONS  cp ext/openssl/CREDITS CREDITS.openssl
1597  cp ext/openssl/README README.openssl  cp ext/spl/CREDITS CREDITS.spl
 cp ext/spl/README README.spl  
1598  cp ext/libxml/CREDITS CREDITS.libxml  cp ext/libxml/CREDITS CREDITS.libxml
1599  cp ext/zlib/CREDITS CREDITS.zlib  cp ext/zlib/CREDITS CREDITS.zlib
1600    
1601  # cgi docs  # cgi docs
1602  cp sapi/cgi/CREDITS CREDITS.cgi  cp sapi/cgi/CREDITS CREDITS.cgi
 cp sapi/cgi/README.FastCGI README.fcgi  
1603    
1604  # cli docs  # cli docs
1605  cp sapi/cli/CREDITS CREDITS.cli  cp sapi/cli/CREDITS CREDITS.cli
 cp sapi/cli/README README.cli  
1606    
1607  # phar fixes  # phar fixes
1608  if [ -L %{buildroot}%{_bindir}/phar ]; then  if [ -L %{buildroot}%{_bindir}/phar ]; then
# Line 1763  TEST_PHP_EXECUTABLE=sapi/cli/php sapi/cl Line 1670  TEST_PHP_EXECUTABLE=sapi/cli/php sapi/cl
1670  systemctl reload-or-try-restart httpd.service || :  systemctl reload-or-try-restart httpd.service || :
1671    
1672  %files doc  %files doc
1673  %doc CREDITS INSTALL LICENSE NEWS Zend/ZEND_LICENSE  %doc LICENSE NEWS Zend/ZEND_LICENSE
1674  %doc php.ini-production php.ini-development  %doc php.ini-production php.ini-development
1675  %doc README.openssl README.spl CREDITS.libxml CREDITS.zlib  %doc CREDITS.libxml CREDITS.zlib
 %doc README.EXT_SKEL README.input_filter  
 %doc README.PARAMETER_PARSING_API README.STREAMS  
1676    
1677  %files ini  %files ini
1678  %{_docdir}/php  %{_docdir}/php
# Line 1790  systemctl reload-or-try-restart httpd.se Line 1695  systemctl reload-or-try-restart httpd.se
1695  %{_libdir}/libphp%{php_common_major}_common.so.%{php_common_major}*  %{_libdir}/libphp%{php_common_major}_common.so.%{php_common_major}*
1696    
1697  %files cli  %files cli
1698  %doc CREDITS.cli README.cli  %doc CREDITS.cli
1699  %{_bindir}/php  %{_bindir}/php
1700  %{_mandir}/man1/php.1*  %{_mandir}/man1/php.1*
1701    
1702  %files cgi  %files cgi
1703  %doc CREDITS.cgi README.fcgi  %doc CREDITS.cgi
1704  %{_bindir}/php-cgi  %{_bindir}/php-cgi
1705  %{_bindir}/php-fcgi  %{_bindir}/php-fcgi
1706  %{_mandir}/man1/php-cgi.1*  %{_mandir}/man1/php-cgi.1*
1707    
1708  %files devel  %files devel
1709  %doc SELF-CONTAINED-EXTENSIONS CODING_STANDARDS README.* EXTENSIONS  %doc CODING_STANDARDS.md EXTENSIONS
1710  %doc Zend/ZEND_*  %doc Zend/ZEND_*
1711  %{_bindir}/php-config  %{_bindir}/php-config
1712  %{_bindir}/phpize  %{_bindir}/phpize
# Line 1882  systemctl reload-or-try-restart httpd.se Line 1787  systemctl reload-or-try-restart httpd.se
1787  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1017})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1017})
1788  %{_libdir}/php/extensions/gmp.so  %{_libdir}/php/extensions/gmp.so
1789    
 %files hash  
 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1039})  
 %{_libdir}/php/extensions/hash.so  
   
1790  %files iconv  %files iconv
1791  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1018})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1018})
1792  %{_libdir}/php/extensions/iconv.so  %{_libdir}/php/extensions/iconv.so
# Line 1894  systemctl reload-or-try-restart httpd.se Line 1795  systemctl reload-or-try-restart httpd.se
1795  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1019})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1019})
1796  %{_libdir}/php/extensions/imap.so  %{_libdir}/php/extensions/imap.so
1797    
 %files interbase  
 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1029})  
 %{_libdir}/php/extensions/interbase.so  
   
1798  %files intl  %files intl
1799  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1020})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1020})
1800  %{_libdir}/php/extensions/intl.so  %{_libdir}/php/extensions/intl.so
# Line 1981  systemctl reload-or-try-restart httpd.se Line 1878  systemctl reload-or-try-restart httpd.se
1878  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1032})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1032})
1879  %{_libdir}/php/extensions/readline.so  %{_libdir}/php/extensions/readline.so
1880    
 %files recode  
 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1033})  
 %{_libdir}/php/extensions/recode.so  
   
1881  %files session  %files session
1882  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1034})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1034})
1883  %config(noreplace) %{_sysconfdir}/cron.d/php  %config(noreplace) %{_sysconfdir}/cron.d/php
# Line 2036  systemctl reload-or-try-restart httpd.se Line 1929  systemctl reload-or-try-restart httpd.se
1929  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1044})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1044})
1930  %{_libdir}/php/extensions/tokenizer.so  %{_libdir}/php/extensions/tokenizer.so
1931    
 %files xml  
 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1045})  
 %{_libdir}/php/extensions/xml.so  
   
1932  %files xmlreader  %files xmlreader
1933  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1048})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1048})
1934  %{_libdir}/php/extensions/xmlreader.so  %{_libdir}/php/extensions/xmlreader.so
# Line 2056  systemctl reload-or-try-restart httpd.se Line 1945  systemctl reload-or-try-restart httpd.se
1945  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1049})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1049})
1946  %{_libdir}/php/extensions/xsl.so  %{_libdir}/php/extensions/xsl.so
1947    
 %files wddx  
 %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1047})  
 %{_libdir}/php/extensions/wddx.so  
   
1948  %files zip  %files zip
1949  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1062})  %config(noreplace) %{_sysconfdir}/php.d/%(basename %{SOURCE1062})
1950  %{_libdir}/php/extensions/zip.so  %{_libdir}/php/extensions/zip.so
# Line 2081  systemctl reload-or-try-restart httpd.se Line 1966  systemctl reload-or-try-restart httpd.se
1966  %{_tmpfilesdir}/php-fpm.conf  %{_tmpfilesdir}/php-fpm.conf
1967    
1968  %files -n phpdbg  %files -n phpdbg
1969  %doc sapi/phpdbg/CREDITS sapi/phpdbg/Changelog.md sapi/phpdbg/README.md  %doc sapi/phpdbg/CREDITS sapi/phpdbg/README.md
1970  %doc sapi/phpdbg/*.php  %doc sapi/phpdbg/*.php
1971  %{_bindir}/phpdbg  %{_bindir}/phpdbg
1972  %{_mandir}/man1/phpdbg.1*  %{_mandir}/man1/phpdbg.1*

Legend:
Removed from v.1462025  
changed lines
  Added in v.1463510

  ViewVC Help
Powered by ViewVC 1.1.30