Author: baggins                      Date: Thu Jul 28 10:15:47 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- conditional (off by default) wm-properties (only used in gnome2)

---- Files affected:
packages/ctwm:
   ctwm.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: packages/ctwm/ctwm.spec
diff -u packages/ctwm/ctwm.spec:1.29 packages/ctwm/ctwm.spec:1.30
--- packages/ctwm/ctwm.spec:1.29        Thu Sep 18 17:47:13 2008
+++ packages/ctwm/ctwm.spec     Thu Jul 28 12:15:42 2011
@@ -1,9 +1,13 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with    gnome2          # build with support for GNOME2 wm-properties
+#
 Summary:       CTWM - an extention to the twm window manager
 Summary(pl.UTF-8):     CTWM - rozszerzenie do zarzÄ…dcy okien twm
 Name:          ctwm
 Version:       3.6
-Release:       2
+Release:       3
 License:       MIT
 Group:         X11/Window Managers
 Source0:       http://ctwm.free.lp.se/dist/%{name}-%{version}.tar.gz
@@ -66,7 +70,7 @@
 %{__make} install.man \
        DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
+%{?with_gnome2:install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}}
 install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
 
 %clean
@@ -78,7 +82,7 @@
 %config /etc/X11/twm/system.ctwmrc
 %attr(755,root,root) %{_bindir}/ctwm
 %{_libdir}/X11/ctwm
-%{_wmpropsdir}/ctwm.desktop
+%{?with_gnome2:%{_wmpropsdir}/ctwm.desktop}
 %{_datadir}/xsessions/ctwm.desktop
 %{_mandir}/man1/*
 
@@ -88,6 +92,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2011/07/28 10:15:42  baggins
+- rel 3
+- conditional (off by default) wm-properties (only used in gnome2)
+
 Revision 1.29  2008/09/18 15:47:13  patrys
 - move wm-properties
 - rel 2
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ctwm/ctwm.spec?r1=1.29&r2=1.30&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to