# configflags: flags passed to each make to configure for AIX # The choices are explained in Makefile and sysdep.doc. #%define configflags SYSDEFS=\\\"-DAIX4_2 TERMCAPLIB=-lcurses\\\" %define configflags SYSDEFS="-DAIX4_2" TERMCAPLIB="-lcurses" Summary: Jonathan's Own Version of Emacs Name: jove Version: 4.16.0.73 Release: 1 Copyright: Copyright (C) 1986-2002 by Jonathan Payne, freely redistributable Group: Applications/Editors/Emacs Source0: %{name}%{version}.tgz Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Jove is a compact, powerful Emacs-style text-editor. It provides the common emacs keyboard bindings, together with a reasonable assortment of the most popular advanced features (e.g. interactive shell windows, compile-it, language specific modes) while weighing in with CPU, memory, and disk requirements comparable to vi(1). %prep %setup -q -n %{name}%{version} %build # Keep all three make commands consistent, except for JOVEHOME and targets. # JOVEHOME must be the ultimate path since it will be compiled into JOVE. make JOVEHOME=%{_prefix} %{configflags} all doc/jove.man doc/jove.man.ps %install # Keep all three make commands consistent, except for JOVEHOME and targets. # JOVEHOME is a temporary home under $RPM_BUILD_ROOT/. # This can be different from JOVEHOME for the build phase's make. mkdir -p ${RPM_BUILD_ROOT}%{_bindir} mkdir -p ${RPM_BUILD_ROOT}%{_libdir} mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 make JOVEHOME=${RPM_BUILD_ROOT}%{_prefix} %{configflags} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : # Although we build jovetool.1 and xjove.1, we don't install them # We also don't want a complaint if they aren't there (because they # were just gzipped above:-) rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/jovetool.1 rm -f ${RPM_BUILD_ROOT}%{_mandir}/man1/xjove.1 cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc README doc/jove.man doc/jove.man.ps doc/jove.rc doc/example.rc doc/jove.qref %{_bindir}/jove %{_bindir}/teachjove %{_libdir}/%{name} %{_mandir}/man1/jove.1 %{_mandir}/man1/teachjove.1 /usr/bin/jove /usr/bin/teachjove %changelog * Fri Jul 07 2011 Michael Perzl - 4.16.0.73 - first version for AIX V5.1 and higher