From bb180d4190eaf9faf8e21f445c1710d1654ff4d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Wed, 27 Jul 2011 20:31:06 +0000 Subject: [PATCH] - rel 3 - conditional (off by default) wm-properties Changed files: icewm.spec -> 1.218 --- icewm.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/icewm.spec b/icewm.spec index dd4f889..50e0665 100644 --- a/icewm.spec +++ b/icewm.spec @@ -3,6 +3,7 @@ %bcond_without gradients # disable gradients (requires antialiasing which requires freetype) %bcond_without freetype # disable xfreetype support (implies !with_antialiasing) %bcond_without guievents # disable guievents +%bcond_with gnome # build with support for GNOME2 wm-properties # # TODO: # - make a PLD-theme - default :] @@ -18,7 +19,7 @@ Name: icewm Version: 1.3.7 %define _iceicons_ver 0.6 %define _netscapeicons_ver 0.2 -Release: 2 +Release: 3 Epoch: 2 License: LGPL Group: X11/Window Managers @@ -166,7 +167,7 @@ install -d $RPM_BUILD_ROOT{%{_datadir}/xsessions,%{_pixmapsdir}} \ %{__make} install \ DESTDIR=$RPM_BUILD_ROOT -install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir} +%{?with_gnome:install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}} install %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/icewm/startup install %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop install lib/keys $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/keys @@ -206,7 +207,7 @@ test -h %{_pixmapsdir}/icewm || rm -rf %{_pixmapsdir}/icewm %{_datadir}/icewm/themes/Infadel2 %{_datadir}/icewm/themes/icedesert %{_datadir}/xsessions/%{name}.desktop -%{_wmpropsdir}/* +%{?with_gnome:%{_wmpropsdir}/*} %files themes-base %defattr(644,root,root,755) -- 2.44.0