2016-06-08 22:21:20 +02:00
|
|
|
#
|
|
|
|
# spec file for package normaliz
|
|
|
|
#
|
2020-02-14 17:47:11 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2016-06-08 22:21:20 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-08-24 20:56:04 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-06-08 22:21:20 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-11-25 01:37:12 +01:00
|
|
|
%global _lto_cflags %nil
|
|
|
|
|
2016-06-08 22:21:20 +02:00
|
|
|
Name: normaliz
|
2019-08-24 20:56:04 +02:00
|
|
|
%define lname libnormaliz3
|
2020-07-31 15:47:26 +02:00
|
|
|
Version: 3.8.7
|
2016-06-08 22:21:20 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Tools for computations in affine monoids and rational cones
|
2018-05-01 00:07:31 +02:00
|
|
|
License: GPL-3.0-or-later
|
2016-06-08 22:21:20 +02:00
|
|
|
Group: Productivity/Scientific/Math
|
2019-08-24 20:56:04 +02:00
|
|
|
URL: https://www.normaliz.uni-osnabrueck.de/
|
2016-06-08 22:21:20 +02:00
|
|
|
|
2017-03-23 16:51:23 +01:00
|
|
|
Source: https://github.com/Normaliz/Normaliz/releases/download/v%version/%name-%version.tar.gz
|
2017-12-25 15:37:35 +01:00
|
|
|
#maybe with flint-devel later on
|
2016-06-08 22:21:20 +02:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gmp-devel
|
2019-08-26 07:50:45 +02:00
|
|
|
BuildRequires: libtool
|
2017-12-25 15:37:35 +01:00
|
|
|
BuildRequires: mpfr-devel
|
2016-06-08 22:21:20 +02:00
|
|
|
|
|
|
|
%description
|
2019-11-26 12:21:08 +01:00
|
|
|
Normaliz is a tool for computations in affine monoids, vector configurations,
|
|
|
|
lattice polytopes, and rational cones. It supports,
|
2016-06-08 22:21:20 +02:00
|
|
|
|
|
|
|
* convex hulls and dual cones
|
|
|
|
* conversion from generators to constraints and vice versa
|
|
|
|
* triangulations, disjoint decompositions and Stanley decompositions
|
|
|
|
* Hilbert basis of rational, not necessarily pointed cones
|
|
|
|
* normalization of affine monoids
|
|
|
|
* lattice points of rational polytopes and (unbounded) polyhedra
|
|
|
|
* Hilbert (or Ehrhart) series and (quasi) polynomials under
|
|
|
|
Z-gradings (for example, for rational polytopes)
|
|
|
|
* generalized (or weighted) Ehrhart series and Lebesgue integrals of
|
|
|
|
polynomials over rational polytopes via NmzIntegrate
|
|
|
|
|
2019-08-24 20:56:04 +02:00
|
|
|
%package -n %lname
|
2016-06-08 22:21:20 +02:00
|
|
|
Summary: C++ API for Normaliz, a tool for computation of rotational cones
|
|
|
|
Group: System/Libraries
|
|
|
|
|
2019-08-24 20:56:04 +02:00
|
|
|
%description -n %lname
|
2019-11-26 12:21:08 +01:00
|
|
|
Normaliz is a tool for computations in affine monoids, vector configurations,
|
|
|
|
lattice polytopes, and rational cones.
|
2016-06-08 22:21:20 +02:00
|
|
|
|
2020-06-05 16:47:06 +02:00
|
|
|
Normaliz offers an API, libnormaliz, that allows the user to access
|
|
|
|
the Normaliz computations from C++ programs.
|
2016-06-08 22:21:20 +02:00
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for Normaliz, a tool for computation of rotational cones
|
|
|
|
Group: Development/Libraries/C and C++
|
2019-08-24 20:56:04 +02:00
|
|
|
Requires: %lname = %version
|
2016-06-08 22:21:20 +02:00
|
|
|
Requires: gmp-devel
|
|
|
|
|
|
|
|
%description devel
|
2019-11-26 12:21:08 +01:00
|
|
|
Normaliz is a tool for computations in affine monoids, vector configurations,
|
|
|
|
lattice polytopes, and rational cones.
|
2016-06-08 22:21:20 +02:00
|
|
|
|
2020-06-05 16:47:06 +02:00
|
|
|
Normaliz offers an API, libnormaliz, that allows the user to access
|
|
|
|
the Normaliz computations from C++ programs.
|
2016-06-08 22:21:20 +02:00
|
|
|
|
|
|
|
%prep
|
2019-08-24 20:56:04 +02:00
|
|
|
%autosetup -p1
|
2016-06-08 22:21:20 +02:00
|
|
|
|
|
|
|
%build
|
2019-08-26 07:45:21 +02:00
|
|
|
autoreconf -fi
|
2019-08-24 20:56:04 +02:00
|
|
|
%configure --disable-static
|
2016-06-08 22:21:20 +02:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
2019-08-24 20:56:04 +02:00
|
|
|
%make_install
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2016-06-08 22:21:20 +02:00
|
|
|
|
2019-08-24 20:56:04 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2016-06-08 22:21:20 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%_bindir/normaliz
|
2018-07-18 13:03:34 +02:00
|
|
|
%license COPYING
|
2016-06-08 22:21:20 +02:00
|
|
|
|
2019-08-24 20:56:04 +02:00
|
|
|
%files -n %lname
|
|
|
|
%_libdir/libnormaliz.so.3*
|
2016-06-08 22:21:20 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%_includedir/libnormaliz/
|
|
|
|
%_libdir/libnormaliz.so
|
2017-11-22 10:36:46 +01:00
|
|
|
|
|
|
|
%changelog
|