forked from pool/gap-hap
Jan Engelhardt
a311ddf5a1
OBS-URL: https://build.opensuse.org/package/show/science/gap-hap?expand=0&rev=5
67 lines
2.1 KiB
RPMSpec
67 lines
2.1 KiB
RPMSpec
#
|
|
# 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 http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: gap-hap
|
|
Version: 1.11.13
|
|
Release: 0
|
|
Summary: GAP: Homological Algebra Programming
|
|
License: GPL-2.0+
|
|
Group: Productivity/Scientific/Math
|
|
Url: http://hamilton.nuigalway.ie/Hap/www/
|
|
|
|
Source: https://www.gap-system.org/pub/gap/gap4/tar.bz2/packages/hap1.11.tar.bz2
|
|
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
|
|
|
|
%description
|
|
"HAP" is a package for some basic calculations in the cohomology of
|
|
finite and infinite groups.
|
|
|
|
%prep
|
|
%setup -qn Hap1.11
|
|
|
|
%build
|
|
|
|
%install
|
|
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'
|
|
%gappkg_simple_install
|
|
%fdupes %buildroot/%_prefix
|
|
|
|
%files -f %name.files
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|