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

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

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


Revision 1.4 - (hide annotations) (download)
Wed Mar 12 06:49:58 2008 UTC (16 years, 8 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-17_el4_sme
Changes since 1.3: +5 -5 lines
Remove dud es locale

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

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