/[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.12 - (hide annotations) (download)
Mon Apr 28 23:21:45 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-23_el4_sme
Changes since 1.11: +2 -2 lines
Update requires

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

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