#! /bin/rpm
Name: Macaulay2
URL: http://www.math.uiuc.edu/Macaulay2/
Version: @PACKAGE_VERSION@
Release: @DISTRIBUTION@
Summary: Macaulay2 is a software system for algebraic geometry research
License: GPLv2, GPLv3
Group: Applications/Engineering
Requires: Macaulay2-common = @PACKAGE_VERSION@
Buildroot: @abs_builddir@/files
Prefix: @prefix@
%define _rpmdir ../../
%define _rpmfilename %PKG_RPM%
%define _unpackaged_files_terminate_build 1
%post
#! /bin/sh -e
prefix=@prefix@
exec_prefix=@exec_prefix@
%preun
#! /bin/sh -e
prefix=@prefix@
exec_prefix=@exec_prefix@
rm -f @packagecachecoredir@/*-data
rm -f @packagecachecoredir@/*-data.maps
%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
