aboutsummaryrefslogtreecommitdiff
path: root/flat-remix.spec
diff options
context:
space:
mode:
Diffstat (limited to 'flat-remix.spec')
-rw-r--r--flat-remix.spec52
1 files changed, 8 insertions, 44 deletions
diff --git a/flat-remix.spec b/flat-remix.spec
index 0d0a5f43c..df239a0ed 100644
--- a/flat-remix.spec
+++ b/flat-remix.spec
@@ -12,18 +12,6 @@ BuildArch: noarch
%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.
-Themes:
- • Flat Remix: main theme
- • Flat Remix Dark: for dark interfaces
- • Flat Remix Light: for light interfaces
-
-Folder variants:
- • Blue Folders
- • Green Folders
- • Red Folders
- • Yellow Folders
-
-
%prep
%setup -q
@@ -33,46 +21,22 @@ Folder variants:
%build
%post
-for theme in Flat-Remix-Blue Flat-Remix-Blue-Dark Flat-Remix-Blue-Light Flat-Remix-Green Flat-Remix-Green-Dark Flat-Remix-Green-Light Flat-Remix-Red Flat-Remix-Red-Dark Flat-Remix-Red-Light Flat-Remix-Yellow Flat-Remix-Yellow-Dark Flat-Remix-Yellow-Light
+for theme in /usr/share/icons/Flat-Remix*
do
- /bin/touch --no-create /usr/share/icons/${theme} &>/dev/null || :
- /usr/bin/gtk-update-icon-cache -q /usr/share/icons/${theme} || :
+ gtk-update-icon-cache --force /usr/share/icons/${theme} || :
done
%postun
if [ $1 -eq 0 ]; then
- for theme in Flat-Remix-Blue Flat-Remix-Blue-Dark Flat-Remix-Blue-Light Flat-Remix-Green Flat-Remix-Green-Dark Flat-Remix-Green-Light Flat-Remix-Red Flat-Remix-Red-Dark Flat-Remix-Red-Light Flat-Remix-Yellow Flat-Remix-Yellow-Dark Flat-Remix-Yellow-Light
+ for theme in /usr/share/icons/Flat-Remix*
do
- /bin/touch --no-create /usr/share/icons/${theme} &>/dev/null || :
- /usr/bin/gtk-update-icon-cache -q /usr/share/icons/${theme} || :
+ gtk-update-icon-cache --force /usr/share/icons/${theme} || :
done
fi
%files
-%defattr(-,root,root)
-%doc LICENSE README.md AUTHORS
-%{_datadir}/icons/Flat-Remix-Blue
-%{_datadir}/icons/Flat-Remix-Blue-Dark
-%{_datadir}/icons/Flat-Remix-Blue-Light
-%{_datadir}/icons/Flat-Remix-Green
-%{_datadir}/icons/Flat-Remix-Green-Dark
-%{_datadir}/icons/Flat-Remix-Green-Light
-%{_datadir}/icons/Flat-Remix-Red
-%{_datadir}/icons/Flat-Remix-Red-Dark
-%{_datadir}/icons/Flat-Remix-Red-Light
-%{_datadir}/icons/Flat-Remix-Yellow
-%{_datadir}/icons/Flat-Remix-Yellow-Dark
-%{_datadir}/icons/Flat-Remix-Yellow-Light
-%ghost %{_datadir}/icons/Flat-Remix-Blue/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Blue-Dark/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Blue-Light/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Green/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Green-Dark/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Green-Light/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Red/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Red-Dark/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Red-Light/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Yellow/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Yellow-Dark/icon-theme.cache
-%ghost %{_datadir}/icons/Flat-Remix-Yellow-Light/icon-theme.cache
+%license LICENSE
+%doc README.md AUTHORS
+%{_datadir}/icons/Flat-Remix-*
+%ghost %{_datadir}/icons/Flat-Remix-*/icon-theme.cache