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}%{?dist} |
8 |
License: GNU GPL (GNU General Public License) |
9 |
Group: Mail |
10 |
Source: %{realname}-%{version}.tar.gz |
11 |
BuildRoot: /var/tmp/%{realname}-%{version}-buildroot/ |
12 |
BuildArch: noarch |
13 |
Requires: smeserver-release >= 7 |
14 |
AutoReqProv: no |
15 |
|
16 |
%description |
17 |
Plugin that adds "X-Spam-Level:" headerline |
18 |
|
19 |
%changelog |
20 |
* Fri Jan 05 2007 Michael Weinberger |
21 |
- moved to peers directory (SME7.1) |
22 |
* Tue May 02 2006 Michael Weinberger |
23 |
- initial release 0.0.1 |
24 |
|
25 |
%prep |
26 |
%setup -q -n %{realname}-%{version} |
27 |
|
28 |
%build |
29 |
|
30 |
%install |
31 |
rm -rf $RPM_BUILD_ROOT |
32 |
rm -f %{name}-%{version}-filelist |
33 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
34 |
|
35 |
rm -f %{name}-%{version}-filelist |
36 |
|
37 |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
38 |
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
39 |
-e "s@^/usr/lib/qpsmtpd/plugins/@%attr(0644,root,root) &@"\ |
40 |
-e "s@^/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/@%attr(0644,root,root) &@"\ |
41 |
>> %{name}-%{version}-filelist |
42 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
43 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
44 |
|
45 |
|
46 |
%clean |
47 |
rm -rf $RPM_BUILD_ROOT |
48 |
|
49 |
%files -f %{name}-%{version}-filelist |
50 |
%defattr(-,root,root) |