Accepting request 357505 from multimedia:libs
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/357505 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/opus?expand=0&rev=12
This commit is contained in:
commit
33c96f62ed
12
opus.changes
12
opus.changes
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 27 09:32:12 UTC 2016 - olaf@aepfle.de
|
||||||
|
|
||||||
|
- Disable SSE2 in SLE_11 due to code or compiler bugs.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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
|
Tue Jan 19 13:24:17 UTC 2016 - idonmez@suse.com
|
||||||
|
|
||||||
|
40
opus.spec
40
opus.spec
@ -17,24 +17,23 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define soname 0
|
||||||
Name: opus
|
Name: opus
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 0
|
Release: 0
|
||||||
%define soname 0
|
|
||||||
Summary: Opus Audio Codec Library
|
Summary: Opus Audio Codec Library
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
Url: http://opus-codec.org/
|
||||||
Source: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
|
Source: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
Url: http://opus-codec.org/
|
BuildRequires: pkg-config
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: libtool
|
|
||||||
BuildRequires: pkgconfig
|
|
||||||
|
|
||||||
%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
|
||||||
the Internet. It is designed by the IETF Codec Working Group and incorporates
|
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.
|
technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
||||||
|
|
||||||
%package -n libopus%{soname}
|
%package -n libopus%{soname}
|
||||||
Summary: Opus Audio Codec Library
|
Summary: Opus Audio Codec Library
|
||||||
@ -43,7 +42,7 @@ Group: System/Libraries
|
|||||||
%description -n libopus%{soname}
|
%description -n libopus%{soname}
|
||||||
The Opus codec is designed for interactive speech and audio transmission over
|
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
|
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.
|
technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
||||||
|
|
||||||
%package -n libopus-devel
|
%package -n libopus-devel
|
||||||
Summary: Opus Audio Codec Library Development Environment
|
Summary: Opus Audio Codec Library Development Environment
|
||||||
@ -53,7 +52,7 @@ Requires: libopus%{soname} = %{version}
|
|||||||
%description -n libopus-devel
|
%description -n libopus-devel
|
||||||
The Opus codec is designed for interactive speech and audio transmission over
|
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
|
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.
|
technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
||||||
|
|
||||||
%package -n libopus-devel-static
|
%package -n libopus-devel-static
|
||||||
Summary: Opus Audio Codec Library Static Library
|
Summary: Opus Audio Codec Library Static Library
|
||||||
@ -63,33 +62,36 @@ Requires: libopus-devel = %{version}
|
|||||||
%description -n libopus-devel-static
|
%description -n libopus-devel-static
|
||||||
The Opus codec is designed for interactive speech and audio transmission over
|
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
|
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.
|
technology from Skype's SILK codec and Xiph.Org's CELT codec.
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
--disable-silent-rules \
|
%if 0%{?suse_version} > 1110
|
||||||
--disable-doc \
|
--enable-intrinsics \
|
||||||
--enable-custom-modes \
|
%else
|
||||||
--enable-intrinsics
|
--disable-intrinsics \
|
||||||
|
%endif
|
||||||
|
--disable-silent-rules \
|
||||||
|
--disable-doc \
|
||||||
|
--enable-custom-modes
|
||||||
|
|
||||||
%__make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make %{?_smp_mflags} check
|
||||||
|
|
||||||
%install
|
%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
|
%post -n libopus%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -n libopus%{soname} -p /sbin/ldconfig
|
%postun -n libopus%{soname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%clean
|
|
||||||
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
||||||
|
|
||||||
%files -n libopus%{soname}
|
%files -n libopus%{soname}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc AUTHORS COPYING README
|
%doc AUTHORS COPYING README
|
||||||
|
Loading…
Reference in New Issue
Block a user