hicolor-icon-theme/hicolor-icon-theme.spec

61 lines
1.8 KiB
RPMSpec

#
# spec file for package hicolor-icon-theme
#
# Copyright (c) 2016 SUSE LINUX 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/
#
Name: hicolor-icon-theme
Version: 0.15
Release: 0
Summary: Fallback Icon Theme
License: GPL-2.0+
Group: System/X11/Utilities
Url: https://freedesktop.org/wiki/Software/icon-theme/
Source: http://icon-theme.freedesktop.org/releases/%{name}-%{version}.tar.xz
Source1: macros.hicolor
Source99: %{name}-rpmlintrc
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This is the default fallback theme used by implementations of the icon
theme specification.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make %{?_smp_mflags} DESTDIR=%{buildroot} install
touch %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
chmod -x COPYING
# Install rpm macros
install -D -m644 %{SOURCE1} %{buildroot}%{_sysconfdir}/rpm/macros.hicolor
# No %%post/%%postun: there are actually no icons in this package. It's just the
# directory structure.
%files
%defattr(-, root, root)
%doc COPYING ChangeLog README
%ghost %{_datadir}/icons/hicolor/icon-theme.cache
%{_datadir}/icons/hicolor/
%{_sysconfdir}/rpm/macros.hicolor
%changelog