File gap-datastructures.spec of Package gap-datastructures
#
# spec file for package gap-datastructures
#
# Copyright (c) 2025 SUSE LLC
#
# 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-datastructures
Version: 0.3.1
Release: 0
Summary: GAP: Collection of standard data structures for GAP
License: GPL-2.0-or-later
Group: Productivity/Scientific/Math
URL: https://gap-packages.github.io/datastructures/
#Git-Clone: https://github.com/gap-packages/datastructures
Source: https://github.com/gap-packages/datastructures/releases/download/v%version/datastructures-%version.tar.gz
BuildRequires: c_compiler
BuildRequires: gap-devel
BuildRequires: gap-rpm-devel
Requires: gap-core >= 4.12
Requires: gap-gapdoc >= 1.5
%description
The "datastructures" package provides some standard data structures
for the GAP CAS.
%prep
%autosetup -n datastructures-%version
%build
./configure "%gapdir"
%make_build
find . -type f -size 0 -name _Chunks.xml -print -delete
%install
%gappkg_simple_install
rm -Rf "%buildroot/$fmoddir/src"
%files -f %name.files
%changelog