# JASSPA MicroEmacs - www.jasspa.com # jasspa.spec - RedHat package specification for JASSPA MicroEmacs # # Copyright (C) 2003-2006 JASSPA (www.jasspa.com) # # This program is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by the Free # Software Foundation; either version 2 of the License, or (at your option) # any later version. # # This program is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for # more details. # # You should have received a copy of the GNU General Public License along # with this program; if not, write to the Free Software Foundation, Inc., # 675 Mass Ave, Cambridge, MA 02139, USA. # System : MicroEmacs # Module : Package File. # Created By : Jon Green # Created : Sun Aug 17 12:58:23 2003 # Last Modified : <060924.1417> # Description : Produces RedHat RPM package for JASSPA MicroEmacs %define name jasspa-me %define yymmdd_version 060909 %define version 20%{yymmdd_version} %define release 1 Summary: A much enhanced version of Daniel Lawrence's original MicroEmacs 3.8 of 1988 Name: %{name} Version: %{version} Release: %{release} Copyright: GPL Group: Applications/Editors URL: http://www.jasspa.com/ buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root #BuildRoot: /var/tmp/%{name}-buildroot Source0: %{name}src-%{version}.tar.gz Source1: %{name}tree-%{version}.tar.gz Source2: me.1.gz Packager: Jon Green Prefix: %{_prefix} %description JASSPA MicroEmacs is an enhanced version of Daniel Lawrence's original MicroEmacs 3.8. It has a small memory and disk footprint while still providing most of the useful Emacs functionality. MicroEmacs includes X-window support, an integrated spell-checker, macro language, major modes for most languages, color syntax highlighting in X and console modes, online help, file browser, and much more ! %prep # Only unpack the source directory. %setup -a 0 -n me%{yymmdd_version} %build (cd ./src; sh ./build) %install install -d -m 0755 %{buildroot}%{_bindir} install -d -m 0755 %{buildroot}%{_datadir} install -d -m 0755 %{buildroot}%{_mandir}/cat1 tar -C %{buildroot}%{_datadir} -zxf %{_sourcedir}/%{name}tree-%{version}.tar.gz install -c -m 0755 ./src/me %{buildroot}%{_bindir} install -c -m 0644 %{_sourcedir}/me.1.gz %{buildroot}%{_mandir}/cat1 %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/me %{_datadir}/jasspa %{_mandir}/cat1 # %dir /usr/share/doc/jasspa # %doc /usr/share/doc/jasspa/readme.txt %changelog