/[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.4 - (hide annotations) (download)
Sat Dec 22 22:18:30 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
Changes since 1.3: +0 -2 lines
Remove Packager/Distribution (added by buildsys)

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

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