Upgrade to 3.x branch of fftw.
This commit is contained in:
parent
84985df578
commit
e72406dab7
@ -1 +1 @@
|
|||||||
fftw-2.1.5.tar.gz
|
fftw-3.1.tar.gz
|
||||||
|
62
fftw.spec
62
fftw.spec
@ -1,23 +1,24 @@
|
|||||||
Name: fftw
|
Name: fftw
|
||||||
Version: 2.1.5
|
Version: 3.1
|
||||||
Release: 8
|
Release: 1%{?dist}
|
||||||
Summary: Fast Fourier Transform library
|
Summary: Fast Fourier Transform library
|
||||||
|
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPL
|
License: GPL
|
||||||
URL: http://www.fftw.org/
|
URL: http://www.fftw.org/
|
||||||
Source0: ftp://ftp.fftw.org/pub/fftw/fftw-2.1.5.tar.gz
|
Source0: ftp://ftp.fftw.org/pub/fftw/fftw-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: gcc-gfortran
|
BuildRequires: gcc-gfortran
|
||||||
|
Requires(post): /sbin/install-info
|
||||||
|
Requires(preun): /sbin/install-info
|
||||||
|
Obsoletes: fftw3 < 3.1
|
||||||
|
Provides: fftw3 = %{version}-%{release}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
FFTW is a C subroutine library for computing the Discrete Fourier Transform
|
FFTW is a C subroutine library for computing the Discrete Fourier
|
||||||
(DFT) in one or more dimensions, of both real and complex data, and of
|
Transform (DFT) in one or more dimensions, of both real and complex
|
||||||
arbitrary input size. We believe that FFTW, which is free software, should
|
data, and of arbitrary input size.
|
||||||
become the FFT library of choice for most applications. Our benchmarks,
|
|
||||||
performed on on a variety of platforms, show that FFTW's performance is
|
|
||||||
typically superior to that of other publicly available FFT software.
|
|
||||||
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
@ -25,26 +26,22 @@ Summary: Headers, libraries and docs for the FFTW library
|
|||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
FFTW is a C subroutine library for computing the Discrete Fourier Transform
|
FFTW is a C subroutine library for computing the Discrete Fourier
|
||||||
(DFT) in one or more dimensions, of both real and complex data, and of
|
Transform (DFT) in one or more dimensions, of both real and complex
|
||||||
arbitrary input size. We believe that FFTW, which is free software, should
|
data, and of arbitrary input size.
|
||||||
become the FFT library of choice for most applications. Our benchmarks,
|
|
||||||
performed on on a variety of platforms, show that FFTW's performance is
|
|
||||||
typically superior to that of other publicly available FFT software.
|
|
||||||
|
|
||||||
This package contains header files and development libraries needed to
|
This package contains header files and development libraries needed to
|
||||||
develop programs using the FFTW fast Fourier transform library.
|
develop programs using the FFTW fast Fourier transform library.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c %{name}-%{version}
|
%setup -q -c %{name}-%{version}
|
||||||
mv %{name}-%{version} single
|
mv %{name}-%{version} single
|
||||||
cp -a single double
|
cp -a single double
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
pushd double
|
pushd double
|
||||||
%ifarch i386
|
%ifarch i386
|
||||||
@ -69,51 +66,60 @@ pushd single
|
|||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
pushd double
|
pushd double
|
||||||
make install DESTDIR=${RPM_BUILD_ROOT}
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
||||||
cp -a AUTHORS COPYING COPYRIGHT ChangeLog NEWS README* TODO ../
|
cp -a AUTHORS COPYING COPYRIGHT ChangeLog NEWS README* TODO ../
|
||||||
cp -a FAQ/fftw-faq.html/ doc/ ../
|
cp -a doc/ ../
|
||||||
popd
|
popd
|
||||||
pushd single
|
pushd single
|
||||||
make install DESTDIR=${RPM_BUILD_ROOT}
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
||||||
popd
|
popd
|
||||||
rm -f doc/Makefile*
|
|
||||||
find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf ${RPM_BUILD_ROOT}
|
rm -rf ${RPM_BUILD_ROOT}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
|
||||||
|
%post devel
|
||||||
|
/sbin/install-info --section="Math" %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
|
||||||
|
|
||||||
|
%preun devel
|
||||||
|
if [ "$1" = 0 ]; then
|
||||||
|
/sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir 2>/dev/null || :
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING COPYRIGHT ChangeLog NEWS README* TODO
|
%doc AUTHORS COPYING COPYRIGHT ChangeLog NEWS README* TODO
|
||||||
|
%doc %{_mandir}/man?/*
|
||||||
|
%{_bindir}/*
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/
|
%doc doc/*.pdf doc/html/* doc/FAQ/fftw-faq.html/
|
||||||
|
%doc %{_infodir}/*.info*
|
||||||
|
%exclude %{_libdir}/*.la
|
||||||
|
%exclude %{_infodir}/dir
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
%{_libdir}/pkgconfig/*
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_infodir}/*
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 1 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-1
|
||||||
|
- Upgrade to the 3.x branch, incorporating changes from the fftw3 spec file.
|
||||||
|
- Add dist tag.
|
||||||
|
|
||||||
* Mon May 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.1.5-8
|
* Mon May 23 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.1.5-8
|
||||||
- BuildReq gcc-gfortran (#156490).
|
- BuildReq gcc-gfortran (#156490).
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user