/[smecontribs]/rpms/php5-cgi/contribs7/php5-cgi.spec
ViewVC logotype

Diff of /rpms/php5-cgi/contribs7/php5-cgi.spec

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

Revision 1.5 by slords, Thu Mar 4 16:15:36 2010 UTC Revision 1.6 by slords, Thu Jul 15 16:29:12 2010 UTC
# Line 14  Line 14 
14    
15  Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)  Summary: The PHP HTML-embedded scripting language. (PHP: Hypertext Preprocessor)
16  Name: php5-cgi  Name: php5-cgi
17  Version: 5.3.0  Version: 5.3.2
18  Release: 2.el4.sme  Release: 1%{?dist}
19  %{?rh90:Epoch: 1 }  %{?rh90:Epoch: 1 }
20  License: The PHP License  License: The PHP License
21  Group: Development/Languages  Group: Development/Languages
# Line 33  Source50: php5.conf Line 33  Source50: php5.conf
33  #Patch7: php-4.3.2-libtool15.patch  #Patch7: php-4.3.2-libtool15.patch
34  #Patch8: php-4.3.3-miscfix.patch  #Patch8: php-4.3.3-miscfix.patch
35  #Patch9: php-4.3.6-umask.patch  #Patch9: php-4.3.6-umask.patch
36  Patch10: php-4.3.7-handler.patch  #Patch10: php-4.3.7-handler.patch
37  Patch11: php-4.3.8-fdsetsize.patch  #Patch11: php-4.3.8-fdsetsize.patch
38    
39  # Fixes for extension modules  # Fixes for extension modules
40  #Patch21: php-4.3.1-odbc.patch  #Patch21: php-4.3.1-odbc.patch
# Line 45  Patch11: php-4.3.8-fdsetsize.patch Line 45  Patch11: php-4.3.8-fdsetsize.patch
45  #Patch30: php-4.3.1-dlopen.patch  #Patch30: php-4.3.1-dlopen.patch
46  #Patch31: php-4.3.4-easter.patch  #Patch31: php-4.3.4-easter.patch
47    
48    # Fix for PHAR bug
49    Patch32: php-5.3.2-phar.patch
50    
51  BuildRoot: %{_tmppath}/%{name}-root  BuildRoot: %{_tmppath}/%{name}-root
52    
53  BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel, freetype-devel  BuildRequires: bzip2-devel, curl-devel >= 7.9, db4-devel, expat-devel, freetype-devel
# Line 64  Requires: php5-cgi-pear Line 67  Requires: php5-cgi-pear
67  Conflicts: php >= 5.0.0  Conflicts: php >= 5.0.0
68  # Require extension which was previously built-in  # Require extension which was previously built-in
69  # Requires: php-mbstring = %{version}-%{release}  # Requires: php-mbstring = %{version}-%{release}
 # ^^ dunno if mbstring is required anymore, couldn't get it to compile  
 # initially so I nuked the requirement  
70    
71    
72  %description  %description
# Line 184  php package. Line 185  php package.
185  %package odbc  %package odbc
186  Group: Development/Languages  Group: Development/Languages
187  Requires: php5-cgi = %{version}-%{release}  Requires: php5-cgi = %{version}-%{release}
188    Requires: unixODBC
189  Summary: A module for PHP applications that use ODBC databases.  Summary: A module for PHP applications that use ODBC databases.
190  Provides: php_database  Provides: php_database
191  Obsoletes: stronghold-php-odbc  Obsoletes: stronghold-php-odbc
# Line 259  to main PHP package if you plan to use a Line 261  to main PHP package if you plan to use a
261  Summary: A module for PHP applications that query SNMP-managed devices.  Summary: A module for PHP applications that query SNMP-managed devices.
262  Group: Development/Languages  Group: Development/Languages
263  Requires: php5-cgi = %{version}-%{release}  Requires: php5-cgi = %{version}-%{release}
264    Requires: net-snmp-utils
265  BuildRequires: net-snmp-devel, elfutils-devel  BuildRequires: net-snmp-devel, elfutils-devel
266  # elfutils-devel requirement workaround for #103982  # elfutils-devel requirement workaround for #103982
267    
# Line 287  Requires: php5-cgi = %{version}-%{releas Line 290  Requires: php5-cgi = %{version}-%{releas
290  The php-mbstring package contains a dynamic shared object that will add  The php-mbstring package contains a dynamic shared object that will add
291  support for multi-byte string handling to PHP.  support for multi-byte string handling to PHP.
292    
293    %package soap
294    Summary: A module for PHP applications which use the SOAP protocol
295    Group: Development/Languages
296    Requires: php5-cgi = %{version}-%{release}
297    
298    %description soap
299    The php-soap package contains a dynamic shared object that will add
300    support to PHP for using the SOAP web services protocol.
301    
302    
303  %prep  %prep
304  %setup -q -n php-%{version}  %setup -q -n php-%{version}
305  #%patch2 -p1 -b .config  #%patch2 -p1 -b .config
# Line 306  support for multi-byte string handling t Line 319  support for multi-byte string handling t
319    
320  #%patch30 -p1 -b .dlopen  #%patch30 -p1 -b .dlopen
321  ##%patch31 -p1 -b .easter  ##%patch31 -p1 -b .easter
322    %patch32 -p1 -b .orig
323    
324  # Prevent %%doc confusion over LICENSE files  # Prevent %%doc confusion over LICENSE files
325  cp Zend/LICENSE Zend/ZEND_LICENSE  cp Zend/LICENSE Zend/ZEND_LICENSE
# Line 430  ln -sf ../configure Line 444  ln -sf ../configure
444          --with-snmp=shared \          --with-snmp=shared \
445          --enable-ucd-snmp-hack \          --enable-ucd-snmp-hack \
446          --with-unixODBC=shared,%{_prefix} \          --with-unixODBC=shared,%{_prefix} \
447            --enable-soap=shared \
448          --enable-memory-limit \          --enable-memory-limit \
449          --enable-bcmath \          --enable-bcmath \
450          --enable-shmop \          --enable-shmop \
# Line 466  build Line 481  build
481  %{?rh90:install -m 644 /etc/httpd/conf/httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf/httpd.conf }  %{?rh90:install -m 644 /etc/httpd/conf/httpd.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf/httpd.conf }
482    
483  # Install from CGI tree  # Install from CGI tree
484  pushd build-cgi  # pushd build-cgi
485  make install INSTALL_ROOT=$RPM_BUILD_ROOT  # make install INSTALL_ROOT=$RPM_BUILD_ROOT
486  popd  # popd
487    
488    # install everything from the CGI SAPI build
489    # updated method as of 5.2.13
490    make -C build-cgi install INSTALL_ROOT=$RPM_BUILD_ROOT
491    
492  # remove build files  # remove build files
493  rm -fr $RPM_BUILD_ROOT%{_libdir}/php  rm -fr $RPM_BUILD_ROOT%{_libdir}/php
# Line 488  install -m 755 -d $RPM_BUILD_ROOT%{_loca Line 507  install -m 755 -d $RPM_BUILD_ROOT%{_loca
507  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php5/session  install -m 700 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/php5/session
508    
509  # Generate files lists and stub .ini files for each subpackage  # Generate files lists and stub .ini files for each subpackage
510  for mod in pgsql mysql odbc ldap snmp xmlrpc imap %{?_with_mbstring:mbstring} \  for mod in pgsql mysql odbc ldap snmp soap xmlrpc imap %{?_with_mbstring:mbstring} \
511      %{?_with_oci8:oci8} %{?_with_mssql:mssql} %{?_with_mhash:mhash} %{?_with_mcrypt:mcrypt}; do      %{?_with_oci8:oci8} %{?_with_mssql:mssql} %{?_with_mhash:mhash} %{?_with_mcrypt:mcrypt}; do
512      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php5/php5.d/${mod}.ini <<EOF      cat > $RPM_BUILD_ROOT%{_sysconfdir}/php5/php5.d/${mod}.ini <<EOF
513  ; Enable ${mod} extension module  ; Enable ${mod} extension module
# Line 597  rm files.* Line 616  rm files.*
616  %files mbstring -f files.mbstring  %files mbstring -f files.mbstring
617  %endif  %endif
618    
619    %files soap -f files.soap
620    # %{_libdir}/php5/soap.so
621    
622  %changelog  %changelog
623    * Wed Jun 6 2010 David Harper <davidiwharper@hotmail.com> 5.3.2-1.el4
624    - Update to the latest version of PHP
625    - Add SOAP extension [SME: 5878]
626    - Build fixes for CentOS/SME
627    - Add Fedora patch for phar.phar shebang [PHP: 50578]
628    
629  * Thu Sep 17 2009 David Harper <davidiwharper@hotmail.com> 5.3.0-2.el4  * Thu Sep 17 2009 David Harper <davidiwharper@hotmail.com> 5.3.0-2.el4
630  - Fix for PHP4 compatibility issues [SME: 5463]  - Fix for PHP4 compatibility issues [SME: 5463]
631    
632  * Sun Sep 6 2009 David Harper <davidiwharper@hotmail.com> 5.3.0-1.el4  * Sun Sep 6 2009 David Harper <davidiwharper@hotmail.com> 5.3.0-1.el4
633  - Upgrade to the latest version of PHP [SME: 5376]  - Upgrade to the latest version of PHP [SME: 5376]
634  - Add MySQLi support  - Add MySQLi support
635  - Re-add mbstring support  - Re-add mbstring support
636  - Misc. build fixes for CentOS/SME  - Misc. build fixes for CentOS/SME
637    
638  * Mon Jan 12 2009 David Harper <davidiwharper@hotmail.com> 5.2.8-1.el4  * Mon Jan 12 2009 David Harper <davidiwharper@hotmail.com> 5.2.8-1.el4
639  - Upgrade to latest version of PHP  - Upgrade to latest version of PHP
640  - Build fixes for CentOS/SME  - Build fixes for CentOS/SME
641    
642  * Fri Jan 20 2006 Stuart K. Low <stuart@serverpeak.com> 5.1.2-1  * Fri Jan 20 2006 Stuart K. Low <stuart@serverpeak.com> 5.1.2-1
643  - Mass upgrade  - Mass upgrade
644  - Added rhel4 flags  - Added rhel4 flags
645  - Fixed pointers to changed (?) libraries from lib.so to just lib. Odd change.  - Fixed pointers to changed (?) libraries from lib.so to just lib. Odd change.
646    
647  * Fri Jun 10 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.4-2  * Fri Jun 10 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.4-2
648  - Fixed tidy again.  - Fixed tidy again.
649    
650  * Sun May 29 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.4-1  * Sun May 29 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.4-1
651  - Upgrade to 5.0.4  - Upgrade to 5.0.4
652    
653  * Sat Feb 19 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.3-3  * Sat Feb 19 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.3-3
654  - addition of --with-tidy  - addition of --with-tidy
655    
656  * Wed Jan 26 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.3-1  * Wed Jan 26 2005 Stuart K. Low <stuart@serverpeak.com> 5.0.3-1
657  - initial conversion to a CGI version for PHP5  - initial conversion to a CGI version for PHP5
658  - removed domxml since it's been moved to PECL in PHP5  - removed domxml since it's been moved to PECL in PHP5


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed