]> git.pld-linux.org Git - packages/dovecot-antispam.git/commitdiff
- new
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 2 Dec 2011 11:20:51 +0000 (11:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dovecot-antispam.spec -> 1.1

dovecot-antispam.spec [new file with mode: 0644]

diff --git a/dovecot-antispam.spec b/dovecot-antispam.spec
new file mode 100644 (file)
index 0000000..ea13c09
--- /dev/null
@@ -0,0 +1,48 @@
+Summary:       The dovecot antispam plugin
+Summary(pl.UTF-8):     Wtyczka antyspamowa dla dovecota
+Name:          dovecot-antispam
+Version:       2.0
+Release:       1
+License:       GPL
+Group:         Daemons
+Source0:       http://johannes.sipsolutions.net/download/dovecot-antispam/%{name}-%{version}.tar.bz2
+# Source0-md5: 14547898759fbd93f2b98304520decc6
+URL:           http://johannes.sipsolutions.net/Projects/dovecot-antispam
+BuildRequires: dovecot-devel >= 1:2.0
+%requires_eq_to        dovecot dovecot-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The dovecot antispam plugin watches moving mail into and out of the
+SPAM folder and tells the spam classifier that it made an error and
+needs to re-classify the message (as spam/not spam depending on which
+way it was moved).
+
+#%description -l pl.UTF-8
+
+%prep
+%setup -q
+
+%build
+%{__make} \
+       CFLAGS="%{rpmcflags}" \
+       LDFLAGS="%{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_libdir}/dovecot,%{_mandir}/man7}
+
+%{__make} install \
+       INSTALLDIR=%{_libdir}/dovecot \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -p antispam.7 $RPM_BUILD_ROOT%{_mandir}/man7
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc NOTES
+%attr(755,root,root) %{_libdir}/dovecot/lib90_antispam_plugin.so
+%{_mandir}/man7/antispam.7*
This page took 0.091765 seconds and 4 git commands to generate.