forked from pool/breeze-gtk
Fabian Vogt
cc3890e95f
- Don't modify permissions of the README.md and COPYING.LIB files anymore, they have been fixed upstream a long time ago https://cgit.kde.org/breeze-gtk.git/commit/README.md?id=499226afa44cafb342546dd5362c4b0b1c916955 https://cgit.kde.org/breeze-gtk.git/commit/COPYING.LIB?id=499226afa44cafb342546dd5362c4b0b1c916955 OBS-URL: https://build.opensuse.org/request/show/652400 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/breeze-gtk?expand=0&rev=81
109 lines
3.5 KiB
RPMSpec
109 lines
3.5 KiB
RPMSpec
#
|
|
# spec file for package breeze-gtk
|
|
#
|
|
# Copyright (c) 2015 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/
|
|
#
|
|
|
|
%bcond_without lang
|
|
|
|
%define _name breeze
|
|
Name: breeze-gtk
|
|
Version: 5.14.4
|
|
Release: 0
|
|
Summary: GTK+ theme matching KDE's Breeze
|
|
License: LGPL-2.1
|
|
Group: System/GUI/KDE
|
|
Url: https://projects.kde.org/breeze-gtk
|
|
Source: https://download.kde.org/stable/plasma/%{version}/breeze-gtk-%{version}.tar.xz
|
|
%if %{with lang}
|
|
Source1: https://download.kde.org/stable/plasma/%{version}/breeze-gtk-%{version}.tar.xz.sig
|
|
Source2: plasma.keyring
|
|
%endif
|
|
# PATCH-FIX-UPSTREAM
|
|
Patch1: 0001-Set-the-default-cursor-theme-to-breeze_cursors.patch
|
|
# PATCH-FIX-OPENSUSE update_from_BreezeGTK.patch boo#994832 -- update user's config from the old BreezyGTK theme
|
|
Patch100: update_from_BreezeGTK.patch
|
|
BuildRequires: cmake >= 2.8.12
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: fdupes
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: kf5-filesystem
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
%description
|
|
A GTK+ theme created to match with the new Plasma 5 Breeze theme.
|
|
|
|
%package -n metatheme-%{_name}-common
|
|
Summary: GTK+ theme matching KDE's Breeze -- Common Files
|
|
Group: System/GUI/KDE
|
|
# Default cursor theme
|
|
Recommends: breeze5-cursors
|
|
Suggests: gtk2-metatheme-%{_name}
|
|
Suggests: gtk3-metatheme-%{_name}
|
|
Provides: %{_name}-gtk = %{version}
|
|
Obsoletes: %{_name}-gtk < %{version}
|
|
|
|
%description -n metatheme-%{_name}-common
|
|
A GTK+ theme created to match with the new Plasma 5 Breeze theme.
|
|
|
|
%package -n gtk2-metatheme-%{_name}
|
|
Summary: GTK+ theme matching KDE's Breeze -- GTK+ 2 Support
|
|
Group: System/GUI/KDE
|
|
Requires: metatheme-%{_name}-common = %{version}
|
|
Supplements: packageand(metatheme-%{_name}-common:gtk2)
|
|
BuildArch: noarch
|
|
|
|
%description -n gtk2-metatheme-%{_name}
|
|
A GTK+ theme created to match with the new Plasma 5 Breeze theme.
|
|
|
|
%package -n gtk3-metatheme-%{_name}
|
|
Summary: GTK+ theme matching KDE's Breeze -- GTK+ 3 Support
|
|
Group: System/GUI/KDE
|
|
Requires: metatheme-%{_name}-common = %{version}
|
|
Supplements: packageand(metatheme-%{_name}-common:gtk3)
|
|
BuildArch: noarch
|
|
|
|
%description -n gtk3-metatheme-%{_name}
|
|
A GTK+ theme created to match with the new Plasma 5 Breeze theme.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake_kf5
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%kf5_makeinstall
|
|
%fdupes %{buildroot}%{_datadir}/
|
|
|
|
%files -n metatheme-%{_name}-common
|
|
%license COPYING*
|
|
%doc README.md
|
|
%{_datadir}/themes/Breeze*/
|
|
%exclude %{_datadir}/themes/Breeze*/gtk-*/
|
|
%dir %{_kf5_sharedir}/kconf_update/
|
|
%dir %{_kf5_sharedir}/themes/Breeze*/assets/
|
|
%{_kf5_sharedir}/kconf_update/*%{_name}*
|
|
%dir %{_kf5_libdir}/kconf_update_bin/
|
|
%{_kf5_libdir}/kconf_update_bin/*%{_name}*
|
|
|
|
%files -n gtk2-metatheme-%{_name}
|
|
%{_datadir}/themes/Breeze*/gtk-2.0/
|
|
|
|
%files -n gtk3-metatheme-%{_name}
|
|
%{_datadir}/themes/Breeze*/gtk-3.*/
|
|
|
|
%changelog
|