Compare commits
No commits in common. "rawhide" and "f31" have entirely different histories.
2 changed files with 32 additions and 112 deletions
20
README.md
20
README.md
|
|
@ -1,20 +0,0 @@
|
|||
# vinci
|
||||
|
||||
The volume is one of the central properties of a convex body, and volume
|
||||
computation is involved in many hard problems. Applications range from rather
|
||||
classical ones as in convex optimization to problems in remote fields like
|
||||
algebraic geometry where the number of common roots of polynomials can be
|
||||
related to a special polytope volume.
|
||||
|
||||
Part of the fascination of the subject stems from the discrepancy between the
|
||||
intuitive notion of "volume" and the actual hardness of computing it. Despite
|
||||
this discouraging complexity - algorithms in general need exponential time in
|
||||
the input dimension - steadily growing computer power enables us to attack
|
||||
problems of practical interest.
|
||||
|
||||
[Vinci](https://www.multiprecision.org/vinci/) is an easy to install C package
|
||||
that implements the state of the art algorithms for volume computation. It is
|
||||
the fruit of a research project carried out at the
|
||||
[IFOR](https://math.ethz.ch/ifor) (Institute for Operations Research) at
|
||||
[ETH Zürich](https://ethz.ch/), in collaboration with Benno Büeler and
|
||||
[Komei Fukuda](https://people.inf.ethz.ch/fukudak/).
|
||||
122
vinci.spec
122
vinci.spec
|
|
@ -1,124 +1,64 @@
|
|||
Name: vinci
|
||||
Version: 1.0.5
|
||||
Release: 31%{?dist}
|
||||
Release: 17%{?dist}
|
||||
Summary: Algorithms for volume computation
|
||||
|
||||
License: GPL-1.0-or-later
|
||||
URL: https://www.multiprecision.org/vinci/
|
||||
Source0: https://www.multiprecision.org/downloads/%{name}-%{version}.tar.gz
|
||||
License: GPL+
|
||||
URL: http://www.math.u-bordeaux1.fr/~aenge/index.php?category=software&page=vinci
|
||||
Source0: http://www.math.u-bordeaux1.fr/~aenge/software/%{name}/%{name}-%{version}.tar.gz
|
||||
# Man page written by Jerry James using text found in the sources. Therefore,
|
||||
# the man page has the same copyright and license as the sources.
|
||||
Source1: %{name}.1
|
||||
|
||||
# See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: make
|
||||
BuildRequires: tex(amsfonts.sty)
|
||||
BuildRequires: texlive-ec
|
||||
BuildRequires: texlive-latex
|
||||
|
||||
Requires: coreutils
|
||||
BuildRequires: tex(latex)
|
||||
Requires: lrslib-utils
|
||||
|
||||
%description
|
||||
The volume is one of the central properties of a convex body, and volume
|
||||
computation is involved in many hard problems. Applications range from rather
|
||||
classical ones as in convex optimization to problems in remote fields like
|
||||
algebraic geometry where the number of common roots of polynomials can be
|
||||
related to a special polytope volume.
|
||||
computation is involved in many hard problems. Applications range from
|
||||
rather classical ones as in convex optimization to problems in remote
|
||||
fields like algebraic geometry where the number of common roots of
|
||||
polynomials can be related to a special polytope volume.
|
||||
|
||||
Part of the fascination of the subject stems from the discrepancy between the
|
||||
intuitive notion of "volume" and the actual hardness of computing it. Despite
|
||||
this discouraging complexity — algorithms in general need exponential time in
|
||||
the input dimension — steadily growing computer power enables us to attack
|
||||
problems of practical interest.
|
||||
Part of the fascination of the subject stems from the discrepancy
|
||||
between the intuitive notion of "volume" and the actual hardness of
|
||||
computing it. Despite this discouraging complexity - algorithms in
|
||||
general need exponential time in the input dimension - steadily growing
|
||||
computer power enables us to attack problems of practical interest.
|
||||
|
||||
Vinci is an easy to install C package that implements the state of the art
|
||||
algorithms for volume computation. It is the fruit of a research project
|
||||
carried out at the IFOR (Institute for Operations Research) at ETH Zürich, in
|
||||
collaboration with Benno Büeler and Komei Fukuda.
|
||||
Vinci is an easy to install C package that implements the state of the
|
||||
art algorithms for volume computation. It is the fruit of a research
|
||||
project carried out at the IFOR (Institute for Operations Research) at
|
||||
ETH Zürich, in collaboration with Benno Büeler and Komei Fukuda.
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
%setup -q
|
||||
|
||||
# Link with the right flags
|
||||
sed -i "s|-o vinci|& $RPM_LD_FLAGS|" makefile
|
||||
|
||||
%build
|
||||
# Link with the right flags
|
||||
sed -i 's|-o vinci|& %{build_ldflags}|' makefile
|
||||
|
||||
%make_build OPT='%{build_cflags}'
|
||||
pdflatex -interaction=nonstopmode manual.tex
|
||||
pdflatex -interaction=nonstopmode manual.tex
|
||||
make %{?_smp_mflags} OPT="$RPM_OPT_FLAGS"
|
||||
pdflatex manual.tex
|
||||
pdflatex manual.tex
|
||||
|
||||
%install
|
||||
mkdir -p %{buildroot}%{_bindir}
|
||||
install -m 755 %{name} %{buildroot}%{_bindir}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||
install -m 755 %{name} $RPM_BUILD_ROOT%{_bindir}
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
sed -e "s/@VERSION@/%{version}/" %{SOURCE1} > \
|
||||
%{buildroot}%{_mandir}/man1/%{name}.1
|
||||
touch -r %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
$RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
||||
touch -r %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
||||
|
||||
%files
|
||||
%doc ChangeLog manual.pdf
|
||||
%license COPYING
|
||||
%{_bindir}/%{name}
|
||||
%{_mandir}/man1/%{name}.1*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-29
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-26
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Tue Jan 16 2024 Jerry James <loganjerry@gmail.com> - 1.0.5-25
|
||||
- Stop building for 32-bit x86
|
||||
|
||||
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Wed Dec 14 2022 Jerry James <loganjerry@gmail.com> - 1.0.5-23
|
||||
- Convert License tag to SPDX
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Tue Jul 19 2022 Jerry James <loganjerry@gmail.com> - 1.0.5-22
|
||||
- Fix a package notes snafu
|
||||
- Minor spec file cleanups
|
||||
|
||||
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue