Files
dots-hyprland/sdata/dist-fedora/SPECS/matugen.spec
T
MVN123123123123123 7596509777 Modify commit hash and snapshot date in matugen.spec
Updated commit hash and snapshot date in matugen.spec
2026-04-28 20:59:23 +07:00

38 lines
897 B
RPMSpec

%global commit 4112d352914742ba69f6380fd07984adba02d376
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global snapdate 20260322
%global tag 4.1.0
Name: matugen
Version: %{tag}.%{shortcommit}
Release: 0%{?dist}
Summary: A cross-platform material you and base16 color generation tool
License: GPL-2.0
URL: https://github.com/InioX/matugen
Source0: %{url}/archive/%{commit}/matugen-%{shortcommit}.tar.gz
BuildRequires: rust-packaging
BuildRequires: cargo
BuildRequires: gcc
%description
A cross-platform material you and base16 color generation tool
%prep
%autosetup -n matugen-%{commit} -p1
%build
cargo build --release
%install
install -Dm0755 target/release/matugen %{buildroot}%{_bindir}/matugen
%files
%license LICENSE
%doc README.md
%{_bindir}/matugen
%changelog
%autochangelog