Name: cpufetch Summary: Simple tool for determining CPU architecture License: MIT Version: 1.01 Release: 1%{?dist} URL: https://github.com/Dr-Noob/cpufetch Source0: %{URL}/archive/v%{version}/%{name}-v%{version}.tar.gz BuildRequires: gcc BuildRequires: make # Supports only x86_64, ARM and PowerPC ExclusiveArch: %{arm} aarch64 x86_64 ppc ppc64 ppc64le %description %{name} is a simple, yet fancy, CPU architecture fetching tool. It currently supports x86_64 CPUs (both Intel and AMD), ARM, and PowerPC. %prep %setup -q %build %set_build_flags %make_build %install %make_install # "make install" installs the LICENSE file as well rm %{buildroot}%{_datadir}/licenses/cpufetch-git/LICENSE # The man page is not actually gzipped mv %{buildroot}%{_mandir}/man1/%{name}.1{.gz,} %check # Try running the program to see if it doesn't crash %{buildroot}%{_bindir}/%{name} --debug %files %license LICENSE %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Mon Jan 03 2022 Artur Frenszek-Iwicki - 1.01-1 - Update to v1.01 * Mon Aug 23 2021 Artur Frenszek-Iwicki - 1.00-1 - Update to v1.00 * Tue Aug 17 2021 Artur Frenszek-Iwicki - 0.99-1 - Update to v0.99 - Add PowerPC to ExclusiveArch list (now supported) - Try running the program in %%check * Mon Jun 14 2021 Artur Frenszek-Iwicki - 0.98-1 - Update to v0.98 - Use "make install" instead of copying files manually * Mon Apr 05 2021 Artur Frenszek-Iwicki - 0.94-2 - Preserve timestamps when installing * Sat Apr 03 2021 Artur Frenszek-Iwicki - 0.94-1 - Initial packaging