rpms/fann/FC-6 fann.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tomas Smetana (tsmetana) fedora-extras-commits at redhat.com
Thu Aug 2 17:14:39 UTC 2007


Author: tsmetana

Update of /cvs/pkgs/rpms/fann/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14806/FC-6

Modified Files:
	.cvsignore sources 
Added Files:
	fann.spec 
Log Message:
Initial import



--- NEW FILE fann.spec ---
Summary:    A fast artificial neural network library
Name:       fann
Version:    2.0.0
Release:    3%{?dist}
License:    LGPL
Group:      Development/Libraries
URL:        http://fann.sf.net/
Source:     http://downloads.sourceforge.net/fann/%{name}-%{version}.tar.bz2
BuildRoot:  %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

%define fann_includedir %{_includedir}/fann

%description
Fast Artificial Neural Network (FANN) Library is written in ANSI C.
The library implements multilayer feedforward ANNs, up to 150 times faster
than other libraries. FANN supports execution in fixed point, for fast 
execution on systems like the iPAQ.

%package devel
Group: Development/Libraries
Summary: Development libraries for FANN
Requires: %{name} = %{version}-%{release} pkgconfig

%description devel
This package is only needed if you intend to develop and/or compile programs 
based on the FANN library.

%prep
%setup -q
LIBS=-lm
export LIBS

%configure --includedir=%{fann_includedir} --disable-static

%build
make %{?_smp_mflags}
(cd doc && make html-single)

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;

%clean
rm -rf $RPM_BUILD_ROOT

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_libdir}/libdoublefann.so.2
%{_libdir}/libdoublefann.so.2.0.0
%{_libdir}/libfloatfann.so.2
%{_libdir}/libfloatfann.so.2.0.0
%{_libdir}/libfixedfann.so.2
%{_libdir}/libfixedfann.so.2.0.0
%{_libdir}/libfann.so.2
%{_libdir}/libfann.so.2.0.0

%files devel
%defattr(-,root,root)
%doc doc/fann_en.pdf doc/*.txt
%{_libdir}/pkgconfig/fann.pc
%{_libdir}/libdoublefann.so
%{_libdir}/libfann.so
%{_libdir}/libfixedfann.so
%{_libdir}/libfloatfann.so
%{fann_includedir}

%changelog
* Wed Aug 01 2007 Tomas Smetana <tsmetana at redhat.com> 2.0.0-3
- Ensure linking against libm

* Mon Jul 09 2007 Tomas Smetana <tsmetana at redhat.com> 2.0.0-2
- Disable static libraries, fix BuildRoot, move headers to subdirectory

* Thu Jun 21 2007 Tomas Smetana <tsmetana at redhat.com> 2.0.0-1
- Bump release

* Thu Jun 21 2007 Tomas Smetana <tsmetana at redhat.com> 2.0.0-0
- Updated spec file.

* Fri Mar 30 2004 Evan Nemerson <evan at coeus-group.com>
- Build and install HTML documentation.

* Fri Jan 16 2004 Evan Nemerson <evan at coeus-group.com>
- Added activation header.

* Mon Jan 10 2004 Evan Nemerson <evan at coeus-group.com>
- RPM created


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/fann/FC-6/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	2 Aug 2007 16:42:02 -0000	1.1
+++ .cvsignore	2 Aug 2007 17:14:06 -0000	1.2
@@ -0,0 +1 @@
+fann-2.0.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/fann/FC-6/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	2 Aug 2007 16:42:02 -0000	1.1
+++ sources	2 Aug 2007 17:14:06 -0000	1.2
@@ -0,0 +1 @@
+4224efa533265dcf39237667973d0e20  fann-2.0.0.tar.bz2




More information about the fedora-extras-commits mailing list