Add doc sub-package

epel8
Nicolas Chauvet 8 years ago
parent 762545b958
commit 567cf1fa61

@ -14,6 +14,9 @@ BuildRequires: libtool
Summary: Development package for %{name} Summary: Development package for %{name}
Requires: %{name}%{_isa} = %{version}-%{release} Requires: %{name}%{_isa} = %{version}-%{release}
%package doc
Summary: Documentation for %{name}
%description %description
libdvbpsi is a very simple and fully portable library designed for 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. MPEG TS and DVB PSI table decoding and generation.
This package contains development files for %{name} This package contains development files for %{name}
%description doc
Documentation for %{name}.
%prep %prep
%setup -q -n %{name}-%{version}%{?pre} %setup -q -n %{name}-%{version}%{?pre}
@ -50,11 +56,13 @@ rm -f %{buildroot}%{_libdir}/lib*.la
%{_libdir}/%{name}.so.* %{_libdir}/%{name}.so.*
%files devel %files devel
%doc doc/doxygen/html
%{_includedir}/dvbpsi/ %{_includedir}/dvbpsi/
%{_libdir}/lib*.so %{_libdir}/lib*.so
%{_libdir}/pkgconfig/libdvbpsi.pc %{_libdir}/pkgconfig/libdvbpsi.pc
%files doc
%doc doc/doxygen/html
%changelog %changelog
* Thu Sep 15 2016 Nicolas Chauvet <kwizart@gmail.com> - 1.3.0-2 * Thu Sep 15 2016 Nicolas Chauvet <kwizart@gmail.com> - 1.3.0-2

Loading…
Cancel
Save