/[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.25 - (hide annotations) (download)
Sun Mar 1 19:31:27 2009 UTC (15 years, 9 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-32_el4_sme
Changes since 1.24: +7 -2 lines
* Sun Mar  1 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-32
- Apply  1 Mar 2009 locale patch [SME: 5018]

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

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