]> git.pld-linux.org Git - packages/perl-Math-FFT.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 1 Nov 2003 10:42:40 +0000 (10:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Math-FFT.spec -> 1.1

perl-Math-FFT.spec [new file with mode: 0644]

diff --git a/perl-Math-FFT.spec b/perl-Math-FFT.spec
new file mode 100644 (file)
index 0000000..685daf3
--- /dev/null
@@ -0,0 +1,59 @@
+#
+# Conditional build:
+%bcond_without tests   # do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Math
+%define        pnam    FFT
+Summary:       Math::FFT - Perl module to calculate Fast Fourier Transforms
+Summary(pl):   Math::FFT - modu³ Perla do obliczania szybkiej transformaty Fouriera
+Name:          perl-Math-FFT
+Version:       0.25
+Release:       1
+# same as perl
+License:       GPL or Artistic
+Group:         Development/Languages/Perl
+Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: c44ab37a4d21ffa57ea49c01801106fe
+BuildRequires: perl-devel >= 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
+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} \
+       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
+%{perl_vendorarch}/auto/Math/FFT/FFT.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Math/FFT/FFT.so
+%{_mandir}/man3/*
This page took 0.142476 seconds and 4 git commands to generate.