File matugen.spec of Package matugen
Name: matugen
Version: 3.1.0
Release: 0
Summary: A material you color generation tool
License: GPL-2.0-only
URL: https://github.com/InioX/matugen
Source0: matugen-%{version}.tar
Source1: vendor.tar.zst
ExclusiveArch: %{rust_tier1_arches}
BuildRequires: cargo-packaging
BuildRequires: openssl-devel
%description
Matugen is a cross-platform tool that generates a colorscheme either from an image or a color, and exports it to a file from a template. It can also set the wallpaper if one was provided.
%prep
%autosetup -p1 -a1
%build
export CARGO_HOME=$PWD/.cargo
%{cargo_build}
%install
%{cargo_install}
%check
export CARGO_HOME=$PWD/.cargo
%{cargo_test}
%files
%license LICENSE
%{_bindir}/%{name}
%changelog