Summary: GNU Emacs text editor. Name: emacs Version: 21.2 Release: 2 License: GPL Group: Applications/Editors Source0: ftp://ftp.ring.gr.jp/pub/GNU/emacs/%{name}-%{version}.tar.gz Source1: ftp://ftp.ring.gr.jp/pub/GNU/emacs/leim-%{version}.tar.gz URL: http://www.gnu.org/software/emacs/ Buildroot: %{_tmppath}/emacs-root Provides: emacs %description Emacs is a powerful, customizable, self-documenting, modeless text editor. Emacs contains special code editing features, a scripting language (elisp), and the capability to read mail, news, and more without leaving the editor. %prep rm -fr $RPM_BUILD_ROOT rm -fr $RPM_BUILD_DIR/emacs-work rm -fr $RPM_BUILD_DIR/emacs-$RPM_PACKAGE_VERSION mkdir -p $RPM_BUILD_ROOT/usr mkdir -p $RPM_BUILD_DIR/emacs-work mkdir -p $RPM_BUILD_DIR/emacs-$RPM_PACKAGE_VERSION %setup -q -b 1 -n emacs-work -D %build ../emacs-$RPM_PACKAGE_VERSION/configure --prefix=/usr make %install make install prefix=$RPM_BUILD_ROOT/usr %files %defattr(-, root, root) %doc ../emacs-%{version}/AUTHORS ../emacs-%{version}/BUGS %doc ../emacs-%{version}/ChangeLog ../emacs-%{version}/FTP %doc ../emacs-%{version}/README /usr/bin/* /usr/info/* /usr/libexec/emacs/%{version}/i686-pc-linux-gnu/* /usr/man/man1/* /usr/share/emacs/%{version} %config /usr/share/emacs/site-lisp/subdirs.el %clean #rm -rf $RPM_BUILD_ROOT %changelog * Thu Apr 4 2002 Norihisa Washitake - First Build, for RedHat 6.2, No X(for terminals) - This package was made only for easy removal, and incompatible - with other packages like xemacs, emacs-el.