Accepting request 92979 from multimedia:libs

- Remove redundant/unwanted tags/section (cf. specfile guidelines) (forwarded request 92928 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/92979
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsndfile?expand=0&rev=35
This commit is contained in:
Stephan Kulow
2011-11-22 16:48:27 +00:00
committed by Git OBS Bridge
5 changed files with 29 additions and 15 deletions

View File

@@ -1 +1 @@
libsndfile
libsndfile1

View File

@@ -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

View File

@@ -26,7 +26,7 @@ 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}/*

View File

@@ -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

View File

@@ -18,10 +18,11 @@
Name: libsndfile
%define lname libsndfile1
Version: 1.0.25
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)