%global git_date 20230819 %global git_hash d72d7285 %global git_ver 2023 %global rel 1 %global src_name %{dir_name}-%{git_date}-%{git_hash}.tar.xz %global dir_name Orchis-theme Name: orchis-theme Version: %{git_ver}^%{git_date}g%{git_hash} Release: %{rel}%{?dist} Summary: Orchis Theme License: GPLv3 URL: https://github.com/vinceliuice/Orchis-theme Source: %{url}/%{src_name} BuildArch: noarch BuildRequires: sassc Requires: gtk-murrine-engine %description Orchis theme for gtk, gnome shell, cinnamon, plank, firefox, and xfwm4. %package wallpapers Summary: %summary wallpapers %description wallpapers %summary wallpapers %prep %autosetup -n %{dir_name} %build %install ./install.sh -t all -d %{buildroot}%{_datarootdir}/themes mkdir -p %{buildroot}%{_datadir}/backgrounds/ install -p -D -m644 src/wallpaper/*.jpg %{buildroot}%{_datadir}/backgrounds/ %files %doc README.md %license COPYING %{_datarootdir}/themes/* %files wallpapers %{_datarootdir}/backgrounds/* %changelog %autochangelog