Name: opus
Version: 1.1
Release: 1
Summary: Opus - audio codec
#Group:
License: LGPLv2
URL: http://www.opus-codec.org
Source: http://downloads.xiph.org/releases/opus/opus-%{version}.tar.gz
#BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%description
The Opus audio codec.
%prep
%setup -q
#export CFLAGS="$CFLAGS -fPIC"
./configure --prefix=/usr \
--enable-shared \
--disable-static
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Remove unneded stuff
rm -r $RPM_BUILD_ROOT/usr/share
rm $RPM_BUILD_ROOT/usr/lib/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_libdir}/*
%package devel
Summary: Opus headers
Requires: opus
%description devel
Opus headers
%files devel
%{_includedir}/*
%doc
%changelog
Attachment | Size | Date |
---|---|---|
opus-1.1-1.armv7hl.rpm | 323.47 KB | 04/01/2014 - 00:55 |
opus-devel-1.1-1.armv7hl.rpm | 21.16 KB | 04/01/2014 - 00:55 |
Recent comments