forked from pool/vinci
Accepting request 1124349 from home:jengelh:dev
OBS-URL: https://build.opensuse.org/request/show/1124349 OBS-URL: https://build.opensuse.org/package/show/science/vinci?expand=0&rev=1
This commit is contained in:
commit
9f1f9c9c2b
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
vinci-1.0.5.tar.gz
Normal file
3
vinci-1.0.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95c051546b92f78bad374f8f99b5fd8e7390c488d2db07f34b3c1ee103c300ab
|
||||
size 51302
|
38
vinci.1
Normal file
38
vinci.1
Normal file
@ -0,0 +1,38 @@
|
||||
.TH "VINCI" "1" "" "VINCI" "User Commands"
|
||||
.SH "NAME"
|
||||
vinci \(em volume computations
|
||||
.SH "SYNOPSIS"
|
||||
.B vinci
|
||||
[\fIOPTIONS\fP] \fIFILE\fP
|
||||
.SH "DESCRIPTION"
|
||||
.PP
|
||||
Vinci computes the volume of a polytope whose vertices, defining hyperplanes
|
||||
and/or incidences of vertices and facettes are stored in files following
|
||||
the lrslib (by David Avis) and/or cddlib (by Komei Fukuda) polytope formats.
|
||||
The vertices are supposed to be in a file with
|
||||
extension '.ine', the hyperplanes in '.ext' and the incidences in '.icd' (see
|
||||
the sample files 'square.ext', 'square.icd' and 'square.ine').
|
||||
.PP
|
||||
Its basic call is 'vinci file' where 'file' stands for the polyhedron file
|
||||
name without extension, e. g. 'vinci square'. In this case the existing files
|
||||
and installed additional packages are analysed and according to the problem
|
||||
type an appropriate volume computation method is chosen automatically.
|
||||
.PP
|
||||
For more information please consult the manual.
|
||||
.SH "OPTIONS"
|
||||
.TP
|
||||
\fB\-m\fP [\fILABEL\fP]
|
||||
Without a label, show all implement volume computation methods. With a label,
|
||||
use that volume computation method.
|
||||
.TP
|
||||
\fB\-s\fP \fILEVEL\fP
|
||||
Specify a positive integer, the number of recursion levels for which
|
||||
intermediate results are stored. A higher value speeds up certain methods
|
||||
considerably while needing more storage space.
|
||||
.TP
|
||||
\fB\-r\fP \fISEED\fP
|
||||
Set the random seed used for determining the objective function for Lawrence's
|
||||
formula to the specified integer.
|
||||
.SH "SEE ALSO"
|
||||
.PP
|
||||
\fIlrs\fP(1)
|
4
vinci.changes
Normal file
4
vinci.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 9 07:44:34 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Initial package (version 1.0.5) for build.opensuse.org
|
53
vinci.spec
Normal file
53
vinci.spec
Normal file
@ -0,0 +1,53 @@
|
||||
#
|
||||
# spec file for package polymake
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: vinci
|
||||
Version: 1.0.5
|
||||
Release: 0
|
||||
Summary: Polytope volume computation program
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Scientific/Math
|
||||
URL: https://www.multiprecision.org/vinci/index.html
|
||||
Source: https://www.multiprecision.org/downloads/%name-%version.tar.gz
|
||||
Source2: vinci.1
|
||||
BuildRequires: c_compiler
|
||||
|
||||
%description
|
||||
Vinci implements several algorithms for computing the volume of a
|
||||
full dimensional bounded polyhedron (polytope). The polytope must be
|
||||
given by its vertex or hyperplane or double representation in the
|
||||
lrslib or cddlib formats.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%make_build CC="%__cc" OPT="%optflags"
|
||||
|
||||
%install
|
||||
mkdir -p "%buildroot/%_bindir" "%buildroot/%_mandir/man1"
|
||||
cp -a vinci "%buildroot/%_bindir/"
|
||||
cp -a %_sourcedir/*.1 "%buildroot/%_mandir/man1/"
|
||||
|
||||
%files
|
||||
%_bindir/vinci
|
||||
%_mandir/man*/*
|
||||
%license COPYING
|
||||
%doc manual.tex
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user