File bashtop.spec of Package bashtop

#
# spec file for package bashtop
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           bashtop
Version:        0.8.16+0
Release:        0
Summary:        Linux resource monitor
License:        Apache-2.0
Url:            https://github.com/aristocratos/bashtop
Source:         %{name}-%{version}.tar.gz
Patch:          bashtop-themes.patch
BuildArch:      noarch

%description
Resource monitor that shows usage and stats for processor, memory, disks, network and processes.

%prep
%autosetup -p1

%build

%install
%__install -Dpm 755 %{name} %{buildroot}/%{_bindir}/%{name}
mkdir -p %{buildroot}%{_datadir}/%{name}
cp -arf ./themes %{buildroot}%{_datadir}/%{name}/

%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_datadir}/%{name}/

%changelog

openSUSE Build Service is sponsored by