diff --git a/baselibs.conf b/baselibs.conf index 33e6f0e..128508c 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1 +1 @@ -libsndfile +libsndfile1 diff --git a/libsndfile-progs.changes b/libsndfile-progs.changes index 4e0bacb..ab03789 100644 --- a/libsndfile-progs.changes +++ b/libsndfile-progs.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 21 17:30:11 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) + ------------------------------------------------------------------- Fri Jul 29 14:48:03 CEST 2011 - tiwai@suse.de diff --git a/libsndfile-progs.spec b/libsndfile-progs.spec index 081f925..c92a76a 100644 --- a/libsndfile-progs.spec +++ b/libsndfile-progs.spec @@ -21,12 +21,12 @@ Name: libsndfile-progs BuildRequires: alsa-devel flac-devel gcc-c++ libjack-devel libvorbis-devel pkgconfig sqlite-devel Summary: Example Programs for libsndfile Version: 1.0.25 -Release: 2 +Release: 3 License: LGPLv2.1+ Group: System/Libraries Source: libsndfile-%{version}.tar.gz Patch: libsndfile-example-fix.diff -Url: http://www.mega-nerd.com/libsndfile/ +URL: http://www.mega-nerd.com/libsndfile/ BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -60,9 +60,6 @@ rm -rf $RPM_BUILD_ROOT%{_libdir} rm -rf $RPM_BUILD_ROOT%{_includedir} rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libsndfile1-dev -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-, root, root) %{_bindir}/* diff --git a/libsndfile.changes b/libsndfile.changes index 4492e14..d5bf146 100644 --- a/libsndfile.changes +++ b/libsndfile.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 21 17:30:02 UTC 2011 - jengelh@medozas.de + +- Remove redundant/unwanted tags/section (cf. specfile guidelines) + ------------------------------------------------------------------- Wed Aug 24 18:07:57 UTC 2011 - crrodriguez@opensuse.org diff --git a/libsndfile.spec b/libsndfile.spec index d9cc7f6..9c55a2a 100644 --- a/libsndfile.spec +++ b/libsndfile.spec @@ -18,10 +18,11 @@ Name: libsndfile +%define lname libsndfile1 Version: 1.0.25 -Release: 2 +Release: 4 License: LGPLv2.1+ -Summary: A Library to Handle Various Audio File Formats +Summary: Development/Libraries/C and C++ Group: System/Libraries BuildRequires: alsa-devel BuildRequires: flac-devel @@ -36,7 +37,7 @@ Provides: libsnd %ifarch ppc64 Obsoletes: libsndfile-64bit %endif -Url: http://www.mega-nerd.com/libsndfile/ +URL: http://www.mega-nerd.com/libsndfile/ # Source: libsndfile-%{version}.tar.gz Source2: baselibs.conf @@ -52,8 +53,17 @@ AIFF, AU, and WAV files, through one standard interface. It can currently read and write 8, 16, 24, and 32-bit PCM files as well as 32-bit floating point WAV files and a number of compressed formats. +%package -n %lname +Summary: A Library to Handle Various Audio File Formats +Group: System/Libraries + +%description -n %lname +Libsndfile is a C library for reading and writing sound files, such +as AIFF, AU, and WAV files, through one standard interface. It can +currently read and write 8, 16, 24, and 32-bit PCM files as well as +32-bit floating point WAV files and a number of compressed formats. + %package devel -License: LGPLv2.1+ Summary: Development package for the libsndfile library Group: Development/Libraries/C and C++ Requires: %{name} = %{version} @@ -99,21 +109,18 @@ rm -rf %{buildroot}%{_mandir}/man1 make -C examples distclean rm -rf %{buildroot}%{_datadir}/doc/libsndfile1-dev -%post -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%clean -rm -rf %{buildroot} +%postun -n %lname -p /sbin/ldconfig %check pushd src make check popd -%files +%files -n %lname %defattr(-, root, root) -%{_libdir}/libsndfile.so.* +%{_libdir}/libsndfile.so.1* %files devel %defattr(-, root, root)