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

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

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


Revision 1.2 - (hide annotations) (download)
Sat Dec 22 21:41:57 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
Changes since 1.1: +1 -1 lines
Change Copyright to License

1 slords 1.1 Summary: SME Server enhancement to enable vacation messages for users.
2     %define name smeserver-vacation
3     Name: %{name}
4     %define version 1.0
5     %define release 11
6     Version: %{version}
7     Release: %{release}
8     Distribution: SME Server
9 slords 1.2 License: GPL
10 slords 1.1 URL: http://www.dungog.net/sme
11     Group: SMEserver/addon
12     Source: %{name}-%{version}.tar.gz
13     Packager: Stephen Noble <support@dungog.net>
14     BuildArchitectures: noarch
15     BuildRoot: /var/tmp/%{name}-%{version}
16     Requires: e-smith-release >= 7.0,
17     AutoReqProv: no
18    
19     %description
20     SME Server enhancement to enable vacation messages for users.
21     Optionally provides a user-manager panel where users can
22     enable vacation for themselves and to modify their own message
23    
24     %changelog
25     * Fri Dec 29 2006 Stephen Noble <support@dungog.net>
26     - display Vacation status correctly on modify page in server-manager
27     - [1.0-11]
28    
29     * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
30     - display description unshaded *
31     - german lexicon fix
32     - cosmetic log error fixed [sme 1992]
33     - [1.0-10]
34    
35     * Thu Aug 24 2006 Stephen Noble <support@dungog.net>
36     - now finds corrects vacation text when used under userpanel.
37     - german translation [sme 1101]
38     - [1.0-9]
39    
40     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
41     - suppress description if no users [contribs 1243]
42     - [1.0-8]
43    
44     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
45     - say no users if none exist [contribs 1243]
46     - display DomainName in email address [contribs 1242]
47     - [1.0-7]
48    
49     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
50     - unlink .vacation.msg before writing [contribs 1192]
51     - vacation doesn't respond to spam [contribs 1190]
52     - [1.0-6]
53    
54     * Sat Mar 25 2006 Stephen Noble <support@dungog.net>
55     - updated lexicons
56     - removed event
57     - [1.0-5]
58    
59     * Fri Mar 24 2006 Stephen Noble <support@dungog.net>
60     - Change the interval between repeat replies to the same sender
61     - config setprop qmail VacationDelay -t3d, man vacation
62     - reset vacationDB when setting status to no
63     - modified to, Subject: Re: $SUBJECT - Away from my email
64     - updated fr lexicon
65     - [1.0-4]
66    
67     * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
68     - updated lexicons
69     - [1.0-3]
70    
71     * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
72     - fr lexicon
73     - expand ~/.qmail on uninstall
74     - [1.0-2]
75    
76     * Mon Mar 20 2006 Stephen Noble <support@dungog.net>
77     - FormMagick version
78     - [1.0-1]
79    
80     * Mon Dec 12 2005 Stephen Noble <support@dungog.net>
81     - Strip out DOS Carriage Returns (CR)
82     - thanks to mike sensney
83     - [0.9-2]
84    
85     * Sat Sep 03 2005 Stephen Noble <support@dungog.net>
86     - renamed smeserver-vacation,
87     - contains vacation & userpanel-vacation
88     - [0.9-1]
89    
90     * Sat Sep 03 2005 David Beveridge <davidb@nass.com.au>
91     - [0.3-2]
92     - upgrade to work with AccountsDB on SME 7.0
93    
94     * Mon Dec 31 2001 Daniel van Raay <danielvr@caa.org.au>
95     - [0.2-4]
96     - Added generated 'From:' lines to default reply message
97     - Minor cosmetic cleaning
98    
99     * Fri Nov 23 2001 Daniel van Raay <danielvr@caa.org.au>
100     - [0.2-3]
101     - .vacation.db files are now deleted in the user-modify event
102    
103     * Tue Nov 14 2001 Daniel van Raay <danielvr@caa.org.au>
104     - [0.2-2]
105     - fixed bug in vacation script that delivered multiple bounces to users
106    
107     * Mon Sep 04 2001 Daniel van Raay <danielvr@caa.org.au>
108     - [0.2-1]
109     - added -j option to vacation command line
110     - updated for compatibility with e-smith 4.1
111    
112     * Wed Dec 27 2000 Daniel van Raay <danielvr@caa.org.au>
113     - [0.1-1]
114     - initial release
115    
116     %prep
117     %setup
118    
119     %build
120     perl createlinks
121    
122     LEXICONS1=$(find root/etc/e-smith/locale/ -type f )
123     LEXICONS2=$(find root/etc/e-smith/web/functions/uservacations -type f )
124     LEXICONS2=$(find root/etc/e-smith/web/functions/userpanel-vacation -type f )
125    
126     for lexicon in $LEXICONS1 $LEXICONS2 $LEXICONS3
127     do
128     /sbin/e-smith/validate-lexicon $lexicon
129     done
130    
131     #de en-us es fr de it
132     for LINK in en-us fr de
133     do
134     # if [ -z "/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/uservacations"] ; then
135     /bin/ln -s uservacations root/etc/e-smith/locale/$LINK/etc/e-smith/web/functions/userpanel-vacation
136     # fi
137     done
138    
139     %install
140     rm -rf $RPM_BUILD_ROOT
141     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
142     rm -f %{name}-%{version}-filelist
143     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
144     --file '/usr/local/bin/vacation' 'attr(0755,root,root)' \
145     > %{name}-%{version}-filelist
146     echo "%doc " >> %{name}-%{version}-filelist
147    
148     %clean
149     cd ..
150     rm -rf %{name}-%{version}
151    
152     %pre
153     %preun
154    
155     %post
156     #new installs
157     #if [ $1 = 1 ] ; then
158    
159     #fi
160    
161     #upgrades (and new installs)
162     /etc/e-smith/events/actions/navigation-conf 2>/dev/null
163    
164     #if [ -d /etc/e-smith/events/conf-userpanel ] ; then
165     # /sbin/e-smith/signal-event conf-userpanel
166     #fi
167    
168     %postun
169     #uninstall
170     if [ $1 = 0 ] ; then
171    
172     DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
173     for db in $DBS ; do
174     /sbin/e-smith/db $db delete userpanel-vacation 2>/dev/null
175     /sbin/e-smith/db $db delete uservacations 2>/dev/null
176     done
177    
178     #need to expand ~/.qmail for users who are still enabled
179     /etc/e-smith/events/actions/qmail-update-user
180    
181     fi
182    
183    
184     %files -f %{name}-%{version}-filelist
185     %defattr(-,root,root)
186    

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed