2015-11-08 18:38:48 +01:00
|
|
|
#
|
|
|
|
# spec file for package breeze5-icons
|
|
|
|
#
|
2021-01-06 09:52:37 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
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.
|
|
|
|
|
2018-10-16 14:23:19 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-11-08 18:38:48 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2021-04-10 15:33:36 +02:00
|
|
|
%define _tar_path 5.81
|
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)
|
2018-07-17 10:57:43 +02:00
|
|
|
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
|
2019-08-11 23:06:55 +02:00
|
|
|
# Only needed for the package signature condition
|
|
|
|
%bcond_without lang
|
2015-11-08 18:38:48 +01:00
|
|
|
Name: breeze5-icons
|
2021-04-10 15:33:36 +02:00
|
|
|
Version: 5.81.0
|
2015-11-08 18:38:48 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Breeze icon theme
|
2018-03-14 14:00:15 +01:00
|
|
|
License: LGPL-3.0-only
|
2015-11-08 18:38:48 +01:00
|
|
|
Group: System/GUI/KDE
|
2018-10-16 14:23:19 +02:00
|
|
|
URL: https://www.kde.org
|
2019-08-11 23:06:55 +02:00
|
|
|
Source: https://download.kde.org/stable/frameworks/%{_tar_path}/breeze-icons-%{version}.tar.xz
|
2019-08-12 02:04:50 +02:00
|
|
|
%if %{with lang}
|
2019-08-11 23:06:55 +02:00
|
|
|
Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/breeze-icons-%{version}.tar.xz.sig
|
|
|
|
Source2: frameworks.keyring
|
|
|
|
%endif
|
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
|
2020-10-10 16:36:25 +02:00
|
|
|
BuildRequires: python3
|
|
|
|
BuildRequires: python3-lxml
|
2021-01-09 13:18:38 +01:00
|
|
|
BuildRequires: cmake(Qt5Core) >= 5.14.0
|
|
|
|
BuildRequires: cmake(Qt5Test) >= 5.14.0
|
2015-11-08 18:38:48 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%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
|
|
|
|
2021-01-08 16:34:52 +01:00
|
|
|
%package rcc
|
|
|
|
Summary: Breeze icon theme - rcc file
|
|
|
|
Group: System/GUI/KDE
|
|
|
|
|
|
|
|
%description rcc
|
|
|
|
Breeze-icons is a freedesktop.org compatible icon theme.
|
|
|
|
This contains the Breeze (non-dark) icons in a QResource file, used by Kexi.
|
|
|
|
|
2015-11-08 18:38:48 +01:00
|
|
|
%prep
|
2020-09-17 15:01:22 +02:00
|
|
|
%autosetup -p1 -n breeze-icons-%{version}
|
2015-11-08 18:38:48 +01:00
|
|
|
|
|
|
|
%build
|
2021-01-08 16:34:52 +01:00
|
|
|
# For some reason Kexi only wants to use breeze-icons.rcc and not the icons directory,
|
|
|
|
# so build it just for that.
|
|
|
|
%cmake_kf5 -d build -- -DBINARY_ICONS_RESOURCE=ON
|
2020-02-08 01:13:59 +01:00
|
|
|
%cmake_build
|
2015-11-08 18:38:48 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%kf5_makeinstall -C build
|
|
|
|
|
2019-02-13 18:46:34 +01:00
|
|
|
# yast2-theme uses these, but it got renamed in 5.55.0
|
2019-02-13 15:42:53 +01:00
|
|
|
ln -s yast-software-group.svg %{buildroot}%{_kf5_iconsdir}/breeze/preferences/32/yast-software.svg
|
2019-02-13 18:46:34 +01:00
|
|
|
ln -s yast-software-group.svg %{buildroot}%{_kf5_iconsdir}/breeze-dark/preferences/32/yast-software.svg
|
2019-02-13 10:46:03 +01:00
|
|
|
|
2021-01-06 09:52:37 +01:00
|
|
|
%fdupes %{buildroot}%{_kf5_iconsdir}
|
2015-11-08 18:43:44 +01:00
|
|
|
|
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
|
2018-08-20 14:58:31 +02:00
|
|
|
%license COPYING*
|
2015-11-08 18:38:48 +01:00
|
|
|
%ghost %{_kf5_iconsdir}/breeze/icon-theme.cache
|
|
|
|
%ghost %{_kf5_iconsdir}/breeze-dark/icon-theme.cache
|
2021-01-08 16:34:52 +01:00
|
|
|
%exclude %{_kf5_iconsdir}/breeze/breeze-icons.rcc
|
|
|
|
%exclude %{_kf5_iconsdir}/breeze-dark/breeze-icons-dark.rcc
|
2015-11-08 18:38:48 +01:00
|
|
|
%{_kf5_iconsdir}/breeze/
|
|
|
|
%{_kf5_iconsdir}/breeze-dark/
|
|
|
|
|
2021-01-08 16:34:52 +01:00
|
|
|
%files rcc
|
|
|
|
%dir %{_kf5_iconsdir}/breeze
|
|
|
|
# Kexi does not need the -dark variant.
|
|
|
|
%{_kf5_iconsdir}/breeze/breeze-icons.rcc
|
|
|
|
|
2015-11-08 18:38:48 +01:00
|
|
|
%changelog
|