Name: gnome-themes-standard
Version: 2.91.8
Release: 2%{?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}/2.91/%{name}-%{version}.tar.bz2
Source1: settings.ini
BuildRequires: gtk3-devel
BuildRequires: intltool gettext autoconf automake
Requires: gtk2-engines gnome-icon-theme
Patch1: gnome-themes-standard-active-button.patch
%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.
%prep
%setup -q
%patch1 -p1 -b .active-button
%build
%configure
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.la
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/gtk-3.0
cp %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/gtk-3.0/settings.ini
%find_lang %{name}
%post
touch --no-create %{_datadir}/icons/Adwaita &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/Adwaita &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || :
%files -f %{name}.lang
%defattr(-,root,root,-)
# Default settings
%{_sysconfdir}/gtk-3.0/settings.ini
# Theme (gtk2, gtk3, background), WM
%{_datadir}/themes/Adwaita
# Icons
%{_datadir}/icons/Adwaita
# Background
%{_datadir}/gnome-background-properties/*
# Theme engine
%{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.so
%doc COPYING NEWS
%changelog
* Fri Feb 4 2011 Cosimo Cecchi <cosimoc@redhat.com> 2.91.8-2
- Add a patch from upstream for active toggle buttons
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> 2.91.8-1
- Update to 2.91.8
- Add default settings for session-less situations
* Sun Jan 23 2011 Matthias Clasen <mclasen@redhat.com> 2.91.7-1
- Update to 2.91.7
* Wed Jan 19 2011 Matthias Clasen <mclasen@redhat.com> 2.91.6-1
- Update to 2.91.6
* Mon Jan 10 2011 Matthias Clasen <mclasen@redhat.com> 2.91.5-1
- Update to 2.91.5
* Mon Nov 22 2010 Matthias Clasen <mclasen@redhat.com> 2.91.2.1-7
- Require gtk-theme-engine-clearlooks
* Tue Nov 16 2010 Matthias Clasen <mclasen@redhat.com> 2.91.2.1-6
- Obsoleting gnome-themes seems unnecessarily harsh
* Mon Nov 15 2010 Cosimo Cecchi <ccecchi@redhat.com> 2.91.2.1-5
- Add "Provides:" so that packages depending on gnome-themes don't break
* Mon Nov 15 2010 Cosimo Cecchi <ccecchi@redhat.com> 2.91.2.1-4
- Make this package obsolete gnome-themes
* Fri Nov 12 2010 Cosimo Cecchi <ccecchi@redhat.com> 2.91.2.1-3
- Make sure the theme directory is owned by the package too.
- Cleaned up the spec file a bit more to silence some rpmlint
warnings.
* Fri Nov 12 2010 Cosimo Cecchi <ccecchi@redhat.com> 2.91.2.1-2
- Cleaned up the spec file, removed the %%clean section, and fixed a typo
in the description.
* Fri Nov 12 2010 Cosimo Cecchi <ccecchi@redhat.com> 2.91.2.1-1
- First packaging of gnome-themes-standard