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

#
# spec file for package tango-icon-theme (Version 0.8.90)
#
# Copyright (c) 2010 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 http://bugs.opensuse.org/
#

# norootforbuild


Name:           tango-icon-theme
BuildRequires:  ImageMagick-devel
BuildRequires:  fdupes
BuildRequires:  icon-naming-utils
BuildRequires:  intltool
BuildRequires:  librsvg-devel
BuildRequires:  rsvg-view
BuildArch:      noarch
License:        Creative Commons Attribution-ShareAlike 2.5 License Agreement
Group:          System/GUI/GNOME
Version:        0.8.90
Release:        11
Source:         %{name}-%{version}.tar.bz2
Source1:        %{name}-extras-0.1.1.tar.bz2
Url:            http://tango.freedesktop.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Summary:        Tango Icon Theme
Recommends:     gnome-icon-theme >= 2.12.0
Requires:       hicolor-icon-theme

%description
This is the Tango base theme. On top of that, the package includes
some specific icons from the legacy tango-icon-theme-extras package.

%prep
%setup -b 1

%build
%configure --enable-png-creation
make %{?jobs:-j%jobs}
cd ../%{name}-extras-0.1.1
%configure --enable-png-creation
make %{?jobs:-j%jobs}

%install
%makeinstall
cd ../%{name}-extras-0.1.1
%makeinstall
%icon_theme_cache_create_ghost Tango
%fdupes $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%post
%icon_theme_cache_post Tango

# No need for %%icon_theme_cache_postun in %postun since the theme won't exist anymore

%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog README
%ghost %{_datadir}/icons/Tango/icon-theme.cache
%{_datadir}/icons/Tango/

%changelog
openSUSE Build Service is sponsored by