/[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.18 - (hide annotations) (download)
Sat Sep 13 20:43:28 2008 UTC (16 years, 2 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-28_el4_sme
Changes since 1.17: +8 -2 lines
* Sat Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28
- Add precedence list to ignore functions to ignore, for instance,
  mail from contribs.org mailinglists [SME: 4549]

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

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