SPECS: perl-AI-NNEasy.spec (NEW), perl-AI-NNFlex.spec (NEW), perl-...
radek
radek at pld-linux.org
Wed May 31 19:41:04 CEST 2006
Author: radek Date: Wed May 31 17:41:04 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-AI-NNEasy.spec (NONE -> 1.1) (NEW), perl-AI-NNFlex.spec (NONE -> 1.1) (NEW), perl-Class-HPLOO.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-AI-NNEasy.spec
diff -u /dev/null SPECS/perl-AI-NNEasy.spec:1.1
--- /dev/null Wed May 31 19:41:04 2006
+++ SPECS/perl-AI-NNEasy.spec Wed May 31 19:40:57 2006
@@ -0,0 +1,90 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir AI
+%define pnam NNEasy
+Summary: AI::NNEasy - Define, learn and use easy Neural Networks of different types
+#Summary(pl):
+Name: perl-AI-NNEasy
+Version: 0.06
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/G/GM/GMPASSOS/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 110f3b4b0e0f2575ef4f8dd3dfc8a0e4
+BuildRequires: perl-Class-HPLOO >= 0.21
+BuildRequires: perl-Inline >= 0.44
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The main purpose of this module is to create easy Neural Networks with Perl.
+
+The module was designed to can be extended to multiple network types, learning
+algorithms and activation functions. This architecture was 1st based in the
+module AI::NNFlex, than I have rewrited it to fix some serialization bugs, and
+have otimized the code and added some XS functions to get speed in the learning
+process. Finally I have added an intuitive inteface to create and use the NN,
+and added a winner algorithm to the output.
+
+I have writed this module because after test different NN module on Perl I
+can't find one that is portable through Linux and Windows, easy to use and the
+most important, one that really works in a reall problem.
+
+With this module you don't need to learn much about NN to be able to construct
+one, you just define the construction of the NN, learn your set of inputs, and
+use it.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a samples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorarch}/AI/*.*
+%{perl_vendorarch}/AI/NNEasy
+%dir %{perl_vendorarch}/auto/AI/NNEasy/NN
+%dir %{perl_vendorarch}/auto/AI/NNEasy/NN/[bf]*/
+%{perl_vendorarch}/auto/AI/NNEasy/*.so
+%{perl_vendorarch}/auto/AI/NNEasy/*/*.so
+%{perl_vendorarch}/auto/AI/NNEasy/*/*/*.so
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/05/31 17:40:57 radek
+- new
+
================================================================
Index: SPECS/perl-AI-NNFlex.spec
diff -u /dev/null SPECS/perl-AI-NNFlex.spec:1.1
--- /dev/null Wed May 31 19:41:04 2006
+++ SPECS/perl-AI-NNFlex.spec Wed May 31 19:40:57 2006
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir AI
+%define pnam NNFlex
+Summary: AI::NNFlex - A base class for implementing neural networks
+#Summary(pl):
+Name: perl-AI-NNFlex
+Version: 0.24
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/C/CC/CCOLBOURN/ai-nnflex/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 9d192b7c209ccafbca88d6ac6048b677
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl-Math-Matrix
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+AI::NNFlex is a base class for constructing your own neural network
+modules. To implement a neural network, start with the documentation
+for AI::NNFlex::Backprop, included in this distribution
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ MAN3PODS= \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES INSTALL README.txt TODO
+%{perl_vendorlib}/AI/*.pm
+%{perl_vendorlib}/AI/NNFlex
+%{_mandir}/man3/*
+%{_examplesdir}/%{name}-%{version}
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/05/31 17:40:57 radek
+- new
+
================================================================
Index: SPECS/perl-Class-HPLOO.spec
diff -u /dev/null SPECS/perl-Class-HPLOO.spec:1.1
--- /dev/null Wed May 31 19:41:04 2006
+++ SPECS/perl-Class-HPLOO.spec Wed May 31 19:40:57 2006
@@ -0,0 +1,66 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Class
+%define pnam HPLOO
+Summary: Declare classes basing on the popular class {...} style and ePod.
+#Summary(pl):
+Name: perl-Class-HPLOO
+Version: 0.23
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/G/GM/GMPASSOS/AI-NNEasy-0.06.tar.gz
+# Source0-md5: 430ba4c8cac1091196797daa82d3f3fb
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is the implemantation of OO-Classes for HPL. This brings an easy
+way to create PM classes, but with HPL resources/style.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%doc Changes README
+%{perl_vendorlib}/Class/*.pm
+%{perl_vendorlib}/Class/HPLOO
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2006/05/31 17:40:57 radek
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list