Accepting request 400645 from home:jengelh:dev

new GAP 4.8.3 extension

OBS-URL: https://build.opensuse.org/request/show/400645
OBS-URL: https://build.opensuse.org/package/show/science/gap-normalizinterface?expand=0&rev=1
This commit is contained in:
Matthias Mailänder 2016-06-08 20:21:44 +00:00 committed by Git OBS Bridge
commit 5ab20c21fc
5 changed files with 105 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f5e945dd160eca715794cf6b447f25f07c088bc6da07b4a911693d3a3a482434
size 595797

View File

@ -0,0 +1,16 @@
-------------------------------------------------------------------
Wed Jun 8 09:43:33 UTC 2016 - jengelh@inai.de
- Update to new upstream release 0.9.7
* fix a bug in the conversion between GAP and Normaliz integer
values, which could lead to wrong results for integers with
absolute value roughly between 2^32 and 2^60
* fix crash when using StructuralCopy on a cone (issue #38)
* fix printing of certain integers on 32bit systems (issue #36)
* give better diagnostics when loading NormalizInterface fails due
to its kernel extension missing
-------------------------------------------------------------------
Sat Mar 12 13:25:16 UTC 2016 - jengelh@inai.de
- Initial package (version 0.9.5) for build.opensuse.org

View File

@ -0,0 +1,62 @@
#
# spec file for package gap-normalizinterface
#
# 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: gap-normalizinterface
Version: 0.9.7
Release: 0
Summary: GAP: wrapper for Normaliz
License: GPL-2.0+
Group: Productivity/Scientific/Math
Url: https://www.normaliz.uni-osnabrueck.de
Source: ftp://ftp.gap-system.org/pub/gap/gap4/tar.bz2/packages/NormalizInterface-%version.tar.bz2
BuildRequires: fdupes
BuildRequires: libtool
BuildRequires: gcc-c++
BuildRequires: gap-devel >= 4.8
BuildRequires: gap-rpm-devel
BuildRequires: normaliz-devel >= 3.1
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: gap-core >= 4.8.1
%description
The NormalizInterface package provides a GAP interface to Normaliz,
enabling direct access to the complete functionality of Normaliz,
such as computations in affine monoids, vector configurations,
lattice polytopes, and rational cones.
%prep
%setup -qn NormalizInterface-%version
%build
autoreconf -fi
%configure --with-gaproot="%gapdir" --with-normaliz="%_prefix"
make %{?_smp_mflags} V=1
%install
b="%buildroot/%gap_sitearch/normalizinterface"
mkdir -p "$b"
cp -a bin doc examples lib tst *.g [A-Z]* "$b/"
%fdupes %buildroot/%_prefix
%files
%defattr(-,root,root)
%gap_sitearch/*
%changelog