parent
bde52c5119
commit
e2a46f4963
@ -0,0 +1 @@
|
||||
/opusfile-0.2.tar.gz
|
@ -0,0 +1,69 @@
|
||||
Name: opusfile
|
||||
Version: 0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: A high-level API for decoding and seeking within .opus files
|
||||
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://www.opus-codec.org/
|
||||
Source0: http://downloads.xiph.org/releases/opus/%{name}-%{version}.tar.gz
|
||||
|
||||
BuildRequires: libogg-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: opus-devel
|
||||
|
||||
%description
|
||||
libopusfile provides a high-level API for decoding and seeking
|
||||
within .opus files. It includes:
|
||||
* Support for all files with at least one Opus stream (including
|
||||
multichannel files or Ogg files where Opus is muxed with something else).
|
||||
* Full support, including seeking, for chained files.
|
||||
* A simple stereo downmixing API (allowing chained files to be
|
||||
decoded with a single output format, even if the channel count changes).
|
||||
* Support for reading from a file, memory buffer, or over HTTP(S)
|
||||
(including seeking).
|
||||
* Support for both random access and streaming data sources.
|
||||
|
||||
%package devel
|
||||
Summary: Development package for %{name}
|
||||
Group: Development/Libraries
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Files for development with %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} INSTALL='install -p'
|
||||
|
||||
#Remove libtool archives.
|
||||
find %{buildroot} -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc COPYING AUTHORS
|
||||
%{_libdir}/libopusfile.so.*
|
||||
|
||||
%files devel
|
||||
%doc %{_docdir}/%{name}
|
||||
%{_includedir}/opus/opusfile*
|
||||
%{_libdir}/pkgconfig/opusfile.pc
|
||||
%{_libdir}/libopusfile.so
|
||||
|
||||
%changelog
|
||||
* Wed Nov 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> 0.2-1
|
||||
- Update to 0.2
|
||||
|
||||
* Sun Nov 4 2012 Peter Robinson <pbrobinson@fedoraproject.org> 0.1-1
|
||||
- Initial package
|
Loading…
Reference in new issue