2014-02-07 14:49:43 +01:00
|
|
|
#
|
|
|
|
# spec file for package gap-io
|
|
|
|
#
|
2023-02-11 12:06:34 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-02-07 14:49:43 +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:05:15 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-02-07 14:49:43 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gap-io
|
2023-11-21 22:47:37 +01:00
|
|
|
Version: 4.8.2
|
2014-02-07 14:49:43 +01:00
|
|
|
Release: 0
|
2018-11-22 13:05:15 +01:00
|
|
|
Summary: GAP: Bindings for low level C library IO
|
|
|
|
License: GPL-3.0-or-later
|
2014-02-07 14:49:43 +01:00
|
|
|
Group: Productivity/Scientific/Math
|
2022-11-19 05:14:34 +01:00
|
|
|
URL: https://gap-packages.github.io/io/
|
|
|
|
#Git-Clone: https://github.com/gap-packages/io
|
|
|
|
Source: https://github.com/gap-packages/io/releases/download/v%version/io-%version.tar.bz2
|
2014-02-07 14:49:43 +01:00
|
|
|
BuildRequires: fdupes
|
2022-11-19 05:14:34 +01:00
|
|
|
BuildRequires: gap-devel >= 4.11
|
2014-02-07 14:49:43 +01:00
|
|
|
BuildRequires: gap-rpm-devel
|
|
|
|
BuildRequires: gmp-devel
|
2022-11-19 05:14:34 +01:00
|
|
|
Requires: gap-core >= 4.11
|
2014-02-07 14:49:43 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
The IO package provides bindings for GAP to the lower levels of
|
|
|
|
Input/Output functionality in the C library.
|
|
|
|
|
|
|
|
%prep
|
2022-11-19 05:14:34 +01:00
|
|
|
%autosetup -n io-%version
|
2014-02-07 14:49:43 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --with-gaproot="%gapdir"
|
2022-11-19 05:14:34 +01:00
|
|
|
%make_build
|
|
|
|
rm -v doc/clean
|
2014-02-07 14:49:43 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%gappkg_simple_install
|
2022-11-19 05:14:34 +01:00
|
|
|
pushd "%buildroot/$fmoddir/"
|
|
|
|
rm -Rf aclocal* autom4* cnf config* m4 gen src
|
|
|
|
find . -type f -name "*.la" -print -delete
|
|
|
|
popd
|
2014-02-07 14:49:43 +01:00
|
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
|
|
|
|
%files -f %name.files
|
|
|
|
|
|
|
|
%changelog
|