From f697689f7f483c85a73eb825679bc0ddccc3d078 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Mon, 28 Aug 2006 11:55:00 +0000 Subject: [PATCH] - Drop static lib from -devel package - FE6 Rebuild --- libsamplerate.spec | 28 ++++++++++++++++------------ needs.rebuild | 1 - 2 files changed, 16 insertions(+), 13 deletions(-) delete mode 100644 needs.rebuild diff --git a/libsamplerate.spec b/libsamplerate.spec index 53d1317..76de74e 100644 --- a/libsamplerate.spec +++ b/libsamplerate.spec @@ -1,7 +1,7 @@ Summary: Sample rate conversion library for audio data Name: libsamplerate Version: 0.1.2 -Release: 5%{?dist} +Release: 6%{?dist} License: GPL Group: System Environment/Libraries URL: http://www.mega-nerd.com/SRC/ @@ -9,12 +9,6 @@ Source0: http://www.mega-nerd.com/SRC/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n) BuildRequires: libsndfile-devel >= 1.0.6 pkgconfig -%package devel -Summary: Development related files for %{name} -Group: Development/Libraries -Requires: %{name} = %{version}-%{release} pkgconfig - - %description Secret Rabbit Code is a sample rate converter for audio. It is capable of arbitrary and time varying conversions. It can downsample by a @@ -22,6 +16,12 @@ factor of 12 and upsample by the same factor. The ratio of input and output sample rates can be a real number. The conversion ratio can also vary with time for speeding up and slowing down effects. + +%package devel +Summary: Development related files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} pkgconfig + %description devel Secret Rabbit Code is a sample rate converter for audio. It is capable of arbitrary and time varying conversions. It can downsample by a @@ -36,7 +36,7 @@ This package contains development files for %{name} %build -%configure --disable-dependency-tracking --disable-fftw +%configure --disable-dependency-tracking --disable-fftw --disable-static # Don't use rpath! sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool @@ -46,11 +46,12 @@ make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT _doc make install DESTDIR=$RPM_BUILD_ROOT +rm $RPM_BUILD_ROOT%{_libdir}/%{name}.la cp -a doc _doc rm _doc/Makefile* _doc/NEWS _doc/ChangeLog -%check || : +%check export LD_LIBRARY_PATH=`pwd`/src/.libs make check unset LD_LIBRARY_PATH @@ -61,6 +62,7 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig + %postun -p /sbin/ldconfig @@ -72,14 +74,16 @@ rm -rf $RPM_BUILD_ROOT %files devel %defattr(-,root,root,-) -%exclude %{_libdir}/lib*.la %{_includedir}/samplerate.h -%{_libdir}/lib*.so -%{_libdir}/lib*.a +%{_libdir}/%{name}.so %{_libdir}/pkgconfig/samplerate.pc %changelog +* Mon Aug 28 2006 Hans de Goede 0.1.2-6 +- Drop static lib from -devel package +- FE6 Rebuild + * Sun Jul 23 2006 Hans de Goede 0.1.2-5 - Taking over as maintainer since Anvil has other priorities - Long long due rebuild with new gcc for FC-5, it seems this may have already diff --git a/needs.rebuild b/needs.rebuild deleted file mode 100644 index 815fd29..0000000 --- a/needs.rebuild +++ /dev/null @@ -1 +0,0 @@ -http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild