From 23d4f7461f2b72a1e22f4cec5f2fa43f27bda466 Mon Sep 17 00:00:00 2001 From: Quentin Spencer Date: Jul 28 2007 04:23:42 +0000 Subject: Split static libs into separate package (bug 249686). --- diff --git a/fftw.spec b/fftw.spec index 022a893..d1b1db4 100644 --- a/fftw.spec +++ b/fftw.spec @@ -1,6 +1,6 @@ Name: fftw Version: 3.1.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Fast Fourier Transform library Group: System Environment/Libraries @@ -40,6 +40,17 @@ This package contains header files and development libraries needed to develop programs using the FFTW fast Fourier transform library. +%package static +Summary: Static version of the FFTW library +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} +Provides: fftw3-static = %{version}-%{release} + +%description static +The fftw-static package contains the statically linkable version of +the FFTW fast Fourier transform library. + + %prep %setup -q -c %{name}-%{version} mv %{name}-%{version} single @@ -109,15 +120,22 @@ fi %defattr(-,root,root,-) %doc doc/*.pdf doc/html/* doc/FAQ/fftw-faq.html/ %doc %{_infodir}/*.info* -%exclude %{_libdir}/*.la -%{_libdir}/*.a %{_includedir}/* %{_libdir}/pkgconfig/* %{_libdir}/*.so +%files static +%defattr(-,root,root,-) +%exclude %{_libdir}/*.la +%{_libdir}/*.a + + %changelog +* Fri Jul 27 2007 Quentin Spencer 3.1.2-4 +- Split static libs into separate package (bug 249686). + * Thu Oct 05 2006 Christian Iseli 3.1.2-3 - - rebuilt for unwind info generation, broken in gcc-4.1.1-21 +- rebuilt for unwind info generation, broken in gcc-4.1.1-21 * Tue Sep 26 2006 Quentin Spencer 3.1.2-2 - BuildRequires: pkgconfig for -devel (bug 206444).