SPECS: fann.spec - up to 1.2.0
blekot
blekot at pld-linux.org
Wed Aug 3 11:28:08 CEST 2005
Author: blekot Date: Wed Aug 3 09:28:08 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 1.2.0
---- Files affected:
SPECS:
fann.spec (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SPECS/fann.spec
diff -u SPECS/fann.spec:1.10 SPECS/fann.spec:1.11
--- SPECS/fann.spec:1.10 Mon Jun 27 02:15:20 2005
+++ SPECS/fann.spec Wed Aug 3 11:28:03 2005
@@ -2,12 +2,12 @@
Summary: A fast artificial neural network library
Summary(pl): Szybka biblioteka do tworzenia sztucznych sieci neuronowych
Name: fann
-Version: 1.1.0
-Release: 3
+Version: 1.2.0
+Release: 1
License: LGPL
Group: Libraries
Source0: http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
-# Source0-md5: f8280e9849cfbf5ddf769713ce7f7fba
+# Source0-md5: d655f82d4a47e4b697b0083fdaa78c71
Patch0: %{name}-python.patch
URL: http://fann.sf.net/
BuildRequires: autoconf
@@ -18,6 +18,7 @@
BuildRequires: python
BuildRequires: python-devel >= 1:2.3
BuildRequires: python-modules
+BuildRequires: sed >= 4.0
BuildRequires: swig-python >= 1.3.25
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -86,8 +87,9 @@
%{__make}
%{__make} -C doc html-single
cd python
+
CFLAGS="%{rpmcflags}" \
-%{__make}
+%{__make} -f makefile.gnu
%py_comp .
%py_ocomp .
@@ -100,8 +102,7 @@
install -d $RPM_BUILD_ROOT%{py_sitedir}
install -d $RPM_BUILD_ROOT%{_examplesdir}/{python-%{name}-%{version},%{name}-%{version}}
-install python/{fann.pyc,fann.pyo,_fann.so} $RPM_BUILD_ROOT%{py_sitedir}
-install python/simple_train.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
+install python/{fann.pyc,fann.pyo,libfann.pyc,libfann.pyo} $RPM_BUILD_ROOT%{py_sitedir}
install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
%clean
@@ -130,7 +131,6 @@
%files -n python-%{name}
%defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/*.so
%{py_sitedir}/*.py[co]
%{_examplesdir}/python-%{name}-%{version}
@@ -140,6 +140,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.11 2005/08/03 09:28:03 blekot
+- up to 1.2.0
+
Revision 1.10 2005/06/27 00:15:20 saq
- as of 1.3.25, swig subpackages actually contain something useful
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/fann.spec?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list