/[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.5 - (hide annotations) (download)
Sun Dec 23 01:15:48 2007 UTC (16 years, 10 months ago) by slords
Branch: MAIN
CVS Tags: smeserver-vacation-1_0-11_el4_sme
Changes since 1.4: +1 -0 lines
Update buildrequires

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

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