/[smecontribs]/rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0.spec
ViewVC logotype

Contents of /rpms/smeserver-vacation/contribs7/smeserver-vacation-1.0.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.6 - (show annotations) (download)
Sun Dec 23 21:08:35 2007 UTC (16 years, 5 months ago) by slords
Branch: MAIN
Changes since 1.5: +35 -14 lines
Import on branch contribs7 of package smeserver-vacation-1.0-13.el4.sme.src.rpm

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

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