Accepting request 356119 from home:pluskalm:branches:multimedia:libs

- Enable tests during package build
- Cleanup spec file with spec-cleaner
- Drop not needed libtool dependency for build

OBS-URL: https://build.opensuse.org/request/show/356119
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/opus?expand=0&rev=17
This commit is contained in:
Olaf Hering 2016-01-27 07:38:00 +00:00 committed by Git OBS Bridge
parent d267a9c2d8
commit 611b3e17be
2 changed files with 24 additions and 19 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jan 26 20:23:12 UTC 2016 - mpluskal@suse.com
- Enable tests during package build
- Cleanup spec file with spec-cleaner
- Drop not needed libtool dependency for build
-------------------------------------------------------------------
Tue Jan 19 13:24:17 UTC 2016 - idonmez@suse.com

View File

@ -17,19 +17,18 @@
#
%define soname 0
Name: opus
Version: 1.1.2
Release: 0
%define soname 0
Summary: Opus Audio Codec Library
License: BSD-3-Clause
Group: System/Libraries
Url: http://opus-codec.org/
Source: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
Source99: baselibs.conf
Url: http://opus-codec.org/
BuildRequires: pkg-config
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libtool
BuildRequires: pkgconfig
%description
The Opus codec is designed for interactive speech and audio transmission over
@ -65,7 +64,6 @@ The Opus codec is designed for interactive speech and audio transmission over
the Internet. It is designed by the IETF Codec Working Group and incorporates
technology from Skype's SILK codec and Xiph.Org's CELT codec.
%prep
%setup -q
@ -76,20 +74,20 @@ technology from Skype's SILK codec and Xiph.Org's CELT codec.
--enable-custom-modes \
--enable-intrinsics
%__make %{?_smp_mflags}
make %{?_smp_mflags}
%check
make %{?_smp_mflags} check
%install
%makeinstall
make DESTDIR=%{buildroot} install %{?_smp_mflags}
%__rm -f "%{buildroot}%{_libdir}"/*.la
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libopus%{soname} -p /sbin/ldconfig
%postun -n libopus%{soname} -p /sbin/ldconfig
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files -n libopus%{soname}
%defattr(-,root,root)
%doc AUTHORS COPYING README