3 %bcond_without tests # do not perform "make test"
7 Summary: Math::FFT - Perl module to calculate Fast Fourier Transforms
8 Summary(pl.UTF-8): Math::FFT - moduł Perla do obliczania szybkiej transformaty Fouriera
13 License: GPL v1+ or Artistic
14 Group: Development/Languages/Perl
15 Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5: 531cf2c2ea45d01e414fe75aac0a2c1e
17 URL: http://search.cpan.org/dist/Math-FFT/
18 BuildRequires: perl-devel >= 1:5.8.0
19 BuildRequires: rpm-perlprov >= 4.1-13
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This module implements some algorithms for calculating Fast Fourier
24 Transforms for one-dimensional data sets of size 2^n.
26 %description -l pl.UTF-8
27 Ten moduł zawiera implementacje algorytmów do obliczania szybkiej
28 transformaty Fouriera dla jednowymiarowych zbiorów danych rozmiaru
32 %setup -q -n %{pdir}-%{pnam}-%{version}
35 %{__perl} Makefile.PL \
40 OPTIMIZE="%{rpmcflags}"
42 %{?with_tests:%{__make} test}
45 rm -rf $RPM_BUILD_ROOT
48 DESTDIR=$RPM_BUILD_ROOT
51 rm -rf $RPM_BUILD_ROOT
54 %defattr(644,root,root,755)
56 %{perl_vendorarch}/Math/FFT.pm
57 %dir %{perl_vendorarch}/auto/Math/FFT
58 %attr(755,root,root) %{perl_vendorarch}/auto/Math/FFT/FFT.so