]> git.pld-linux.org Git - packages/perl-Math-FFT.git/blame - perl-Math-FFT.spec
- release 9 (by relup.sh)
[packages/perl-Math-FFT.git] / perl-Math-FFT.spec
CommitLineData
ac1af666
JB
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
0c22671e 6%define pdir Math
7%define pnam FFT
ac1af666 8Summary: Math::FFT - Perl module to calculate Fast Fourier Transforms
ea062fca 9Summary(pl.UTF-8): Math::FFT - moduł Perla do obliczania szybkiej transformaty Fouriera
ac1af666 10Name: perl-Math-FFT
d7584239 11Version: 1.28
3864ec31 12Release: 9
ac1af666 13# same as perl
9f54c68e 14License: GPL v1+ or Artistic
ac1af666 15Group: Development/Languages/Perl
8d1910ed 16Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
d7584239 17# Source0-md5: de12537d06eb90e8a4d80b765ceb8252
8d1910ed 18URL: http://search.cpan.org/dist/Math-FFT/
ee87cc24 19BuildRequires: perl-devel >= 1:5.8.0
ac1af666
JB
20BuildRequires: rpm-perlprov >= 4.1-13
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This module implements some algorithms for calculating Fast Fourier
25Transforms for one-dimensional data sets of size 2^n.
26
2fbd08f5
JR
27%description -l pl.UTF-8
28Ten moduł zawiera implementacje algorytmów do obliczania szybkiej
29transformaty Fouriera dla jednowymiarowych zbiorów danych rozmiaru
ac1af666
JB
302^n.
31
32%prep
33%setup -q -n %{pdir}-%{pnam}-%{version}
34
35%build
36%{__perl} Makefile.PL \
37 INSTALLDIRS=vendor
38
39%{__make} \
60bb417d 40 CC="%{__cc}" \
ac1af666
JB
41 OPTIMIZE="%{rpmcflags}"
42
43%{?with_tests:%{__make} test}
44
45%install
46rm -rf $RPM_BUILD_ROOT
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc Changes README
57%{perl_vendorarch}/Math/FFT.pm
58%dir %{perl_vendorarch}/auto/Math/FFT
ac1af666
JB
59%attr(755,root,root) %{perl_vendorarch}/auto/Math/FFT/FFT.so
60%{_mandir}/man3/*
This page took 0.330468 seconds and 4 git commands to generate.