%bcond_without gtk # don't build GTK+2 version
%bcond_without motif # don't build motif version
%bcond_without nox # don't build nox version
-#
+
Summary: The Emacs text editor for the X Window System
Summary(de.UTF-8): GNU Emacs
Summary(es.UTF-8): GNU Emacs
$RPM_BUILD_ROOT{%{_desktopdir},/etc/skel,%{_pixmapsdir}} \
%if %{with athena}%{with gtk}%{with motif}%{with nox}
-%{makeinstall} -C build-%{bootstrap}
+%makeinstall -C build-%{bootstrap}
%else
echo 'ERROR: neither athena nor gtk nor motif nor nox emacs was built.' 1>&2
exit 1
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/postshell
+%post common -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun -p /sbin/postshell
+%postun common -p /sbin/postshell
-/usr/sbin/fix-info-dir -c %{_infodir}
%triggerin nox -- emacs-X11