Hello community, here is the log from the commit of package libsamplerate for openSUSE:Factory checked in at 2012-03-07 13:43:08 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libsamplerate (Old) and /work/SRC/openSUSE:Factory/.libsamplerate.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libsamplerate", Maintainer is "[email protected]" Changes: -------- --- /work/SRC/openSUSE:Factory/libsamplerate/libsamplerate.changes 2011-11-23 19:36:09.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libsamplerate.new/libsamplerate.changes 2012-03-07 13:43:12.000000000 +0100 @@ -1,0 +2,13 @@ +Tue Mar 6 11:17:23 UTC 2012 - [email protected] + +- Adhere to shared library packaging policy + +------------------------------------------------------------------- +Sun Mar 4 23:14:45 UTC 2012 - [email protected] + +- update to version 0.1.8 + * Minor bug fixes and updates. +- drop all patches, not needed in new upstream version +- run spec-cleaner + +------------------------------------------------------------------- Old: ---- libsamplerate-0.1.7.tar.bz2 libsamplerate-ac.diff libsamplerate_0.1.7-3.diff.gz New: ---- libsamplerate-0.1.8.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libsamplerate.spec ++++++ --- /var/tmp/diff_new_pack.8AKgvi/_old 2012-03-07 13:43:17.000000000 +0100 +++ /var/tmp/diff_new_pack.8AKgvi/_new 2012-03-07 13:43:17.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libsamplerate # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,21 +15,20 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild - Name: libsamplerate -BuildRequires: fftw3-devel libsndfile-devel libtool pkgconfig +Version: 0.1.8 +Release: 0 Summary: A Sample Rate Converter Library -Version: 0.1.7 -Release: 11 License: GPL-2.0+ Group: System/Libraries -Source: %{name}-%{version}.tar.bz2 -Source2: baselibs.conf -Patch0: %{name}-ac.diff -Patch1: libsamplerate_0.1.7-3.diff.gz Url: http://www.mega-nerd.com/SRC/ +Source0: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz +Source1: baselibs.conf +BuildRequires: fftw3-devel +BuildRequires: libsndfile-devel +BuildRequires: libtool +BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -43,55 +42,44 @@ conversion ratio can also vary with time for speeding up and slowing down effects. +%package -n libsamplerate0 +Summary: A Sample Rate Converter Library +Group: System/Libraries +%description -n libsamplerate0 +Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for +audio. One example of where such a thing would be useful is in +converting audio from the CD sample rate of 44.1kHz to the 48kHz sample +rate used by DAT players. -Authors: --------- - Erik de Castro Lopo <[email protected]> +SRC is capable of arbitrary and time varying conversions; from +downsampling by a factor of 12 to upsampling by the same factor. The +conversion ratio can also vary with time for speeding up and slowing +down effects. %package devel -License: GPL-2.0+ Summary: Include Files and Libraries mandatory for Development Group: Development/Libraries/C and C++ -Requires: libsamplerate = %{version} glibc-devel +Requires: glibc-devel +Requires: libsamplerate0 = %{version} %description devel This package contains all necessary include files and libraries needed to develop applications that require these. - - -Authors: --------- - Erik de Castro Lopo <[email protected]> - %package progs -License: GPL-2.0+ Summary: Example Programs for libsamplerate Group: Productivity/Multimedia/Sound/Utilities %description progs This package includes the example programs for libsamplerate. - - -Authors: --------- - Erik de Castro Lopo <[email protected]> - %prep %setup -q -%patch0 -%patch1 -p1 -for i in debian/patches/*diff ; do - patch -p1 <$i -done -find . -name "*.orig"|xargs rm %build -autoreconf --force --install -%configure --with-pic --disable-static -make %{?jobs:-j %jobs} +%configure --disable-silent-rules --disable-static +make %{?_smp_mflags} %check pushd tests @@ -99,32 +87,30 @@ popd %install -make DESTDIR="$RPM_BUILD_ROOT" install +# Since configure doesn't honor --docdir set htmldocdir here +make install DESTDIR=%{?buildroot} \ + htmldocdir=%{_defaultdocdir}/libsamplerate-devel # remove unneeded files -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la -# remove document Makefiles -rm -f doc/Makefile* - -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +rm -f %{buildroot}%{_libdir}/*.la -%clean -rm -rf $RPM_BUILD_ROOT +%post -n libsamplerate0 -p /sbin/ldconfig +%postun -n libsamplerate0 -p /sbin/ldconfig -%files +%files -n libsamplerate0 %defattr(-,root,root) -%{_libdir}/lib*.so.* +%doc AUTHORS COPYING +%{_libdir}/libsamplerate.so.0* %files devel %defattr(-,root,root) -%doc AUTHORS COPYING ChangeLog INSTALL doc -%{_libdir}/lib*.so -%{_includedir}/* -%{_libdir}/pkgconfig/*.pc +%doc ChangeLog +%{_defaultdocdir}/libsamplerate-devel +%{_libdir}/libsamplerate.so +%{_includedir}/samplerate.h +%{_libdir}/pkgconfig/samplerate.pc %files progs %defattr(-,root,root) -%{_bindir}/* +%{_bindir}/sndfile-resample %changelog ++++++ baselibs.conf ++++++ --- /var/tmp/diff_new_pack.8AKgvi/_old 2012-03-07 13:43:17.000000000 +0100 +++ /var/tmp/diff_new_pack.8AKgvi/_new 2012-03-07 13:43:17.000000000 +0100 @@ -1 +1 @@ -libsamplerate +libsamplerate0 -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
