packages: dovecot-antispam/dovecot-antispam.spec (NEW) - new
baggins
baggins at pld-linux.org
Fri Dec 2 12:20:56 CET 2011
Author: baggins Date: Fri Dec 2 11:20:56 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new
---- Files affected:
packages/dovecot-antispam:
dovecot-antispam.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/dovecot-antispam/dovecot-antispam.spec
diff -u /dev/null packages/dovecot-antispam/dovecot-antispam.spec:1.1
--- /dev/null Fri Dec 2 12:20:56 2011
+++ packages/dovecot-antispam/dovecot-antispam.spec Fri Dec 2 12:20:51 2011
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+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*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/12/02 11:20:51 baggins
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list