]> git.pld-linux.org Git - SPECS.git/blob - perl-Statistics-LTU.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / perl-Statistics-LTU.spec
1 %define         pdir    Statistics
2 %define         pnam    LTU
3 Summary:        Statistics::LTU perl module
4 Summary(pl.UTF-8):      ModuĊ‚ perla Statistics::LTU
5 Name:           perl-Statistics-LTU
6 Version:        2.8
7 Release:        12
8 # same as perl
9 License:        GPL v1+ or Artistic
10 Group:          Development/Languages/Perl
11 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
12 # Source0-md5:  22d194baec8ef7696b57a4a365a0850d
13 Patch0:         %{name}-paths.patch
14 URL:            http://search.cpan.org/dist/Statistics-LTU/
15 BuildRequires:  perl-devel >= 1:5.8.0
16 BuildRequires:  rpm-perlprov >= 4.1-13
17 BuildArch:      noarch
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Statistics::LTU defines methods for creating, destroying, training and
22 testing Linear Threshold Units.
23
24 %description -l pl.UTF-8
25 Statistics::LTU definiuje metody tworzenia, niszczenia i testowania
26 LTU (Linear Treshold Units).
27
28 %prep
29 %setup -q -n %{pdir}-%{pnam}-%{version}
30 %patch0 -p0
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make}
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39
40 %{__make} install \
41         DESTDIR=$RPM_BUILD_ROOT
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc README.LTU ltu.doc
49 %{perl_vendorlib}/Statistics/LTU.pm
50 %{perl_vendorlib}/Statistics/weather.pl
51 %{_mandir}/man3/*
This page took 0.946453 seconds and 3 git commands to generate.