/[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.6 - (hide annotations) (download)
Fri Mar 14 09:36:09 2008 UTC (16 years, 8 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-19_el4_sme
Changes since 1.5: +6 -1 lines
locale 13mar08

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

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