%global giturl https://github.com/snwh/%{name} Name: paper-icon-theme Version: 1.5.0 Release: 4%{?dist} Summary: Modern freedesktop icon theme License: CC-BY-SA URL: https://snwh.org/paper Source0: %{giturl}/archive/v.%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: meson Requires: adwaita-icon-theme Requires: gnome-icon-theme Requires: hicolor-icon-theme %description Paper is a modern freedesktop icon theme whose design is based around the use of bold colors and simple geometric shapes to compose icons. Each icon has been meticulously designed for pixel-perfect viewing. While it does take some inspiration from the icons in Google's Material Design, some aspects have been adjusted to better suit a desktop environment. %prep %autosetup -n %{name}-v.%{version} # remove stray executable bit from files find -executable -type f -exec chmod -x {} + %build %meson %meson_build %install %meson_install touch %{buildroot}/%{_datadir}/icons/Paper/icon-theme.cache touch %{buildroot}/%{_datadir}/icons/Paper-Mono-Dark/icon-theme.cache %transfiletriggerin -- %{_datadir}/icons/Paper %{_datadir}/icons/Paper-Mono-Dark gtk-update-icon-cache --force %{_datadir}/icons/Paper &>/dev/null || : gtk-update-icon-cache --force %{_datadir}/icons/Paper-Mono-Dark &>/dev/null || : %transfiletriggerpostun -- %{_datadir}/icons/Paper %{_datadir}/icons/Paper-Mono-Dark gtk-update-icon-cache --force %{_datadir}/icons/Paper &>/dev/null || : gtk-update-icon-cache --force %{_datadir}/icons/Paper-Mono-Dark &>/dev/null || : %files %license COPYING LICENSE %doc AUTHORS README.md %{_datadir}/icons/Paper/index.theme %{_datadir}/icons/Paper/cursor.theme %{_datadir}/icons/Paper/*/ %{_datadir}/icons/Paper-Mono-Dark/index.theme %{_datadir}/icons/Paper-Mono-Dark/*/ %ghost %{_datadir}/icons/Paper/icon-theme.cache %ghost %{_datadir}/icons/Paper-Mono-Dark/icon-theme.cache %changelog * Fri Jul 26 2019 Fedora Release Engineering - 1.5.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Tue Feb 05 2019 Fabio Valentini - 1.5.0-3 - Disable deduplication to fix problems with flatpak apps. * Fri Feb 01 2019 Fedora Release Engineering - 1.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Sep 16 2018 Fabio Valentini - 1.5.0-1 - Update to version 1.5.0. * Fri Jul 13 2018 Fedora Release Engineering - 1.4.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 1.4.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Björn Esser - 1.4.0-2 - Use rpm filetriggers on Fedora and/or RHEL >= 8 * Sun Dec 31 2017 Björn Esser - 1.4.0-1 - Initial import (#1529758) * Sun Dec 31 2017 Björn Esser - 1.4.0-0.3 - Add some git-format-patches from upstream * Fri Dec 29 2017 Björn Esser - 1.4.0-0.2 - Fix file permissions - Fix spelling in %%description * Fri Dec 29 2017 Björn Esser - 1.4.0-0.1 - Initial rpm release (#1529758)