[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/qsf/devel qsf.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2



Author: mlichvar

Update of /cvs/pkgs/rpms/qsf/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22324/devel

Modified Files:
	.cvsignore sources 
Added Files:
	qsf.spec 
Log Message:
- initial release



--- NEW FILE qsf.spec ---
%{?!with_gdbm: %define with_gdbm 1}
%{?!with_sqlite: %define with_sqlite 0}
%{?!with_mysql: %define with_mysql 0}

Name:           qsf
Version:        1.2.6
Release:        1%{?dist}
Summary:        Quick Spam Filter

Group:          Applications/Internet
License:        Artistic
URL:            http://www.ivarch.com/programs/qsf/
Source0:        http://downloads.sourceforge.net/qsf/qsf-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%if %{with_gdbm}
BuildRequires:  gdbm-devel
%endif
%if %{with_sqlite}
BuildRequires:  sqlite2-devel
%endif
%if %{with_mysql}
BuildRequires:  mysql-devel
%endif

%description
Quick Spam Filter (QSF) is an Open Source email classification filter,
designed to be small, fast, and accurate, which works to classify
incoming email as either spam or non-spam.

To recognise spam, QSF strips the text out of the email (using MIME
decoding and HTML stripping) and then splits it into tokens (words,
word pairs, URLs, and so on). These tokens are then looked up in a
database and analysed using the Bayesian technique to see whether the
email should be classified as spam or not.

QSF is designed to be run by an MDA, such as procmail.

%prep
%setup -q

%build
%configure \
%if ! %{with_gdbm}
        --without-gdbm \
%endif
%if ! %{with_sqlite}
        --without-sqlite \
%endif
%if ! %{with_mysql}
        --without-mysql \
%endif
;
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc README doc/COPYING doc/NEWS doc/TODO doc/postfix-howto
%{_bindir}/qsf
%{_mandir}/man1/qsf.1*

%changelog
* Wed May 02 2007 Miroslav Lichvar <mlichvar redhat com> 1.2.6-1
- initial release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/qsf/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	4 May 2007 01:07:16 -0000	1.1
+++ .cvsignore	4 May 2007 12:01:27 -0000	1.2
@@ -0,0 +1 @@
+qsf-1.2.6.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/qsf/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	4 May 2007 01:07:16 -0000	1.1
+++ sources	4 May 2007 12:01:27 -0000	1.2
@@ -0,0 +1 @@
+45926441d247f72778a01092f6a83743  qsf-1.2.6.tar.bz2


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]