From 436b2d533b0e363a7f3435ed32d6b27d9ff2661c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Wed, 29 Sep 2010 11:50:31 +0000 Subject: [PATCH] - initial revision Changed files: gap-toric.spec -> 1.1 --- gap-toric.spec | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 gap-toric.spec diff --git a/gap-toric.spec b/gap-toric.spec new file mode 100644 index 0000000..c9a78fe --- /dev/null +++ b/gap-toric.spec @@ -0,0 +1,37 @@ +Summary: toric varieties and some combinatorial geometry computations +Name: gap-toric +Version: 1.6 +Release: 0.1 +License: GPL v2 +Group: Applications/Math +Source0: http://www.opensourcemath.org/toric/toric%{version}.tar.gz +# Source0-md5: 9a58c542cca1d24ac2ae8e22c53c54c0 +URL: http://www.opensourcemath.org/toric/ +Requires: gap >= 4.3 +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Toric is a package that implements some computations related to +toric varieties and combinatorial geometry in GAP. With toric, +affine toric varieties can be created and related information +about them can be calculated. + +%prep +%setup -q -n toric%{version} + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/gap/toric/lib + +install -p *.g $RPM_BUILD_ROOT%{_datadir}/gap/toric +install -p lib/* $RPM_BUILD_ROOT%{_datadir}/gap/toric/lib + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc {README,CHANGES}.toric +%{_datadir}/gap/pkg/toric -- 2.43.0