-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
flat-remix.spec
45 lines (37 loc) · 1.17 KB
/
flat-remix.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Name: flat-remix
Version: 20240201
Release: 1
License: GPLv3
Summary: Flat Remix icon theme
Url: https://drasite.com/flat-remix
Group: User Interface/Desktops
Source: https://github.com/daniruiz/%{name}/archive/%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: make
%description
Flat Remix is an icon theme inspired by material design. It is mostly flat using a colorful palette with some shadows, highlights, and gradients for some depth.
%prep
%setup -q
%install
%make_install
%build
%post
for theme in %{_datadir}/icons/Flat-Remix*
do
touch --no-create %{_datadir}/icons/${theme} &> /dev/null || :
gtk-update-icon-cache --force %{_datadir}/icons/${theme} &> /dev/null || :
done
%postun
if [ $1 -eq 0 ]; then
for theme in %{_datadir}/icons/Flat-Remix*
do
touch --no-create %{_datadir}/icons/${theme} &> /dev/null || :
gtk-update-icon-cache --force %{_datadir}/icons/${theme} &> /dev/null || :
done
fi
%files
%license LICENSE
%doc README.md AUTHORS
%{_datadir}/icons/Flat-Remix*
%ghost %{_datadir}/icons/Flat-Remix-*/icon-theme.cache