/[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.15 - (hide annotations) (download)
Fri Jun 27 20:05:31 2008 UTC (16 years, 5 months ago) by slords
Branch: MAIN
Changes since 1.14: +1 -3 lines
Fix spec

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

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