File gap-orb.spec of Package gap-orb

#
# spec file for package gap-orb
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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-orb
Version:        4.8.0
Release:        0
Summary:        GAP: Methods to enumerate Orbits
License:        GPL-3.0+
Group:          Productivity/Scientific/Math
Url:            http://gap-packages.github.io/orb/

#Git-Clone:	git://github.com/gap-system/orb
Source:         https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/orb-%version.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  gap-devel >= 4.4.12
BuildRequires:  gap-rpm-devel
BuildRequires:  gmp-devel
BuildRequires:  libtool
Requires:       gap-core >= 4.6
Requires:       gap-gapdoc >= 1.2
Suggests:       gap-io >= 3.3

%description
The orb package is about enumerating orbits in various ways.

%prep
%setup -qn orb-%version

%build
autoreconf -fi
%configure --with-gaproot="%gapdir"
# runs install :/
make %{?_smp_mflags} DESTDIR="%buildroot"
rm -Rf {aclocal*,autom4*,cnf,config*,m4,src}
find . -type f -name "*.la" -delete

%install
%gappkg_simple_install

%files -f %name.files
%defattr(-,root,root)

%changelog
openSUSE Build Service is sponsored by