packages: blackbox/blackbox.spec - conditional (off by default) wm-properti...

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


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

---- Files affected:
packages/blackbox:
   blackbox.spec (1.96 -> 1.97) 

---- Diffs:

================================================================
Index: packages/blackbox/blackbox.spec
diff -u packages/blackbox/blackbox.spec:1.96 packages/blackbox/blackbox.spec:1.97
--- packages/blackbox/blackbox.spec:1.96	Sat Jan 29 01:06:10 2011
+++ packages/blackbox/blackbox.spec	Thu Jul 28 12:12:38 2011
@@ -4,6 +4,7 @@
 #
 # Conditional build:
 %bcond_with	epistrophy	# enables using epistorophy key grabber
+%bcond_with	gnome2		# build with support for GNOME2 wm-properties
 #
 Summary:	Very small and fast window manger for the X Window
 Summary(pl.UTF-8):	Mały i szybki zarządca okien dla X Window
@@ -97,7 +98,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
+%{?with_gnome2:install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}}
 install %{SOURCE3} $RPM_BUILD_ROOT%{_mandir}/pl/man1
 install %{SOURCE4} $RPM_BUILD_ROOT%{_mandir}/pl/man1
 cp %{SOURCE5} README.PLD
@@ -114,7 +115,7 @@
 %dir %{_datadir}/blackbox
 %{_datadir}/blackbox/styles
 %{_datadir}/xsessions/%{name}.desktop
-%{_wmpropsdir}/blackbox.desktop
+%{?with_gnome2:%{_wmpropsdir}/blackbox.desktop}
 %{_mandir}/man1/*
 %lang(pl) %{_mandir}/pl/man1/*
 %{_datadir}/blackbox/menu
@@ -125,6 +126,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.97  2011/07/28 10:12:38  baggins
+- conditional (off by default) wm-properties (only used in gnome2)
+
 Revision 1.96  2011/01/29 00:06:10  sparky
 - dropped pre-cvs changelog
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/blackbox/blackbox.spec?r1=1.96&r2=1.97&f=u



More information about the pld-cvs-commit mailing list