#
# Conditional build:
-%bcond_with gnome # build with support for GNOME2 wm-properties
+%bcond_with gnome2 # build with support for GNOME2 wm-properties
#
Summary: AEWM - the ascetic window manager
Summary(pl.UTF-8): AEWM - "ascetyczny" zarządca okien
XROOT=%{_prefix} \
MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1
-%{?with_gnome:install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}}
+%{?with_gnome2:install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}}
install %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
install src/aewmrc.sample $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/aewmrc
install clients/clientsrc.sample $RPM_BUILD_ROOT%{_sysconfdir}/X11/%{name}/clientsrc
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/X11/%{name}/*rc
%attr(755,root,root) %{_bindir}/*
%{_datadir}/xsessions/%{name}.desktop
-%{?with_gnome:%{_wmpropsdir}/*}
+%{?with_gnome2:%{_wmpropsdir}/*}
%{_mandir}/man1/*