/[smecontribs]/rpms/smeserver-egroupware/contribs7/smeserver-egroupware.spec
ViewVC logotype

Diff of /rpms/smeserver-egroupware/contribs7/smeserver-egroupware.spec

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

Revision 1.2 by slords, Wed Apr 2 15:03:57 2008 UTC Revision 1.3 by slords, Wed May 14 13:40:49 2008 UTC
# Line 1  Line 1 
1  # $Id$  # $Id: smeserver-egroupware.spec,v 1.2 2008/04/02 15:03:57 slords Exp $
2  # Authority: cool34000  # Authority: cool34000
3  # Name: Sylvain Gomez  # Name: Sylvain Gomez
4    
5  %define name smeserver-egroupware  %define name smeserver-egroupware
6  %define version 1.4.002  %define version 1.4.004
7  %define release 3  %define release 1
8  %define rpmver   4.0.4  %define rpmver   4.0.4
9    
10    
# Line 12  Summary:            eGroupware web appli Line 12  Summary:            eGroupware web appli
12  Name:               %{name}  Name:               %{name}
13  Version:            %{version}  Version:            %{version}
14  Release:            %{release}%{?dist}  Release:            %{release}%{?dist}
15  License:          GPL  License:            GPL
16  Group:              Web/Application  Group:              Web/Application
17  Source:             %{name}-%{version}.tar.gz  Source:             %{name}-%{version}.tar.gz
18  URL:                http://www.egroupware.org  URL:                http://www.egroupware.org
# Line 38  https://yourdomain.com/egroupware Line 38  https://yourdomain.com/egroupware
38    
39    
40  %changelog  %changelog
41    
42    * Mon May 12 2008 Sylvain Gomez <sylvaingomez@free.fr>
43    - [1.4.004-1] Update to new version 1.4.004
44                Update eGroupWare and Gallery to latest available versions
45                - Apache template modified for FCKeditor (thanks to 'atariblau')
46                - Default database updated
47    
48    * Mon May 12 2008 Sylvain Gomez <sylvaingomez@free.fr>
49    - [1.4.004-1] Update to new version 1.4.004
50                Update eGroupWare and Gallery to latest available versions
51                - Apache template modified for FCKeditor (thanks to 'atariblau')
52                - Default database updated
53    
54  * Fri Oct 26 2007 Sylvain Gomez <sylvaingomez@free.fr>  * Fri Oct 26 2007 Sylvain Gomez <sylvaingomez@free.fr>
55  - 1.4.002-3] Improving SME integration  - [1.4.002-3] Improving SME integration
56              MySQL init templates added              MySQL init templates added
57              - Events added for DomainName changes              - Events added for DomainName changes
58              - MySQL importation method changed              - MySQL importation method changed
# Line 178  UPDATE=$(ls /opt | grep -c egroupware) Line 191  UPDATE=$(ls /opt | grep -c egroupware)
191    
192  echo "Decompressing files..."  echo "Decompressing files..."
193  mkdir -p /opt/egroupware/{files/g2data,backup,tmp}  mkdir -p /opt/egroupware/{files/g2data,backup,tmp}
194  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.004/Sources/eGroupWare-1.4.004.tar.gz -C /opt/egroupware
195  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.004/Sources/eGroupWare-egw-pear-1.4.004.tar.gz -C /opt/egroupware
196  tar xzf /usr/share/doc/eGroupWare-1.4.002/Sources/eGroupWare-gallery-1.4.002.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
197  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.004/Sources/phpSysInfo/config.php /opt/egroupware/html/phpsysinfo/
198  cp -f /usr/share/doc/eGroupWare-1.4.002/Sources/phpSysInfo/Redhat.png /opt/egroupware/html/phpsysinfo/images/  cp -f /usr/share/doc/eGroupWare-1.4.004/Sources/phpSysInfo/Redhat.png /opt/egroupware/html/phpsysinfo/images/
199    
200  echo "Cleaning Install..."  echo "Cleaning Install..."
201  rm -rf /opt/egroupware/egroupware  rm -rf /opt/egroupware/egroupware
# Line 215  fi Line 228  fi
228    
229  echo "Preparing header.inc.php..."  echo "Preparing header.inc.php..."
230  case $UPDATE in  case $UPDATE in
231    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 ;;
232    *) mv -f /opt/egroupware/html/header.inc.php /opt/egroupware/ 2>/dev/null ;;    *) mv -f /opt/egroupware/html/header.inc.php /opt/egroupware/ 2>/dev/null ;;
233  esac  esac
234  chown www:www /opt/egroupware/header.inc.php  chown www:www /opt/egroupware/header.inc.php
# Line 227  echo "Preparing Gallery2..." Line 240  echo "Preparing Gallery2..."
240  if [ -f /opt/egroupware/html/gallery/gallery2/config.php ] ; then  if [ -f /opt/egroupware/html/gallery/gallery2/config.php ] ; then
241    touch /opt/egroupware/html/gallery/gallery2/config.php    touch /opt/egroupware/html/gallery/gallery2/config.php
242  else  else
243    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
244  fi  fi
245  chmod 640     /opt/egroupware/html/gallery/gallery2/config.php  chmod 640     /opt/egroupware/html/gallery/gallery2/config.php
246  chown www:www /opt/egroupware/html/gallery/gallery2/config.php  chown www:www /opt/egroupware/html/gallery/gallery2/config.php
# Line 235  echo " " Line 248  echo " "
248    
249  echo "MySQL installation:"  echo "MySQL installation:"
250  if [ "$UPDATE" = "0" ] ; then  if [ "$UPDATE" = "0" ] ; then
251    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/
252  fi  fi
253  /sbin/e-smith/expand-template /etc/e-smith/sql/init/80egw_mysql.sql  /sbin/e-smith/expand-template /etc/e-smith/sql/init/80egw_mysql.sql
254  /sbin/e-smith/expand-template /etc/e-smith/sql/init/81egw_domain.sql  /sbin/e-smith/expand-template /etc/e-smith/sql/init/81egw_domain.sql
# Line 302  echo "---------------------------------- Line 315  echo "----------------------------------
315    
316  %preun  %preun
317  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
318    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/
319  fi  fi
320    
321    


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