add compat bits in for el5/6
This commit is contained in:
parent
4c88022a34
commit
e5b0f257b0
@ -7,8 +7,9 @@ Group: System Environment/Libraries
|
||||
License: BSD
|
||||
URL: http://www.opus-codec.org/
|
||||
Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
|
||||
# This is the current IETF Working Group draft
|
||||
# This is the final IETF Working Group RFC
|
||||
Source1: http://tools.ietf.org/rfc/rfc6716.txt
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
%description
|
||||
The Opus codec is designed for interactive speech and audio transmission over
|
||||
@ -34,6 +35,7 @@ cp %{SOURCE1} .
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# Remove libtool archives and static libs
|
||||
@ -43,6 +45,9 @@ find %{buildroot} -name '*.a' -exec rm -f {} ';'
|
||||
%check
|
||||
make check
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
Loading…
Reference in New Issue
Block a user