BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
+%define _wmpropsdir %{_datadir}/wm-properties
%description
Enlightenment is a Windowmanager for X-Windows that is designed to be
%build
gettextize --copy --force
-CFLAGS="-I%{_includedir}/freetype %{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
+CFLAGS="-I%{_includedir}/freetype %{rpmcflags}"
%configure \
--enable-fsstd \
--enable-sound
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties \
- $RPM_BUILD_ROOT/etc/sysconfig/wmstyle
+install -d $RPM_BUILD_ROOT{%{_wmpropsdir},/etc/sysconfig/wmstyle}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
install %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
-install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
+install %{SOURCE1} $RPM_BUILD_ROOT%{_wmpropsdir}
-gzip -9nf AUTHORS README NEWS \
+gzip -9nf AUTHORS README NEWS
%find_lang %{name}
/etc/sysconfig/wmstyle/*.names
%attr(755,root,root) %{_bindir}/*
%{_datadir}/enlightenment
-%{_datadir}/gnome/wm-properties/*
+%{_wmpropsdir}/*
%{_mandir}/man1/*