]> git.pld-linux.org Git - packages/perl-Math-Business-SMA.git/blame - perl-Math-Business-SMA.spec
use generic url
[packages/perl-Math-Business-SMA.git] / perl-Math-Business-SMA.spec
CommitLineData
c329e304 1#
2# Conditional build:
f6570362 3%bcond_without tests # do not perform "make test"
4326e6d9 4
0ee63e2c 5%define pdir Math
6%define pnam Business-SMA
4326e6d9 7%include /usr/lib/rpm/macros.perl
c329e304 8Summary: Math::Business::SMA - Perl extension for calculating SMAs
82651528 9Summary(pl.UTF-8): Math::Business::SMA - rozszerzenie Perla do obliczania SMA
c329e304 10Name: perl-Math-Business-SMA
11Version: 0.99
aa8cbc5d 12Release: 3
c329e304 13License: unknown
c329e304 14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
3f81e225 16# Source0-md5: d3f710cac20c27c41cac8740c1569795
4326e6d9 17URL: http://search.cpan.org/dist/Math-Business-SMA/
3485a334 18BuildRequires: perl-devel >= 1:5.8.0
97c41f68 19BuildRequires: rpm-perlprov >= 4.1-13
c329e304 20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
4326e6d9
ER
24Math::Business::SMA - Perl extension for calculating simple moving
25averages.
c329e304 26
ee461db7 27%description -l pl.UTF-8
c329e304 28Math::Business::SMA - rozszerzenie Perla do obliczania SMA.
29
30%prep
31%setup -q -n %{pdir}-%{pnam}-%{version}
32
33%build
97c41f68 34%{__perl} Makefile.PL \
5b3c4629 35 INSTALLDIRS=vendor
c329e304 36%{__make}
37
f6570362 38%{?with_tests:%{__make} test}
c329e304 39
40%install
41rm -rf $RPM_BUILD_ROOT
42
43%{__make} install \
44 DESTDIR=$RPM_BUILD_ROOT
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(644,root,root,755)
51%doc Changes
97c41f68 52%{perl_vendorlib}/Math/Business/SMA.pm
c329e304 53%{_mandir}/man3/*
This page took 0.098467 seconds and 4 git commands to generate.