--- rpms/smeserver-egroupware/contribs7/smeserver-egroupware.spec 2008/04/02 15:03:57 1.2 +++ rpms/smeserver-egroupware/contribs7/smeserver-egroupware.spec 2008/05/14 13:40:49 1.3 @@ -1,10 +1,10 @@ -# $Id$ +# $Id: smeserver-egroupware.spec,v 1.2 2008/04/02 15:03:57 slords Exp $ # Authority: cool34000 # Name: Sylvain Gomez %define name smeserver-egroupware -%define version 1.4.002 -%define release 3 +%define version 1.4.004 +%define release 1 %define rpmver 4.0.4 @@ -12,7 +12,7 @@ Summary: eGroupware web appli Name: %{name} Version: %{version} Release: %{release}%{?dist} -License: GPL +License: GPL Group: Web/Application Source: %{name}-%{version}.tar.gz URL: http://www.egroupware.org @@ -38,8 +38,21 @@ https://yourdomain.com/egroupware %changelog + +* Mon May 12 2008 Sylvain Gomez +- [1.4.004-1] Update to new version 1.4.004 + Update eGroupWare and Gallery to latest available versions + - Apache template modified for FCKeditor (thanks to 'atariblau') + - Default database updated + +* Mon May 12 2008 Sylvain Gomez +- [1.4.004-1] Update to new version 1.4.004 + Update eGroupWare and Gallery to latest available versions + - Apache template modified for FCKeditor (thanks to 'atariblau') + - Default database updated + * Fri Oct 26 2007 Sylvain Gomez -- 1.4.002-3] Improving SME integration +- [1.4.002-3] Improving SME integration MySQL init templates added - Events added for DomainName changes - MySQL importation method changed @@ -178,11 +191,11 @@ UPDATE=$(ls /opt | grep -c egroupware) echo "Decompressing files..." mkdir -p /opt/egroupware/{files/g2data,backup,tmp} -tar xzf /usr/share/doc/eGroupWare-1.4.002/Sources/eGroupWare-1.4.002.tar.gz -C /opt/egroupware -tar xzf /usr/share/doc/eGroupWare-1.4.002/Sources/eGroupWare-egw-pear-1.4.002.tar.gz -C /opt/egroupware -tar xzf /usr/share/doc/eGroupWare-1.4.002/Sources/eGroupWare-gallery-1.4.002.tar.gz -C /opt/egroupware -cp -f /usr/share/doc/eGroupWare-1.4.002/Sources/phpSysInfo/config.php /opt/egroupware/html/phpsysinfo/ -cp -f /usr/share/doc/eGroupWare-1.4.002/Sources/phpSysInfo/Redhat.png /opt/egroupware/html/phpsysinfo/images/ +tar xzf /usr/share/doc/eGroupWare-1.4.004/Sources/eGroupWare-1.4.004.tar.gz -C /opt/egroupware +tar xzf /usr/share/doc/eGroupWare-1.4.004/Sources/eGroupWare-egw-pear-1.4.004.tar.gz -C /opt/egroupware +tar xzf /usr/share/doc/eGroupWare-1.4.004/Sources/eGroupWare-gallery-1.4.004.tar.gz -C /opt/egroupware +cp -f /usr/share/doc/eGroupWare-1.4.004/Sources/phpSysInfo/config.php /opt/egroupware/html/phpsysinfo/ +cp -f /usr/share/doc/eGroupWare-1.4.004/Sources/phpSysInfo/Redhat.png /opt/egroupware/html/phpsysinfo/images/ echo "Cleaning Install..." rm -rf /opt/egroupware/egroupware @@ -215,7 +228,7 @@ fi echo "Preparing header.inc.php..." case $UPDATE in - 0) sed 's.egwpass.'$EGPASS'.g' /usr/share/doc/eGroupWare-1.4.002/Sources/header.inc.php > /opt/egroupware/header.inc.php ;; + 0) sed 's.egwpass.'$EGPASS'.g' /usr/share/doc/eGroupWare-1.4.004/Sources/header.inc.php > /opt/egroupware/header.inc.php ;; *) mv -f /opt/egroupware/html/header.inc.php /opt/egroupware/ 2>/dev/null ;; esac chown www:www /opt/egroupware/header.inc.php @@ -227,7 +240,7 @@ echo "Preparing Gallery2..." if [ -f /opt/egroupware/html/gallery/gallery2/config.php ] ; then touch /opt/egroupware/html/gallery/gallery2/config.php else - sed 's.egwpass.'$EGPASS'.g' /usr/share/doc/eGroupWare-1.4.002/Sources/Gallery2/config.php > /opt/egroupware/html/gallery/gallery2/config.php + sed 's.egwpass.'$EGPASS'.g' /usr/share/doc/eGroupWare-1.4.004/Sources/Gallery2/config.php > /opt/egroupware/html/gallery/gallery2/config.php fi chmod 640 /opt/egroupware/html/gallery/gallery2/config.php chown www:www /opt/egroupware/html/gallery/gallery2/config.php @@ -235,7 +248,7 @@ echo " " echo "MySQL installation:" if [ "$UPDATE" = "0" ] ; then - cp /usr/share/doc/eGroupWare-1.4.002/Sources/81egw_database.sql /etc/e-smith/sql/init/ + cp /usr/share/doc/eGroupWare-1.4.004/Sources/81egw_database.sql /etc/e-smith/sql/init/ fi /sbin/e-smith/expand-template /etc/e-smith/sql/init/80egw_mysql.sql /sbin/e-smith/expand-template /etc/e-smith/sql/init/81egw_domain.sql @@ -302,7 +315,7 @@ echo "---------------------------------- %preun if [ $1 = 0 ] ; then - mv /usr/share/doc/eGroupWare-1.4.002/Sources/DO_NOT_USE_OR_DELETE/eGW-Full-Uninstall.sh /root/ + mv /usr/share/doc/eGroupWare-1.4.004/Sources/DO_NOT_USE_OR_DELETE/eGW-Full-Uninstall.sh /root/ fi