/[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.10 - (hide annotations) (download)
Tue Apr 22 09:06:22 2008 UTC (16 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-22_el4_sme
Changes since 1.9: +7 -2 lines
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
- Apply 22 April 2008 locale patch

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

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