Репозиторий Sisyphus
Последнее обновление: 22 сентября 2019 | Пакетов: 17472 | Посещений: 15144577
en ru br
Репозитории ALT
S:2.1.5-alt8
5.1: 2.1.5-alt4
4.1: 2.1.5-alt3
4.0: 2.1.5-alt2
3.0: 2.1.5-alt1
www.altlinux.org/Changes

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

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

%set_automake_version 1.11

Name: fftw
Version: 2.1.5
Release: alt7.qa2

Summary: Fast Fourier transform library
License: GPL
Group: System/Libraries
Url: http://www.fftw.org

Packager: Denis Smirnov <mithraen at altlinux.ru>

Source: fftw-%version.tar
Patch0: fftw-2.1.5-pentium.patch
Patch1: fftw-2.1.5-alt-texinfo.patch
Patch2: fftw-2.1.5-alt-link_no_undefined.patch

# Automatically added by buildreq on Thu Oct 20 2011

BuildRequires: gcc-fortran

%description
FFTW is a collection of fast C routines for computing the Discrete Fourier
Transform in one or more dimensions.  It includes complex, real, and
parallel transforms, and can handle arbitrary array sizes efficiently.
This RPM package includes both the double- and single-precision FFTW
uniprocessor and threads libraries.  (The single-precision files have
an "s" prefix.)

%package -n lib%name
Summary: Dynamic libraries for FFTW fast fourier transform library
Group: System/Libraries

%description -n lib%name
FFTW is a collection of fast C routines for computing the Discrete Fourier
Transform in one or more dimensions.  It includes complex, real, and
parallel transforms, and can handle arbitrary array sizes efficiently.
This RPM package includes both the double- and single-precision FFTW
uniprocessor and threads libraries.  (The single-precision files have
an "s" prefix.)

%package -n lib%name-devel
Summary: Headers, libraries, & docs for FFTW fast fourier transform library
Group: Development/C
Requires: lib%name = %version-%release

%description -n lib%name-devel
This package contains the additional header files, documentation, and
libraries you need to develop programs using the FFTW fast fourier
transform library.

%package -n lib%name-devel-static
Summary: Static libraries for FFTW fast fourier transform library
Group: Development/C
Requires: lib%name-devel = %version-%release

%description -n lib%name-devel-static
This package contains static libraries you need to develop programs using
the FFTW fast fourier transform library.

%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1

# sources came with pre-generated config.h :-(

rm fftw/config.h

# create two separate build directories within main dir

mkdir -p double single

%build
aclocal
automake
autoconf
libtoolize --copy --force

%global _configure_script ../configure

%ifarch %ix86
%define arch_options --enable-i386-hacks
%else
%define arch_options %nil
%endif

pushd double
%configure --enable-shared --enable-threads %arch_options
%make
popd

pushd single
%configure --enable-shared --enable-threads %arch_options \
--enable-float --enable-type-prefix
%make
popd

%install
# The double-precision version is installed with the normal library names,
# while the single-precision version is installed with an "s" prefix.
%makeinstall -C double
%makeinstall -C single

%files -n lib%name
%doc AUTHORS NEWS README
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_infodir/*.info*
%_libdir/*.so

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

%changelog

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

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