Accepting request 505585 from home:pluskalm:branches:multimedia:libs
- Cleanup with spec-cleaner OBS-URL: https://build.opensuse.org/request/show/505585 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/opus?expand=0&rev=31
This commit is contained in:
parent
6fdc859e7e
commit
66fa15f7b8
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 21:56:12 UTC 2017 - mpluskal@suse.com
|
||||
|
||||
- Cleanup with spec-cleaner
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 20 21:17:41 UTC 2017 - aloisio@gmx.com
|
||||
|
||||
|
16
opus.spec
16
opus.spec
@ -24,11 +24,10 @@ Release: 0
|
||||
Summary: Opus Audio Codec Library
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Libraries/C and C++
|
||||
Url: http://opus-codec.org/
|
||||
Url: https://opus-codec.org/
|
||||
Source: https://archive.mozilla.org/pub/opus/%{name}-%{version}.tar.gz
|
||||
Source99: baselibs.conf
|
||||
BuildRequires: pkg-config
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
%description
|
||||
The Opus codec is designed for interactive speech and audio transmission over
|
||||
@ -59,33 +58,26 @@ technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%if 0%{?suse_version} <= 1110
|
||||
--disable-intrinsics \
|
||||
%endif
|
||||
--disable-static \
|
||||
--disable-silent-rules \
|
||||
--disable-doc \
|
||||
--enable-custom-modes
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make %{?_smp_mflags} check
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
||||
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
%post -n libopus%{sover} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libopus%{sover} -p /sbin/ldconfig
|
||||
|
||||
%files -n libopus%{sover}
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS COPYING README
|
||||
%{_libdir}/libopus.so.%{sover}
|
||||
%{_libdir}/libopus.so.%{sover}.*
|
||||
%{_libdir}/libopus.so.%{sover}*
|
||||
|
||||
%files -n libopus-devel
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user