Name: fluent-icon-theme Version: 2026.07.27 Release: 1%{?dist} %global tag %{lua: print((macros.version:gsub("[.]", "-")))} Summary: Fluent icon theme (standard color variant) BuildArch: noarch License: GPL-3.0-only URL: https://github.com/vinceliuice/Fluent-icon-theme Source0: %{url}/archive/refs/tags/%{tag}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: bash BuildRequires: gtk-update-icon-cache Requires: hicolor-icon-theme %description Fluent is a Fluent-design icon theme for Linux desktops. This package ships only the standard color variant, in its default, light and dark forms. %prep %autosetup -n Fluent-icon-theme-%{tag} %build # Nothing to build. %install # Fluent, Fluent-light and Fluent-dark are symlinks into the hidden # .Fluent*-base directories, which must be installed beside them. stage=$PWD/stage install -d $stage bash ./install.sh -d $stage standard rm -f $stage/Fluent*/icon-theme.cache find $stage -xtype l -delete find $stage -type d -exec chmod 0755 {} + find $stage -type f -exec chmod 0644 {} + install -d %{buildroot}%{_datadir}/icons cp -a $stage/. %{buildroot}%{_datadir}/icons/ %check for t in Fluent Fluent-light Fluent-dark; do test -f %{buildroot}%{_datadir}/icons/$t/index.theme done test -z "$(find %{buildroot}%{_datadir}/icons -xtype l)" %files %license COPYING %doc README.md AUTHORS %{_datadir}/icons/Fluent %{_datadir}/icons/Fluent-light %{_datadir}/icons/Fluent-dark %{_datadir}/icons/.Fluent-base %{_datadir}/icons/.Fluent-light-base %{_datadir}/icons/.Fluent-dark-base %changelog * Sat Oct 03 2026 sachesi - 2026.07.27-1 - Initial package for Copr.