2015-11-08 18:38:48 +01:00
|
|
|
#
|
|
|
|
# spec file for package breeze5-icons
|
|
|
|
#
|
2017-01-09 00:37:25 +01:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2015-11-08 18:38:48 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2017-09-12 20:56:39 +02:00
|
|
|
%define _tar_path 5.38
|
2017-09-13 11:57:56 +02:00
|
|
|
# Full KF5 version (e.g. 5.33.0)
|
|
|
|
%{!?_kf5_version: %global _kf5_version %{version}}
|
|
|
|
# Last major and minor KF5 version (e.g. 5.33)
|
|
|
|
%{!?_kf5_bugfix_version: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2015-11-08 18:38:48 +01:00
|
|
|
Name: breeze5-icons
|
2017-09-12 20:56:39 +02:00
|
|
|
Version: 5.38.0
|
2015-11-08 18:38:48 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Breeze icon theme
|
2015-11-18 19:21:56 +01:00
|
|
|
License: LGPL-3.0
|
2015-11-08 18:38:48 +01:00
|
|
|
Group: System/GUI/KDE
|
|
|
|
Url: http://www.kde.org
|
2017-09-13 11:57:56 +02:00
|
|
|
Source: http://download.kde.org/stable/frameworks/%{_kf5_bugfix_version}/breeze-icons-%{version}.tar.xz
|
2015-11-20 16:12:03 +01:00
|
|
|
# PATCH-FIX-OPENSUSE oxygen.diff -- inherit from oxygen
|
|
|
|
Patch0: oxygen.diff
|
2017-01-09 00:37:25 +01:00
|
|
|
BuildRequires: cmake >= 3.0
|
2017-09-13 11:57:56 +02:00
|
|
|
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
|
2015-12-12 23:17:06 +01:00
|
|
|
BuildRequires: fdupes
|
2016-01-02 18:41:32 +01:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2016-09-07 14:17:44 +02:00
|
|
|
BuildRequires: libxml2-tools
|
2017-02-09 10:21:58 +01:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.6.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.6.0
|
2015-11-20 16:12:03 +01:00
|
|
|
Requires: oxygen5-icon-theme
|
2015-11-08 18:38:48 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
2015-11-08 18:48:24 +01:00
|
|
|
Breeze-icons is a freedesktop.org compatible icon theme.
|
2015-11-08 18:38:48 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n breeze-icons-%{version}
|
2015-11-20 16:12:03 +01:00
|
|
|
%patch0 -p1
|
2015-11-08 18:38:48 +01:00
|
|
|
|
|
|
|
%build
|
2016-08-07 23:49:52 +02:00
|
|
|
%cmake_kf5 -d build -- -DBINARY_ICONS_RESOURCE=ON
|
2015-11-08 18:38:48 +01:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2015-11-08 18:43:44 +01:00
|
|
|
%fdupes -s %{buildroot}%{_kf5_iconsdir}
|
|
|
|
|
2015-11-08 18:38:48 +01:00
|
|
|
%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
|