From 728d39f8597f34f7982aaa8b3d339cf68b6f745a Mon Sep 17 00:00:00 2001 From: Artem Polishchuk Date: Sep 17 2019 08:34:27 +0000 Subject: Update to latest git snapshot Switch to Meson build system Packaging fixes --- diff --git a/.gitignore b/.gitignore index 6b23b4f..dbae036 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /v5.3.6.tar.gz +/moka-icon-theme-5.4.0.20190530gitc0355ea.tar.gz diff --git a/moka-icon-theme.spec b/moka-icon-theme.spec index 483fecb..b8577c3 100644 --- a/moka-icon-theme.spec +++ b/moka-icon-theme.spec @@ -1,57 +1,67 @@ +%global commit c0355ea31e5cfdb6b44d8108f602d66817546a09 +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global date 20190530 + +%global tname Moka + Name: moka-icon-theme -Version: 5.3.6 -Release: 3%{?dist} +Version: 5.4.0 +Release: 1.%{date}git%{shortcommit}%{?dist} Summary: Moka Icon Theme License: CC-BY-SA and GPLv3 URL: https://snwh.org/moka -Source0: https://github.com/snwh/%{name}/archive/v%{version}.tar.gz - +Source0: https://github.com/snwh/%{name}/archive/%{commit}/%{name}-%{version}.%{date}git%{shortcommit}.tar.gz BuildArch: noarch -BuildRequires: automake + +BuildRequires: meson Requires: gnome-icon-theme Requires: hicolor-icon-theme - %description -Moka is simple and modern icon theme with material design influences. +Moka is a stylized FreeDesktop icon set, created with simplicity in mind. +It uses simple geometry & bright colours and has been designed and optimized to +achieve the a pixel-perfect look for your desktop. + +Also, one of the most comprehensive icon sets available, Moka provides thousands +of icons for many applications. So no matter which Linux desktop you are using, +Moka has you covered. %prep -%autosetup +%autosetup -p1 -n %{name}-%{commit} %build -sh autogen.sh -%make_build +%meson +%meson_build %install -%make_install - - -%post -/bin/touch --no-create %{_datadir}/icons/Moka &>/dev/null || : +%meson_install +chmod -x %{buildroot}%{_datadir}/icons/%{tname}/index.theme -%postun -if [ $1 -eq 0 ] ; then - /bin/touch --no-create %{_datadir}/icons/Moka &>/dev/null - /usr/bin/gtk-update-icon-cache %{_datadir}/icons/Moka &>/dev/null || : -fi +%transfiletriggerin -- %{_datadir}/icons/%{tname} +gtk-update-icon-cache --force %{_datadir}/icons/%{tname} &>/dev/null || : - -%posttrans -/usr/bin/gtk-update-icon-cache %{_datadir}/icons/Moka &>/dev/null || : +%transfiletriggerpostun -- %{_datadir}/icons/%{tname} +gtk-update-icon-cache --force %{_datadir}/icons/%{tname} &>/dev/null || : %files -%license LICENSE LICENSE_GPL AUTHORS COPYING -%attr(644, root, root) %doc README.md -%{_datadir}/icons/Moka +%license COPYING LICENSE_CC-BY-SA LICENSE_GPL +%attr(644, root, root) %doc README.md AUTHORS CONTRIBUTING.md +%{_datadir}/icons/%{tname} +%ghost %{_datadir}/icons/%{tname}/icon-theme.cache %changelog +* Tue Sep 17 2019 Artem Polishchuk - 5.4.0-1.20190530gitc0355ea +- Update to latest git snapshot +- Switch to Meson build system +- Packaging fixes + * Fri Jul 13 2018 Fedora Release Engineering - 5.3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index 30fb03b..9f77b6a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v5.3.6.tar.gz) = b5967eab0e06639b515af5d57d03adb0055c202327a45f5656cc08e87444eff7563a8a7e6a20ec28edef112d4ce5709dd413832d0265d1b33d496067d8c68838 +SHA512 (moka-icon-theme-5.4.0.20190530gitc0355ea.tar.gz) = b8be6738a5399d66ad37b0f434c81fd8502b9d7a9338fb45cf52b69a98c3644935fd957dc48f19a679fbf2b6757e8b57315cd04503be7d84c140377d20156765