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
|
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
|
Summary: Opus Audio Codec Library
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Libraries/C and C++
|
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
|
Source: https://archive.mozilla.org/pub/opus/%{name}-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: pkg-config
|
BuildRequires: pkgconfig
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Opus codec is designed for interactive speech and audio transmission over
|
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
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
%if 0%{?suse_version} <= 1110
|
|
||||||
--disable-intrinsics \
|
|
||||||
%endif
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-silent-rules \
|
--disable-silent-rules \
|
||||||
--disable-doc \
|
--disable-doc \
|
||||||
--enable-custom-modes
|
--enable-custom-modes
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
%make_install
|
||||||
|
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%post -n libopus%{sover} -p /sbin/ldconfig
|
%post -n libopus%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libopus%{sover} -p /sbin/ldconfig
|
%postun -n libopus%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libopus%{sover}
|
%files -n libopus%{sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README
|
||||||
%{_libdir}/libopus.so.%{sover}
|
%{_libdir}/libopus.so.%{sover}*
|
||||||
%{_libdir}/libopus.so.%{sover}.*
|
|
||||||
|
|
||||||
%files -n libopus-devel
|
%files -n libopus-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Loading…
Reference in New Issue
Block a user