Rebuild for Fedora Extras 5, disable static libs, spec file cleanups.

This commit is contained in:
Quentin Spencer 2006-02-13 21:27:53 +00:00
parent cba3c8b8de
commit 591fc5e741

View File

@ -1,6 +1,6 @@
Name: fftw Name: fftw
Version: 3.1 Version: 3.1
Release: 1%{?dist} Release: 2%{?dist}
Summary: Fast Fourier Transform library Summary: Fast Fourier Transform library
Group: System Environment/Libraries Group: System Environment/Libraries
@ -41,25 +41,13 @@ cp -a single double
%build %build
CONFIG_FLAGS="--enable-shared --disable-static --disable-dependency-tracking --enable-threads"
pushd double pushd double
%ifarch i386 %configure $CONFIG_FLAGS
%configure \
--enable-shared \
--enable-threads \
--enable-i386-hacks
%else
%configure \
--enable-shared \
--enable-threads
%endif
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
pushd single pushd single
%configure \ %configure $CONFIG_FLAGS --enable-single
--enable-shared \
--enable-type-prefix \
--enable-threads \
--enable-float
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
@ -74,6 +62,7 @@ popd
pushd single pushd single
make install DESTDIR=${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT}
popd popd
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
%clean %clean
@ -107,13 +96,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
%exclude %{_infodir}/dir
%{_includedir}/* %{_includedir}/*
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%{_libdir}/*.a
%{_libdir}/*.so %{_libdir}/*.so
%changelog %changelog
* Mon Feb 13 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-2
- Rebuild for Fedora Extras 5.
- Disable static libs.
- Remove obsolete configure options.
* Wed Feb 1 2006 Quentin Spencer <qspencer@users.sf.net> 3.1-1 * 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. - Upgrade to the 3.x branch, incorporating changes from the fftw3 spec file.
- Add dist tag. - Add dist tag.