1 |
# $Id$ |
2 |
# Authority: mweinber |
3 |
# Name: Michael Weinberger |
4 |
|
5 |
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 |
%define release 0 |
11 |
Release: %{release}%{?dist} |
12 |
License: GNU GPL (GNU General Public License) |
13 |
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 |
|
20 |
%description |
21 |
Plugin that adds "X-Spam-Level:" headerline |
22 |
|
23 |
%changelog |
24 |
* Fri Jan 05 2007 Michael Weinberger |
25 |
- moved to peers directory (SME7.1) |
26 |
* Tue May 02 2006 Michael Weinberger |
27 |
- initial release 0.0.1 |
28 |
|
29 |
%prep |
30 |
%setup -q -n %{realname}-%{version} |
31 |
|
32 |
%build |
33 |
|
34 |
%install |
35 |
rm -rf $RPM_BUILD_ROOT |
36 |
rm -f %{name}-%{version}-filelist |
37 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
38 |
|
39 |
rm -f %{name}-%{version}-filelist |
40 |
|
41 |
find $RPM_BUILD_ROOT -depth -type f -print |\ |
42 |
sed -e "s@^$RPM_BUILD_ROOT@@g" \ |
43 |
-e "s@^/usr/lib/qpsmtpd/plugins/@%attr(0644,root,root) &@"\ |
44 |
-e "s@^/etc/e-smith/templates/var/service/qpsmtpd/config/plugins/@%attr(0644,root,root) &@"\ |
45 |
>> %{name}-%{version}-filelist |
46 |
find $RPM_BUILD_ROOT -depth -type l -print |\ |
47 |
sed "s@^$RPM_BUILD_ROOT@@g" >> %{name}-%{version}-filelist |
48 |
|
49 |
|
50 |
%clean |
51 |
rm -rf $RPM_BUILD_ROOT |
52 |
|
53 |
%files -f %{name}-%{version}-filelist |
54 |
%defattr(-,root,root) |