[octave-nnet] * Initial git commit

Ankur Sinha ankursinha at fedoraproject.org
Tue Aug 14 11:08:45 UTC 2012


commit 4d80074cc0c1b8274459132d7e8a4f8ae8b4a2b3
Author: Ankur Sinha (Ankur Sinha Gmail) <sanjay.ankur at gmail.com>
Date:   Tue Aug 14 21:08:28 2012 +1000

    * Initial git commit

 .gitignore       |    1 +
 octave-nnet.spec |   68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 70 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..d6208ba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/nnet-0.1.13.tar.gz
diff --git a/octave-nnet.spec b/octave-nnet.spec
new file mode 100644
index 0000000..d11a486
--- /dev/null
+++ b/octave-nnet.spec
@@ -0,0 +1,68 @@
+%global octpkg nnet
+
+Name:           octave-%{octpkg}
+Version:        0.1.13
+Release:        3%{?dist}
+Summary:        A feed forward multi-layer neural network
+Group:          Applications/Engineering
+License:        GPLv2+
+URL:            http://octave.sourceforge.net/%{octpkg}/
+Source0:        http://downloads.sourceforge.net/octave/%{octpkg}-%{version}.tar.gz
+BuildArch:      noarch
+
+BuildRequires:  octave-devel
+
+Requires:       octave
+Requires(post): octave
+Requires(postun): octave
+Obsoletes:      octave-forge <= 20090607
+
+%description
+A neural network package for Octave! Goal is to be as compatible as possible to
+the one of MATLAB(TM)
+
+%prep
+%setup -q -n %{octpkg}
+
+# correct wrong end of line encoding errors
+find ./doc/ -name "*" -exec  sed -i 's/\r//' '{}' \;
+
+# remove perl files
+# upstream seems to use them for generating docs
+rm -rvf ./doc/latex/perl
+
+%build
+%octave_pkg_build
+
+%install
+rm -rf %{buildroot}
+%octave_pkg_install
+
+
+%post
+%octave_cmd pkg rebuild
+
+%preun
+%octave_pkg_preun
+
+%postun
+%octave_cmd pkg rebuild
+
+%files
+%dir %{octpkgdir}
+%{octpkgdir}/*.m
+%doc COPYING
+%doc %{octpkgdir}/doc-cache 
+%doc %{octpkgdir}/doc
+%{octpkgdir}/packinfo
+
+%changelog
+* Tue Aug 14 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.1.13-3
+- Added COPYING to doc
+
+* Tue Aug 14 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.1.13-2
+- Remove perl modules rhbz#847952
+
+* Tue Aug 14 2012 Ankur Sinha <ankursinha AT fedoraproject DOT org> 0.1.13-1
+- Initial rpmbuild
+
diff --git a/sources b/sources
index e69de29..0a4bd23 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+836ca48df2236eb0cb7e1e27780a1659  nnet-0.1.13.tar.gz


More information about the scm-commits mailing list