Accepting request 584487 from GNOME:Next

Package was renamed, add to distro

OBS-URL: https://build.opensuse.org/request/show/584487
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-themes-extra?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2018-03-09 11:30:04 +00:00 committed by Git OBS Bridge
commit 814960f809
6 changed files with 1216 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

2
baselibs.conf Normal file
View File

@ -0,0 +1,2 @@
gtk2-theming-engine-adwaita
supplements "packageand(metatheme-adwaita-common:gtk2-<targettype>)"

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95711f95da892a0d5531a4a233546e14b123721ecd90e02a837f27e1d2d35c12
size 2957404

1029
gnome-themes-extra.changes Normal file

File diff suppressed because it is too large Load Diff

158
gnome-themes-extra.spec Normal file
View File

@ -0,0 +1,158 @@
#
# spec file for package gnome-themes-standard
#
# Copyright (c) 2018 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/
#
Name: gnome-themes-extra
Version: 3.27.92
Release: 0
Summary: Extra GNOME Themes
License: LGPL-2.1-or-later
Group: System/GUI/GNOME
URL: http://www.gnome.org
Source: http://download.gnome.org/sources/gnome-themes-extra/3.27/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: fdupes
# Needed to convert svg to gresource
BuildRequires: gdk-pixbuf-loader-rsvg
BuildRequires: intltool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(cairo)
BuildRequires: pkgconfig(gdk-2.0) >= 2.24.15
BuildRequires: pkgconfig(gdk-3.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.15
BuildRequires: pkgconfig(gtk+-3.0) >= 3.9.12
BuildRequires: pkgconfig(librsvg-2.0)
%description
This packages contains extra GNOME themes from GNOME 3 and later.
%package -n metatheme-adwaita-common
Summary: Adwaita GNOME Theme -- Common Files
Group: System/GUI/GNOME
Suggests: gtk2-metatheme-adwaita
Suggests: gtk3-metatheme-adwaita
BuildArch: noarch
%description -n metatheme-adwaita-common
Adwaita is the default GNOME theme in GNOME 3.
# Note: it's really a metatheme, and not just a gtk2 theme as we require metatheme-adwaita-common
%package -n gtk2-metatheme-adwaita
Summary: Adwaita GNOME Theme -- GTK+ 2 Support
Group: System/GUI/GNOME
# the theme is using the pixmap engine, shipped inside gtk2
Requires: gtk2
Requires: gtk2-theming-engine-adwaita = %{version}
Requires: metatheme-adwaita-common = %{version}
Supplements: packageand(metatheme-adwaita-common:gtk2)
BuildArch: noarch
%description -n gtk2-metatheme-adwaita
Adwaita is the default GNOME theme in GNOME 3.
# Note: it's really a metatheme, and not just a gtk3 theme as we require metatheme-adwaita-common
%package -n gtk3-metatheme-adwaita
Summary: Adwaita GNOME Theme -- GTK+ 3 Support
Group: System/GUI/GNOME
Requires: cantarell-fonts
Requires: metatheme-adwaita-common = %{version}
Supplements: packageand(metatheme-adwaita-common:gtk3)
BuildArch: noarch
%description -n gtk3-metatheme-adwaita
Adwaita is the default GNOME theme in GNOME 3.
%package -n gtk2-theming-engine-adwaita
Summary: Adwaita GTK+ Theming Engine
Group: System/GUI/GNOME
%description -n gtk2-theming-engine-adwaita
Adwaita is the default GNOME theme in GNOME 3.
%package -n gnome-themes-accessibility
Summary: Accessibility GNOME Themes
Group: System/GUI/GNOME
Conflicts: gnome-themes < 3.0.0
BuildArch: noarch
%description -n gnome-themes-accessibility
This package contains high-contrast and low-contrast themes for GNOME.
%package -n gnome-themes-accessibility-gtk2
Summary: Accessibility GNOME Themes
Group: System/GUI/GNOME
Requires: gtk2-engine-hcengine
Supplements: packageand(gnome-themes-accessibility:gtk2)
BuildArch: noarch
%description -n gnome-themes-accessibility-gtk2
This package contains high-contrast and low-contrast themes for gtk2 applications.
%prep
%autosetup
%build
%configure
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%{icon_theme_cache_create_ghost HighContrast}
%fdupes %{buildroot}%{_datadir}/icons/Adwaita/cursors/
%fdupes %{buildroot}%{_datadir}/icons/HighContrast/
%fdupes %{buildroot}%{_datadir}/themes/
%post -n gnome-themes-accessibility
%icon_theme_cache_post HighContrast
# No need for %%icon_theme_cache_postun in %%postun since the theme won't exist anymore
%files -n metatheme-adwaita-common
%license LICENSE
%doc NEWS
%dir %{_datadir}/themes/Adwaita
%{_datadir}/themes/Adwaita/index.theme
%dir %{_datadir}/themes/Adwaita-dark
%{_datadir}/themes/Adwaita-dark/index.theme
%files -n gtk2-metatheme-adwaita
%{_datadir}/themes/Adwaita/gtk-2.0/
%{_datadir}/themes/Adwaita-dark/gtk-2.0/
%files -n gtk3-metatheme-adwaita
%{_datadir}/themes/Adwaita/gtk-3.0/
%dir %{_datadir}/themes/Adwaita-dark/gtk-3.0
%{_datadir}/themes/Adwaita-dark/gtk-3.0/gtk.css
%files -n gtk2-theming-engine-adwaita
%{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.so
%files -n gnome-themes-accessibility
%ghost %{_datadir}/icons/HighContrast/icon-theme.cache
%{_datadir}/icons/HighContrast/
%dir %{_datadir}/themes/HighContrast/
%{_datadir}/themes/HighContrast/index.theme
%{_datadir}/themes/HighContrast/gtk-3.0/
%files -n gnome-themes-accessibility-gtk2
%{_datadir}/themes/HighContrast/gtk-2.0/
%changelog