File matugen.spec of Package matugen
#
# spec file for package matugen
#
# Copyright (c) 2026 mantarimay
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: matugen
Version: 4.0.0
Release: 0
Summary: A material you color generation tool
License: GPL-2.0-only
URL: https://github.com/InioX/matugen
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
BuildRequires: openssl-devel
%description
Matugen is a cross-platform tool that generates a color scheme either from
an image or a color, and replaces keywords inside provided templates. It
can also set the wallpaper if one was provided, and allows you to define
your own keywords.
%prep
%autosetup -a1 -p1
%build
%{cargo_build}
%install
%{cargo_install}
%files
%license LICENSE*
%doc README* CHANGELOG.md example
%{_bindir}/%{name}
%changelog