File gnome-colors.spec of Package icon-theme-gnome-colors

%define name icon-theme-gnome-colors
%define version 5.5.1
%define release %mkrel 5

Summary:	Gnome colors iconset
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	GPLv2
Group:		Graphical desktop/Other

BuildArch:	noarch
URL:		http://www.gnome-look.org/content/show.php/GNOME-colors?content=82562

Source0:	http://gnome-colors.googlecode.com/files/gnome-colors-src-%{version}.tar.gz
Source1:	gnome-colors-extra-themes.tar.gz

BuildRequires:	imagemagick
BuildRequires:	inkscape
#hack to make package build on opensuse buildservice
BuildRequires:  perl-Parse-Yapp


Buildroot:	%{_tmppath}/%{name}-%{version}

%description 
This is an extensive set of icon themes based on GNOME and Tango, with some inspiration from Human, Tango Generator, Elementary, and other open source projects.
The project's goal is to integrate closely with gnome-icon-theme, while greatly expanding its available icons and allowing users to choose from 7 completely different and unique color schemes. 

There are 7 color variations: Brave (Blue), Wise (Green), Human (Orange), Noble (Purple), Wine (Red), Dust (Chocolate) and Illustrious (Pink), these package also includes some extra colors.

The extra icons are not provided as they overwrite many system wide application icons, however this set should give a very complete set however which will integrate nicely with many gtk applications. 


%prep
%setup -c -q -n %{name}-%{version} -a 1


%build
%make

%install
rm -rf %{buildroot}
%makeinstall_std bindir=%{_iconsdir}
mkdir -p %{buildroot}%{_docdir}/icon-theme-gnome-colors/
cp -a AUTHORS README COPYING ChangeLog Palette.svg %{buildroot}%{_docdir}/icon-theme-gnome-colors/

%clean
rm -rf %{buildroot}

%post
%_install_info %{name}.info

%preun
%_remove_install_info %{name}.info

%package author

Summary:	Gnome colors iconset author version
Version:	%{version}
Release:	%{release}
License:	GPLv2
Group:		Graphical desktop/Other

Requires: %{name}-common

%description author
This package adds the icons which were removed to create the mandriva optimized %{name}-common package. I recommend not installing it but this is a matter of taste. 

%files  author
%defattr(-, root, root)
%{_iconsdir}/*/*/categories/drakconf.*

%package common

Summary:	Gnome colors iconset Mandriva optimized
Version:	%{version}
Release:	%{release}
License:	GPLv2
Group:		Graphical desktop/Other

Provides:	%{name}-common == %{version}
Provides:	icons-gnome-colors
Obsoletes:	icons-gnome-colors
Provides:	icon-theme-gnome-colors
Obsoletes:	icon-theme-gnome-colors

%description common
This is an extensive set of icon themes based on GNOME and Tango, with some inspiration from Human, Tango Generator, Elementary, and other open source projects.
The project's goal is to integrate closely with gnome-icon-theme, while greatly expanding its available icons and allowing users to choose from 7 completely different and unique color schemes. 

There are more than 7 color variations: Brave (Blue), Wise (Green), Human (Orange), Noble (Purple), Wine (Red), Dust (Chocolate) and Illustrious (Pink), these package also includes some extra colors.

The extra icons are not provided as they overwrite many system wide application icons, however this set should give a very complete set however which will integrate nicely with many gtk applications. 

This package does not include some rather generic looking icons for mcc, install the %{name}-author package if you want those icons too

%files common
#remove too generic looking icon for drakconf
%exclude %{_iconsdir}/*/*/categories/drakconf.*
%defattr(-, root, root)
%{_iconsdir}/*
%{_docdir}/*


%changelog
* Tue Nov 10 2009 aap <xxx@xxx.com> 5.5-3mdv2010.0
-split package, now you can choose between the Mandriva optimized (%{name}-common) or the author version, as intended but with rather generic looking icons for MCC

* Mon Oct 26 2009 aap <xxx@xxx.com> 5.5-2mdv2010.0
-remove too generic looking drakconf icons and fall back to stock icons instead

* Mon Oct 26 2009 aap <xxx@xxx.com> 5.5-1mdv2010.0
-new version

* Mon Oct 26 2009 aap <xxx@xxx.com> 5.5-5mdv2010.0
-include license, readme and some other files

* Sun Oct 25 2009 aap <xxx@xxx.com> 5.5-4mdv2010.0
-rename package

* Sun Oct 25 2009 aap <xxx@xxx.com> 5.5-3mdv2010.0
-use source package
-add extra color

* Fri Oct 22 2009 aap <xxx@xxx.com> 5.5-2mdv2010.0
-do not update hicolor icon cache
-do not try to find language files

* Fri Oct 22 2009 aap <xxx@xxx.com> 5.5-1mdv2010.0
-initial release


openSUSE Build Service is sponsored by