[packages/gnome-themes-standard] Move gtk2 theme engine to gtk2-theme-engine-adwaita package

megabajt megabajt at pld-linux.org
Thu Oct 18 21:36:53 CEST 2012


commit fecf12a44f7b2111267b1ce48fde369434386262
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date:   Thu Oct 18 21:35:39 2012 +0200

    Move gtk2 theme engine to gtk2-theme-engine-adwaita package

 gnome-themes-standard.spec | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)
---
diff --git a/gnome-themes-standard.spec b/gnome-themes-standard.spec
index 86dcaa7..53fc3cc 100644
--- a/gnome-themes-standard.spec
+++ b/gnome-themes-standard.spec
@@ -22,6 +22,7 @@ BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 Requires(post):	gtk-update-icon-cache
 Requires:	gnome-icon-theme >= 3.4.0
+Suggests:	gtk2-theme-engine-adwaita
 Obsoletes:	gnome-themes-HighContrast < 3.0-1
 Obsoletes:	gnome-themes-HighContrastLargePrint < 3.0-1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -32,6 +33,14 @@ Default themes for GNOME environment.
 %description -l pl.UTF-8
 Domyślne motywy dla środowiska GNOME.
 
+%package -n gtk2-theme-engine-adwaita
+Summary:	Adwaita gtk2 theme
+Group:		Themes/GTK+
+
+%description -n gtk2-theme-engine-adwaita
+This package contains a gtk2 theme for presenting widgets with a GNOME
+look and feel.
+
 %prep
 %setup -q
 
@@ -64,10 +73,17 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.so
 %attr(755,root,root) %{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.so
 %{_datadir}/themes/Adwaita
+%exclude %{_datadir}/themes/Adwaita/gtk-2.0
 %{_datadir}/themes/HighContrast
+%exclude %{_datadir}/themes/HighContrast/gtk-2.0
 %{_datadir}/gnome-background-properties/adwaita.xml
 %{_iconsdir}/Adwaita
 %{_iconsdir}/HighContrast
+
+%files -n gtk2-theme-engine-adwaita
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/gtk-2.0/2.10.0/engines/libadwaita.so
+%{_datadir}/themes/Adwaita/gtk-2.0
+%{_datadir}/themes/HighContrast/gtk-2.0
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gnome-themes-standard.git/commitdiff/fecf12a44f7b2111267b1ce48fde369434386262



More information about the pld-cvs-commit mailing list