/[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.9 - (hide annotations) (download)
Wed Apr 2 15:04:00 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
Changes since 1.8: +4 -0 lines
Add Id, Authority, Name

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

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