dd45a00929
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/hicolor-icon-theme?expand=0&rev=67cc24e60e22441da3cc68a560337f62
69 lines
2.0 KiB
RPMSpec
69 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package hicolor-icon-theme (Version 0.12)
|
|
#
|
|
# 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: hicolor-icon-theme
|
|
Summary: Fallback Icon Theme
|
|
License: GPLv2+
|
|
Group: System/X11/Utilities
|
|
Version: 0.12
|
|
Release: 7
|
|
Url: http://icon-theme.freedesktop.org/wiki/HicolorTheme
|
|
Source: %{name}-%{version}.tar.bz2
|
|
Source1: macros.hicolor
|
|
Source99: %{name}-rpmlintrc
|
|
# PATCH-FIX-UPSTREAM hicolor-scalable-sizes.patch fdo25449 vuntz@opensuse.org -- 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
|
|
|
|
%description
|
|
This is the default fallback theme used by implementations of the icon
|
|
theme specification.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%configure
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
touch %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
|
|
chmod -x COPYING
|
|
# Install rpm macros
|
|
install -D -m644 %{S:1} %{buildroot}%{_sysconfdir}/rpm/macros.hicolor
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
# 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
|