Commit 2c6d406e authored by Alexander Larsson's avatar Alexander Larsson
Browse files

Add gnome-themes-standard

parent 2595a47a
......@@ -39,7 +39,7 @@ PACKAGES = \
itstool yelp-xsl yelp-tools \
hicolor-icon-theme libcroco vala librsvg2 adwaita-icon-theme \
gnome-sdk gnome-platform dejavu-fonts abattis-cantarell-fonts \
gtk2 \
gtk2 gnome-themes-standard \
$(NULL)
ALL_SPECS =$(PACKAGES:%=$(SPECS)/%.spec)
......
......@@ -8,15 +8,18 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
Requires: gnome-platform-base
Requires: gtk2 gtk2-immodules
Requires: gtk3 gtk3-immodules
Requires: hicolor-icon-theme
Requires: adwaita-icon-theme
Requires: gnome-themes-standard
Requires: dejavu-fonts
Requires: abattis-cantarell-fonts
Requires: dbus-libs
Requires: librsvg2
Requires: dbus-glib
Requires: gobject-introspection
Requires: gtk2 gnome-themes-standard
%description
Meta package for Gnome SDK dependencies
......
......@@ -12,6 +12,7 @@ BuildRequires: gtk2
BuildRequires: gtk3 gtk3-immodules
BuildRequires: hicolor-icon-theme
BuildRequires: adwaita-icon-theme
BuildRequires: gnome-themes-standard
BuildRequires: dejavu-fonts
BuildRequires: abattis-cantarell-fonts
BuildRequires: dbus-libs
......@@ -19,11 +20,12 @@ BuildRequires: librsvg2
BuildRequires: dbus-glib
BuildRequires: gobject-introspection
Requires: gtk2-devel
Requires: gtk3-devel
Requires: gtk2-devel gtk2-immodules
Requires: gtk3-devel gtk3-immodules
Requires: librsvg2-devel
Requires: hicolor-icon-theme
Requires: adwaita-icon-theme-devel
Requires: gnome-themes-standard
Requires: gtk-doc-stub
Requires: atk-devel
Requires: at-spi2-atk-devel
......
Name: gnome-themes-standard
Version: 3.14.2
Release: 1%{?dist}
Summary: Standard themes for GNOME applications
Group: User Interface/Desktops
License: LGPLv2+
URL: http://git.gnome.org/browse/gnome-themes-standard
Source0: http://download.gnome.org/sources/%{name}/3.14/%{name}-%{version}.tar.xz
Source2: gtkrc
BuildRequires: gnome-sdk-base
BuildRequires: gtk2-devel
BuildRequires: gtk3-devel
BuildRequires: librsvg2-devel
Requires: abattis-cantarell-fonts
Requires: adwaita-gtk2-theme = %{version}-%{release}
Requires: adwaita-icon-theme
%description
The gnome-themes-standard package contains the standard theme for the GNOME
desktop, which provides default appearance for cursors, desktop background,
window borders and GTK+ applications.
%package -n adwaita-gtk2-theme
Summary: Adwaita gtk2 theme
Group: User Interface/Desktops
Requires: gtk2%{_isa} >= %{gtk2_version}
%description -n adwaita-gtk2-theme
The adwaita-gtk2-theme package contains a gtk2 theme for presenting widgets
with a GNOME look and feel.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
for t in HighContrast; do
rm -f $RPM_BUILD_ROOT%{_datadir}/icons/$t/icon-theme.cache
touch $RPM_BUILD_ROOT%{_datadir}/icons/$t/icon-theme.cache
done
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.la
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-2.0
cp $RPM_SOURCE_DIR/gtkrc $RPM_BUILD_ROOT%{_datadir}/gtk-2.0/gtkrc
%post
for t in HighContrast; do
touch --no-create %{_datadir}/icons/$t &>/dev/null || :
done
%posttrans
for t in HighContrast; do
gtk-update-icon-cache %{_datadir}/icons/$t &>/dev/null || :
done
%files
%doc COPYING NEWS
# Background and WM
%{_datadir}/themes/Adwaita
%exclude %{_datadir}/themes/Adwaita/gtk-2.0
# A11y themes
%ghost %{_datadir}/icons/HighContrast/icon-theme.cache
%{_datadir}/icons/HighContrast
%{_datadir}/themes/HighContrast
%files -n adwaita-gtk2-theme
# gtk2 Theme and engine
%{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.so
%{_datadir}/themes/Adwaita/gtk-2.0
# Default gtk2 settings
%{_datadir}/gtk-2.0/gtkrc
%changelog
* Fri Nov 21 2014 Alexander Larsson <alexl@redhat.com> - 3.14.2-1
- Initial version, based on F21
......@@ -48,8 +48,6 @@ suites.
Summary: Input methods for GTK+
Group: System Environment/Libraries
Requires: gtk2 = %{version}-%{release}
# for /etc/X11/xinit/xinput.d
Requires: imsettings
%description immodules
The gtk2-immodules package contains standalone input methods that are shipped
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment