Re: a slightly updated rpm spec file for Ger Hobbelt crm114 branch
Jimmy Tang <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jan 29, 2009 at 04:35:15AM -0500, Nico Kadel-Garcia wrote:
> There's no need for the libtre spec file. TRE is available for RHEL from
> the RPMforge repository, easily accessible by installing the
> 'rpmforge-release' package from that repository or downloading it
> manually. I'd love to see crm114 in the RPMforge repository as well. Can
> you post your .spec file for Ger's fork?
I hadn't realised tre was in rpmforge, i was looking for libtre-devel and
not tre-devel. i've updated the spec file to suit, i'll copy and paste
the spec file. feel free to submit the spec file to rpmforge. i couldnt
see info on how to contribute on https://rpmrepo.org/RPMforge/Contributing
>
> I'm looking at Ger's stuff myself. It's.... a very extensive fork with a
> *LOT* of modifications, many of which are reasonble but unnecessary. GPL
> lets you do that, so it's not a copyright problem. But I'm not sure how
> much of that change was added for Ger's Win32 compilation environment,
> and it makes it much more fascinatinig to integrate new releases of
> CRM114 to his fork, or to push his changes back to Bill's mainline. That
> makes what to use for an RPM a reasonable concern.
>
it certainly looks interesting to me with all the 64bit fixes since i'm
trying to move away from 32bit systems. having an rpm/spec file that i
could rebuild and install in different places was just handier for me.
Thanks,
Jimmy.
==start of spec file==
Name: crm114
Version: 20080630
%define vtag BlameVT
%define svnver Ger-3495
Release: 2%{?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: tre-devel
Requires: tre
%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-2
- depend on tre and tre-devel from rpmforge instead of the libtre package from suse
* Thu Jan 29 2009 Jimmy Tang <[email protected]> - 20080630-1
- Initial package from http://hebbut.net/Public.Offerings/crm114.html
==end of spec file==
--
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
signature.asc
(application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkmBgJEACgkQmRvHlXBDSyk5zQCguHk3H2EpiQFmMunvfo1IoS7L LxEAoO9tL9y3tESCASLRVWlBZKk/yvzW =sqaY -----END PGP SIGNATURE-----