forked from Shinonome/dots-hyprland
fedora: Update matugen to 4.0.0 to avoid errors (#3223)
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
%global commit e65259d68edc034905da477b6c1a349e89e2aa8d
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commits 719
|
||||
%global snapdate 20260213
|
||||
%global tag 4.0.0
|
||||
|
||||
Name: matugen
|
||||
Version: %{tag}^%{commits}.%{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
|
||||
@@ -68,7 +68,6 @@ packages = [
|
||||
"fish",
|
||||
"fontconfig",
|
||||
"kitty",
|
||||
"matugen",
|
||||
"florian-karsten-space-grotesk-fonts",
|
||||
"starship",
|
||||
"jetbrains-mono-nerd-fonts",
|
||||
|
||||
@@ -38,6 +38,7 @@ function install_RPMS() {
|
||||
"$rpm_specs/cpptrace.spec"
|
||||
"$rpm_specs/quickshell-git.spec"
|
||||
"$rpm_specs/hyprland-qt-support.spec"
|
||||
"$rpm_specs/matugen.spec"
|
||||
)
|
||||
for spec_file in ${local_specs[@]}; do
|
||||
# Download sources
|
||||
|
||||
Reference in New Issue
Block a user