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

# spec file for package hicolor-icon-theme
# Copyright (c) 2011 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

# norootforbuild

Name:           hicolor-icon-theme
Summary:        Fallback Icon Theme
License:        GPLv2+
Group:          System/X11/Utilities
Version:        0.12
Release:        8
Source:         %{name}-%{version}.tar.bz2
Source1:        macros.hicolor
Source99:       %{name}-rpmlintrc
# PATCH-FIX-UPSTREAM hicolor-scalable-sizes.patch fdo25449 -- Add some MinSize for scalable, since the icons won't look that good at small sizes
Patch1:         hicolor-scalable-sizes.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This is the default fallback theme used by implementations of the icon
theme specification.

%setup -q
%patch1 -p1

%__make %{?jobs:-j%jobs}

touch %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
chmod -x COPYING
# Install rpm macros
install -D -m644 %{S:1} %{buildroot}%{_sysconfdir}/rpm/macros.hicolor

rm -rf %{buildroot}

# No %post/%postun: there are actually no icons in this package. It's just the
# directory structure.

%defattr(-, root, root)
%ghost %{_datadir}/icons/hicolor/icon-theme.cache

openSUSE Build Service is sponsored by