Name: growlight
Version: 1.2.38
Release: %autorelease
Summary: Disk manipulation and system setup tool
License: GPLv3+
URL: https://nick-black.com/dankwiki/index.php/Growlight
Source0: https://github.com/dankamongmen/%{name}/archive/v%{version}.tar.gz
Source1: https://github.com/dankamongmen/%{name}/releases/download/v%{version}/v%{version}.tar.gz.asc
Source2: https://nick-black.com/dankamongmen.gpg
BuildRequires: gnupg2
BuildRequires: cmake
BuildRequires: doctest-devel
BuildRequires: gcc-c++
BuildRequires: readline-devel
BuildRequires: libpciaccess-devel
BuildRequires: pkgconfig(libpci)
BuildRequires: pkgconfig(libatasmart)
BuildRequires: pkgconfig(libcap)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(nettle)
BuildRequires: pkgconfig(notcurses)
BuildRequires: device-mapper-devel
BuildRequires: cryptsetup-devel
BuildRequires: pandoc
%description
Growlight can manipulate both physical (NVMe, SATA, etc.) and virtual (mdadm,
device-mapper, etc.) block devices, help identify bottlenecks in a storage
topology, create and destroy filesystems, and prepare a machine for initial
boot when run in an installer context. Both full-screen and REPL readline UIs
are available.
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%autosetup
%build
%cmake -DUSE_LIBZFS=off .
%cmake_build
%install
%cmake_install
%files
%doc README.md
%license COPYING
%{_sbindir}/growlight
%{_sbindir}/growlight-readline
%{_mandir}/man8/*.8*
%{_datadir}/%{name}
%changelog
%autochangelog