/[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.19 - (hide annotations) (download)
Sat Sep 27 09:26:49 2008 UTC (16 years, 1 month ago) by dungog
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-29_el4_sme
Changes since 1.18: +13 -3 lines
* Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.0-29
- move .qmail fragment after SME forwarding [SME: 4603]
- Apply 27 August 2008 locale patch

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

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