You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
2.0 KiB
73 lines
2.0 KiB
Name: opusfile
|
|
Version: 0.2
|
|
Release: 2%{?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
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
* 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
|