From 5d9098b48dd079a1dd5b57e6eed8a9c6ce3a78a0fab2e25b7b86286887429454 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 21 Feb 2023 09:06:09 +0000 Subject: [PATCH] Accepting request 1066899 from home:StefanBruens:branches:science - Update to version 1.3.5 * Rename `build-normaliz.sh` to `prerequisites.sh` to match an undocumented convention used across several packages. * Minor build system tweaks - Update to version 1.3.4 * Fix regression that broke building NormalizInterface on macOS - Update to version 1.3.3 * Update to Normaliz 3.9.3 * Improve build system to honor CPPFLAGS environment variable * Explicitly set a so-called "run path" / "rpath" when linking against the bundled copy of Normaliz (improves compatibility with future versions of the GAP compiler `gac`, which will not be using GNU libtool anymore) - Update to version 1.3.2 * Fix building on Cygwin - Update to version 1.3.1 * Fix building on FreeBSD - Update to version 1.3.0 * Update to Normaliz 3.9.1 * Improve the new build system * Various janitorial changes - Update to version 1.2.0 * Update to Normaliz 3.8.4 * New build system * Various janitorial changes - Update to version 1.1.0 * Add support for rational inputs, e.g. polytopes with rational coordinates * Update build system for improve compatibility with GAP >= 4.9 * Completely rewrote build-normaliz.sh (now downloads a tarball using curl or wget, instead of cloning a git repository) * Fix a potential crash when freeing proxy cone objects * Fix 'unknown cone property' that could occur when using newer versions of Normaliz, e.g. version 3.5.4 * Display the Normaliz version as part of banner string * Loads of internal and janitorial changes * Require Normaliz 3.5.4 or newer (and add support for its new features) * Sebastian Gutsche is no longer package maintainer OBS-URL: https://build.opensuse.org/request/show/1066899 OBS-URL: https://build.opensuse.org/package/show/science/gap-normalizinterface?expand=0&rev=8 --- NormalizInterface-1.0.2.tar.bz2 | 3 --- NormalizInterface-1.3.5.tar.bz2 | 3 +++ gap-normalizinterface.changes | 43 +++++++++++++++++++++++++++++++++ gap-normalizinterface.spec | 40 +++++++++++++++--------------- 4 files changed, 66 insertions(+), 23 deletions(-) delete mode 100644 NormalizInterface-1.0.2.tar.bz2 create mode 100644 NormalizInterface-1.3.5.tar.bz2 diff --git a/NormalizInterface-1.0.2.tar.bz2 b/NormalizInterface-1.0.2.tar.bz2 deleted file mode 100644 index 26a636c..0000000 --- a/NormalizInterface-1.0.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:947c66384f8e85702daa27de4f5d38606964d6c621c761a3a199ecedb08cfbb5 -size 613562 diff --git a/NormalizInterface-1.3.5.tar.bz2 b/NormalizInterface-1.3.5.tar.bz2 new file mode 100644 index 0000000..1b8909a --- /dev/null +++ b/NormalizInterface-1.3.5.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d9848429334d1309c9cb856274ae970b28e94f3fc19005a127035ce51a6cce67 +size 404862 diff --git a/gap-normalizinterface.changes b/gap-normalizinterface.changes index 666dded..6365e6e 100644 --- a/gap-normalizinterface.changes +++ b/gap-normalizinterface.changes @@ -1,3 +1,46 @@ +------------------------------------------------------------------- +Tue Feb 21 03:07:23 UTC 2023 - Stefan BrĂ¼ns + +- Update to version 1.3.5 + * Rename `build-normaliz.sh` to `prerequisites.sh` to match an + undocumented convention used across several packages. + * Minor build system tweaks +- Update to version 1.3.4 + * Fix regression that broke building NormalizInterface on macOS +- Update to version 1.3.3 + * Update to Normaliz 3.9.3 + * Improve build system to honor CPPFLAGS environment variable + * Explicitly set a so-called "run path" / "rpath" when linking + against the bundled copy of Normaliz (improves compatibility + with future versions of the GAP compiler `gac`, which will + not be using GNU libtool anymore) +- Update to version 1.3.2 + * Fix building on Cygwin +- Update to version 1.3.1 + * Fix building on FreeBSD +- Update to version 1.3.0 + * Update to Normaliz 3.9.1 + * Improve the new build system + * Various janitorial changes +- Update to version 1.2.0 + * Update to Normaliz 3.8.4 + * New build system + * Various janitorial changes +- Update to version 1.1.0 + * Add support for rational inputs, e.g. polytopes with rational + coordinates + * Update build system for improve compatibility with GAP >= 4.9 + * Completely rewrote build-normaliz.sh (now downloads a tarball + using curl or wget, instead of cloning a git repository) + * Fix a potential crash when freeing proxy cone objects + * Fix 'unknown cone property' that could occur when using newer + versions of Normaliz, e.g. version 3.5.4 + * Display the Normaliz version as part of banner string + * Loads of internal and janitorial changes + * Require Normaliz 3.5.4 or newer (and add support for its + new features) + * Sebastian Gutsche is no longer package maintainer + ------------------------------------------------------------------- Mon Dec 25 12:59:47 UTC 2017 - jengelh@inai.de diff --git a/gap-normalizinterface.spec b/gap-normalizinterface.spec index 76af2ed..d61279d 100644 --- a/gap-normalizinterface.spec +++ b/gap-normalizinterface.spec @@ -1,7 +1,7 @@ # # spec file for package gap-normalizinterface # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,28 +12,25 @@ # 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/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: gap-normalizinterface -Version: 1.0.2 +Version: 1.3.5 Release: 0 Summary: GAP: wrapper for Normaliz -License: GPL-2.0+ +License: GPL-2.0-or-later Group: Productivity/Scientific/Math -Url: https://www.normaliz.uni-osnabrueck.de - -Source: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/NormalizInterface-%version.tar.bz2 +URL: https://gap-packages.github.io/NormalizInterface/ +Source: https://github.com/gap-packages/NormalizInterface/releases/download/v%{version}/NormalizInterface-%{version}.tar.bz2 BuildRequires: fdupes -BuildRequires: gap-devel >= 4.8 +BuildRequires: gap-devel >= 4.9 BuildRequires: gap-rpm-devel BuildRequires: gcc-c++ BuildRequires: libtool -BuildRequires: normaliz-devel >= 3.1 -BuildRequires: xz -BuildRoot: %{_tmppath}/%{name}-%{version}-build -Requires: gap-core >= 4.8.1 +BuildRequires: normaliz-devel >= 3.5.4 +Requires: gap-core >= 4.9 %description The NormalizInterface package provides a GAP interface to Normaliz, @@ -42,21 +39,24 @@ such as computations in affine monoids, vector configurations, lattice polytopes, and rational cones. %prep -%setup -qn NormalizInterface-%version +%autosetup -n NormalizInterface-%version +# Use C++14 for libnormalize with e-antic, see +# https://github.com/gap-packages/NormalizInterface/issues/110 +sed -i -e '/AX_CXX_COMPILE_STDCXX/ s/11,/14,/' configure.ac +sed -i -e '/CXXFLAGS/ s/gnu++11/gnu++14/' Makefile.in %build autoreconf -fi %configure --with-gaproot="%gapdir" --with-normaliz="%_prefix" -make %{?_smp_mflags} V=1 +%make_build %install -b="%buildroot/%gap_sitearch/normalizinterface" -mkdir -p "$b" -cp -a bin doc examples lib tst *.g [A-Z]* "$b/" +# cleanup +rm -Rf autom4te.cache config.log config.status configure~ gen/src/*.{o,d} +%gappkg_simple_install + %fdupes %buildroot/%_prefix -%files -%defattr(-,root,root) -%gap_sitearch/* +%files -f %name.files %changelog