/[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.2 - (hide annotations) (download)
Sat Mar 8 02:58:07 2008 UTC (16 years, 8 months ago) by dungog
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-15_el4_sme
Changes since 1.1: +7 -2 lines
* Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15
- prepare en lexicons for pootle translations

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

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