Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37775957
en ru br
Репозитории ALT
S:3.3.8-alt2
5.1: 3.2.1-alt1
4.1: 3.1.2-alt2
4.0: 3.1.2-alt1
3.0: 3.0.1-alt0.6
www.altlinux.org/Changes

Другие репозитории
Upstream:3.1.2

Группа :: Система/Библиотеки
Пакет: fftw3

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: fftw3
Version: 3.2.1
Release: alt1

Summary: Library for computing Fast Fourier Transforms
License: GPLv2+
Group: System/Libraries
Url: http://www.fftw.org/
Packager: Dmitry V. Levin <ldv at altlinux.org>

# ftp://ftp.fftw.org/pub/fftw/fftw-%version.tar.gz

Source: fftw-%version.tar
Patch: fftw-3.2.1-alt-makefile.patch

# Automatically added by buildreq on Fri Feb 09 2007

BuildRequires: gcc-fortran ghostscript-classic glibc-devel-static ocaml transfig

%def_disable static
%def_disable sse
%def_disable sse2
%def_disable 3dnow

%description
FFTW is a free collection of fast C routines for computing the Discrete
Fourier Transform in one or more dimensions.  It includes complex, real,
symmetric, and parallel transforms, and can handle arbitrary array sizes
efficiently.  FFTW is typically faster than other publically-available
FFT implementations, and is even competitive with vendor-tuned libraries.
To achieve this performance, FFTW uses novel code-generation and runtime
self-optimization techniques (along with many other tricks).

%package -n lib%name
Summary: Dynamic libraries for computing Fast Fourier Transforms
Group: System/Libraries

%description -n lib%name
FFTW is a free collection of fast C routines for computing the Discrete
Fourier Transform in one or more dimensions.  It includes complex, real,
symmetric, and parallel transforms, and can handle arbitrary array sizes
efficiently.  FFTW is typically faster than other publically-available
FFT implementations, and is even competitive with vendor-tuned libraries.
To achieve this performance, FFTW uses novel code-generation and runtime
self-optimization techniques (along with many other tricks).

This package contains the shared library versions of the fftw libraries
in single, double and long double precisions.

%package -n lib%name-devel
Summary: Development library for computing Fast Fourier Transforms
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
FFTW is a free collection of fast C routines for computing the Discrete
Fourier Transform in one or more dimensions.  It includes complex, real,
symmetric, and parallel transforms, and can handle arbitrary array sizes
efficiently.  FFTW is typically faster than other publically-available
FFT implementations, and is even competitive with vendor-tuned libraries.
To achieve this performance, FFTW uses novel code-generation and runtime
self-optimization techniques (along with many other tricks).

This package contains header files, documentation, and development
libraries required to develop programs using the FFTW.

%package -n lib%name-devel-static
Summary: Static library for computing Fast Fourier Transforms
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
FFTW is a free collection of fast C routines for computing the Discrete
Fourier Transform in one or more dimensions.  It includes complex, real,
symmetric, and parallel transforms, and can handle arbitrary array sizes
efficiently.  FFTW is typically faster than other publically-available
FFT implementations, and is even competitive with vendor-tuned libraries.
To achieve this performance, FFTW uses novel code-generation and runtime
self-optimization techniques (along with many other tricks).

This package contains static libraries required to develop programs
using FFTW.

%prep
%setup -q -n fftw-%version
%patch -p1
%define _configure_script ../configure
mkdir single double long-double

%build
autoreconf -fisv
%define options --enable-shared %{subst_enable static} --enable-threads --enable-portable-binary

pushd single
%configure %options --enable-float \
%ifarch %ix86
%{subst_enable sse} \
%{subst_enable 3dnow} \
%endif
#
%make_build
%make_build -C doc html
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
popd

pushd double
%configure %options \
%ifarch %ix86
%{subst_enable sse2} \
%endif
#
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
popd

pushd long-double
%configure %options --enable-long-double
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
popd

%install
%makeinstall -C single
%makeinstall -C double
%makeinstall -C long-double

# remove non-packaged files

rm %buildroot%_libdir/*.la

%files -n lib%name
%_libdir/*.so.*

%files -n lib%name-devel
%_bindir/*
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%_infodir/*.info*
%_man1dir/*
%doc single/doc/html/ doc/FAQ/fftw-faq.ascii
%doc AUTHORS CONVENTIONS NEWS README TODO

%if_enabled static
%files -n lib%name-devel-static
%_libdir/*.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin