]> git.pld-linux.org Git - packages/perl-AI-DecisionTree.git/blame - perl-AI-DecisionTree.spec
rebuild with perl 5.32
[packages/perl-AI-DecisionTree.git] / perl-AI-DecisionTree.spec
CommitLineData
ea947ff4 1#
2# Conditional build:
8e6fbe12 3%bcond_without tests # do not perform "make test"
bbd77f17 4
f175cf50 5%define pdir AI
6%define pnam DecisionTree
bbad6925 7Summary: AI::DecisionTree - automatically learns decision trees
3f09b9c4 8Summary(pl.UTF-8): AI::DecisionTree - automatyczne uczenie drzew decyzyjnych
79b1bc5c 9Name: perl-AI-DecisionTree
c389c7d9 10Version: 0.11
1e05d2e9 11Release: 3
58942593 12License: GPL v1+ or Artistic
3e546d1d 13Group: Development/Languages/Perl
222e7ff9 14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
c389c7d9 15# Source0-md5: ab18666204a5363ced7f6a2eafd9da7f
bbd77f17
ER
16URL: http://search.cpan.org/dist/AI-DecisionTree/
17%{?with_tests:BuildRequires: perl-GraphViz}
4165e18b 18BuildRequires: perl-devel >= 1:5.8.0
4af040f7 19BuildRequires: rpm-perlprov >= 4.1-13
3e546d1d 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
743db814
PC
23The "AI::DecisionTree" module automatically creates so-called
24"decision trees" to explain a set of training data. A decision tree is
25a kind of categorizer that use a flowchart-like process for
26categorizing new instances. For instance, a learned decision tree
27might look like that one in documentation, which classifies for the
28concept "play tennis".
b8fcff7e 29
12122ae5
JR
30%description -l pl.UTF-8
31Moduł AI::DecisionTree automatycznie tworzy tak zwane "drzewa
32decyzyjne" do objaśniania zbiorów danych uczących. Drzewo decyzyjne to
33rodzaj klasyfikatora używającego procesu podobnego do przepływu do
34klasyfikacji nowych przypadków. Na przykład, nauczone drzewo decyzyjne
35może wyglądać jak to umieszczone w dokumentacji, klasyfikujące dla
36pojęcia "gry w tenisa".
3e546d1d 37
38%prep
39%setup -q -n %{pdir}-%{pnam}-%{version}
40
41%build
4af040f7 42%{__perl} Makefile.PL \
b76d9cf9 43 INSTALLDIRS=vendor
3e546d1d 44%{__make}
ea947ff4 45
0757a08d 46%{?with_tests:%{__make} test}
3e546d1d 47
48%install
49rm -rf $RPM_BUILD_ROOT
50
cd24082d 51%{__make} install \
52 DESTDIR=$RPM_BUILD_ROOT
3e546d1d 53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
4af040f7 59%{perl_vendorarch}/%{pdir}/*.pm
60%{perl_vendorarch}/%{pdir}/%{pnam}
61%dir %{perl_vendorarch}/auto/%{pdir}/%{pnam}
62%dir %{perl_vendorarch}/auto/%{pdir}/%{pnam}/Instance
63%attr(755,root,root) %{perl_vendorarch}/auto/%{pdir}/%{pnam}/Instance/*.so
3e546d1d 64%{_mandir}/man3/*
This page took 0.162697 seconds and 4 git commands to generate.