[packages/mate-window-manager] split -themes

glen glen at pld-linux.org
Tue Jan 15 21:54:43 CET 2013


commit 39cadd2d1adf080aa77008e8a2cb384e89da2214
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Tue Jan 15 22:54:04 2013 +0200

    split -themes

 mate-window-manager.spec | 30 ++++++++++++++++++++++--------
 1 file changed, 22 insertions(+), 8 deletions(-)
---
diff --git a/mate-window-manager.spec b/mate-window-manager.spec
index 648169d..ddcff51 100644
--- a/mate-window-manager.spec
+++ b/mate-window-manager.spec
@@ -1,5 +1,6 @@
 # TODO
 # - subpackages for themes (see metacity.spec)
+# - find proper packages for %files
 Summary:	MATE Desktop window manager
 Name:		mate-window-manager
 Version:	1.5.3
@@ -31,6 +32,8 @@ Requires:	%{name}-libs = %{version}-%{release}
 Requires:	glib2 >= 1:2.26.0
 Requires:	gsettings-desktop-schemas
 Suggests:	mate-control-center
+# can use any gtk+2 themes nicely, Adwaita specially
+Suggests:	%{name}-themes
 Requires(post):	/sbin/ldconfig
 Obsoletes:	mate-window-manager-libs < 1.4.1-2
 # http://bugzilla.redhat.com/873342
@@ -59,6 +62,14 @@ Requires:	%{name}-libs = %{version}-%{release}
 %description devel
 Development files for mate-window-manager
 
+%package themes
+Summary:	Themes for Mate Window Manager
+Group:		Themes/GTK+
+Requires:	%{name} = %{version}-%{release}
+
+%description themes
+Themes for Mate Window Manager.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -109,6 +120,17 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/marco
 %attr(755,root,root) %{_bindir}/marco-message
 %{_desktopdir}/marco.desktop
+%{_datadir}/marco
+%{_datadir}/mate-control-center/keybindings/50-marco*.xml
+%{_datadir}/mate/help/creating-marco-themes/C/creating-marco-themes.xml
+%{_datadir}/mate/wm-properties
+%{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
+%{_datadir}/MateConf/gsettings/marco.convert
+%{_mandir}/man1/marco.1.*
+%{_mandir}/man1/marco-message.1.*
+
+%files themes
+%defattr(644,root,root,755)
 %{_datadir}/themes/ClearlooksRe
 %{_datadir}/themes/Dopple-Left
 %{_datadir}/themes/Dopple
@@ -119,14 +141,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/themes/Splint
 %{_datadir}/themes/WinMe
 %{_datadir}/themes/eOS
-%{_datadir}/marco
-%{_datadir}/mate-control-center/keybindings/50-marco*.xml
-%{_datadir}/mate/help/creating-marco-themes/C/creating-marco-themes.xml
-%{_datadir}/mate/wm-properties
-%{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
-%{_datadir}/MateConf/gsettings/marco.convert
-%{_mandir}/man1/marco.1.*
-%{_mandir}/man1/marco-message.1.*
 
 # XXX find proper packages
 %dir %{_datadir}/mate-control-center
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mate-window-manager.git/commitdiff/39cadd2d1adf080aa77008e8a2cb384e89da2214



More information about the pld-cvs-commit mailing list