|
|
39747fe |
Name: growlight
|
|
|
39747fe |
Version: 1.2.6
|
|
|
39747fe |
Release: 1%{?dist}
|
|
|
39747fe |
Summary: Disk manipulation and system setup tool
|
|
|
39747fe |
License: GPLv3+
|
|
|
39747fe |
URL: https://nick-black.com/dankwiki/index.php/Growlight
|
|
|
39747fe |
Source0: https://github.com/dankamongmen/%{name}/releases/download/v%{version}/%{name}_%{version}.tar.xz
|
|
|
39747fe |
Source1: https://github.com/dankamongmen/%{name}/releases/download/v%{version}/%{name}_%{version}.tar.xz.asc
|
|
|
39747fe |
Source2: https://nick-black.com/dankamongmen.gpg
|
|
|
39747fe |
|
|
|
39747fe |
BuildRequires: gnupg2
|
|
|
39747fe |
BuildRequires: gcc-c++
|
|
|
39747fe |
BuildRequires: readline-devel
|
|
|
39747fe |
BuildRequires: libpciaccess-devel
|
|
|
39747fe |
BuildRequires: cmake
|
|
|
39747fe |
# for xsltproc
|
|
|
39747fe |
BuildRequires: libxslt
|
|
|
39747fe |
BuildRequires: pkgconfig(libpci)
|
|
|
39747fe |
BuildRequires: pkgconfig(libatasmart)
|
|
|
39747fe |
BuildRequires: pkgconfig(libudev)
|
|
|
39747fe |
BuildRequires: pkgconfig(nettle)
|
|
|
39747fe |
BuildRequires: pkgconfig(notcurses)
|
|
|
39747fe |
BuildRequires: device-mapper-devel
|
|
|
39747fe |
BuildRequires: cryptsetup-devel
|
|
|
39747fe |
BuildRequires: docbook-style-xsl
|
|
|
39747fe |
BuildRequires: docbook-utils
|
|
|
39747fe |
|
|
|
39747fe |
%description
|
|
|
39747fe |
Growlight can manipulate both physical (NVMe, SATA, etc.) and virtual (mdadm,
|
|
|
39747fe |
device-mapper, etc.) block devices, help identify bottlenecks in a storage
|
|
|
39747fe |
topology, create and destroy filesystems, and prepare a machine for initial
|
|
|
39747fe |
boot when run in an installer context. Both full-screen and REPL readline UIs
|
|
|
39747fe |
are available.
|
|
|
39747fe |
|
|
|
39747fe |
%prep
|
|
|
39747fe |
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
|
39747fe |
%autosetup
|
|
|
39747fe |
|
|
|
39747fe |
%build
|
|
|
39747fe |
mkdir %{_target_platform}
|
|
|
39747fe |
pushd %{_target_platform}
|
|
|
39747fe |
%cmake -DUSE_LIBZFS=off ..
|
|
|
39747fe |
popd
|
|
|
39747fe |
%make_build -C %{_target_platform}
|
|
|
39747fe |
|
|
|
39747fe |
%install
|
|
|
39747fe |
%make_install -C %{_target_platform}
|
|
|
39747fe |
|
|
|
39747fe |
%files
|
|
|
39747fe |
%doc README.md
|
|
|
39747fe |
%license COPYING
|
|
|
39747fe |
%{_bindir}/growlight
|
|
|
39747fe |
%{_bindir}/growlight-readline
|
|
|
39747fe |
%{_mandir}/man8/*.8*
|
|
|
39747fe |
|
|
|
39747fe |
%changelog
|
|
|
39747fe |
* Sun Jun 21 2020 Nick Black <dankamongmen@gmail.com> - 1.2.6-1
|
|
|
39747fe |
- Initial packaging for Fedora 33
|