]>
Commit | Line | Data |
---|---|---|
436b2d53 JR |
1 | Summary: toric varieties and some combinatorial geometry computations |
2 | Name: gap-toric | |
3 | Version: 1.6 | |
4 | Release: 0.1 | |
5 | License: GPL v2 | |
6 | Group: Applications/Math | |
7 | Source0: http://www.opensourcemath.org/toric/toric%{version}.tar.gz | |
8 | # Source0-md5: 9a58c542cca1d24ac2ae8e22c53c54c0 | |
9 | URL: http://www.opensourcemath.org/toric/ | |
10 | Requires: gap >= 4.3 | |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | Toric is a package that implements some computations related to | |
15 | toric varieties and combinatorial geometry in GAP. With toric, | |
16 | affine toric varieties can be created and related information | |
17 | about them can be calculated. | |
18 | ||
19 | %prep | |
20 | %setup -q -n toric%{version} | |
21 | ||
22 | %build | |
23 | ||
24 | %install | |
25 | rm -rf $RPM_BUILD_ROOT | |
26 | install -d $RPM_BUILD_ROOT%{_datadir}/gap/toric/lib | |
27 | ||
28 | install -p *.g $RPM_BUILD_ROOT%{_datadir}/gap/toric | |
29 | install -p lib/* $RPM_BUILD_ROOT%{_datadir}/gap/toric/lib | |
30 | ||
31 | %clean | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %files | |
35 | %defattr(644,root,root,755) | |
36 | %doc {README,CHANGES}.toric | |
37 | %{_datadir}/gap/pkg/toric |