File vibrancy_colors-icon-theme.spec of Package vibrancy_colors-icon-theme

# spec file for package vibrancy_colors-icon-theme
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name: 		vibrancy_colors-icon-theme
Version:	2.5
Release:	0
License:	CC-BY-SA-3.0
Summary:	Vibrancy Colors Icon Theme - A GTK-centric theme
Group:		System/X11/Icons
Source:		Vibrancy-Colors-2-5a-GTK-Icon-Theme.tar.gz
Source10: 	colour_sets
# un-updated rpm can't handle the post-script even with static listing crutch
BuildRequires:	rpm >= 4.12
BuildRequires:	fdupes
BuildRequires:  hicolor-icon-theme
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:	noarch

Vibrancy Colors is a bold, modern & beautiful "Vibrant" GTK Icon Theme. Vibrancy is a highly polished mixture of many amazing open source icon projects/themes into a new, "beautiful" icon theme. It is meant to be modern, clean and customizable.
Vibrancy is a different take on the "Flat" or "Modern Design" trend, Featuring simple, beautiful and modern icons. But with more handcrafted details and emotion.

Fully tested/built to work on most major GTK desktops including: 
Unity, Cinnamon, Gnome Shell, Gnome Classic, Mate, Xfce, LXDE, Openbox and more.

Theme Requires about 95 MB When installed.
But Please Keep In Mind With GTK Icon Cache Files it could require as much as 380 MB. (This happens with most icons themes) Please Have a bit of space to spare just in case.

14 Colors of Folders are Selectable:
Stock Manila Folder, Blue, Aqua ,Graphite ,Blue Vivid (Dark), Brown, Green,
Green Viva (Dark), Purple,Red, Pink, Orange, Teal, Yellow.

Now Fully Supports Folder Color Extension (On Nemo, Nautilus, Caja, Files)
An optional extension that allows you to right click on any folder and change it to any of the 14 colors on the fly. Perfect for organization or personalization. This works on top of the already selectable 14 colors from the theme panel.

%setup -q -c
# fixing broken icons with spaces in names
find Vibrancy* -iname "* *" -exec rename ' ' '-' "{}" \;

# no need to build

mkdir -p %{buildroot}%{_datadir}/icons/
mv -v Vibrancy* -t %{buildroot}%{_datadir}/icons/
%fdupes %{buildroot}
for set in $(cat %_sourcedir/colour_sets); do
%icon_theme_cache_create_ghost ${set}

# ugly hack for rpm's uptightidness
%{expand:%(for set in $(cat %_sourcedir/colour_sets); do echo "%%icon_theme_cache_post ${set}"; done)}

%doc 'Copyrights&Licenses.txt'