]> git.pld-linux.org Git - packages/perl-AI-DecisionTree.git/blob - perl-AI-DecisionTree.spec
- (auto)updated to 0.06.
[packages/perl-AI-DecisionTree.git] / perl-AI-DecisionTree.spec
1 #
2 # Conditional build:
3 # _without_tests - do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define pdir    AI
7 %define pnam    DecisionTree
8 Summary:        AI::DecisionTree -- Automatically Learns Decision Trees
9 Summary(pl):    AI::DecisionTree -- Automatyczne uczenie drzew decyzyjnych
10 Name:           perl-%{pdir}-%{pnam}
11 Version:        0.06
12 Release:        1
13 License:        ?
14 Group:          Development/Languages/Perl
15 Source0:        ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 BuildRequires:  perl >= 5.6
17 BuildRequires:  rpm-perlprov >= 3.0.3-26
18 %if %{?_without_tests:0}%{!?_without_tests:1}
19 BuildRequires:  perl-GraphViz
20 %endif
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The "AI::DecisionTree" module automatically creates so-called "decision
25 trees" to explain a set of training data.  A decision tree is a kind of
26 categorizer that use a flowchart-like process for categorizing new
27 instances.  For instance, a learned decision tree might look like that
28 one in documentation, which classifies for the concept "play tennis".
29
30 %description -l pl
31 Modu³ AI::DecisionTree automatycznie tworzy tak zwane "drzewa
32 decyzyjne" do obja¶niania zbiorów danych ucz±cych. Drzewo decyzyjne to
33 rodzaj klasyfikatora u¿ywaj±cego procesu podobnego do przep³ywu do
34 klasyfikacji nowych przypadków. Na przyk³ad, nauczone drzewo decyzyjne
35 mo¿e wygl±daæ jak to umieszczone w dokumentacji, klasyfikuj±ce dla
36 pojêcia "gry w tenisa".
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
40
41 %build
42 perl Makefile.PL
43 %{__make}
44
45 %{!?_without_tests:%{__make} test}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %files
56 %defattr(644,root,root,755)
57 %{perl_sitearch}/%{pdir}/*.pm
58 %{perl_sitearch}/%{pdir}/%{pnam}
59 %dir %{perl_sitearch}/auto/%{pdir}/%{pnam}
60 %dir %{perl_sitearch}/auto/%{pdir}/%{pnam}/Instance
61 %attr(755,root,root) %{perl_sitearch}/auto/%{pdir}/%{pnam}/Instance/*.so
62 %{perl_sitearch}/auto/%{pdir}/%{pnam}/Instance/*.bs
63 %{_mandir}/man3/*
This page took 0.027384 seconds and 4 git commands to generate.