a slightly updated rpm spec file for Ger Hobbelt crm114 branch

Jimmy Tang <[email protected]>
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Hi All,

I've recently created a new rpm spec file for Ger Hobbelt's releases of
crm114, it probably still needs some tidying up and changes made, but it
works for me. I've also taken the opensuse libtre rpm package and fixed
it up for rhel5 (and its clones)

i can post the libtre spec file as well if people want it.

Thanks,
Jimmy

-- 
Jimmy Tang
Trinity Centre for High Performance Computing,
Lloyd Building, Trinity College Dublin, Dublin 2, Ireland.
http://www.tchpc.tcd.ie/ | http://www.tchpc.tcd.ie/~jtang

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword

_______________________________________________
Crm114-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crm114-general
crm114.spec (text/plain, 1.5 KB)
Name:           crm114
Version:        20080630
%define	vtag BlameVT
%define svnver Ger-3495
Release:        1%{?dist}
Summary:        CRM114 Bayesian Spam Detector

Group:          Productivity/Text/Utilities
License:        GPLv2
URL:            http://crm114.sourceforge.net
Source0:        http://hebbut.net/Public.Offerings/crm114/downloads/crm114-%{version}-%{vtag}-%{svnver}.src.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  libtre-devel
Requires:       libtre

%description
CRM114 is a system to examine incoming e-mail, system log streams, data
files or other data streams, and to sort, filter, or alter the incoming
files or data streams according to the user's wildest desires. Criteria
for categorization of data can be via a host of methods, including
regexes, approximate regexes, a Hidden Markov Model, Bayesian Chain
Rule Orthogonal Sparse Bigrams, Winnow, Correlation, KNN/Hyperspace,
Bit Entropy, CLUMP, SVM, Neural Networks ( or by other means- it's all
programmable).

%prep
%setup -n %{name}-%{version}-%{vtag}

%build
%configure
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 %{_docdir}/%{name}/*
%{_bindir}/*
%{_libexecdir}/%{name}/*
%{_prefix}/share/emacs/site-lisp/crm114-mode.el

%changelog
* Thu Jan 29 2009 Jimmy Tang <[email protected]> - 20080630-1
- Initial package from http://hebbut.net/Public.Offerings/crm114.html
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkmBZyMACgkQmRvHlXBDSylZlgCg5f3JcDgWn10hzEYWoXdRbPpC
KqAAn213i8vbjuJmCjo295tdF+PHte8Q
=886p
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.