diff --git a/libgtop2.spec b/libgtop2.spec index 7cbc7593f7103100244ba36a1d475570923bf837..09be0860412a6ce42dad4307d27b33a280d7ca8c 100644 --- a/libgtop2.spec +++ b/libgtop2.spec @@ -1,6 +1,7 @@ +%define anolis_release .0.1 Name: libgtop2 Version: 2.38.0 -Release: 3%{?dist} +Release: 3%{anolis_release}%{?dist} Summary: LibGTop library (version 2) License: GPLv2+ @@ -11,6 +12,8 @@ BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-introspection-1.0) BuildRequires: gettext +Requires: glibc + %description LibGTop is a library for portably obtaining information about processes, such as their PID, memory usage, etc. @@ -23,6 +26,14 @@ Requires: %{name}%{?_isa} = %{version}-%{release} This package provides the necessary development libraries and include files to allow you to develop with LibGTop. +%package doc +Summary: Documents for %{name} +BuildArch: noarch +Requires: %{name} = %{version}-%{release} + +%description doc +Doc pages for %{name}. + %prep %setup -q -n libgtop-%{version} @@ -40,7 +51,6 @@ find %{buildroot} -name '*.la' -delete %ldconfig_scriptlets %files -f libgtop.lang -%doc AUTHORS NEWS README %license COPYING %{_libdir}/libgtop-2.0.so.11* %dir %{_libdir}/girepository-1.0 @@ -52,13 +62,19 @@ find %{buildroot} -name '*.la' -delete %{_libdir}/pkgconfig/*.pc %dir %{_datadir}/gir-1.0 %{_datadir}/gir-1.0/GTop-2.0.gir +# not worth fooling with +%exclude %{_datadir}/info + +%files doc +%doc AUTHORS NEWS README %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/libgtop -# not worth fooling with -%exclude %{_datadir}/info %changelog +* Fri Jul 15 2022 Weisson - 2.38.0-3.0.1 +- Add doc sub package + * Wed Feb 07 2018 Fedora Release Engineering - 2.38.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild