2014-02-06 00:35:25 +01:00
|
|
|
#
|
|
|
|
# spec file for package gap-example
|
|
|
|
#
|
2023-01-03 23:52:54 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2014-02-06 00:35:25 +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:11:17 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-02-06 00:35:25 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gap-example
|
2023-02-25 19:53:37 +01:00
|
|
|
Version: 4.3.4
|
2018-11-22 13:11:17 +01:00
|
|
|
Release: 0
|
2014-02-06 00:35:25 +01:00
|
|
|
Summary: GAP: A Demo for Package Authors
|
2018-11-22 13:11:17 +01:00
|
|
|
License: GPL-2.0-or-later
|
2014-02-06 00:35:25 +01:00
|
|
|
Group: Productivity/Scientific/Math
|
2022-12-21 00:38:39 +01:00
|
|
|
URL: https://gap-packages.github.io/example
|
|
|
|
#Git-Clone: https://github.com/gap-packages/example
|
|
|
|
Source: https://github.com/gap-packages/example/releases/download/v%version/Example-%version.tar.gz
|
2017-04-29 21:04:58 +02:00
|
|
|
Source9: %name-rpmlintrc
|
2022-12-21 00:38:39 +01:00
|
|
|
BuildRequires: gap-devel >= 4.10
|
2014-02-06 00:35:25 +01:00
|
|
|
BuildRequires: gap-rpm-devel
|
2022-12-21 00:38:39 +01:00
|
|
|
Requires: gap-core >= 4.10
|
2014-02-06 00:35:25 +01:00
|
|
|
Requires: gap-gapdoc >= 1.5
|
|
|
|
|
|
|
|
%description
|
|
|
|
The Example package, as its name suggests, is an example of how to
|
|
|
|
create a GAP package. It has little functionality except for being a
|
|
|
|
package, however, it contains an extensive appendix with guidelines
|
|
|
|
for package authors.
|
|
|
|
|
|
|
|
%prep
|
2022-12-21 00:38:39 +01:00
|
|
|
%autosetup -n Example-%version
|
2014-02-06 00:35:25 +01:00
|
|
|
|
|
|
|
%build
|
2023-01-03 23:52:54 +01:00
|
|
|
./configure --with-gaproot="%gapdir"
|
2022-12-21 00:38:39 +01:00
|
|
|
%make_build
|
2014-02-06 00:35:25 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%gappkg_simple_install
|
|
|
|
|
|
|
|
%files -f %name.files
|
|
|
|
|
|
|
|
%changelog
|