SPECS (AC-branch): spamassassin.spec - added default procmail rule...
glen
glen at pld-linux.org
Wed Jun 13 20:57:08 CEST 2007
Author: glen Date: Wed Jun 13 18:57:08 2007 GMT
Module: SPECS Tag: AC-branch
---- Log message:
- added default procmail rules to packages (from fc)
---- Files affected:
SPECS:
spamassassin.spec (1.125.2.4 -> 1.125.2.5)
---- Diffs:
================================================================
Index: SPECS/spamassassin.spec
diff -u SPECS/spamassassin.spec:1.125.2.4 SPECS/spamassassin.spec:1.125.2.5
--- SPECS/spamassassin.spec:1.125.2.4 Wed Jun 13 20:23:14 2007
+++ SPECS/spamassassin.spec Wed Jun 13 20:57:03 2007
@@ -24,6 +24,8 @@
# Source0-md5: 6840e3be132e2c3cbf66298b0227e880
Source1: %{name}.sysconfig
Source2: %{name}-spamd.init
+Source3: %{name}-default.rc
+Source4: %{name}-spamc.rc
URL: http://spamassassin.apache.org/
BuildRequires: openssl-devel >= 0.9.7d
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.16
@@ -73,6 +75,13 @@
spamd/spamc components which create a server that considerably speeds
processing of mail.
+To enable spamassassin, if you are receiving mail locally, simply add
+this line to your ~/.procmailrc:
+INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc
+
+To filter spam for all users, add that line to /etc/procmailrc
+(creating if necessary).
+
%description -l pl.UTF-8
SpamAssassin daje moĹźliwoĹÄ zredukowania, jeĹli nie kompletnego
wyeliminowania niezamawianej komercyjnej poczty (Unsolicited
@@ -135,6 +144,13 @@
overhead in loading, so it should be much faster to load than the
whole spamassassin program.
+To enable spamassassin, if you are receiving mail locally, simply add
+this line to your ~/.procmailrc:
+INCLUDERC=/etc/mail/spamassassin/spamassassin-spamc.rc
+
+To filter spam for all users, add that line to /etc/procmailrc
+(creating if necessary).
+
%description spamc -l pl.UTF-8
Spamc powinien byÄ uĹźywany zamiast "spamassassina" w skryptach
przetwarzajÄ
cych pocztÄ. Zczytuje pocztÄ ze STDIN, kolejkuje jÄ
a
@@ -246,6 +262,8 @@
install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/spamd
install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/spamd
+install %{SOURCE3} $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin
+install %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/mail/spamassassin
# sa-update, sa-compile
install -d $RPM_BUILD_ROOT/var/lib/spamassassin/{%{sa_version},compiled/%{sa_version}}
@@ -281,8 +299,10 @@
%defattr(644,root,root,755)
%doc CREDITS Changes INSTALL README TRADEMARK UPGRADE USAGE
%doc procmailrc.example
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/spamassassin/spamassassin-default.rc
%attr(755,root,root) %{_bindir}/sa-learn
%attr(755,root,root) %{_bindir}/spamassassin
+
# It's needed for help of spamassassin command.
%{perl_vendorlib}/spamassassin-run.pod
%{_mandir}/man1/sa-learn*
@@ -302,6 +322,7 @@
%files spamc
%defattr(644,root,root,755)
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/spamassassin/spamassassin-spamc.rc
%attr(755,root,root) %{_bindir}/spamc
%{_mandir}/man1/spamc*
@@ -357,6 +378,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.125.2.5 2007/06/13 18:57:03 glen
+- added default procmail rules to packages (from fc)
+
Revision 1.125.2.4 2007/06/13 18:23:14 glen
- package compiled rules from default rules; maybe these work
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/spamassassin.spec?r1=1.125.2.4&r2=1.125.2.5&f=u
More information about the pld-cvs-commit
mailing list