]>
Commit | Line | Data |
---|---|---|
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 | 8 | Summary: Math::Business::SMA - Perl extension for calculating SMAs |
82651528 | 9 | Summary(pl.UTF-8): Math::Business::SMA - rozszerzenie Perla do obliczania SMA |
c329e304 | 10 | Name: perl-Math-Business-SMA |
11 | Version: 0.99 | |
aa8cbc5d | 12 | Release: 3 |
c329e304 | 13 | License: unknown |
c329e304 | 14 | Group: Development/Languages/Perl |
15 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
3f81e225 | 16 | # Source0-md5: d3f710cac20c27c41cac8740c1569795 |
4326e6d9 | 17 | URL: http://search.cpan.org/dist/Math-Business-SMA/ |
3485a334 | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
97c41f68 | 19 | BuildRequires: rpm-perlprov >= 4.1-13 |
c329e304 | 20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
4326e6d9 ER |
24 | Math::Business::SMA - Perl extension for calculating simple moving |
25 | averages. | |
c329e304 | 26 | |
ee461db7 | 27 | %description -l pl.UTF-8 |
c329e304 | 28 | Math::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 | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %{__make} install \ | |
44 | DESTDIR=$RPM_BUILD_ROOT | |
45 | ||
46 | %clean | |
47 | rm -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/* |