File gap-hap.spec of Package gap-hap

# spec file for package gap-hap
# Copyright (c) 2014 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

Name:           gap-hap
Version:        1.11.13
Release:        0
Summary:        GAP: Homological Algebra Programming
License:        GPL-2.0+
Group:          Productivity/Scientific/Math

Source2:        %name-rpmlintrc
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  fdupes
BuildRequires:  gap-rpm-devel
Requires:       gap-core >= 4.5.6
Requires:       gap-crystcat >= 1.1
Requires:       gap-polycyclic >= 1.1
Suggests:       gap-aclib >= 1.1
Suggests:       gap-congruence >= 0.0
Suggests:       gap-edim >= 1.2.2
Suggests:       gap-gapdoc >= 0.0
Suggests:       gap-hapcryst > 0.0
Suggests:       gap-homology >= 0.0
Suggests:       gap-nq >= 1.1
Suggests:       gap-nql >= 0.0
Suggests:       gap-singular >= 06.07.23
Suggests:       gap-xmod > 0.0

"HAP" is a package for some basic calculations in the cohomology of
finite and infinite groups.

%setup -qn Hap1.11


find . -type f "(" -name ".*.swp" -o -name "*.bak" ")" -delete
find . -type f -exec grep -L '^#!/' "{}" "+" | xargs -d'\n' -r chmod a-x
find . -type f -exec grep -l "^#!/usr/local/bin/perl" "{}" "+" | \
	xargs -d'\n' -r perl -i -pe 's{#!/usr/local/bin/perl}{#!/usr/bin/perl}g'
%fdupes %buildroot/%_prefix

%files -f %name.files

openSUSE Build Service is sponsored by