]> git.pld-linux.org Git - packages/perl-Algorithm-SVM.git/blame - perl-Algorithm-SVM.spec
- converted to UTF-8
[packages/perl-Algorithm-SVM.git] / perl-Algorithm-SVM.spec
CommitLineData
a7f06b66 1#
2# Conditional build:
04b1a149 3%bcond_without tests # don't perform "make test"
a7f06b66 4#
5%include /usr/lib/rpm/macros.perl
629c3e73 6%define pdir Algorithm
7%define pnam SVM
a7f06b66 8Summary: Perl bindings for the libsvm Support Vector Machine library
c6497ef8 9Summary(pl.UTF-8): Dowiązania Perla do biblioteki libsvm (Support Vector Machine)
a7f06b66 10Name: perl-Algorithm-SVM
173ad841 11Version: 0.11
0f59a8f1 12Release: 1
e6ce8bb7 13# same as perl
14License: GPL v1+ or Artistic
a7f06b66 15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
173ad841 17# Source0-md5: 95a77fc32f958c745d596940a50b7682
dc3a178c 18BuildRequires: perl-devel >= 1:5.8.0
a7f06b66 19BuildRequires: rpm-perlprov >= 4.1-13
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22%description
23Algorithm::SVM implements a Support Vector Machine for Perl. Support
04bf74a0 24Vector Machines provide a method for creating classification functions
a7f06b66 25from a set of labeled training data, from which predictions can be
26made for subsequent data sets.
27
c6497ef8
JR
28%description -l pl.UTF-8
29Moduł Algorithm::SVM jest implementacją Support Vector Machine dla
30Perla. Support Vector Machines udostępniają sposób tworzenia funkcji
31klasyfikujących ze zbioru oznaczonych danych treningowych, z których
32można dokonywać przewidywań co do kolejnych zbiorów danych.
a7f06b66 33
34%prep
35%setup -q -n %{pdir}-%{pnam}-%{version}
36
37%build
38%{__perl} Makefile.PL \
39 INSTALLDIRS=vendor
40
41%{__make} \
42 OPTIMIZE="%{rpmcflags}"
43
04b1a149 44%{?with_tests:%{__make} test}
a7f06b66 45
46%install
47rm -rf $RPM_BUILD_ROOT
48
49%{__make} install \
50 DESTDIR=$RPM_BUILD_ROOT
51
52%clean
53rm -rf $RPM_BUILD_ROOT
54
55%files
56%defattr(644,root,root,755)
57%doc Changes README
58%{perl_vendorarch}/Algorithm/*.pm
59%{perl_vendorarch}/Algorithm/SVM
60%dir %{perl_vendorarch}/auto/Algorithm/SVM
61%{perl_vendorarch}/auto/Algorithm/SVM/*.bs
62%attr(755,root,root) %{perl_vendorarch}/auto/Algorithm/SVM/*.so
63%{_mandir}/man3/*
This page took 0.084178 seconds and 4 git commands to generate.