forked from pool/breeze-gtk
5291d7df44
1 OBS-URL: https://build.opensuse.org/request/show/340149 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/breeze-gtk?expand=0&rev=2
92 lines
2.9 KiB
RPMSpec
92 lines
2.9 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/
|
|
#
|
|
|
|
|
|
%define _name breeze
|
|
Name: breeze-gtk
|
|
Version: 0.1~git20150827
|
|
Release: 0
|
|
Summary: GTK+ theme matching KDE's Breeze
|
|
License: LGPL-2.1
|
|
Group: System/GUI/KDE
|
|
Url: https://github.com/dirruk1/gnome-breeze
|
|
Source: gnome-%{_name}-%{version}.tar.gz
|
|
BuildRequires: fdupes
|
|
BuildArch: noarch
|
|
|
|
%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
|
|
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)
|
|
|
|
%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)
|
|
|
|
%description -n gtk3-metatheme-%{_name}
|
|
A GTK+ theme created to match with the new Plasma 5 Breeze theme.
|
|
|
|
%prep
|
|
%setup -q -n gnome-%{_name}-%{version}
|
|
chmod a-x Breeze*/gtk-2.0/gtkrc
|
|
|
|
%build
|
|
# Nothing to build.
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_datadir}/themes/
|
|
cp -a Breeze-gtk/ %{buildroot}%{_datadir}/themes/BreezeGTK/
|
|
cp -a Breeze-dark-gtk/ %{buildroot}%{_datadir}/themes/BreezeDarkGTK/
|
|
|
|
%fdupes %{buildroot}%{_datadir}/
|
|
|
|
%files -n metatheme-%{_name}-common
|
|
%defattr(-,root,root)
|
|
%doc LICENSE README.md
|
|
%{_datadir}/themes/Breeze*/
|
|
%exclude %{_datadir}/themes/Breeze*/gtk-?.0/
|
|
|
|
%files -n gtk2-metatheme-%{_name}
|
|
%defattr(-,root,root)
|
|
%{_datadir}/themes/Breeze*/gtk-2.0/
|
|
|
|
%files -n gtk3-metatheme-%{_name}
|
|
%defattr(-,root,root)
|
|
%{_datadir}/themes/Breeze*/gtk-3.0/
|
|
|
|
%changelog
|