- Update to 3.2.2.
- Make file listings more explicit. - Don't use file dependencies for info.
This commit is contained in:
parent
6283db786c
commit
19c232ed14
@ -1 +1 @@
|
|||||||
fftw-3.2.1.tar.gz
|
fftw-3.2.2.tar.gz
|
||||||
|
43
fftw.spec
43
fftw.spec
@ -1,16 +1,16 @@
|
|||||||
Name: fftw
|
Name: fftw
|
||||||
Version: 3.2.1
|
Version: 3.2.2
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: Fast Fourier Transform library
|
Summary: Fast Fourier Transform library
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.fftw.org/
|
URL: http://www.fftw.org/
|
||||||
Source0: ftp://ftp.fftw.org/pub/fftw/%{name}-%{version}.tar.gz
|
Source0: http://www.fftw.org/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(post): info
|
||||||
Requires(preun): /sbin/install-info
|
Requires(preun): info
|
||||||
|
|
||||||
Provides: fftw3 = %{version}-%{release}
|
Provides: fftw3 = %{version}-%{release}
|
||||||
Obsoletes: fftw3 < 3.1
|
Obsoletes: fftw3 < 3.1
|
||||||
@ -52,12 +52,16 @@ the FFTW fast Fourier transform library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c %{name}-%{version}
|
%setup -q -c %{name}-%{version}
|
||||||
mv %{name}-%{version} single
|
for dir in single double long; do
|
||||||
cp -a single double
|
cp -a fftw-%{version} $dir
|
||||||
cp -a single long
|
done
|
||||||
|
rm -rf fftw-%{version}
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Configure uses g77 by default
|
||||||
|
export F77=gfortran
|
||||||
|
|
||||||
CONFIG_FLAGS="--enable-shared --disable-dependency-tracking --enable-threads"
|
CONFIG_FLAGS="--enable-shared --disable-dependency-tracking --enable-threads"
|
||||||
pushd double
|
pushd double
|
||||||
%configure $CONFIG_FLAGS
|
%configure $CONFIG_FLAGS
|
||||||
@ -87,6 +91,7 @@ pushd long
|
|||||||
make install DESTDIR=${RPM_BUILD_ROOT}
|
make install DESTDIR=${RPM_BUILD_ROOT}
|
||||||
popd
|
popd
|
||||||
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
|
||||||
|
find ${RPM_BUILD_ROOT}%{_libdir} -name *.la -delete
|
||||||
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -111,25 +116,29 @@ 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?/*
|
%doc %{_mandir}/man1/fftw*.1.*
|
||||||
%{_bindir}/*
|
%{_bindir}/fftw*-wisdom*
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/libfftw3*.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc/*.pdf doc/html/* doc/FAQ/fftw-faq.html/
|
%doc doc/*.pdf doc/html/* doc/FAQ/fftw-faq.html/
|
||||||
%doc %{_infodir}/*.info*
|
%doc %{_infodir}/fftw3.info*
|
||||||
%{_includedir}/*
|
%{_includedir}/fftw3.*
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/fftw3*.pc
|
||||||
%{_libdir}/*.so
|
%{_libdir}/libfftw3*.so
|
||||||
|
|
||||||
%files static
|
%files static
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%exclude %{_libdir}/*.la
|
%{_libdir}/libfftw3*.a
|
||||||
%{_libdir}/*.a
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jan 1 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 3.2.2-1
|
||||||
|
- Update to 3.2.2.
|
||||||
|
- Make file listings more explicit.
|
||||||
|
- Don't use file dependencies for info.
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-3
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2.1-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user