forked from pool/gap-xgap
57 lines
1.6 KiB
RPMSpec
57 lines
1.6 KiB
RPMSpec
|
#
|
||
|
# spec file for package gap-xgap
|
||
|
#
|
||
|
# 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
|
||
|
# 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
|
||
|
Version: 4.31
|
||
|
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
|
||
|
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
|
||
|
%autosetup -n xgap-%version
|
||
|
|
||
|
%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
|