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

Diff of /rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0.spec

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

Revision 1.7 by slords, Sun Dec 23 21:11:36 2007 UTC Revision 1.8 by dungog, Wed Dec 26 01:26:14 2007 UTC
# Line 10  URL: http://www.dungog.net/sme Line 10  URL: http://www.dungog.net/sme
10  Group: SMEserver/addon  Group: SMEserver/addon
11  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
12  Patch0: smeserver-vacation-1.0-frMenuSplit.patch  Patch0: smeserver-vacation-1.0-frMenuSplit.patch
13  Patch1: smeserver-vacation-1.0-esLocale.patch  #Patch1: smeserver-vacation-1.0-esLocale.patch
14  BuildArchitectures: noarch  BuildArchitectures: noarch
15  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
16  Requires: e-smith-release >= 7.0,  Requires: e-smith-release >= 7.0,
# Line 130  enable vacation for themselves and to mo Line 130  enable vacation for themselves and to mo
130  %prep  %prep
131  %setup  %setup
132  %patch0 -p1  %patch0 -p1
133  %patch1 -p2  #%patch1 -p2
134    
135  %build  %build
136  perl createlinks  perl createlinks
# Line 144  do Line 144  do
144      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
145  done  done
146    
147  #  it sv  #todo  it sv
148  for LINK in en-us fr de es  for LINK in en-us fr de es
149  do  do
 #  if [ -z "/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/uservacations"] ; then  
150       /bin/ln -s uservacations \       /bin/ln -s uservacations \
151              root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-vacation              root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-vacation
 #  fi              
152  done  done
153    
154  %install  %install
# Line 170  rm -rf %{name}-%{version} Line 168  rm -rf %{name}-%{version}
168  %preun  %preun
169    
170  %post  %post
 #new installs  
 #if [ $1 = 1 ] ; then  
   
 #fi  
   
 #upgrades (and new installs)  
 #/etc/e-smith/events/actions/navigation-conf 2>/dev/null  
171    
172  if [ -d /etc/e-smith/events/conf-userpanel ] ; then  if [ -d /etc/e-smith/events/conf-userpanel ] ; then
173     /sbin/e-smith/signal-event conf-userpanel     /sbin/e-smith/signal-event conf-userpanel
174  fi  fi
175    
 #/bin/chmod a+x /usr/local/bin/vacation  
   
176  %postun  %postun
177  #uninstall  #uninstall
178  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then


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