2014-02-06 00:35:25 +01:00
|
|
|
#
|
|
|
|
# spec file for package gap-example
|
|
|
|
#
|
2018-11-22 13:11:17 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
2018-11-22 13:11:17 +01:00
|
|
|
Version: 4.1.1
|
|
|
|
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
|
|
|
|
Url: http://www.cs.st-andrews.ac.uk/~alexk/example/
|
|
|
|
|
2017-09-17 21:33:41 +02:00
|
|
|
Source: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/Example-%version.tar.bz2
|
2017-04-29 21:04:58 +02:00
|
|
|
Source9: %name-rpmlintrc
|
2014-02-06 00:35:25 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2018-11-22 13:11:17 +01:00
|
|
|
BuildRequires: gap-devel >= 4.8
|
2014-02-06 00:35:25 +01:00
|
|
|
BuildRequires: gap-rpm-devel
|
2018-11-22 13:11:17 +01:00
|
|
|
Requires: gap-core >= 4.8
|
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
|
2017-04-29 21:04:58 +02:00
|
|
|
%setup -qn Example-%version
|
2014-02-06 00:35:25 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
./configure "%gapdir"
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%gappkg_simple_install
|
|
|
|
|
|
|
|
%files -f %name.files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
|
|
|
%changelog
|