X-Git-Url: https://git.pld-linux.org/?p=packages%2Ficewm.git;a=blobdiff_plain;f=icewm.spec;h=b594d710a0980887e43ac55e3499e1399f580055;hp=dd4f889eb15a1e71f02887f90ecab6772324806a;hb=6096add7178047c048360acdd58d725a6f9a478c;hpb=2e7a9eeb49f1bcd3d354d4258aa35037f2cd9e85 diff --git a/icewm.spec b/icewm.spec index dd4f889..b594d71 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 gnome2 # 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: 4 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_gnome2: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_gnome2:%{_wmpropsdir}/*} %files themes-base %defattr(644,root,root,755)