diff --git a/btop-1.3.0.tar.gz b/btop-1.3.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..466006061e9873fbd2ae0135b3b99d0cd4ee4cb0 Binary files /dev/null and b/btop-1.3.0.tar.gz differ diff --git a/btop.spec b/btop.spec new file mode 100644 index 0000000000000000000000000000000000000000..b463106675fb5625d8caa6b10f5b75ef5bf050d6 --- /dev/null +++ b/btop.spec @@ -0,0 +1,47 @@ +Name: btop +Version: 1.3.0 +Release: 1 +Summary: Modern and colorful command line resource monitor that shows usage and stats + + +License: Apache-2.0 and MIT and Public Domain +URL: https://github.com/aristocratos/btop +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: desktop-file-utils +BuildRequires: gcc-c++ +BuildRequires: make +BuildRequires: dos2unix + +%description +Resource monitor that shows usage and stats for processor, +memory, disks, network and processes. + +C++ version and continuation of bashtop and bpytop. + +%prep +%autosetup + +%build +# to build debuginfo +export CXXFLAGS="${CXXFLAGS} -g" +%make_build + +%install +%make_install PREFIX=%{_prefix} +rm -f %{buildroot}%{_datadir}/btop/README.md +dos2unix %{buildroot}%{_datadir}/applications/btop.desktop +desktop-file-validate %{buildroot}%{_datadir}/applications/btop.desktop + + +%files +%license LICENSE +%doc README.md CHANGELOG.md +%{_bindir}/%{name} +%{_datadir}/applications/btop.desktop +%{_datadir}/btop +%{_datadir}/icons/hicolor/*/apps/btop.* + +%changelog +* Tue Feb 20 2024 wyxhjr - 1.3.0-1 +- Init package diff --git a/btop.yaml b/btop.yaml new file mode 100644 index 0000000000000000000000000000000000000000..cdaaec9da9591062f3119ce18bd2e15b21be6488 --- /dev/null +++ b/btop.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: strukturag/btop +tag_prefix: "^v" +separator: "."