]> git.pld-linux.org Git - packages/perl-AI-DecisionTree.git/blob - perl-AI-DecisionTree.spec
- caps and other cosmetics
[packages/perl-AI-DecisionTree.git] / perl-AI-DecisionTree.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    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.08
12 Release:        1
13 License:        ?
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  eaed56886a22506b8ed5f6dab88e7060
17 BuildRequires:  perl-devel >= 5.6
18 BuildRequires:  rpm-perlprov >= 4.1-13
19 %{?with_test:BuildRequires:     perl-GraphViz}
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 The "AI::DecisionTree" module automatically creates so-called "decision
24 trees" to explain a set of training data.  A decision tree is a kind of
25 categorizer that use a flowchart-like process for categorizing new
26 instances.  For instance, a learned decision tree might look like that
27 one in documentation, which classifies for the concept "play tennis".
28
29 %description -l pl
30 Modu³ AI::DecisionTree automatycznie tworzy tak zwane "drzewa
31 decyzyjne" do obja¶niania zbiorów danych ucz±cych. Drzewo decyzyjne to
32 rodzaj klasyfikatora u¿ywaj±cego procesu podobnego do przep³ywu do
33 klasyfikacji nowych przypadków. Na przyk³ad, nauczone drzewo decyzyjne
34 mo¿e wygl±daæ jak to umieszczone w dokumentacji, klasyfikuj±ce dla
35 pojêcia "gry w tenisa".
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39
40 %build
41 %{__perl} Makefile.PL \
42         INSTALLDIRS=vendor
43 %{__make}
44
45 %{?with_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_vendorarch}/%{pdir}/*.pm
58 %{perl_vendorarch}/%{pdir}/%{pnam}
59 %dir %{perl_vendorarch}/auto/%{pdir}/%{pnam}
60 %dir %{perl_vendorarch}/auto/%{pdir}/%{pnam}/Instance
61 %attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/%{pnam}/Instance/*.so
62 %{perl_vendorarch}/auto/%{pdir}/%{pnam}/Instance/*.bs
63 %{_mandir}/man3/*
This page took 0.039392 seconds and 4 git commands to generate.