%global shortname opus Name: lib%{shortname} Version: 1.0.1 Release: 1%{?dist} Summary: Opus Interactive Audio Codec License: BSD URL: http://opus-codec.org/ Source0: http://downloads.xiph.org/releases/opus/%{shortname}-%{version}.tar.gz Provides: %{shortname} = %{version}-%{release} %description Opus is a totally open, royalty-free, highly versatile audio codec. Opus is unmatched for interactive speech and music transmission over the Internet, but also intended for storage and streaming applications. It is standardized by the Internet Engineering Task Force (IETF) as RFC 6716 which incorporated technology from Skype's SILK codec and Xiph.Org's CELT codec. %package devel Summary: Development libraries and headers for libopus Requires: %{name} = %{version}-%{release} Provides: %{shortname}-devel = %{version}-%{release} %description devel Development libraries and headers for libopus. %prep %setup -q -n %{shortname}-%{version} %build %configure --disable-static make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} rm -rf %{buildroot}%{_libdir}/*.la %check make check %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS COPYING README %{_libdir}/libopus.so.* %{_mandir}/man3/opus_* %files devel %{_includedir}/opus/ %{_libdir}/libopus.so %{_libdir}/pkgconfig/opus.pc %{_datadir}/aclocal/opus.m4 %{_defaultdocdir}/opus/html/ %changelog * Wed Sep 12 2012 Tom Callaway - 1.0.1-1 - initial package