summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Reber <adrian@fedoraproject.org>2006-05-01 05:32:02 +0000
committerAdrian Reber <adrian@fedoraproject.org>2006-05-01 05:32:02 +0000
commit44baada2db94599be1038142b2cf38a976bfdb9c (patch)
tree96156c9cfe7c24be3f76e1450ad97502b7e29b6f
parent724839e824f40eae2a89debd7672a7da325d39c8 (diff)
downloadbogofilter_EL6-44baada2db94599be1038142b2cf38a976bfdb9c.tar.gz
auto-import bogofilter-1.0.2-1 on branch devel frombogofilter-1_0_2-1_fc6bogofilter-1_0_2-1FC-5-split
bogofilter-1.0.2-1.src.rpm
-rw-r--r--.cvsignore1
-rw-r--r--bogofilter.spec74
-rw-r--r--sources1
3 files changed, 76 insertions, 0 deletions
diff --git a/.cvsignore b/.cvsignore
index e69de29..69f516e 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+bogofilter-1.0.2.tar.gz
diff --git a/bogofilter.spec b/bogofilter.spec
new file mode 100644
index 0000000..85df04f
--- /dev/null
+++ b/bogofilter.spec
@@ -0,0 +1,74 @@
+Summary: Fast anti-spam filtering by Bayesian statistical analysis
+Name: bogofilter
+Version: 1.0.2
+Release: 1%{?dist}
+License: GPL
+Group: Applications/Internet
+URL: http://bogofilter.sourceforge.net/
+Source: http://dl.sf.net/bogofilter/bogofilter-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: flex db4-devel gsl-devel
+
+%description
+Bogofilter is a Bayesian spam filter. In its normal mode of
+operation, it takes an email message or other text on standard input,
+does a statistical check against lists of "good" and "bad" words, and
+returns a status code indicating whether or not the message is spam.
+Bogofilter is designed with fast algorithms (including Berkeley DB system),
+coded directly in C, and tuned for speed, so it can be used for production
+by sites that process a lot of mail.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%makeinstall
+
+%{__mv} -f %{buildroot}%{_sysconfdir}/bogofilter.cf.example %{buildroot}%{_sysconfdir}/bogofilter.cf
+
+%{__install} -d -m0755 rpm-doc/xml/ rpm-doc/html/
+%{__install} -m644 doc/*.xml rpm-doc/xml/
+%{__install} -m644 doc/*.html rpm-doc/html/
+
+%{__chmod} -x contrib/*
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS COPYING NEWS README* RELEASE.NOTES* TODO bogofilter.cf.example
+%doc doc/bogofilter-SA* doc/bogofilter-tuning.HOWTO* doc/integrating* doc/programmer/
+%doc rpm-doc/html/ rpm-doc/xml/ contrib
+%{_mandir}/man1/bogo*.1*
+%{_mandir}/man1/bf_*.1*
+%config(noreplace) %{_sysconfdir}/bogofilter.cf
+%{_bindir}/bogo*
+%{_bindir}/bf_*
+
+%changelog
+* Wed Apr 19 2006 Adrian Reber <adrian@lisas.de> - 1.0.2-1
+- updated to 1.0.2
+
+* Mon Jan 02 2006 Dries Verachtert <dries@ulyssis.org> - 1.0.1-1 - 3875/dries
+- Updated to release 1.0.1.
+
+* Fri Dec 02 2005 Dag Wieers <dag@wieers.com> - 1.0.0-1
+- Updated to release 1.0.0.
+
+* Tue Nov 22 2005 Dries Verachtert <dries@ulyssis.org> - 0.96.6-1
+- Updated to release 0.96.6.
+
+* Mon Aug 02 2004 Dag Wieers <dag@wieers.com> - 0.92.4-1
+- Updated to release 0.92.4.
+
+* Sat Apr 10 2004 Dag Wieers <dag@wieers.com> - 0.17.5-1
+- Updated to release 0.17.5.
+
+* Mon Jan 26 2004 Dag Wieers <dag@wieers.com> - 0.16.4-0
+- Initial package. (using DAR)
diff --git a/sources b/sources
index e69de29..129ed51 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+a1e201e544a3d9181b44b051b46435c3 bogofilter-1.0.2.tar.gz