/[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.8 - (hide annotations) (download)
Tue Apr 1 18:50:41 2008 UTC (16 years, 7 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-21_el4_sme
Changes since 1.7: +6 -2 lines
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21
- Update to UTF-8 translations

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

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