Package init

This commit is contained in:
overweight 2019-09-30 10:41:09 -04:00
commit 6a499e6871
3 changed files with 54 additions and 0 deletions

Binary file not shown.

View File

@ -0,0 +1,49 @@
Name: gnome-themes-standard
Version: 3.27.90
Release: 2
Summary: Standard themes for GNOME applications
License: LGPLv2+
URL: https://gitlab.gnome.org/GNOME/gnome-themes-extra
Source0: https://download.gnome.org/sources/%{name}/3.27/%{name}-%{version}.tar.xz
# The following source come from upstream
Source2: gtkrc
BuildRequires: gtk2-devel >= 2.24.15 gtk3-devel >= 3.9.12
BuildRequires: gtk-update-icon-cache intltool gettext autoconf automake libtool librsvg2-devel
Requires: abattis-cantarell-fonts google-noto-emoji-color-fonts adwaita-icon-theme adwaita-gtk2-theme = %{version}-%{release}
Conflicts: adwaita-gtk3-theme < 3.13.3
Provides: adwaita-gtk2-theme
Obsoletes: adwaita-gtk2-theme
%description
The GNOME Themes Standard package contains various components of the default GNOME theme,
which provides default appearance for cursors, desktop background, window borders and GTK+ applications.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure
%make_build
%install
install -D %{_sourcedir}/gtkrc %{buildroot}%{_datadir}/gtk-2.0/gtkrc
%make_install
%check
make check
%files
%doc NEWS
%{_datadir}/icons/HighContrast/*
%ghost %{_datadir}/icons/HighContrast/icon-theme.cache
%{_datadir}/themes/Adwaita*
%{_datadir}/themes/HighContrast/*
%{_datadir}/gtk-2.0/gtkrc
%{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.*
%changelog
* Tue Sep 17 2019 chenzhenyu <chenzhenyu13@huawei.com> - 3.27.90-2
- Package init

5
gtkrc Normal file
View File

@ -0,0 +1,5 @@
gtk-theme-name = "Adwaita"
gtk-icon-theme-name = "Adwaita"
gtk-cursor-theme-name = "Adwaita"
gtk-button-images = 0
gtk-menu-images = 0