2023-03-13 12:17:34 +01:00
|
|
|
#
|
|
|
|
# spec file for package gap-xgap
|
|
|
|
#
|
2024-03-23 23:09:57 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2023-03-13 12:17:34 +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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gap-xgap
|
2024-03-23 23:09:57 +01:00
|
|
|
Version: 4.32
|
2023-03-13 12:17:34 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: GAP: Graphical user interface for GAP
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
Group: Productivity/Scientific/Math
|
|
|
|
URL: https://gap-packages.github.io/xgap/
|
|
|
|
#Git-Clone: https://github.com/gap-packages/xgap
|
|
|
|
Source: https://github.com/gap-packages/xgap/releases/download/v%version/xgap-%version.tar.gz
|
2024-08-21 22:59:16 +02:00
|
|
|
Patch1: gcc14.patch
|
2023-03-13 12:17:34 +01:00
|
|
|
BuildRequires: c_compiler
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gap-devel
|
|
|
|
BuildRequires: gap-rpm-devel
|
|
|
|
BuildRequires: pkgconfig(x11)
|
|
|
|
BuildRequires: pkgconfig(xaw7)
|
|
|
|
BuildRequires: pkgconfig(xt)
|
|
|
|
Requires: gap-core >= 4.7
|
|
|
|
|
|
|
|
%description
|
|
|
|
The XGAP package allows to use graphics in GAP.
|
|
|
|
|
|
|
|
%prep
|
2024-08-21 22:59:16 +02:00
|
|
|
%autosetup -n xgap-%version -p1
|
2023-03-13 12:17:34 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./configure --with-gaproot="%gapdir"
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%gappkg_simple_install
|
|
|
|
pushd "%buildroot/$moddir"
|
|
|
|
rm -Rfv configure config.* bin/*/config.* bin/*/configure cnf src.x11
|
|
|
|
popd
|
|
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
|
|
|
|
%files -f %name.files
|
|
|
|
|
|
|
|
%changelog
|