File gap-cohomolo.spec of Package gap-cohomolo

#
# spec file for package gap-cohomolo
#
# Copyright (c) 2013 SUSE LINUX Products 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-cohomolo
Summary:        GAP: Cohomology groups of finite groups on finite modules
License:        GPL-2.0
Group:          Productivity/Scientific/Math
Version:        1.6.4
Release:        0
URL:            https://gap-packages.github.io/cohomolo
Source:         https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/cohomolo-%version.tar.bz2
BuildRequires:  fdupes
BuildRequires:  gap-devel
BuildRequires:  gap-rpm-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       gap-core >= 4.7

%description
The cohomolo package is a GAP interface to some C programs for
computing Schur multipliers and covering groups of finite groups and
first and second cohomology groups of finite groups acting on finite
modules.

%prep
%setup -qn cohomolo-%version

%build
find standalone/{README,info.d} -type f -exec chmod a-x "{}" "+"
./configure "%gapdir"
make %{?_smp_mflags} CFLAGS="-O2 -g"

%install
%gappkg_simple_install
rm -Rf "%buildroot/$moddir/standalone/progs.d"
%fdupes %buildroot/%_prefix

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

%changelog
openSUSE Build Service is sponsored by