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

Annotation 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.8 - (hide annotations) (download)
Wed Dec 26 01:26:14 2007 UTC (16 years, 10 months ago) by dungog
Branch: MAIN
Changes since 1.7: +3 -14 lines
update spec

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

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