3 %bcond_without tests # don't perform "make test"
5 # please, check it again
12 Summary: AI::jNeural::arch - the Jet's Neural Architecture base module
13 Summary(pl.UTF-8): AI::jNeural::arch - podstawowy moduł Jet's Neural Architecture
18 Group: Development/Languages/Perl
19 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
20 # Source0-md5: 0f6ffe4b60bd7d82bd7aafcfc3b96d36
21 URL: http://search.cpan.org/dist/AI-jNeural/
23 BuildRequires: jneural-devel
24 %{?with_tests:BuildRequires: perl-Math-Business-SMA}
25 BuildRequires: perl-devel >= 1:5.8.0
26 BuildRequires: rpm-perlprov >= 4.1-13
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 This particular module doesn't actually do anything. It would be the
31 place to look for functions that are general to the entire library,
32 but there really aren't any yet.
34 %description -l pl.UTF-8
35 Ten moduł nie robi właściwie niczego. Ma być miejscem do szukania
36 funkcji, które są ogólne dla całej biblioteki, ale takich jeszcze nie
40 %setup -q -n %{pdir}-%{pnam}-%{version}
43 find -type f | xargs perl -pi -e 's,/usr/local,/usr,g'
44 %{__perl} Makefile.PL skip_stuff \
47 %{?with_tests:%{__make} test}
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %dir %{perl_vendorarch}/AI
61 %{perl_vendorarch}/AI/*.pm
62 %{perl_vendorarch}/AI/jNeural
63 %dir %{perl_vendorarch}/auto/AI
64 %dir %{perl_vendorarch}/auto/AI/jNeural
65 # empty autosplit.ix files
66 #%%{perl_vendorarch}/auto/AI/jNeural/*.ix
67 #%%{perl_vendorarch}/auto/AI/jNeural/*/*.ix
68 #%%{perl_vendorarch}/auto/AI/jNeural/*/*/*.ix
69 %attr(755,root,root) %{perl_vendorarch}/auto/AI/jNeural/*.so
70 %attr(755,root,root) %{perl_vendorarch}/auto/AI/jNeural/*/*/*.so
71 %dir %{perl_vendorarch}/auto/AI/jNeural/arch
72 %dir %{perl_vendorarch}/auto/AI/jNeural/arch/neuron
73 %dir %{perl_vendorarch}/auto/AI/jNeural/nets
74 %dir %{perl_vendorarch}/auto/AI/jNeural/nets/backprop
75 %dir %{perl_vendorarch}/auto/AI/jNeural/nets/kohonen
76 %dir %{perl_vendorarch}/auto/AI/jNeural/utils
77 %dir %{perl_vendorarch}/auto/AI/jNeural/utils/transfer