commit d293b91b0bd8bb00571612cd2bc23cce9ed4d755fe94fc4063d180b76c4fbe71 Author: Matthias Mailänder Date: Wed Jun 8 20:21:20 2016 +0000 Accepting request 400644 from home:jengelh:dev Prerequisite for new GAP modules OBS-URL: https://build.opensuse.org/request/show/400644 OBS-URL: https://build.opensuse.org/package/show/science/normaliz?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/Normaliz3.1.1Source.zip b/Normaliz3.1.1Source.zip new file mode 100644 index 0000000..0e1d7b0 --- /dev/null +++ b/Normaliz3.1.1Source.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:265c9756e1f8be80e864f8117ba94c443e713c1025b01ae32cf80eff4bfbdd35 +size 2682417 diff --git a/normaliz.changes b/normaliz.changes new file mode 100644 index 0000000..dfe98f2 --- /dev/null +++ b/normaliz.changes @@ -0,0 +1,14 @@ +------------------------------------------------------------------- +Wed Jun 8 09:45:59 UTC 2016 - jengelh@inai.de + +- Update to new upstream release 3.1.1 +* support for nonpointed cones / input of subspace +* new computation goals: IsIntegrallyClosed and + WitnessNotIntegrallyClosed +* new computation goal: IntegerHull +* new computation goal: ConeDecomposition + +------------------------------------------------------------------- +Sat Mar 12 18:51:04 UTC 2016 - jengelh@inai.de + +- Initial package (version 3.1.0) for build.opensuse.org diff --git a/normaliz.spec b/normaliz.spec new file mode 100644 index 0000000..373f5db --- /dev/null +++ b/normaliz.spec @@ -0,0 +1,106 @@ +# +# spec file for package normaliz +# +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ +# + + +Name: normaliz +Version: 3.1.1 +Release: 0 +Summary: Tools for computations in affine monoids and rational cones +License: GPL-3.0+ +Group: Productivity/Scientific/Math +Url: https://www.normaliz.uni-osnabrueck.de/ + +Source: https://www.normaliz.uni-osnabrueck.de/wp-content/uploads/2016/04/Normaliz3.1.1Source.zip +BuildRequires: boost-devel +BuildRequires: cmake >= 2.6 +BuildRequires: gcc-c++ +BuildRequires: gmp-devel +BuildRequires: unzip +BuildRoot: %{_tmppath}/%{name}-%{version}-build +Requires: gap-core >= 4.8.1 + +%description +Normaliz is an open source tool for computations in affine monoids, +vector configurations, lattice polytopes, and rational cones. + +Computation goals + +* 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 + +%package -n libnormaliz0 +Summary: C++ API for Normaliz, a tool for computation of rotational cones +Group: System/Libraries + +%description -n libnormaliz0 +Normaliz is an open source tool for computations in affine monoids, +vector configurations, lattice polytopes, and rational cones. + +Normaliz offers an API - libnormaliz - that allows the user to access +the Normaliz computations from any C++ program. + +%package devel +Summary: Development files for Normaliz, a tool for computation of rotational cones +Group: Development/Libraries/C and C++ +Requires: libnormaliz0 = %version +Requires: gmp-devel + +%description devel +Normaliz is an open source tool for computations in affine monoids, +vector configurations, lattice polytopes, and rational cones. + +Normaliz offers an API - libnormaliz - that allows the user to access +the Normaliz computations from any C++ program. + +%prep +%setup -qn Normaliz3.1 + +%build +pushd source/ +%cmake +make %{?_smp_mflags} +popd + +%install +pushd source/ +%cmake_install +popd + +%post -n libnormaliz0 -p /sbin/ldconfig +%postun -n libnormaliz0 -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%_bindir/normaliz +%doc source/COPYING + +%files -n libnormaliz0 +%defattr(-,root,root) +%_libdir/libnormaliz.so.* + +%files devel +%defattr(-,root,root) +%_includedir/libnormaliz/ +%_libdir/libnormaliz.so