packages: AfterStep/AfterStep.spec - conditional (off by default) wm-proper...

baggins baggins at pld-linux.org
Thu Jul 28 12:07:33 CEST 2011


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

---- Files affected:
packages/AfterStep:
   AfterStep.spec (1.84 -> 1.85) 

---- Diffs:

================================================================
Index: packages/AfterStep/AfterStep.spec
diff -u packages/AfterStep/AfterStep.spec:1.84 packages/AfterStep/AfterStep.spec:1.85
--- packages/AfterStep/AfterStep.spec:1.84	Wed May  4 20:22:59 2011
+++ packages/AfterStep/AfterStep.spec	Thu Jul 28 12:07:28 2011
@@ -1,7 +1,8 @@
 # $Revision$, $Date$
 #
 # Conditional build:
-%bcond_with	mmx	# use MMX
+%bcond_with	mmx		# use MMX
+%bcond_with	gnome2		# build with support for GNOME2 wm-properties
 #
 %ifarch pentium3 pentium4 athlon %{x8664}
 %define		with_mmx	1
@@ -256,7 +257,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
+%{?with_gnome2:install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}}
 
 #install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/afterstep.sh
 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xsessions/AfterStep.desktop
@@ -304,7 +305,7 @@
 %attr(755,root,root) %{_bindir}/makeastheme.pl
 %attr(755,root,root) %{_bindir}/postcard.sh
 %attr(755,root,root) %{_libdir}/libAfter*.so.*.*
-%{_wmpropsdir}/AfterStep.desktop
+%{?with_gnome2:%{_wmpropsdir}/AfterStep.desktop}
 #%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
 %{_datadir}/afterstep
 %{_datadir}/xsessions/AfterStep.desktop
@@ -416,6 +417,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.85  2011/07/28 10:07:28  baggins
+- conditional (off by default) wm-properties (only used in gnome2)
+
 Revision 1.84  2011/05/04 18:22:59  qboosh
 - more BRs and devel deps
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/AfterStep/AfterStep.spec?r1=1.84&r2=1.85&f=u



More information about the pld-cvs-commit mailing list