Name: td-system-tools Version: 1.5.6 Release: 1 Summary: Print basic system information and banners Group: Applications/System License: GPL-3+ URL: https://www.nntb.no/~dreibh/system-tools/ Source: https://www.nntb.no/~dreibh/system-tools/download/%{name}-%{version}.tar.xz AutoReqProv: on BuildRequires: cmake BuildRequires: gcc BuildRequires: gcc-c++ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build # Meta-package td-system-tools: install td-system-tools-all => install all sub-packages! Requires: %{name}-all %description This package contains programs for printing basic system information and for system maintenance. System-Info displays basic status information about the system: hostname, uptime, CPU, memory statistics, disk space statistics, SSH public key hashes, and networking information. Furthermore, it can be configured to show one or more banners (for example, a project name). System-Info can be configured to be automatically run when logging in, providing the user an up-to-date overview of the system. System-Maintenance runs basic system maintenance tasks: trying to repair broken package management, updating the package management databases, installing all available updates, checking for old kernels and removing them, trim SSD or unmap unused storage. %prep %setup -q %build %cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc . %cmake_build %install %cmake_install %files %package system-info Summary: Perform basic system maintenance Group: Applications/System BuildArch: noarch Recommends: subnetcalc Suggests: banner Suggests: figlet Suggests: toilet %description system-info This program displays basic status information about the system: hostname, uptime, CPU, memory statistics, disk space statistics, SSH public key hashes, and networking information. Furthermore, it can be configured to show one or more banners (for example, a project name). System-Info can be configured to be automatically run when logging in, providing the user an up-to-date overview of the system. %files system-info %{_bindir}/System-Info %{_mandir}/man1/System-Info.1.gz %{_sysconfdir}/profile.d/system-info.sh %{_sysconfdir}/profile.d/system-info.csh %{_sysconfdir}/system-info.d/01-example %package system-maintenance Summary: Perform basic system maintenance tasks Group: Applications/System BuildArch: noarch Recommends: td-system-tools-system-info %description system-maintenance This program runs basic system maintenance tasks: trying to repair broken package management, updating the package management databases, installing all available updates, checking for old kernels and removing them, trim SSD or unmap unused storage. %files system-maintenance %{_bindir}/System-Maintenance %{_mandir}/man1/System-Maintenance.1.gz %{_sysconfdir}/system-maintenance.d/XX-example %package configure-grub Summary: Helper tool to adjust GRUB configuration Group: Applications/System BuildArch: noarch Recommends: td-system-tools-system-info %description configure-grub This program adjusts a GRUB configuration file by applying a configuration from a template, and merging the existing configurations settings with additional customisations. It can for example be used to set a custom screen resolution (GRUB_GFXMODE option) or startup tune (GRUB_INIT_TUNE option). Warning: This program is meant to be used by expert users! Do not modify a working GRUB configuration without knowing how to boot the system from a rescue media to fix a broken configuration! %files configure-grub %{_bindir}/configure-grub %{_mandir}/man1/configure-grub.1.gz %{_datadir}/configure-grub/grub-defaults-nornet %{_datadir}/configure-grub/grub-defaults-standard %package all Summary: Meta package for system information and maintenance tools Group: Applications/System BuildArch: noarch Requires: td-system-tools-system-info Requires: td-system-tools-system-maintenance Recommends: td-system-tools-configure-grub %description all This package is a meta package for the system information and maintenance tools. %files all %changelog * Wed Dec 06 2023 Thomas Dreibholz - 1.5.6 - New upstream release. * Wed Nov 15 2023 Thomas Dreibholz - 1.5.6 - New upstream release.