/[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.6 by slords, Tue Nov 25 16:20:21 2008 UTC
# Line 1  Line 1 
1  # $Id$  # $Id: smeserver-egroupware.spec,v 1.4 2008/05/14 13:50:54 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  * Fri Oct 26 2007 Sylvain Gomez <sylvaingomez@free.fr>  * Fri Oct 26 2007 Sylvain Gomez <sylvaingomez@free.fr>
49  - 1.4.002-3] Improving SME integration  - [1.4.002-3] Improving SME integration
50              MySQL init templates added              MySQL init templates added
51              - Events added for DomainName changes              - Events added for DomainName changes
52              - MySQL importation method changed              - MySQL importation method changed
# Line 178  UPDATE=$(ls /opt | grep -c egroupware) Line 185  UPDATE=$(ls /opt | grep -c egroupware)
185    
186  echo "Decompressing files..."  echo "Decompressing files..."
187  mkdir -p /opt/egroupware/{files/g2data,backup,tmp}  mkdir -p /opt/egroupware/{files/g2data,backup,tmp}
188  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
189  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
190  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
191  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/
192  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/
193    
194  echo "Cleaning Install..."  echo "Cleaning Install..."
195  rm -rf /opt/egroupware/egroupware  rm -rf /opt/egroupware/egroupware
# Line 215  fi Line 222  fi
222    
223  echo "Preparing header.inc.php..."  echo "Preparing header.inc.php..."
224  case $UPDATE in  case $UPDATE in
225    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 ;;
226    *) 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 ;;
227  esac  esac
228  chown www:www /opt/egroupware/header.inc.php  chown www:www /opt/egroupware/header.inc.php
# Line 227  echo "Preparing Gallery2..." Line 234  echo "Preparing Gallery2..."
234  if [ -f /opt/egroupware/html/gallery/gallery2/config.php ] ; then  if [ -f /opt/egroupware/html/gallery/gallery2/config.php ] ; then
235    touch /opt/egroupware/html/gallery/gallery2/config.php    touch /opt/egroupware/html/gallery/gallery2/config.php
236  else  else
237    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
238  fi  fi
239  chmod 640     /opt/egroupware/html/gallery/gallery2/config.php  chmod 640     /opt/egroupware/html/gallery/gallery2/config.php
240  chown www:www /opt/egroupware/html/gallery/gallery2/config.php  chown www:www /opt/egroupware/html/gallery/gallery2/config.php
# Line 235  echo " " Line 242  echo " "
242    
243  echo "MySQL installation:"  echo "MySQL installation:"
244  if [ "$UPDATE" = "0" ] ; then  if [ "$UPDATE" = "0" ] ; then
245    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/
246  fi  fi
247  /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
248  /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 309  echo "----------------------------------
309    
310  %preun  %preun
311  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
312    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/
313  fi  fi
314    
315    


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