/[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.5 - (hide annotations) (download)
Wed Mar 12 15:11:45 2008 UTC (16 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-18_el4_sme
Changes since 1.4: +10 -1 lines
* Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18
- Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]

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

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