2014-02-06 00:35:25 +01:00
|
|
|
#
|
|
|
|
# spec file for package gap-example
|
|
|
|
#
|
2017-04-29 21:04:58 +02:00
|
|
|
# Copyright (c) 2017 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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: gap-example
|
|
|
|
Summary: GAP: A Demo for Package Authors
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Scientific/Math
|
2017-04-29 21:04:58 +02:00
|
|
|
Version: 3.5.1
|
|
|
|
Release: 0
|
2014-02-06 00:35:25 +01:00
|
|
|
Url: http://www.cs.st-andrews.ac.uk/~alexk/example/
|
|
|
|
|
2017-04-29 21:04:58 +02:00
|
|
|
Source: http://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/Example-%version.tar.bz2
|
|
|
|
Source9: %name-rpmlintrc
|
2014-02-06 00:35:25 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: gap-devel >= 4.5.3
|
|
|
|
BuildRequires: gap-rpm-devel
|
|
|
|
Requires: gap-core >= 4.5.3
|
|
|
|
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
|