/[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.20 - (hide annotations) (download)
Sun Sep 28 02:29:39 2008 UTC (16 years, 2 months ago) by dungog
Branch: MAIN
Changes since 1.19: +3 -5 lines
add back pt-br

1 dungog 1.20 # $Id: smeserver-vacation.spec,v 1.19 2008/09/27 09:26:49 dungog Exp $
2 slords 1.9 # Authority: dungog
3     # Name: Stephen Noble
4    
5 slords 1.1 %define name smeserver-vacation
6     %define version 1.0
7 dungog 1.19 %define release 29
8 slords 1.1 Summary: SME Server enhancement to enable vacation messages for users.
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}%{?dist}
12     License: GNU GPL version 2
13     URL: http://www.dungog.net/sme
14     Group: SMEserver/addon
15     Source: %{name}-%{version}.tar.gz
16     Patch0: smeserver-vacation-1.0-frMenuSplit.patch
17 dungog 1.4 Patch1: smeserver-vacation-1.0-pootle.patch
18     Patch2: smeserver-vacation-1.0-locale-2008-03-11.patch
19 dungog 1.7 Patch3: smeserver-vacation-1.0-locale-2008-03-14.patch
20 slords 1.8 Patch4: smeserver-vacation-1.0-locale-2008-04-01.patch
21 snetram 1.10 Patch5: smeserver-vacation-1.0-locale-2008-04-22.patch
22 snetram 1.11 Patch6: smeserver-vacation-1.0-add2general.patch
23 slords 1.13 Patch7: smeserver-vacation-1.0-dos2unix.patch
24 snetram 1.16 Patch8: smeserver-vacation-1.0-locale-2008-07-01.patch
25 bytegw 1.17 Patch9: smeserver-vacation-1.0-Locale.patch
26 snetram 1.18 Patch10: smeserver-vacation-1.0-addPrecedenceList.patch
27 dungog 1.20 Patch11: smeserver-vacation-1.0-locale-2008-09-27.patch
28     Patch12: smeserver-vacation-1.0-74vacationMessage.patch
29 slords 1.1 BuildArchitectures: noarch
30     BuildRoot: /var/tmp/%{name}-%{version}
31     Requires: e-smith-release >= 7.0,
32 slords 1.12 Requires: e-smith-formmagick >= 1.4.0-12
33 slords 1.1 BuildRequires: e-smith-devtools >= 1.13.1-03
34     AutoReqProv: no
35    
36     %description
37     SME Server enhancement to enable vacation messages for users.
38     Optionally provides a user-manager panel where users can
39     enable vacation for themselves and to modify their own message
40    
41     %changelog
42 dungog 1.19 * Sat Sep 27 2008 Stephen Noble <support@dungog.net> - 1.0-29
43     - move .qmail fragment after SME forwarding [SME: 4603]
44     - Apply 27 August 2008 locale patch
45    
46 snetram 1.18 * Sat Aug 13 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-28
47     - Add precedence list to ignore functions to ignore, for instance,
48     mail from contribs.org mailinglists [SME: 4549]
49    
50 bytegw 1.17 * Tue Aug 12 2008 Gavin Weight <gweight@gmail.com> 1.0-27
51     - Fix Locale to read vacation panel correctly. [SME: 4311]
52    
53 snetram 1.16 * Tue Jul 1 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-26
54     - Apply 1 July 2008 locale patch
55    
56 snetram 1.14 * Mon May 5 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-25
57     - Apply 5 May 2008 locale patch
58    
59 slords 1.13 * Mon Apr 28 2008 Shad L. Lords <slords@mail.com> 1.0-24
60     - Convert dos line endings to unix
61    
62 snetram 1.11 * Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-23
63     - Add common <base> tags to e-smith-formmagick's general
64    
65 snetram 1.10 * Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0-22
66     - Apply 22 April 2008 locale patch
67    
68 slords 1.8 * Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 1.0-21
69     - Update to UTF-8 translations
70    
71 dungog 1.7 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-20
72     - update locale 2008-03-14, removed -13
73    
74 dungog 1.6 * Fri Mar 14 2008 Stephen Noble <support@dungog.net> - 1.0-19
75     - update locale 2008-03-13
76    
77 slords 1.5 * Wed Mar 12 2008 Shad L. Lords <slords@mail.com> - 1.0-18
78     - Add requires for e-smith-formmagick for UTF-8 support [SME: 3858]
79    
80 dungog 1.4 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-17
81     - remove dud es patch
82 slords 1.5
83 dungog 1.3 * Tue Mar 11 2008 Stephen Noble <support@dungog.net> - 1.0-16
84     - update locale 2008-03-11
85 slords 1.5
86 dungog 1.2 * Sat Mar 07 2008 Stephen Noble <support@dungog.net> - 1.0-15
87     - prepare en lexicons for pootle translations
88 slords 1.5
89 slords 1.1 * Wed Dec 26 2007 Stephen Noble <support@dungog.net> 1.0-14
90     - fix spanish translation
91 slords 1.5
92 slords 1.1 * Mon Oct 29 2007 Stephen Noble <support@dungog.net> 1.0-13
93     - add spanish translation, thanks Normando Hall [SME 3503]
94 slords 1.5
95 slords 1.1 * Thu Jun 14 2007 Stephen Noble <support@dungog.net>
96     - apply updates up to -11
97    
98     * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
99     - Clean up spec so package can be built by koji/plague
100    
101     * Fri Dec 29 2006 Stephen Noble <support@dungog.net>
102     - display Vacation status correctly on modify page in server-manager [sme 2200]
103     - [1.0-11]
104    
105     * Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
106     - Update to new release naming. No functional changes.
107     - Make Packager generic
108    
109     * Mon Oct 30 2006 Stephen Noble <support@dungog.net>
110     - display description unshaded *
111     - german lexicon fix
112     - cosmetic log error fixed [sme 1992]
113     - [1.0-10]
114    
115     * Thu Aug 24 2006 Stephen Noble <support@dungog.net>
116     - now finds corrects vacation text when used under userpanel.
117     - german translation [sme 1101]
118     - [1.0-9]
119    
120     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
121     - suppress description if no users [contribs 1243]
122     - [1.0-8]
123    
124     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
125     - say no users if none exist [contribs 1243]
126     - display DomainName in email address [contribs 1242]
127     - [1.0-7]
128    
129     * Wed Apr 6 2006 Stephen Noble <support@dungog.net>
130     - unlink .vacation.msg before writing [contribs 1192]
131     - vacation doesn't respond to spam [contribs 1190]
132     - [1.0-6]
133    
134     * Sat Mar 25 2006 Stephen Noble <support@dungog.net>
135     - updated lexicons
136     - removed event
137     - [1.0-5]
138    
139     * Fri Mar 24 2006 Stephen Noble <support@dungog.net>
140     - Change the interval between repeat replies to the same sender
141     - config setprop qmail VacationDelay -t3d, man vacation
142     - reset vacationDB when setting status to no
143     - modified to, Subject: Re: $SUBJECT - Away from my email
144     - updated fr lexicon
145     - [1.0-4]
146    
147     * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
148     - updated lexicons
149     - [1.0-3]
150    
151     * Wed Mar 22 2006 Stephen Noble <support@dungog.net>
152     - fr lexicon
153     - expand ~/.qmail on uninstall
154     - [1.0-2]
155    
156     * Mon Mar 20 2006 Stephen Noble <support@dungog.net>
157     - FormMagick version
158     - [1.0-1]
159    
160     * Mon Dec 12 2005 Stephen Noble <support@dungog.net>
161     - Strip out DOS Carriage Returns (CR)
162     - thanks to mike sensney
163     - [0.9-2]
164    
165     * Sat Sep 03 2005 Stephen Noble <support@dungog.net>
166     - renamed smeserver-vacation,
167     - contains vacation & userpanel-vacation
168     - [0.9-1]
169    
170     * Sat Sep 03 2005 David Beveridge <davidb@nass.com.au>
171     - [0.3-2]
172     - upgrade to work with AccountsDB on SME 7.0
173    
174     * Mon Dec 31 2001 Daniel van Raay <danielvr@caa.org.au>
175     - [0.2-4]
176     - Added generated 'From:' lines to default reply message
177     - Minor cosmetic cleaning
178    
179     * Fri Nov 23 2001 Daniel van Raay <danielvr@caa.org.au>
180     - [0.2-3]
181     - .vacation.db files are now deleted in the user-modify event
182    
183     * Tue Nov 14 2001 Daniel van Raay <danielvr@caa.org.au>
184     - [0.2-2]
185     - fixed bug in vacation script that delivered multiple bounces to users
186    
187     * Mon Sep 04 2001 Daniel van Raay <danielvr@caa.org.au>
188     - [0.2-1]
189     - added -j option to vacation command line
190     - updated for compatibility with e-smith 4.1
191    
192     * Wed Dec 27 2000 Daniel van Raay <danielvr@caa.org.au>
193     - [0.1-1]
194     - initial release
195    
196     %prep
197     %setup
198     %patch0 -p1
199 dungog 1.2 %patch1 -p1
200     %patch2 -p1
201 dungog 1.6 %patch3 -p1
202 slords 1.8 %patch4 -p1
203 snetram 1.10 %patch5 -p1
204 snetram 1.11 %patch6 -p1
205 slords 1.13 %patch7 -p1
206 snetram 1.16 %patch8 -p1
207 bytegw 1.17 %patch9 -p1
208 snetram 1.18 %patch10 -p1
209 dungog 1.19 %patch11 -p1
210     %patch12 -p1
211 slords 1.1
212     %build
213     perl createlinks
214    
215     LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
216     for lexicon in $LEXICONS
217     do
218     /sbin/e-smith/validate-lexicon $lexicon
219     done
220    
221 dungog 1.19 LINKS=$(find root/etc/e-smith/locale/ -type d -maxdepth 1 | sed 's/root\/etc\/e-smith\/locale\///')
222 dungog 1.3 for link in $LINKS
223 slords 1.1 do
224 dungog 1.3 /bin/ln -s uservacations root/etc/e-smith/locale/$link/etc/e-smith/web/functions/userpanel-vacation
225 slords 1.1 done
226    
227     %install
228     rm -rf $RPM_BUILD_ROOT
229     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
230     rm -f %{name}-%{version}-filelist
231     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
232     --file '/usr/local/bin/vacation' 'attr(0755,root,root)' \
233     > %{name}-%{version}-filelist
234     echo "%doc COPYING" >> %{name}-%{version}-filelist
235    
236     %clean
237     rm -rf $RPM_BUILD_ROOT
238    
239     %pre
240     %preun
241    
242     %post
243     if [ -d /etc/e-smith/events/conf-userpanel ] ; then
244     /sbin/e-smith/signal-event conf-userpanel
245     fi
246    
247     %postun
248     #uninstall
249     if [ $1 = 0 ] ; then
250    
251     DBS=`find /home/e-smith/db/navigation -type f -name "navigation.*"`
252     for db in $DBS ; do
253     /sbin/e-smith/db $db delete userpanel-vacation 2>/dev/null
254     /sbin/e-smith/db $db delete uservacations 2>/dev/null
255     done
256    
257     #need to expand ~/.qmail for users who are still enabled
258     /etc/e-smith/events/actions/qmail-update-user
259    
260     fi
261    
262    
263     %files -f %{name}-%{version}-filelist
264     %defattr(-,root,root)

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