/[smecontribs]/rpms/smeserver-qpsmtpd-spamassassinlevelstars/contribs7/smeserver-qpsmtpd-spamassassinlevelstars.spec
ViewVC logotype

Contents of /rpms/smeserver-qpsmtpd-spamassassinlevelstars/contribs7/smeserver-qpsmtpd-spamassassinlevelstars.spec

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


Revision 1.1 - (show annotations) (download)
Wed Feb 27 17:53:47 2008 UTC (16 years, 9 months ago) by slords
Branch: MAIN
Remove version from spec

1 Summary: qpsmtpd plugin that adds "X-Spam-Level:" headerline (SME7)
2 %define realname smeserver-qpsmtpd-spamassassinlevelstars
3 Name: %{realname}
4 %define version 0.0.2
5 Version: %{version}
6 %define release 0
7 Release: %{release}
8 Copyright: GNU GPL (GNU General Public License)
9 Group: Mail
10 Source: %{realname}-%{version}.tar.gz
11 Packager: Michael Weinberger <mweinber@neddix.de>
12 Vendor: neddix IT Consulting und Services, Stuttgart, Germany
13 BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/
14 BuildArch: noarch
15 Requires: smeserver-release >= 7
16 AutoReqProv: no
17
18 %description
19 Plugin that adds "X-Spam-Level:" headerline
20
21 %changelog
22 * Fri Jan 05 2007 Michael Weinberger
23 - moved to peers directory (SME7.1)
24 * Tue May 02 2006 Michael Weinberger
25 - initial release 0.0.1
26
27 %prep
28 %setup -q -n %{realname}-%{version}
29
30 %build
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 rm -f %{name}-%{version}-filelist
35 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
36
37 rm -f %{name}-%{version}-filelist
38
39 find $RPM_BUILD_ROOT -depth -type f -print |\
40 sed -e "s@^$RPM_BUILD_ROOT@@g" \
41 -e "s@^/usr/lib/qpsmtpd/plugins/@%attr(0644,root,root) &@"\
42 -e "s@^/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/@%attr(0644,root,root) &@"\
43 >> %{name}-%{version}-filelist
44 find $RPM_BUILD_ROOT -depth -type l -print |\
45 sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist
46
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50 exit 0
51
52 %pre
53 exit 0
54
55 %post
56 exit 0
57
58 %preun
59 exit 0
60
61 %postun
62 exit 0
63
64 %files -f %{name}-%{version}-filelist
65 %defattr(-,root,root)

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