/[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.3 by slords, Sat Dec 22 21:44:45 2007 UTC Revision 1.6 by slords, Sun Dec 23 21:08:35 2007 UTC
# Line 2  Summary: SME Server enhancement to enabl Line 2  Summary: SME Server enhancement to enabl
2  %define name smeserver-vacation  %define name smeserver-vacation
3  Name: %{name}  Name: %{name}
4  %define version 1.0  %define version 1.0
5  %define release 11  %define release 13
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  Distribution: SME Server  Distribution: SME Server
# Line 10  License: GPL Line 10  License: GPL
10  URL: http://www.dungog.net/sme  URL: http://www.dungog.net/sme
11  Group: SMEserver/addon  Group: SMEserver/addon
12  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
13  Packager: Stephen Noble <support@dungog.net>  Patch0: smeserver-vacation-1.0-frMenuSplit.patch
14    Patch1: smeserver-vacation-1.0-esLocale.patch
15  BuildArchitectures: noarch  BuildArchitectures: noarch
16  BuildRoot: /var/tmp/%{name}-%{version}  BuildRoot: /var/tmp/%{name}-%{version}
17  Requires: e-smith-release >= 7.0,  Requires: e-smith-release >= 7.0,
18    BuildRequires: e-smith-devtools >= 1.13.1-03
19  AutoReqProv: no  AutoReqProv: no
20    
21  %description  %description
# Line 22  Optionally provides a user-manager panel Line 24  Optionally provides a user-manager panel
24  enable vacation for themselves and to modify their own message  enable vacation for themselves and to modify their own message
25    
26  %changelog  %changelog
27    * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13
28    - add spanish translation, thanks Normando Hall [SME 3503]
29    
30    * Thu Jun 14 2007 Stephen Noble <support@dungog.net>
31    - apply updates up to -11
32    
33    * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
34    - Clean up spec so package can be built by koji/plague
35    
36  * Fri Dec 29 2006  Stephen Noble <support@dungog.net>  * Fri Dec 29 2006  Stephen Noble <support@dungog.net>
37  - display Vacation status correctly on modify page in server-manager  - display Vacation status correctly on modify page in server-manager [sme 2200]
38  - [1.0-11]  - [1.0-11]
39    
40    * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
41    - Update to new release naming.  No functional changes.
42    - Make Packager generic
43    
44  * Mon Oct 30 2006  Stephen Noble <support@dungog.net>  * Mon Oct 30 2006  Stephen Noble <support@dungog.net>
45  - display description unshaded *  - display description unshaded *
46  - german lexicon fix  - german lexicon fix
# Line 115  enable vacation for themselves and to mo Line 130  enable vacation for themselves and to mo
130    
131  %prep  %prep
132  %setup  %setup
133    %patch0 -p1
134    %patch1 -p2
135    
136  %build  %build
137  perl createlinks  perl createlinks
# Line 128  do Line 145  do
145      /sbin/e-smith/validate-lexicon $lexicon      /sbin/e-smith/validate-lexicon $lexicon
146  done  done
147    
148  #de en-us es fr de it  #  it sv
149  for LINK in en-us fr de  for LINK in en-us fr de es
150  do  do
151  #  if [ -z "/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/uservacations"] ; then  #  if [ -z "/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/uservacations"] ; then
152       /bin/ln -s uservacations root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-vacation       /bin/ln -s uservacations \
153  #  fi              root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-vacation
154    #  fi            
155  done  done
156    
157  %install  %install
# Line 143  rm -f %{name}-%{version}-filelist Line 161  rm -f %{name}-%{version}-filelist
161  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
162       --file '/usr/local/bin/vacation' 'attr(0755,root,root)' \       --file '/usr/local/bin/vacation' 'attr(0755,root,root)' \
163       > %{name}-%{version}-filelist       > %{name}-%{version}-filelist
164  echo "%doc " >> %{name}-%{version}-filelist  echo "%doc COPYING"  >> %{name}-%{version}-filelist
165    
166  %clean  %clean
167  cd ..  cd ..
# Line 159  rm -rf %{name}-%{version} Line 177  rm -rf %{name}-%{version}
177  #fi  #fi
178    
179  #upgrades (and new installs)  #upgrades (and new installs)
180  /etc/e-smith/events/actions/navigation-conf 2>/dev/null  #/etc/e-smith/events/actions/navigation-conf 2>/dev/null
181    
182  #if [ -d /etc/e-smith/events/conf-userpanel ] ; then  if [ -d /etc/e-smith/events/conf-userpanel ] ; then
183  #   /sbin/e-smith/signal-event conf-userpanel     /sbin/e-smith/signal-event conf-userpanel
184  #fi  fi
185    
186    #/bin/chmod a+x /usr/local/bin/vacation
187    
188  %postun  %postun
189  #uninstall  #uninstall
# Line 174  if [ $1 = 0 ] ; then Line 194  if [ $1 = 0 ] ; then
194            /sbin/e-smith/db $db delete userpanel-vacation 2>/dev/null            /sbin/e-smith/db $db delete userpanel-vacation 2>/dev/null
195            /sbin/e-smith/db $db delete uservacations 2>/dev/null            /sbin/e-smith/db $db delete uservacations 2>/dev/null
196          done          done
197            
198   #need to expand ~/.qmail for users who are still enabled   #need to expand ~/.qmail for users who are still enabled
199   /etc/e-smith/events/actions/qmail-update-user   /etc/e-smith/events/actions/qmail-update-user
200    


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