SPECS: fann.spec - updated to 2.0.0

megabajt megabajt at pld-linux.org
Sun Jan 8 00:34:06 CET 2006


Author: megabajt                     Date: Sat Jan  7 23:34:06 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 2.0.0

---- Files affected:
SPECS:
   fann.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/fann.spec
diff -u SPECS/fann.spec:1.13 SPECS/fann.spec:1.14
--- SPECS/fann.spec:1.13	Sat Nov 19 17:33:50 2005
+++ SPECS/fann.spec	Sun Jan  8 00:34:00 2006
@@ -2,20 +2,18 @@
 Summary:	A fast artificial neural network library
 Summary(pl):	Szybka biblioteka do tworzenia sztucznych sieci neuronowych
 Name:		fann
-Version:	1.2.0
-Release:	3
+Version:	2.0.0
+Release:	1
 License:	LGPL
 Group:		Libraries
 Source0:	http://dl.sourceforge.net/fann/%{name}-%{version}.tar.bz2
-# Source0-md5:	d655f82d4a47e4b697b0083fdaa78c71
+# Source0-md5:	4224efa533265dcf39237667973d0e20
 Source1:	http://dl.sourceforge.net/fann/%{name}_doc_complete_1.0.pdf
 # Source1-md5:	8117a677afc79dfaa31de39ca84d82da
 Patch0:		%{name}-python.patch
 URL:		http://fann.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	docbook-dtd412-xml
-BuildRequires:	docbook-utils
 BuildRequires:	libtool
 BuildRequires:	python
 BuildRequires:	python-devel >= 1:2.3
@@ -55,13 +53,12 @@
 Summary:	FANN documentation
 Summary(pl):	Dokumentacja do FANN
 Group:		Documentation
-Requires:	%{name} = %{version}-%{release}
 
 %description doc
-Documentation for FANN in PDF format.
+Documentation for FANN.
 
 %description doc -l pl
-Dokumentacja do FANN w formacie PDF.
+Dokumentacja do FANN.
 
 %package static
 Summary:	FANN static libraries
@@ -100,11 +97,10 @@
 %{__automake}
 %configure
 %{__make}
-%{__make} -C doc html-single
 cd python
 
 CFLAGS="%{rpmcflags}" \
-%{__make} -f makefile.gnu
+%{__make}
 %py_comp .
 %py_ocomp .
 
@@ -114,13 +110,18 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{py_sitedir}
-install -d $RPM_BUILD_ROOT%{_examplesdir}/{python-%{name}-%{version},%{name}-%{version}}
+cd python
+%{__make} install \
+	ROOT=$RPM_BUILD_ROOT
+
+cd ..
+install -d $RPM_BUILD_ROOT%{_examplesdir}/{python-,}%{name}-%{version}
 
-install python/{_libfann.so,fann.pyc,fann.pyo,libfann.pyc,libfann.pyo} $RPM_BUILD_ROOT%{py_sitedir}
 install python/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version} 
 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+rm -f $RPM_BUILD_ROOT%{py_sitedir}/pyfann/*.py
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -134,7 +135,6 @@
 
 %files devel
 %defattr(644,root,root,755)
-%doc doc/fann.html
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
 %{_includedir}/*.h
@@ -143,7 +143,7 @@
 
 %files doc
 %defattr(644,root,root,755)
-%doc fann_doc_complete_1.0.pdf
+%doc fann_doc_complete_1.0.pdf doc/*
 
 %files static
 %defattr(644,root,root,755)
@@ -151,8 +151,9 @@
 
 %files -n python-%{name}
 %defattr(644,root,root,755)
-%attr(755,root,root) %{py_sitedir}/*.so
-%{py_sitedir}/*.py[co]
+%attr(755,root,root) %{py_sitedir}/pyfann/*.so
+%dir %{py_sitedir}/pyfann
+%{py_sitedir}/pyfann/*.py[co]
 %{_examplesdir}/python-%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -161,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2006/01/07 23:34:00  megabajt
+- updated to 2.0.0
+
 Revision 1.13  2005/11/19 16:33:50  megabajt
 - added external documentation for FANN
 - release 3
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fann.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list