From 567cf1fa61aa51519bd7d03eb6ef4a09564a8cfc Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Mon, 26 Sep 2016 11:42:25 +0200 Subject: [PATCH] Add doc sub-package --- libdvbpsi.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libdvbpsi.spec b/libdvbpsi.spec index 9cce14e..b3c9579 100644 --- a/libdvbpsi.spec +++ b/libdvbpsi.spec @@ -14,6 +14,9 @@ BuildRequires: libtool Summary: Development package for %{name} Requires: %{name}%{_isa} = %{version}-%{release} +%package doc +Summary: Documentation for %{name} + %description libdvbpsi is a very simple and fully portable library designed for @@ -24,6 +27,9 @@ libdvbpsi is a very simple and fully portable library designed for MPEG TS and DVB PSI table decoding and generation. This package contains development files for %{name} +%description doc +Documentation for %{name}. + %prep %setup -q -n %{name}-%{version}%{?pre} @@ -50,11 +56,13 @@ rm -f %{buildroot}%{_libdir}/lib*.la %{_libdir}/%{name}.so.* %files devel -%doc doc/doxygen/html %{_includedir}/dvbpsi/ %{_libdir}/lib*.so %{_libdir}/pkgconfig/libdvbpsi.pc +%files doc +%doc doc/doxygen/html + %changelog * Thu Sep 15 2016 Nicolas Chauvet - 1.3.0-2