]> git.pld-linux.org Git - packages/fann.git/commitdiff
- %{rpmcflags} now used in python binary module
authorjpc <jpc@pld-linux.org>
Sat, 5 Jun 2004 22:36:46 +0000 (22:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added C examples
- main lacking BRs have been resolved by qboosh
  (it was the autotools family I was thinking of)

Changed files:
    fann.spec -> 1.5

fann.spec

index 8ed757c817bbed1d0cd31c868f7f4846163678f6..948d1c62674aba27bb8fdef87671cd37c7f6d88a 100644 (file)
--- a/fann.spec
+++ b/fann.spec
@@ -1,9 +1,3 @@
-#
-# TODO:
-# - add C examples
-# - fix BRs
-# - optflags for binary part of python module
-# 
 Summary:       A fast artificial neural network library
 Summary(pl):   Szybka biblioteka do tworzenia sztucznych sieci neuronowych
 Name:          fann
@@ -98,9 +92,12 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/python-%{name}-%{version}}
+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 examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -120,6 +117,7 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.la
 %{_includedir}/*.h
 %{_pkgconfigdir}/fann.pc
+%{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
This page took 0.101886 seconds and 4 git commands to generate.