2016-03-13 14:13:00 +01:00
|
|
|
#
|
|
|
|
# spec file for package gap-json
|
|
|
|
#
|
2024-02-14 20:44:20 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2016-03-13 14:13:00 +01: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.
|
|
|
|
|
2018-11-22 13:12:19 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-03-13 14:13:00 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gap-json
|
2024-02-14 20:44:20 +01:00
|
|
|
Version: 2.2.0
|
2016-03-13 14:13:00 +01:00
|
|
|
Release: 0
|
2018-11-22 13:12:19 +01:00
|
|
|
Summary: GAP: Package for reading and writing JSON
|
2016-03-13 14:13:00 +01:00
|
|
|
License: BSD-2-Clause
|
|
|
|
Group: Productivity/Scientific/Math
|
2024-02-14 20:44:20 +01:00
|
|
|
URL: https://gap-packages.github.io/json/
|
2022-11-19 01:21:10 +01:00
|
|
|
#Git-Clone: https://github.com/gap-packages/json
|
|
|
|
Source: https://github.com/gap-packages/json/releases/download/v%version/json-%version.tar.gz
|
2022-11-19 22:46:55 +01:00
|
|
|
BuildRequires: c++_compiler
|
|
|
|
BuildRequires: gap-devel
|
2016-03-13 14:13:00 +01:00
|
|
|
BuildRequires: gap-rpm-devel
|
2022-11-19 01:21:10 +01:00
|
|
|
Requires: gap-core >= 4.12
|
2016-03-13 14:13:00 +01:00
|
|
|
Requires: gap-gapdoc >= 1.5
|
|
|
|
|
|
|
|
%description
|
|
|
|
Enhances GAP by the ability to read and write JSON files.
|
|
|
|
|
|
|
|
%prep
|
2022-11-19 01:21:10 +01:00
|
|
|
%autosetup -n json-%version
|
2016-03-13 14:13:00 +01:00
|
|
|
|
|
|
|
%build
|
2022-11-19 22:46:55 +01:00
|
|
|
./configure "%gapdir"
|
|
|
|
%make_build
|
2016-03-13 14:13:00 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%gappkg_simple_install
|
2022-11-19 22:46:55 +01:00
|
|
|
pushd "%buildroot/$fmoddir/"
|
|
|
|
find src -type f ! -name LICENSE -delete
|
|
|
|
popd
|
2016-03-13 14:13:00 +01:00
|
|
|
|
|
|
|
%files -f %name.files
|
|
|
|
|
|
|
|
%changelog
|