rpms/auto-nng/devel auto-nng-cflags.patch, NONE, 1.1 auto-nng.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Fabian Deutsch
fabiand at fedoraproject.org
Tue Nov 3 22:14:51 UTC 2009
Author: fabiand
Update of /cvs/pkgs/rpms/auto-nng/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20724/devel
Modified Files:
.cvsignore sources
Added Files:
auto-nng-cflags.patch auto-nng.spec import.log
Log Message:
Adding auto-nng.
auto-nng-cflags.patch:
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- NEW FILE auto-nng-cflags.patch ---
diff -u auto-nng.v1.5.orig/Makefile auto-nng.v1.5/Makefile
--- auto-nng.v1.5.orig/Makefile 2008-03-09 17:38:34.000000000 +0100
+++ auto-nng.v1.5/Makefile 2009-07-28 16:25:58.000000000 +0200
@@ -1,5 +1,5 @@
auto-nng: auto-nng.c
- gcc -O3 -o auto-nng auto-nng.c -lm
+ $(CC) $(CFLAGS) -o auto-nng auto-nng.c -lm
test: auto-nng
ruby auto-nng-test.rb
--- NEW FILE auto-nng.spec ---
Name: auto-nng
Version: 1.5
Release: 2%{?dist}
Summary: A software for analysis and classification of data, using AI NN
Group: Applications/Engineering
License: MIT
URL: http://www.auto-nng.org/
Source0: http://www.auto-nng.org/files/downloads/%{name}.v%{version}.tar.gz
Patch0: %{name}-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ruby
%description
auto-nng is a software for analysis and classification of data, using
artificial neuronal networks.
You can feed an amount of datasets consisting of certain input and output
parameters into the program, to make it try to find a mathematical correlation
between the input and output parameters. Afterwards the program tries to
calculate the output parameters for datasets which only have known input
parameters.
%prep
%setup -q -n %{name}.v%{version}
# patch0: Not sent upstream, as it is buildsystem related.
%patch0 -p1 -b .cflags
%build
make %{?_smp_mflags} CFLAGS="%{optflags}"
%check
# Test takes at max 3 minutes so do not wonder.
make test
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_bindir}/
install auto-nng %{buildroot}/%{_bindir}/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc LICENSE CHANGELOG README
%{_bindir}/*
%changelog
* Tue Jul 28 2009 Fabian Deutsch <fabian.deutsch at gmx.de> - 1.5-2
- Description fine tuning
- Passing CFLAGS to compiler
- Enabling test
* Sun Apr 18 2009 Fabian Deutsch <fabian.deutsch at gmx.de> - 1.5-1
- Initial package.
--- NEW FILE import.log ---
auto-nng-1_5-2_fc11:HEAD:auto-nng-1.5-2.fc11.src.rpm:1257286329
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/auto-nng/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 3 Nov 2009 21:54:44 -0000 1.1
+++ .cvsignore 3 Nov 2009 22:14:51 -0000 1.2
@@ -0,0 +1 @@
+auto-nng.v1.5.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/auto-nng/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 3 Nov 2009 21:54:44 -0000 1.1
+++ sources 3 Nov 2009 22:14:51 -0000 1.2
@@ -0,0 +1 @@
+4072a0399c6ede972bc21a9568002b77 auto-nng.v1.5.tar.gz
More information about the fedora-extras-commits
mailing list