forked from pool/breeze5-icons
cbf3eae85c
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/breeze5-icons?expand=0&rev=16
72 lines
2.0 KiB
RPMSpec
72 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package breeze5-icons
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define _tar_path 5.19
|
|
Name: breeze5-icons
|
|
Version: 5.19.0
|
|
Release: 0
|
|
Summary: Breeze icon theme
|
|
License: LGPL-3.0
|
|
Group: System/GUI/KDE
|
|
Url: http://www.kde.org
|
|
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/breeze-icons-%{version}.tar.xz
|
|
# PATCH-FIX-OPENSUSE oxygen.diff -- inherit from oxygen
|
|
Patch0: oxygen.diff
|
|
BuildRequires: cmake >= 2.8.12
|
|
BuildRequires: extra-cmake-modules >= %{_tar_path}
|
|
BuildRequires: fdupes
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: cmake(Qt5Core) >= 5.3.0
|
|
BuildRequires: cmake(Qt5Test) >= 5.3.0
|
|
Requires: oxygen5-icon-theme
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Breeze-icons is a freedesktop.org compatible icon theme.
|
|
|
|
%prep
|
|
%setup -q -n breeze-icons-%{version}
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%cmake_kf5 -d build
|
|
%make_jobs
|
|
|
|
%install
|
|
%kf5_makeinstall -C build
|
|
|
|
%fdupes -s %{buildroot}%{_kf5_iconsdir}
|
|
|
|
%icon_theme_cache_create_ghost breeze
|
|
%icon_theme_cache_create_ghost breeze-dark
|
|
|
|
%post
|
|
%icon_theme_cache_post breeze
|
|
%icon_theme_cache_post breeze-dark
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING*
|
|
%ghost %{_kf5_iconsdir}/breeze/icon-theme.cache
|
|
%ghost %{_kf5_iconsdir}/breeze-dark/icon-theme.cache
|
|
%{_kf5_iconsdir}/breeze/
|
|
%{_kf5_iconsdir}/breeze-dark/
|
|
|
|
%changelog
|