Bug 1965529

Summary: Review Request: icemon - A GUI monitor for Icecream
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: Package ReviewAssignee: Robert-André Mauchin 🐧 <eclipseo>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: eclipseo, jan.kratochvil, package-review
Target Milestone: ---Flags: eclipseo: fedora-review+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: icemon-3.3-6.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-04 06:15:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Kratochvil 2021-05-27 21:49:23 UTC
Spec URL: http://people.redhat.com/jkratoch/icemon.spec
SRPM URL: http://people.redhat.com/jkratoch/icemon-3.3-6.fc34.src.rpm
Description: A GUI monitor for Icecream, a distributed compiler system
Fedora Account System Username: jankratochvil

Comment 1 Robert-André Mauchin 🐧 2021-05-29 15:33:24 UTC
 - Please use a more explicit name for the archive:

Source0:        https://github.com/icecc/icemon/archive/v%{version}/%{name}-%{version}.tar.gz

 - Please justify the patch or link to an upstream PR/commit:

# Backport of docbook -> asciidoc from upstream
# https://github.com/icecc/icemon/commit/479490ffbe0d13ed3059b67241671cb78521a10a
Patch1:         icemon-asciidoc.patch

 - The SPEC must be updated to the latest CMake guidelines, see https://docs.fedoraproject.org/en-US/packaging-guidelines/CMake/

%build
%cmake
%mcake_build

%install
%cmake_install

[…]

%check
%ctest

 - Use https:

URL:            https://kfunk.org/tag/icemon/

 - End your description with a period;

%description
A GUI monitor for Icecream, a distributed compiler system.

 - The manpage should not be installed with %doc, and the manpage extension should be globbed as the compression may change in the future:

%{_mandir}/man1/icemon.1.*

 - This could be simplified:

%{_datadir}/icons/hicolor/22x22/apps/icemon.png
%{_datadir}/icons/hicolor/16x16/apps/icemon.png
%{_datadir}/icons/hicolor/48x48/apps/icemon.png
%{_datadir}/icons/hicolor/128x128/apps/icemon.png
%{_datadir}/icons/hicolor/32x32/apps/icemon.png

→

%{_datadir}/icons/hicolor/*/apps/icemon.png

 - Consider providing an Appdata file and validate it: https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/

 - Add CHANGELOG.md and README.md to the %doc

%doc CHANGELOG.md README.md

Comment 2 Jan Kratochvil 2021-05-29 18:38:36 UTC
Thanks, in fact you did all the hard work.

Spec URL: http://people.redhat.com/jkratoch/icemon.spec
SRPM URL: http://people.redhat.com/jkratoch/icemon-3.3-6.fc34.src.rpm
metainfo: https://people.redhat.com/jkratoch/icemon.metainfo.xml

There is one issue but it works now:
# FIXME: This command would install it to /usr/share/appdata .
# DESTDIR=%{buildroot} appstream-util install %{SOURCE1}
install -m644 -D %{SOURCE1} %{buildroot}/%{_metainfodir}/%{name}.metainfo.xml

Comment 3 Robert-André Mauchin 🐧 2021-05-29 19:26:30 UTC
LGTM, package approved.