]> git.pld-linux.org Git - packages/blackbox.git/commitdiff
- conditional (off by default) wm-properties (only used in gnome2)
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 28 Jul 2011 10:12:38 +0000 (10:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    blackbox.spec -> 1.97

blackbox.spec

index 98c61eeee6e552d0ced44c2565b537af3bb8cbc3..f6948409d953dd68decbd44ecd558324326adf62 100644 (file)
@@ -3,6 +3,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
@@ -96,7 +97,7 @@ install -d \
 %{__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
@@ -113,7 +114,7 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.074344 seconds and 4 git commands to generate.