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