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]>
Hi Ger,

On Fri, Jan 30, 2009 at 09:27:52AM +0100, Ger Hobbelt wrote:
> I'll have a look tomorrow; need to push a BlameBarack anyway (for
> maximum FSCM compatibity and pelliticelly carectness kudos ;-) )
> 
> Ad vanilla CRM114: 'funny' though to see _all_ the megatest_knowngood
> numbers move a little (or more than a little) since two Blames back:
> especially those changed featurecounts make me go errrrr.... textfile
> inputs changed, maybe?
> 
> Anyway. More tomorrow. And, yes, I like that .spec file.
> 
> Ger
> 

please see the attached spec file, i took a few things from the fedora
spec file and did a similar thing in the attached one. its probably as
good as its going to get without getting too fancy.


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, 2 KB)
Name:           crm114
Version:        20080630
%define	vtag BlameVT
%define svnver Ger-3495
Release:        4%{?dist}
Summary:        CRM114 - the Controllable Regex Mutilator

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, emacs-el
Requires:       tre, emacs-el

%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

%check
#make test_basics
#make test_mailfilter
#make test_mailreaver
make megatest_ng

%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-4
- updated the summary line 
- added some emacs dependancies
- turned on the megatest_ng checks
* 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
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkmCypgACgkQmRvHlXBDSym38QCgyA2oHo2FDOLrc4BoeiBDF3g4
llMAoJOwawjzoM1BkSLJrHo2nKkCaZ41
=vlmr
-----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.