%global forgeurl https://github.com/ubuntu/yaru %global tag %{version}.1ubuntu %global _license COPYING COPYING.LGPL-2.1 COPYING.LGPL-3.0 LICENSE_CCBYSA Name: yaru-theme Version: 26.04.2 %forgemeta Release: %autorelease Summary: All Ubuntu Yaru GNOME themes BuildArch: noarch License: GPL-3.0-or-later and CC-BY-SA-4.0 URL: https://community.ubuntu.com/c/desktop/theme-refresh Source0: %{forgesource} BuildRequires: meson BuildRequires: sassc BuildRequires: pkgconfig(appstream-glib) %description Yaru is the default theme for Ubuntu, backed by the community. It contains: * a GNOME Shell theme based on the upstream GNOME shell theme * a light and dark GTK theme (gtk2 and gtk3) based on the upstream Adwaita Gtk theme * an icon & cursor theme, derived from the Unity8 Suru icons and Suru icon theme * a sound theme, combining sounds from the WoodenBeaver and Touch-Remix sound themes.} %prep %forgeautosetup -p1 %build %meson -Dgnome-shell=false -Dgtksourceview=false -Dmetacity=false \ -Dsessions=false -Dsounds=false -Dcinnamon-shell=false -Daccent-colors="blue" %meson_build %install %meson_install touch %{buildroot}%{_datadir}/icons/Yaru/icon-theme.cache %transfiletriggerin -- %{_datadir}/icons/Yaru gtk-update-icon-cache --force %{_datadir}/icons/Yaru &>/dev/null || : %files %license %{_license} %doc AUTHORS CONTRIBUTING.md README.md %{_datadir}/icons/Yaru* %{_datadir}/themes/Yaru* %changelog %autochangelog