pkg://hp67-1.3-2.src.rpm:117807/hp67-1.3.spec
info downloads
Summary: a curses based emulator for the HP-67 scientific calculator
Name: hp67
Version: 1.3
Release: 2
Copyright: GPL
Group: Applications/Math
Packager: John C. Peterson <jaypee@netcom.com>
Source: ftp://caliban.physics.utoronto.ca/pub/linux/hp67-1.3.tar.gz
Patch: hp67-1.3-linux.patch
Buildroot: /tmp/build_root
%description
This program emulates an HP-67 scientific calculator, (with a few minor
variations). A text mode interface is used, inputs can always be entered
from the keyboard. On terminals which support ncurses mouse events,
both the function list at the top of the screen, and the keypad on the
right side, are clickable to invoke the corresponding action. Written
by Christopher Neufeld, <neufeld@physics.utoronto.ca>
%prep
%setup -n hp67
%patch -p1
%build
make veryclean
make hp67
%install
# clean start
rm -rf $RPM_BUILD_ROOT
# make the directories we will need
install -d $RPM_BUILD_ROOT/usr/bin
install -d $RPM_BUILD_ROOT/usr/man/man1
install -d $RPM_BUILD_ROOT/usr/X11R6/include/X11/pixmaps
# install the executable
install -m 0755 -s hp67 $RPM_BUILD_ROOT/usr/bin/hp67
# install the man page
cp -p hp67.1 $RPM_BUILD_ROOT/usr/man/man1/hp67.1
chmod 0444 $RPM_BUILD_ROOT/usr/man/man1/hp67.1
# install the pixmap
cp -p hp67.xpm $RPM_BUILD_ROOT/usr/X11R6/include/X11/pixmaps/hp67.xpm
chmod 0444 $RPM_BUILD_ROOT/usr/X11R6/include/X11/pixmaps/hp67.xpm
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc Differences FAQL README complex.txt hyperbolics.txt integrator.txt
/usr/bin/hp67
/usr/man/man1/hp67.1
/usr/X11R6/include/X11/pixmaps/hp67.xpm