1 |
slords |
1.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) |