package cleanups
This commit is contained in:
parent
2898e914a6
commit
b1e602b7ad
@ -9,7 +9,6 @@ URL: http://www.opus-codec.org/
|
||||
Source0: http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
|
||||
# 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)
|
||||
BuildRequires: doxygen
|
||||
|
||||
%description
|
||||
@ -36,7 +35,6 @@ cp %{SOURCE1} .
|
||||
make %{?_smp_mflags} V=1
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
# Remove libtool archives and static libs
|
||||
@ -46,21 +44,16 @@ rm -rf %{buildroot}%{_datadir}/doc/opus/html
|
||||
%check
|
||||
make check
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{!?_licensedir:%global license %%doc}
|
||||
%license COPYING
|
||||
%{_libdir}/libopus.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc README doc/html rfc6716.txt
|
||||
%{_includedir}/opus
|
||||
%{_libdir}/libopus.so
|
||||
|
||||
Loading…
Reference in New Issue
Block a user