Close 2 new bugs.

This commit is contained in:
Quentin Spencer 2006-02-24 06:44:30 +00:00
parent ac059f351f
commit 97633e47cf

View File

@ -1,6 +1,6 @@
Name: fftw Name: fftw
Version: 3.1 Version: 3.1
Release: 3%{?dist} Release: 4%{?dist}
Summary: Fast Fourier Transform library Summary: Fast Fourier Transform library
Group: System Environment/Libraries Group: System Environment/Libraries
@ -44,10 +44,11 @@ develop programs using the FFTW fast Fourier transform library.
%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
cp -a single long
%build %build
CONFIG_FLAGS="--enable-shared --disable-static --disable-dependency-tracking --enable-threads" CONFIG_FLAGS="--enable-shared --disable-dependency-tracking --enable-threads"
pushd double pushd double
%configure $CONFIG_FLAGS %configure $CONFIG_FLAGS
make %{?_smp_mflags} make %{?_smp_mflags}
@ -56,6 +57,10 @@ pushd single
%configure $CONFIG_FLAGS --enable-single %configure $CONFIG_FLAGS --enable-single
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
pushd long
%configure $CONFIG_FLAGS --enable-long-double
make %{?_smp_mflags}
popd
%install %install
@ -68,6 +73,9 @@ popd
pushd single pushd single
make install DESTDIR=${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT}
popd popd
pushd long
make install DESTDIR=${RPM_BUILD_ROOT}
popd
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
@ -102,11 +110,16 @@ fi
%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}/*.info*
%exclude %{_libdir}/*.la %exclude %{_libdir}/*.la
%{_libdir}/*.a
%{_includedir}/* %{_includedir}/*
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Fri Feb 24 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-4
- Re-enable static libs (bug 181897).
- Build long-double version of libraries (bug 182587).
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-3 * Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-3
- Add Obsoletes and Provides. - Add Obsoletes and Provides.