/[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.17 - (hide annotations) (download)
Wed Aug 13 17:11:15 2008 UTC (16 years, 2 months ago) by bytegw
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-27_el4_sme
Changes since 1.16: +7 -2 lines
Fix Locale changes

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

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