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

Annotation of /rpms/smeserver-qpsmtpd-spamassassinlevelstars/contribs8/smeserver-qpsmtpd-spamassassinlevelstars.spec

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


Revision 1.1 - (hide annotations) (download)
Sun Mar 3 21:56:36 2013 UTC (11 years, 8 months ago) by unnilennium
Branch: MAIN
CVS Tags: smeserver-qpsmtpd-spamassassinlevelstars-0_0_2-1_el5_sme, HEAD
Initial import

1 unnilennium 1.1 # $Id: smeserver-qpsmtpd-spamassassinlevelstars.spec,v 1.6 2008/11/25 16:20:29 slords Exp $
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 1
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     Patch0: smeserver-qpsmtpd-spamassassinlevelstars-0.0.2-bug4461.patch
20    
21     %description
22     Plugin that adds "X-Spam-Level:" headerline
23    
24     %changelog
25     * Mon Jul 08 2008 Michael Weinberger
26     - fixed bug 4461
27     * 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     %patch0 -p1
35    
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)

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