SPECS: fann.spec - added _libfann.so to python-fann package - unif...

megabajt megabajt at pld-linux.org
Sun Nov 13 21:04:55 CET 2005


Author: megabajt                     Date: Sun Nov 13 20:04:55 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added _libfann.so to python-fann package
- unify sf URL and Source0
- works ok, release 2

---- Files affected:
SPECS:
   fann.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/fann.spec
diff -u SPECS/fann.spec:1.11 SPECS/fann.spec:1.12
--- SPECS/fann.spec:1.11	Wed Aug  3 11:28:03 2005
+++ SPECS/fann.spec	Sun Nov 13 21:04:49 2005
@@ -3,13 +3,13 @@
 Summary(pl):	Szybka biblioteka do tworzenia sztucznych sieci neuronowych
 Name:		fann
 Version:	1.2.0
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
+Source0:	http://dl.sourceforge.net/fann/%{name}-%{version}.tar.bz2
 # Source0-md5:	d655f82d4a47e4b697b0083fdaa78c71
 Patch0:		%{name}-python.patch
-URL:		http://fann.sf.net/
+URL:		http://fann.sourceforge.net/
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	docbook-dtd412-xml
@@ -102,7 +102,8 @@
 install -d $RPM_BUILD_ROOT%{py_sitedir}
 install -d $RPM_BUILD_ROOT%{_examplesdir}/{python-%{name}-%{version},%{name}-%{version}}
 
-install python/{fann.pyc,fann.pyo,libfann.pyc,libfann.pyo} $RPM_BUILD_ROOT%{py_sitedir}
+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}
 
 %clean
@@ -131,6 +132,7 @@
 
 %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 +142,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/11/13 20:04:49  megabajt
+- added _libfann.so to python-fann package
+- unify sf URL and Source0
+- works ok, release 2
+
 Revision 1.11  2005/08/03 09:28:03  blekot
 - up to 1.2.0
 
================================================================

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




More information about the pld-cvs-commit mailing list