2025-03-12 09:26:12 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package dool
|
|
|
|
|
#
|
2025-03-12 15:37:29 +00:00
|
|
|
# Copyright (c) 2025 SUSE LLC
|
2025-03-12 09:26:12 +00:00
|
|
|
#
|
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: dool
|
2025-09-29 05:12:06 +00:00
|
|
|
Version: 1.3.8
|
2025-03-12 09:26:12 +00:00
|
|
|
Release: 0
|
2025-03-12 15:37:29 +00:00
|
|
|
Summary: Versatile vmstat, iostat and ifstat replacement
|
2025-03-12 09:26:12 +00:00
|
|
|
License: GPL-2.0-only
|
|
|
|
|
Group: System/Monitoring
|
|
|
|
|
URL: https://github.com/scottchiefbaker/dool
|
|
|
|
|
Source: https://github.com/scottchiefbaker/dool/archive/refs/tags/v%{version}.tar.gz
|
|
|
|
|
Source1: %{name}.desktop
|
|
|
|
|
BuildRequires: fdupes
|
2025-03-12 15:37:29 +00:00
|
|
|
BuildRequires: make
|
2025-03-12 09:26:12 +00:00
|
|
|
Requires: python3-curses
|
|
|
|
|
Requires: python3-six
|
|
|
|
|
Provides: dstat = %{version}
|
|
|
|
|
Obsoletes: dstat <= 0.7.4
|
2025-03-12 15:37:29 +00:00
|
|
|
BuildArch: noarch
|
2025-03-12 09:26:12 +00:00
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Dool is a command line tool to monitor many aspects of your Linux system: CPU, Memory, Network, Load Average, etc. It also includes a robust plug-in architecture to allow monitoring other system metrics.
|
|
|
|
|
|
|
|
|
|
Dool is a Python3 compatible fork of Dstat.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
sed -i 's/#!\/usr\/bin\/env python/#!\/usr\/bin\/python/' dool
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make %{?_smp_mflags} DESTDIR=%{buildroot} install docs-install
|
|
|
|
|
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/applications/%{name}.desktop"
|
|
|
|
|
|
|
|
|
|
rm docs/Makefile
|
|
|
|
|
%fdupes "%{buildroot}%{_datadir}/%{name}"
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS ChangeLog README.md
|
|
|
|
|
%doc docs/*.html docs/*.adoc
|
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
|
%{_datadir}/%{name}/*
|
2025-03-12 15:37:29 +00:00
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
2025-03-12 09:26:12 +00:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
%changelog
|