]> git.pld-linux.org Git - packages/perl-AI-DecisionTree.git/commitdiff
- new, stbr perl-AI-DecisionTree-0_01-1
authorradek <radek@pld-linux.org>
Sat, 3 Aug 2002 13:12:16 +0000 (13:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-AI-DecisionTree.spec -> 1.1

perl-AI-DecisionTree.spec [new file with mode: 0644]

diff --git a/perl-AI-DecisionTree.spec b/perl-AI-DecisionTree.spec
new file mode 100644 (file)
index 0000000..9c93635
--- /dev/null
@@ -0,0 +1,46 @@
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    AI
+%define        pnam    DecisionTree
+Summary:       AI::DecisionTree -- Automatically Learns Decision Trees
+#Summary(pl):  AI::DecisionTree -- Automatyczne uczenie drzew decyzyjnych (?)
+Name:          perl-%{pdir}-%{pnam}
+Version:       0.01
+Release:       1
+License:       ?
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-26
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The "AI::DecisionTree" module automatically creates so-called "decision
+trees" to explain a set of training data.  A decision tree is a kind of
+categorizer that use a flowchart-like process for categorizing new
+instances.  For instance, a learned decision tree might look like the
+following, which classifies for the concept "play tennis":
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{perl_sitelib}/%{pdir}/*.pm
+%{_mandir}/man3/*
This page took 0.060688 seconds and 4 git commands to generate.