Install html docs in devel package

This commit is contained in:
Peter Robinson 2014-10-05 18:09:51 +01:00
parent 2915b32e6d
commit f8f96008a4

View File

@ -1,6 +1,6 @@
Name: opus
Version: 1.1
Release: 4%{?dist}
Release: 5%{?dist}
Summary: An audio codec for use in low-delay speech and audio communication
Group: System Environment/Libraries
@ -33,7 +33,7 @@ cp %{SOURCE1} .
%build
%configure --enable-custom-modes --disable-static
make %{?_smp_mflags}
make %{?_smp_mflags} V=1
%install
rm -rf %{buildroot}
@ -41,6 +41,7 @@ make install DESTDIR=%{buildroot}
# Remove libtool archives and static libs
find %{buildroot} -type f -name "*.la" -delete
rm -rf %{buildroot}%{_datadir}/doc/opus/html
%check
make check
@ -59,6 +60,7 @@ rm -rf %{buildroot}
%files devel
%defattr(-,root,root,-)
%doc doc/html
%{_includedir}/opus
%{_libdir}/libopus.so
%{_libdir}/pkgconfig/opus.pc
@ -66,6 +68,9 @@ rm -rf %{buildroot}
%{_datadir}/man/man3/opus_*.3.gz
%changelog
* Sun Oct 5 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-5
- Install html docs in devel package
* Fri Oct 3 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.1-4
- Build developer docs