/[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.14 - (hide annotations) (download)
Mon May 5 19:30:44 2008 UTC (16 years ago) by snetram
Branch: MAIN
Changes since 1.13: +7 -2 lines
* Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25
- Apply 5 May 2008 locale patch

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

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