diff --git a/libdaemon.spec b/libdaemon.spec index d074bb4a0f621205e49cec17a5ea540c6e7ef5f7..f257a0aec181f39e38ffcecf271b100dcc7206b4 100644 --- a/libdaemon.spec +++ b/libdaemon.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: libdaemon Version: 0.14 -Release: 15%{?dist} +Release: 15%{anolis_release}%{?dist} Summary: Library for writing UNIX daemons Group: System Environment/Libraries License: LGPLv2+ @@ -10,6 +11,8 @@ Source0: http://0pointer.de/lennart/projects/libdaemon/%{name}-%{version}.tar.gz # Requires lynx to build the docs BuildRequires: lynx +Requires: glibc + %description libdaemon is a lightweight C library which eases the writing of UNIX daemons. It consists of the following parts: @@ -23,6 +26,15 @@ It consists of the following parts: * An API for running subprocesses with STDOUT and STDERR redirected to syslog. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + + +%description doc +Doc pages for %{name}. + %package devel Group: Development/Libraries Summary: Libraries and header files for libdaemon development @@ -51,9 +63,11 @@ rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/style.css %files %defattr(-,root,root,-) -%doc LICENSE README %{_libdir}/*so.* +%files doc +%doc LICENSE README + %files devel %defattr(-,root,root,-) %doc doc/README.html doc/style.css @@ -62,6 +76,9 @@ rm $RPM_BUILD_ROOT/%{_datadir}/doc/libdaemon/style.css %{_libdir}/pkgconfig/*.pc %changelog +* Mon Jul 17 2022 mgb01105731 - 0.14-15.0.1 +- Add doc sub package + * Wed Feb 07 2018 Fedora Release Engineering - 0.14-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild