/[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.7 - (hide annotations) (download)
Fri Mar 14 09:42:44 2008 UTC (16 years, 7 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-20_el4_sme
Changes since 1.6: +5 -2 lines
locale 14mar08

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

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