#! /bin/rpm
Name: Macaulay2-common
URL: http://www.math.uiuc.edu/Macaulay2/
Version: @PACKAGE_VERSION@
Release: @DISTRIBUTION@
BuildArch: noarch
Summary: Macaulay2 is a software system for algebraic geometry research
License: various
Group: Applications/Engineering
Buildroot: @abs_builddir@/files-common
Prefix: @prefix@
%define _rpmdir ../../
%define _rpmfilename %PKG_COM_RPM%
%define _unpackaged_files_terminate_build 1
%post
#! /bin/sh -e
prefix=@prefix@
datarootdir=@datarootdir@
cd @infodir@
for p in @PACKAGES@
do install-info --quiet --info-dir=. $p.info || true
done
%preun
#! /bin/sh -e
prefix=@prefix@
datarootdir=@datarootdir@
cd @infodir@
for p in @PACKAGES@
do install-info --remove --quiet --info-dir=. $p.info || true
done
%description
Macaulay2 is a software system for algebraic geometry research, written by
Daniel R. Grayson and Michael E. Stillman.  Based on Groebner bases, it
provides algorithms for computing homological invariants of rings and
modules.
%files
