/[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.21 - (hide annotations) (download)
Tue Oct 14 14:48:30 2008 UTC (16 years, 1 month ago) by snetram
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-30_el4_sme
Changes since 1.20: +7 -2 lines
* Tue Oct 14 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-30
- Apply 14 Oct 2008 locale patch

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

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