# # Conditional build: %bcond_without tests # do not perform "make test" # %define pdir Math %define pnam FFT Summary: Math::FFT - Perl module to calculate Fast Fourier Transforms Summary(pl.UTF-8): Math::FFT - moduł Perla do obliczania szybkiej transformaty Fouriera Name: perl-Math-FFT Version: 1.31 Release: 11 # same as perl License: GPL v1+ or Artistic Group: Development/Languages/Perl Source0: http://www.cpan.org/modules/by-module/Math/%{pdir}-%{pnam}-%{version}.tar.gz # Source0-md5: 531cf2c2ea45d01e414fe75aac0a2c1e URL: http://search.cpan.org/dist/Math-FFT/ BuildRequires: perl-devel >= 1:5.8.0 BuildRequires: rpm-perlprov >= 4.1-13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description This module implements some algorithms for calculating Fast Fourier Transforms for one-dimensional data sets of size 2^n. %description -l pl.UTF-8 Ten moduł zawiera implementacje algorytmów do obliczania szybkiej transformaty Fouriera dla jednowymiarowych zbiorów danych rozmiaru 2^n. %prep %setup -q -n %{pdir}-%{pnam}-%{version} %build %{__perl} Makefile.PL \ INSTALLDIRS=vendor %{__make} \ CC="%{__cc}" \ OPTIMIZE="%{rpmcflags}" %{?with_tests:%{__make} test} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %doc Changes README %{perl_vendorarch}/Math/FFT.pm %dir %{perl_vendorarch}/auto/Math/FFT %attr(755,root,root) %{perl_vendorarch}/auto/Math/FFT/FFT.so %{_mandir}/man3/*