From 91357b57f6c848dc46f678c91de112ec71e0bb16 Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mar 04 2011 22:06:18 +0000 Subject: more modularization, fix up bogus changelog entry Resolves: #675509 --- diff --git a/gnome-themes-standard.spec b/gnome-themes-standard.spec index 9b7de51..920ffcf 100644 --- a/gnome-themes-standard.spec +++ b/gnome-themes-standard.spec @@ -1,6 +1,6 @@ Name: gnome-themes-standard Version: 2.91.90 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Standard themes for GNOME applications Group: User Interface/Desktops @@ -17,6 +17,9 @@ BuildRequires: gtk3-devel BuildRequires: intltool gettext autoconf automake Requires: gtk2-engines gnome-icon-theme abattis-cantarell-fonts Requires: adwaita-cursor-theme = %{version}-%{release} +Requires: adwaita-icon-theme = %{version}-%{release} +Requires: adwaita-gtk2-theme = %{version}-%{release} +Requires: adwaita-gtk3-theme = %{version}-%{release} Patch1: insensitive-checkboxes.patch @@ -33,6 +36,30 @@ Group: User Interface/Desktops The adwaita-cursor-theme package contains a modern set of cursors originally designed for the GNOME desktop. +%package -n adwaita-icon-theme +Summary: Adwaita icon theme +Group: User Interface/Desktops + +%description -n adwaita-icon-theme +The adwaita-icon-theme package contains a modern set of icon originally +designed for the GNOME desktop. + +%package -n adwaita-gtk2-theme +Summary: adwaita gtk2 theme +Group: User Interface/Desktops + +%description -n adwaita-gtk2-theme +The adwaita-gtk2-theme package contains a gtk2 theme for presenting widgets +with a GNOME look and feel. + +%package -n adwaita-gtk3-theme +Summary: adwaita gtk3 theme +Group: User Interface/Desktops + +%description -n adwaita-gtk3-theme +The adwaita-gtk3-theme package contains a gtk3 theme for rendering widgets +with a GNOME look and feel. + %prep %setup -q @@ -73,27 +100,40 @@ gtk-update-icon-cache %{_datadir}/icons/Adwaita &>/dev/null || : %{_sysconfdir}/gtk-3.0/settings.ini %{_sysconfdir}/gtk-2.0/gtkrc -# Theme (gtk2, gtk3, background), WM +# Background and WM %{_datadir}/themes/Adwaita - -# Icons -%{_datadir}/icons/Adwaita -%exclude %{_datadir}/icons/Adwaita/cursors +%exclude %{_datadir}/themes/Adwaita/gtk-3.0 +%exclude %{_datadir}/themes/Adwaita/gtk-3.0 # Background %{_datadir}/gnome-background-properties/* -# Theme engine -%{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.so - %files -n adwaita-cursor-theme # Cursors %{_datadir}/icons/Adwaita/cursors +%files -n adwaita-icon-theme +# Icons +%{_datadir}/icons/Adwaita +%exclude %{_datadir}/icons/Adwaita/cursors + +%files -n adwaita-gtk2-theme +# gtk2 Theme +%{_datadir}/themes/Adwaita/gtk-2.0 + +%files -n adwaita-gtk3-theme +# gtk3 Theme and engine +%{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.so +%{_datadir}/themes/Adwaita/gtk-3.0 + %doc COPYING NEWS %changelog -* Fri Mar 04 2011 Ray Strode 2.91.8-7 +* Fri Mar 04 2011 Ray Strode 2.91.90-4 +- Split out gtk themes into a subpackage as well + Resolves: #675509 + +* Fri Mar 04 2011 Ray Strode 2.91.90-3 - Split cursors out into a subpackage Resolves: #675509