]> git.pld-linux.org Git - packages/perl-AI-jNeural.git/blame - perl-AI-jNeural.spec
use generic url
[packages/perl-AI-jNeural.git] / perl-AI-jNeural.spec
CommitLineData
443b4658 1#
2# Conditional build:
02109357 3%bcond_without tests # don't perform "make test"
443b4658 4#
e2ffccbc 5# please, check it again
1724ec5e 6#%ifarch ppc
7#%%undefine with_tests
8#%endif
7aedccc8 9
47e6429d 10%define pdir AI
11%define pnam jNeural
e2ffccbc 12%include /usr/lib/rpm/macros.perl
88022330 13Summary: AI::jNeural::arch - the Jet's Neural Architecture base module
32134d69 14Summary(pl.UTF-8): AI::jNeural::arch - podstawowy moduł Jet's Neural Architecture
443b4658 15Name: perl-AI-jNeural
8ef67a7e 16Version: 0.53
fc11a5ce 17Release: 3
1367acf8 18License: unknown
1f96b994 19Group: Development/Languages/Perl
98fc0364 20Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
66661c2e 21# Source0-md5: 0f6ffe4b60bd7d82bd7aafcfc3b96d36
e2ffccbc 22URL: http://search.cpan.org/dist/AI-jNeural/
4fd335f3
JB
23BuildRequires: flex
24BuildRequires: jneural-devel
e2ffccbc 25%{?with_tests:BuildRequires: perl-Math-Business-SMA}
620d4434 26BuildRequires: perl-devel >= 1:5.8.0
3b599575 27BuildRequires: rpm-perlprov >= 4.1-13
1f96b994 28BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30%description
47e6429d 31This particular module doesn't actually do anything. It would be the
1f96b994 32place to look for functions that are general to the entire library,
4fd335f3 33but there really aren't any yet.
1f96b994 34
ce152998
JR
35%description -l pl.UTF-8
36Ten moduł nie robi właściwie niczego. Ma być miejscem do szukania
37funkcji, które są ogólne dla całej biblioteki, ale takich jeszcze nie
4fd335f3 38ma.
1f96b994 39
40%prep
41%setup -q -n %{pdir}-%{pnam}-%{version}
42
43%build
44find -type f | xargs perl -pi -e 's,/usr/local,/usr,g'
3b599575 45%{__perl} Makefile.PL skip_stuff \
b2432339 46 INSTALLDIRS=vendor
1f96b994 47%{__make}
02109357 48%{?with_tests:%{__make} test}
1f96b994 49
50%install
51rm -rf $RPM_BUILD_ROOT
52
26d3e36e 53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
1f96b994 55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
3b599575 61%dir %{perl_vendorarch}/AI
62%{perl_vendorarch}/AI/*.pm
63%{perl_vendorarch}/AI/jNeural
64%dir %{perl_vendorarch}/auto/AI
65%dir %{perl_vendorarch}/auto/AI/jNeural
e2449833 66# empty autosplit.ix files
3b599575 67#%%{perl_vendorarch}/auto/AI/jNeural/*.ix
68#%%{perl_vendorarch}/auto/AI/jNeural/*/*.ix
69#%%{perl_vendorarch}/auto/AI/jNeural/*/*/*.ix
3b599575 70%attr(755,root,root) %{perl_vendorarch}/auto/AI/jNeural/*.so
71%attr(755,root,root) %{perl_vendorarch}/auto/AI/jNeural/*/*/*.so
72%dir %{perl_vendorarch}/auto/AI/jNeural/arch
73%dir %{perl_vendorarch}/auto/AI/jNeural/arch/neuron
74%dir %{perl_vendorarch}/auto/AI/jNeural/nets
75%dir %{perl_vendorarch}/auto/AI/jNeural/nets/backprop
76%dir %{perl_vendorarch}/auto/AI/jNeural/nets/kohonen
77%dir %{perl_vendorarch}/auto/AI/jNeural/utils
78%dir %{perl_vendorarch}/auto/AI/jNeural/utils/transfer
1f96b994 79%{_mandir}/man3/*
This page took 0.111183 seconds and 4 git commands to generate.