Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 79f334bb4f9976fc95d1b83fddcb5aba > files > 2

python-reverend-0.3-2mdv2007.1.src.rpm

%define name python-reverend
%define version 0.3
%define release %mkrel 2
%define oname Reverend

Summary: Python Bayesian classifier
Name: %{name}
Version: %{version}
Release: %{release}
Source:  http://prdownloads.sourceforge.net/%oname/%oname-%version.tar.bz2
License: GPL
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: libpython-devel
Url: http://divmod.org/trac/wiki/DivmodReverend 
BuildArch: noarch

%description
Reverend is a general purpose Bayesian classifier, named after Rev. Thomas 
Bayes. Use the Reverend to quickly add Bayesian smarts to your app.
 
To use it in your own application, you either subclass Bayes or pass it a 
tokenizing function. Bayesian fun has never been so quick and easy. 

%prep
%setup -q -n %oname-%version 

%build
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-,root,root)
%doc *.txt examples/
%py_puresitedir/reverend
%py_puresitedir/*egg-info


%changelog
* Fri Mar 16 2007 Michael Scherer <misc@mandriva.org> 0.3-2mdv2007.1
+ Revision: 144950
- fix build on x86_64
- rebuild for new python
- new project url
- Import python-reverend



* Fri Oct 21 2005 Michael Scherer <misc@mandriva.org> 0.3-1mdk
- initial release