]> git.pld-linux.org Git - packages/perl-Math-FFT.git/blame - perl-Math-FFT.spec
- tabs in preamble
[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
09108e5a
AG
11Version: 0.26
12Release: 1
ac1af666 13# same as perl
9f54c68e 14License: GPL v1+ or Artistic
ac1af666
JB
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
09108e5a 17# Source0-md5: 8d4c842169a8697cc92e7e0281dd528f
4820e5c7 18Patch0: %{name}-types.patch
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}
4820e5c7 34%patch0 -p1
ac1af666
JB
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
39
40%{__make} \
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
59%{perl_vendorarch}/auto/Math/FFT/FFT.bs
60%attr(755,root,root) %{perl_vendorarch}/auto/Math/FFT/FFT.so
61%{_mandir}/man3/*
This page took 0.08246 seconds and 4 git commands to generate.