- Drop static lib from -devel package

- FE6 Rebuild
This commit is contained in:
Hans de Goede 2006-08-28 11:55:00 +00:00
parent d3751e049e
commit f697689f7f
2 changed files with 16 additions and 13 deletions

View File

@ -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 <j.w.r.degoede@hhs.nl> 0.1.2-6
- Drop static lib from -devel package
- FE6 Rebuild
* Sun Jul 23 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 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

View File

@ -1 +0,0 @@
http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild