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