]> git.pld-linux.org Git - packages/perl-AI-NeuralNet-BackProp.git/commitdiff
- new, STBR perl-AI-NeuralNet-BackProp-0_89-1
authorradek <radek@pld-linux.org>
Mon, 5 Aug 2002 16:32:33 +0000 (16:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-AI-NeuralNet-BackProp.spec -> 1.1

perl-AI-NeuralNet-BackProp.spec [new file with mode: 0644]

diff --git a/perl-AI-NeuralNet-BackProp.spec b/perl-AI-NeuralNet-BackProp.spec
new file mode 100644 (file)
index 0000000..aefddae
--- /dev/null
@@ -0,0 +1,49 @@
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    AI
+%define        pnam    NeuralNet-BackProp
+Summary:       A simple back-prop neural net that uses Delta's and Hebbs' rule.
+Name:          perl-%{pdir}-%{pnam}
+Version:       0.89
+Release:       1
+License:       GPL/Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.zip
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+AI::NeuralNet::BackProp is a simply back-propagation, feed-foward neural
+network designed to learn using a generalization of the Delta rule and
+a bit of Hopefield theory.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{name}-%{version} -c
+
+%build
+perl Makefile.PL
+%{__make}
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/AI/NeuralNet/*.pm
+%doc Changes *.htm README
+%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*.pl
+%{_examplesdir}/%{name}-%{version}/*.dat
+%{_mandir}/man3/*
This page took 0.100198 seconds and 4 git commands to generate.