]> git.pld-linux.org Git - packages/perl-AI-NeuralNet-BackProp.git/blob - perl-AI-NeuralNet-BackProp.spec
- license fixes and unification
[packages/perl-AI-NeuralNet-BackProp.git] / perl-AI-NeuralNet-BackProp.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # don't perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    AI
7 %define pnam    NeuralNet-BackProp
8 Summary:        A simple back-prop neural net that uses Delta's and Hebbs' rule
9 Summary(pl):    Prosta sieæ neuronowa ze wsteczn± propagacj± u¿ywaj±ca zasady Delty i Hebbsa
10 Name:           perl-%{pdir}-%{pnam}
11 Version:        0.89
12 Release:        3
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.zip
17 # Source0-md5:  1791f9f8f178ef67d2814fd8ff46fa11
18 BuildRequires:  perl-devel >= 5.6
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 AI::NeuralNet::BackProp is a simply back-propagation, feed-foward neural
25 network designed to learn using a generalization of the Delta rule and
26 a bit of Hopefield theory.
27
28 %description -l pl
29 AI::NeuralNet::BackProp to prosta sieæ neuronowa ze wsteczn±
30 propagacj± i przednim sprzê¿eniem zaprojektowana do nauki przy u¿yciu
31 uogólnienia zasady Delty i czê¶ci teorii Hopefielda.
32
33 %prep
34 %setup -q -c
35
36 %build
37 %{__perl} Makefile.PL \
38         INSTALLDIRS=vendor
39 %{__make}
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT
46
47 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
48 install examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc Changes *.htm README
56 %{perl_vendorlib}/AI/NeuralNet/*.pm
57 %dir %{_examplesdir}/%{name}-%{version}
58 %attr(755,root,root) %{_examplesdir}/%{name}-%{version}/*.pl
59 %{_examplesdir}/%{name}-%{version}/*.dat
60 %{_mandir}/man3/*
This page took 0.029486 seconds and 3 git commands to generate.