1 |
slords |
1.5 |
# $Id: smeserver-qpsmtpd-spamassassinlevelstars.spec,v 1.4 2008/07/28 07:30:52 mweinber Exp $ |
2 |
slords |
1.3 |
# Authority: mweinber |
3 |
|
|
# Name: Michael Weinberger |
4 |
|
|
|
5 |
slords |
1.1 |
Summary: qpsmtpd plugin that adds "X-Spam-Level:" headerline (SME7) |
6 |
|
|
%define realname smeserver-qpsmtpd-spamassassinlevelstars |
7 |
|
|
Name: %{realname} |
8 |
|
|
%define version 0.0.2 |
9 |
|
|
Version: %{version} |
10 |
mweinber |
1.4 |
%define release 1 |
11 |
slords |
1.2 |
Release: %{release}%{?dist} |
12 |
|
|
License: GNU GPL (GNU General Public License) |
13 |
slords |
1.1 |
Group: Mail |
14 |
|
|
Source: %{realname}-%{version}.tar.gz |
15 |
|
|
BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/ |
16 |
|
|
BuildArch: noarch |
17 |
|
|
Requires: smeserver-release >= 7 |
18 |
|
|
AutoReqProv: no |
19 |
mweinber |
1.4 |
Patch0: smeserver-qpsmtpd-spamassassinlevelstars-0.0.2-bug4461.patch |
20 |
slords |
1.1 |
|
21 |
|
|
%description |
22 |
|
|
Plugin that adds "X-Spam-Level:" headerline |
23 |
|
|
|
24 |
|
|
%changelog |
25 |
mweinber |
1.4 |
* Mon Jul 08 2008 Michael Weinberger |
26 |
|
|
- fixed bug 4461 |
27 |
slords |
1.1 |
* Fri Jan 05 2007 Michael Weinberger |
28 |
|
|
- moved to peers directory (SME7.1) |
29 |
|
|
* Tue May 02 2006 Michael Weinberger |
30 |
|
|
- initial release 0.0.1 |
31 |
|
|
|
32 |
|
|
%prep |
33 |
|
|
%setup -q -n %{realname}-%{version} |
34 |
mweinber |
1.4 |
%patch0 -p1 |
35 |
slords |
1.1 |
|
36 |
|
|
%build |
37 |
|
|
|
38 |
|
|
%install |
39 |
|
|
rm -rf $RPM_BUILD_ROOT |
40 |
|
|
rm -f %{name}-%{version}-filelist |
41 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
42 |
|
|
|
43 |
|
|
rm -f %{name}-%{version}-filelist |
44 |
|
|
|
45 |
|
|
find $RPM_BUILD_ROOT -depth -type f -print |\ |
46 |
|
|
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
47 |
|
|
-e "s@^/usr/lib/qpsmtpd/plugins/@%attr(0644,root,root) &@"\ |
48 |
|
|
-e "s@^/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/@%attr(0644,root,root) &@"\ |
49 |
|
|
>> %{name}-%{version}-filelist |
50 |
|
|
find $RPM_BUILD_ROOT -depth -type l -print |\ |
51 |
|
|
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
52 |
|
|
|
53 |
|
|
|
54 |
|
|
%clean |
55 |
|
|
rm -rf $RPM_BUILD_ROOT |
56 |
|
|
|
57 |
|
|
%files -f %{name}-%{version}-filelist |
58 |
|
|
%defattr(-,root,root) |