delete _link
OBS-URL: https://build.opensuse.org/package/show/science/gap?expand=0&rev=77
This commit is contained in:
parent
d16f2b377b
commit
9903986418
3
gap-4.10.0-core.zip
Normal file
3
gap-4.10.0-core.zip
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1f5681affa222c3d274ea8caa0c2df137060781f6a1bf651cd3400af6529668c
|
||||||
|
size 18553305
|
@ -1,46 +0,0 @@
|
|||||||
parent af9cbb298352dfbeb66e414428946b11a7b9ee1a ()
|
|
||||||
commit f01d2b07a7a668e6b27b9527e070d8315c084d6e
|
|
||||||
Author: Jan Engelhardt <jengelh@medozas.de>
|
|
||||||
Date: Sun Jun 26 10:48:09 2011 +0200
|
|
||||||
|
|
||||||
build: add a --with-gapdir option to specify future location of GAP
|
|
||||||
---
|
|
||||||
cnf/configure.in | 5 ++++-
|
|
||||||
configure.in | 6 +++++-
|
|
||||||
2 files changed, 9 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
Index: gap4r8/cnf/configure.in
|
|
||||||
===================================================================
|
|
||||||
--- gap4r8.orig/cnf/configure.in
|
|
||||||
+++ gap4r8/cnf/configure.in
|
|
||||||
@@ -374,8 +374,11 @@ AC_SUBST(CFLAGS)
|
|
||||||
AC_SUBST(CPPFLAGS)
|
|
||||||
AC_SUBST(LDFLAGS)
|
|
||||||
|
|
||||||
+AC_ARG_WITH([gapbindir],
|
|
||||||
+ AS_HELP_STRING([--with-gapbindir], [Denote the final location of GAP]),
|
|
||||||
+ [gapbin="$withval"],
|
|
||||||
+ [gapbin="$PWD"])
|
|
||||||
AC_SUBST(gapbin)
|
|
||||||
-gapbin=`pwd`
|
|
||||||
|
|
||||||
AC_SUBST(ABI)
|
|
||||||
AC_SUBST(ABI_CFLAGS)
|
|
||||||
Index: gap4r8/configure.in
|
|
||||||
===================================================================
|
|
||||||
--- gap4r8.orig/configure.in
|
|
||||||
+++ gap4r8/configure.in
|
|
||||||
@@ -51,8 +51,12 @@ AC_PROG_CC
|
|
||||||
BASECC=`basename ${CC}`
|
|
||||||
AC_SUBST(BASECC)
|
|
||||||
AC_PROG_MAKE_SET
|
|
||||||
+
|
|
||||||
+AC_ARG_WITH([gapdir],
|
|
||||||
+ AS_HELP_STRING([--with-gapdir], [Denote the final location of GAP]),
|
|
||||||
+ [gapdir="$withval"],
|
|
||||||
+ [gapdir="$PWD"])
|
|
||||||
AC_SUBST(gapdir)
|
|
||||||
-gapdir=`pwd`
|
|
||||||
|
|
||||||
case $target_os in
|
|
||||||
cygwin*)
|
|
@ -1,32 +0,0 @@
|
|||||||
|
|
||||||
Allow for noarch packages.
|
|
||||||
|
|
||||||
---
|
|
||||||
configure.in | 3 +++
|
|
||||||
gap.shi | 2 +-
|
|
||||||
2 files changed, 4 insertions(+), 1 deletion(-)
|
|
||||||
|
|
||||||
Index: gap4r8/configure.in
|
|
||||||
===================================================================
|
|
||||||
--- gap4r8.orig/configure.in
|
|
||||||
+++ gap4r8/configure.in
|
|
||||||
@@ -169,6 +169,9 @@ AC_SUBST(MAKE_GMP)
|
|
||||||
AC_SUBST(USE_GMP)
|
|
||||||
AC_SUBST(GMP_VER)
|
|
||||||
|
|
||||||
+pkgdatadir="$datadir/$PACKAGE_NAME"
|
|
||||||
+AC_SUBST([pkgdatadir])
|
|
||||||
+
|
|
||||||
mkdir -p bin
|
|
||||||
AC_CONFIG_FILES([Makefile-${CONFIGNAME}:Makefile.in
|
|
||||||
sysinfo.gap-${CONFIGNAME}:sysinfo.in
|
|
||||||
Index: gap4r8/gap.shi
|
|
||||||
===================================================================
|
|
||||||
--- gap4r8.orig/gap.shi
|
|
||||||
+++ gap4r8/gap.shi
|
|
||||||
@@ -61,4 +61,4 @@ fi
|
|
||||||
##
|
|
||||||
## You probably should not change this line, which finally starts GAP.
|
|
||||||
##
|
|
||||||
-exec "$GAP_DIR/bin/$GAP_PRG" $GAP_MEM -l "$GAP_DIR" "$@"
|
|
||||||
+exec "$GAP_DIR/bin/$GAP_PRG" $GAP_MEM -l "$GAP_DIR;@datadir@/gap" "$@"
|
|
53
gap.changes
53
gap.changes
@ -1,3 +1,56 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 14 20:11:37 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to new upstream release 4.10.0
|
||||||
|
* Reduce impact of immediate methods
|
||||||
|
* Change definition of IsPGroup to not require finiteness
|
||||||
|
* Experimental support for using the Julia garbage collector
|
||||||
|
* For details, see
|
||||||
|
https://www.gap-system.org/Manuals/doc/changes/chap2.html#X795B238486D0ABCD
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 19 07:46:22 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to new upstream release 4.9.3
|
||||||
|
* Fixed a regression in HighestWeightModule caused by changes in
|
||||||
|
sort functions introduced in GAP 4.9 release.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 14 07:24:30 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 4.9.2
|
||||||
|
* Merged HPC-GAP into GAP.
|
||||||
|
* GAP now supports lambdas with fewer or more than one argument.
|
||||||
|
* Function calls, list accesses and records accesses now can be
|
||||||
|
nested.
|
||||||
|
- Remove gap-final-dir.diff, gap-multiarch.diff, reproducible.patch
|
||||||
|
(no longer needed).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 6 00:28:30 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 4.8.10
|
||||||
|
* No changes to the GAP core.
|
||||||
|
* Bundled modules in the GAP distribution were updated.
|
||||||
|
(For openSUSE, this means an update happens in the separate
|
||||||
|
gap-* packages.)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 26 10:07:10 UTC 2018 - bwiedemann@suse.com
|
||||||
|
|
||||||
|
- Add reproducible.patch to not include build time (boo#1047218)
|
||||||
|
- Drop config.log that differed for each build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 25 22:11:47 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
- Update to new upstream release 4.8.9
|
||||||
|
* Fixed a bug in RepresentativeAction producing incorrect
|
||||||
|
answers for both symmetric and alternating groups, with both
|
||||||
|
OnTuples and OnSets, by producing elements outside the group.
|
||||||
|
* Fixed a bug in RepresentativeAction for S_n and A_n acting on
|
||||||
|
non-standard domains.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Sep 20 16:58:25 UTC 2017 - jengelh@inai.de
|
Wed Sep 20 16:58:25 UTC 2017 - jengelh@inai.de
|
||||||
|
|
||||||
|
678
gap.spec
678
gap.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gap
|
# spec file for package gap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,43 +12,39 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: gap
|
Name: gap
|
||||||
Version: 4.8.8
|
Version: 4.10.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: System for Computational Discrete Algebra
|
Summary: System for Computational Discrete Algebra
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
Url: http://gap-system.org/
|
Url: http://gap-system.org/
|
||||||
|
|
||||||
Source: https://www.gap-system.org/pub/gap/gap4core/gap4r8p8_nopackages.zip
|
Source: https://www.gap-system.org/pub/gap/gap4core/gap-%version-core.zip
|
||||||
Source2: macros.gap
|
Source2: macros.gap
|
||||||
Source3: %name-rpmlintrc
|
Source3: %name-rpmlintrc
|
||||||
Patch1: gap-final-dir.diff
|
|
||||||
Patch2: gap-multiarch.diff
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: gmp-devel
|
BuildRequires: gmp-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: ncurses-devel
|
|
||||||
BuildRequires: readline-devel
|
BuildRequires: readline-devel
|
||||||
BuildRequires: unzip
|
BuildRequires: unzip
|
||||||
%if 0%{?suse_version}
|
BuildRequires: zlib-devel
|
||||||
BuildRequires: fastjar
|
Obsoletes: gap-core < %version
|
||||||
%endif
|
Provides: gap-core = %version
|
||||||
Requires: gap-core
|
Obsoletes: gap-data < %version
|
||||||
Requires: gap-devel
|
Provides: gap-data = %version
|
||||||
Requires: gap-doc
|
Requires: gap-gapdoc >= 1.5.1
|
||||||
|
|
||||||
%define gap_sitelib_anchor %_datadir/%name
|
%define lname libgap0
|
||||||
%define gap_sitearch_anchor %_libexecdir/%name
|
%global gap_sitearch %_libdir/gap/pkg
|
||||||
%define gapdir %gap_sitearch_anchor
|
%global gap_sitelib %_datadir/gap/pkg
|
||||||
%define gapdatadir %gap_sitelib_anchor
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
GAP is a system for computational discrete algebra, with particular
|
GAP is a system for computational discrete algebra, with particular
|
||||||
@ -59,44 +55,18 @@ libraries of algebraic objects. GAP is used in research and teaching
|
|||||||
for studying groups and their representations, rings, vector spaces,
|
for studying groups and their representations, rings, vector spaces,
|
||||||
algebras, combinatorial structures, and more.
|
algebras, combinatorial structures, and more.
|
||||||
|
|
||||||
This package is for a medium GAP installation: core, documentation
|
%package -n %lname
|
||||||
and development. See gap-full if you want everything of the GAP
|
Summary: Kernel for the GAP computation algebra system
|
||||||
distribution.
|
Group: System/Libraries
|
||||||
|
|
||||||
%package core
|
%description -n %lname
|
||||||
Summary: Runtime for GAP (System for Computational Discrete Algebra)
|
This package contains the GAP kernel in a C library that can be
|
||||||
Group: Productivity/Scientific/Math
|
linked to.
|
||||||
Requires: gap-data = %version
|
|
||||||
Requires: gap-gapdoc >= 1.5.1
|
|
||||||
|
|
||||||
%description core
|
|
||||||
GAP is a system for computational discrete algebra, with particular
|
|
||||||
emphasis on Computational Group Theory. GAP provides a programming
|
|
||||||
language, a library of thousands of functions implementing algebraic
|
|
||||||
algorithms written in the GAP language as well as large data
|
|
||||||
libraries of algebraic objects. GAP is used in research and teaching
|
|
||||||
for studying groups and their representations, rings, vector spaces,
|
|
||||||
algebras, combinatorial structures, and more.
|
|
||||||
|
|
||||||
This package only pulls in the GAP core.
|
|
||||||
|
|
||||||
%package data
|
|
||||||
Summary: Data files for GAP (System for Computational Discrete Algebra)
|
|
||||||
Group: Productivity/Scientific/Math
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description data
|
|
||||||
GAP is a system for computational discrete algebra, with particular
|
|
||||||
emphasis on Computational Group Theory.
|
|
||||||
|
|
||||||
This subpackage contains arch-independent supplementary data for GAP.
|
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development environment for GAP
|
Summary: Development environment for GAP
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Requires: gap-core = %version
|
Requires: %lname = %version
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
GAP is a system for computational discrete algebra, with particular
|
GAP is a system for computational discrete algebra, with particular
|
||||||
@ -105,212 +75,6 @@ emphasis on Computational Group Theory.
|
|||||||
This package will pull in the current version of the GAP compiler and
|
This package will pull in the current version of the GAP compiler and
|
||||||
utilities required to build GAP packages that need compilation.
|
utilities required to build GAP packages that need compilation.
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: Documentation for GAP
|
|
||||||
Group: Documentation/Other
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
GAP is a system for computational discrete algebra, with particular
|
|
||||||
emphasis on Computational Group Theory.
|
|
||||||
|
|
||||||
This subpackage contains the documentation to GAP.
|
|
||||||
|
|
||||||
%package full
|
|
||||||
Summary: Metapackage to cause installation of the GAP Distribution
|
|
||||||
Group: Productivity/Scientific/Math
|
|
||||||
BuildArch: noarch
|
|
||||||
Recommends: gap >= %version
|
|
||||||
Recommends: gap-4ti2interface >= 2017.01.05
|
|
||||||
Recommends: gap-ace >= 5.2
|
|
||||||
# gap-aclib-1.2 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-aclib >= 1.2
|
|
||||||
Recommends: gap-alnuth >= 3.0.0
|
|
||||||
# gap-anupq-3.1.5 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-anupq >= 3.1.5
|
|
||||||
Recommends: gap-atlasrep >= 1.5.1
|
|
||||||
Recommends: gap-autodoc >= 2016.12.04
|
|
||||||
Recommends: gap-automata >= 1.13
|
|
||||||
Recommends: gap-automgrp >= 1.3
|
|
||||||
Recommends: gap-autpgrp >= 1.8
|
|
||||||
Recommends: gap-browse >= 1.8.7
|
|
||||||
# gap-cap-2017.07.25 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-cap >= 2017.07.25
|
|
||||||
# depends on unfinished carat
|
|
||||||
#Recommends: gap-carat >= 2.1.6
|
|
||||||
Recommends: gap-circle >= 1.5.4
|
|
||||||
Recommends: gap-cohomolo >= 1.6.4
|
|
||||||
Recommends: gap-congruence >= 1.1.1
|
|
||||||
Recommends: gap-convex >= 2013.12.05
|
|
||||||
Recommends: gap-corelg >= 1.20
|
|
||||||
Recommends: gap-crime >= 1.4
|
|
||||||
Recommends: gap-crisp >= 1.4.4
|
|
||||||
Recommends: gap-cryst >= 4.1.12
|
|
||||||
Recommends: gap-crystcat >= 1.1.6
|
|
||||||
Recommends: gap-ctbllib >= 1.2.2
|
|
||||||
# depends on grpconst (which is unfree)
|
|
||||||
#Recommends: gap-cubefree >= 1.16
|
|
||||||
Recommends: gap-cvec >= 2.5.7
|
|
||||||
Recommends: gap-design >= 1.6
|
|
||||||
Recommends: gap-digraphs >= 0.10.1
|
|
||||||
Recommends: gap-edim >= 1.3.2
|
|
||||||
Recommends: gap-example >= 3.5.1
|
|
||||||
Recommends: gap-examplesforhomalg >= 2017.05.25
|
|
||||||
Recommends: gap-factint >= 1.5.4
|
|
||||||
Recommends: gap-fga >= 1.3.1
|
|
||||||
Recommends: gap-fining >= 1.3.3
|
|
||||||
Recommends: gap-float >= 0.7.6
|
|
||||||
# gap-format-1.3 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-format >= 1.3
|
|
||||||
Recommends: gap-forms >= 1.2.3
|
|
||||||
# gap-fplsa-1.1 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-fplsa >= 1.1
|
|
||||||
Recommends: gap-fr >= 2.4.1
|
|
||||||
# gap-fwtree-1.0 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-fwtree >= 1.0
|
|
||||||
Recommends: gap-gapdoc >= 1.6
|
|
||||||
Recommends: gap-gauss >= 2017.06.14
|
|
||||||
Recommends: gap-gaussforhomalg >= 2015.11.06
|
|
||||||
Recommends: gap-gbnp >= 1.0.3
|
|
||||||
# gap-generalizedmorphismsforcap-2017.07.25 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-generalizedmorphismsforcap >= 2017.07.25
|
|
||||||
Recommends: gap-genss >= 1.6.4
|
|
||||||
Recommends: gap-gradedmodules >= 2017.05.10
|
|
||||||
Recommends: gap-gradedringforhomalg >= 2017.05.26
|
|
||||||
# not quite ready
|
|
||||||
Recommends: gap-grape >= 4.7
|
|
||||||
Recommends: gap-groupoids >= 1.51
|
|
||||||
# gap-grpconst-2.5 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-grpconst >= 2.5
|
|
||||||
Recommends: gap-guarana >= 0.94
|
|
||||||
Recommends: gap-guava >= 3.13
|
|
||||||
# Proscribed hap 1.11.15 tarball that should come with gap 4.8.8 is awol
|
|
||||||
Recommends: gap-hap >= 1.11.13
|
|
||||||
# depends on polymake (not ready)
|
|
||||||
#Recommends: gap-hapcryst >= 0.1.11
|
|
||||||
Recommends: gap-happrime >= 0.6
|
|
||||||
Recommends: gap-hecke >= 1.4
|
|
||||||
Recommends: gap-help >= 3.1
|
|
||||||
Recommends: gap-homalg >= 2017.05.10
|
|
||||||
Recommends: gap-homalgtocas >= 2017.08.01
|
|
||||||
Recommends: gap-idrel >= 2.34
|
|
||||||
Recommends: gap-intpic >= 0.2.1
|
|
||||||
Recommends: gap-io >= 4.4.6
|
|
||||||
Recommends: gap-io_forhomalg >= 2017.07.01
|
|
||||||
Recommends: gap-irredsol >= 1.4
|
|
||||||
# gap-itc-1.4 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-itc >= 1.4
|
|
||||||
Recommends: gap-json >= 1.1.0
|
|
||||||
Recommends: gap-kan >= 1.27
|
|
||||||
Recommends: gap-kbmag >= 1.5.4
|
|
||||||
Recommends: gap-laguna >= 3.7.0
|
|
||||||
# gap-liealgdb-2.1 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-liealgdb >= 2.1
|
|
||||||
Recommends: gap-liepring >= 1.8
|
|
||||||
Recommends: gap-liering >= 2.3
|
|
||||||
# not quite ready
|
|
||||||
Recommends: gap-linboxing >= 0.5.2
|
|
||||||
# gap-linearalgebraforcap-2017.07.25: no license attached; cannot ship
|
|
||||||
#Recommends: gap-linearalgebraforcap >= 2017.07.25
|
|
||||||
Recommends: gap-localizeringforhomalg >= 2017.07.17
|
|
||||||
Recommends: gap-loops >= 3.3.0
|
|
||||||
Recommends: gap-lpres >= 0.4.1
|
|
||||||
Recommends: gap-mapclass >= 1.2
|
|
||||||
Recommends: gap-matgrp >= 0.4
|
|
||||||
Recommends: gap-matricesforhomalg >= 2017.08.02
|
|
||||||
# gap-modisom-2.3.2 not OSI compliant: cannot ship:
|
|
||||||
# permits distribution and use, but not modification.
|
|
||||||
#Recommends: gap-modisom >= 2.3.3
|
|
||||||
# gap-modulepresentationsforcap requires a non-existant gap-complexesandfilteredobjectsforgap
|
|
||||||
#Recommends: gap-modulepresentationsforcap >= 2017.07.25
|
|
||||||
Recommends: gap-modules >= 2017.07.17
|
|
||||||
Recommends: gap-nilmat >= 1.2
|
|
||||||
Recommends: gap-normalizinterface >= 0.9.8
|
|
||||||
Recommends: gap-nq >= 2.5.3
|
|
||||||
Recommends: gap-numericalsgps >= 1.0.1
|
|
||||||
Recommends: gap-openmath >= 11.4.2
|
|
||||||
Recommends: gap-orb >= 4.7.6
|
|
||||||
#Needs separate gap-core built with openmpi and update-alternatives
|
|
||||||
#Recommends: gap-pargap >= 1.4.0
|
|
||||||
# gap-patternclass-2.3 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-patternclass >= 2.3
|
|
||||||
# depends on gap-format which is not ready
|
|
||||||
#Recommends: gap-permut >= 1.03
|
|
||||||
Recommends: gap-polenta >= 1.3.7
|
|
||||||
Recommends: gap-polycyclic >= 2.11
|
|
||||||
# polymake not ready
|
|
||||||
#Recommends: gap-polymakeinterface >= 2015.01.26
|
|
||||||
#Recommends: gap-polymaking >= 0.8.1
|
|
||||||
# gap-profiling-1.3.0: no license on "first-party" code (bundled thirdparty code is ok tho..)
|
|
||||||
#Recommends: gap-profiling >= 1.3.0
|
|
||||||
Recommends: gap-qaos >= 1.5
|
|
||||||
Recommends: gap-qpa >= 1.26
|
|
||||||
# not quite ready
|
|
||||||
Recommends: gap-quagroup >= 1.8
|
|
||||||
Recommends: gap-radiroot >= 2.7
|
|
||||||
# depends on grape which is not ready
|
|
||||||
#Recommends: gap-rcwa >= 4.5.1
|
|
||||||
Recommends: gap-rds >= 1.6
|
|
||||||
Recommends: gap-recog >= 1.2.5
|
|
||||||
Recommends: gap-recogbase >= 1.2.5
|
|
||||||
# gap-repsn-3.2 has no license attached: cannot ship that
|
|
||||||
#Recommends: gap-repsn >= 3.0.2
|
|
||||||
Recommends: gap-resclasses >= 4.6.0
|
|
||||||
Recommends: gap-ringsforhomalg >= 2017.08.02
|
|
||||||
Recommends: gap-sco >= 2015.11.06
|
|
||||||
Recommends: gap-scscp >= 2.2.2
|
|
||||||
Recommends: gap-semigroups >= 2.8.0
|
|
||||||
# gap-sglppow-2.0 not OSI compliant: cannot ship
|
|
||||||
# permits distribution, but not use (how stupid), nor modification
|
|
||||||
#Recommends: gap-sglppow >= 2.0
|
|
||||||
Recommends: gap-sgpviz >= 0.998
|
|
||||||
Recommends: gap-simpcomp >= 2.1.6
|
|
||||||
# gap-singular-12.04.28 has no license attached: cannot ship
|
|
||||||
#Recommends: gap-singular >= 12.04.28
|
|
||||||
Recommends: gap-sla >= 1.2
|
|
||||||
Recommends: gap-smallsemi >= 0.6.11
|
|
||||||
Recommends: gap-sonata >= 2.8
|
|
||||||
# gap-sophus-1.23 has no license attached: cannot ship
|
|
||||||
#Recommends: gap-sophus >= 1.23
|
|
||||||
Recommends: gap-spinsym >= 1.5
|
|
||||||
Recommends: gap-symbcompcc >= 1.2
|
|
||||||
# gap-tomlib-1.2.6 has no license attached: cannot ship
|
|
||||||
#Recommends: gap-tomlib >= 1.2.6
|
|
||||||
Recommends: gap-toolsforhomalg >= 2017.05.10
|
|
||||||
Recommends: gap-toric >= 1.9.4
|
|
||||||
Recommends: gap-toricvarieties >= 2012.12.22
|
|
||||||
# gap-unipot-1.2 has no license attached: cannot ship
|
|
||||||
#Recommends: gap-unipot >= 1.2
|
|
||||||
Recommends: gap-unitlib >= 3.2.0
|
|
||||||
Recommends: gap-utils >= 0.46
|
|
||||||
Recommends: gap-wedderga >= 4.7.3
|
|
||||||
# gap-xgap-4.24 has no license attached: cannot ship
|
|
||||||
#Recommends: gap-xgap >= 4.26
|
|
||||||
Recommends: gap-xmod >= 2.62
|
|
||||||
Recommends: gap-xmodalg >= 1.12
|
|
||||||
|
|
||||||
%description full
|
|
||||||
GAP is a system for computational discrete algebra, with particular
|
|
||||||
emphasis on Computational Group Theory.
|
|
||||||
|
|
||||||
This subpackage will pull in all contributed packages of the GAP
|
|
||||||
distribution.
|
|
||||||
|
|
||||||
%package prim-groups
|
|
||||||
Summary: GAP: Database of primitive groups
|
|
||||||
Group: Productivity/Scientific/Math
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description prim-groups
|
|
||||||
GAP is a system for computational discrete algebra, with particular
|
|
||||||
emphasis on Computational Group Theory.
|
|
||||||
|
|
||||||
This subpackage contains the database of primitive groups.
|
|
||||||
|
|
||||||
%package rpm-devel
|
%package rpm-devel
|
||||||
Summary: RPM macros for building GAP packages
|
Summary: RPM macros for building GAP packages
|
||||||
# Not noarch: contains arch-specific paths in RPM macros
|
# Not noarch: contains arch-specific paths in RPM macros
|
||||||
@ -320,222 +84,258 @@ Group: Development/Tools/Other
|
|||||||
GAP is a system for computational discrete algebra, with particular
|
GAP is a system for computational discrete algebra, with particular
|
||||||
emphasis on Computational Group Theory.
|
emphasis on Computational Group Theory.
|
||||||
|
|
||||||
This subpackage provides RPM macros for use with packaging simple GAP
|
This subpackage provides RPM macros for use with packaging trivial
|
||||||
modules that do not require the presence of GAP itself.
|
GAP modules that itself do not require the presence of GAP.
|
||||||
|
|
||||||
%package small-groups
|
%package full
|
||||||
Summary: GAP: Database of small groups
|
Summary: Metapackage to cause installation of the GAP Distribution
|
||||||
Group: Productivity/Scientific/Math
|
Group: Productivity/Scientific/Math
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
# C extensions suffer from broken gac
|
||||||
|
# [https://github.com/gap-system/gap/issues/3001] and mediocre header files
|
||||||
|
# [https://github.com/gap-system/gap/issues/3003]
|
||||||
|
Requires: gap >= %version
|
||||||
|
Requires: gap-4ti2interface >= 2018.07.06
|
||||||
|
Requires: gap-ace >= 5.2
|
||||||
|
Requires: gap-aclib >= 1.3.1
|
||||||
|
Requires: gap-alnuth >= 3.1.0
|
||||||
|
#nolicense#Requires: gap-anupq >= 3.2
|
||||||
|
Requires: gap-atlasrep >= 1.5.1
|
||||||
|
Requires: gap-autodoc >= 2018.09.20
|
||||||
|
Requires: gap-automata >= 1.14
|
||||||
|
Requires: gap-automgrp >= 1.3.1
|
||||||
|
Requires: gap-autpgrp >= 1.9
|
||||||
|
#gac#Requires: gap-browse >= 1.8.8
|
||||||
|
#gap-io#Requires: gap-cap >= 2018.08.31
|
||||||
|
#unfinished#Requires: gap-carat >= 2.2.2
|
||||||
|
Requires: gap-circle >= 1.6.1
|
||||||
|
Requires: gap-cohomolo >= 1.6.7
|
||||||
|
Requires: gap-congruence >= 1.2.2
|
||||||
|
Requires: gap-convex >= 2015.11.06
|
||||||
|
Requires: gap-corelg >= 1.20
|
||||||
|
Requires: gap-crime >= 1.5
|
||||||
|
Requires: gap-crisp >= 1.4.4
|
||||||
|
Requires: gap-crypting >= 0.9
|
||||||
|
Requires: gap-cryst >= 4.1.18
|
||||||
|
Requires: gap-crystcat >= 1.1.8
|
||||||
|
Requires: gap-ctbllib >= 1.2.2
|
||||||
|
Requires: gap-cubefree >= 1.17
|
||||||
|
#gac#Requires: gap-curlinterface >= 2.1.1
|
||||||
|
#gac#Requires: gap-cvec >= 2.6.1
|
||||||
|
#gac#Requires: gap-datastructures >= 0.2.2
|
||||||
|
#gac#Requires: gap-deepthought >= 1.0.1
|
||||||
|
Requires: gap-design >= 1.6
|
||||||
|
#gac#Requires: gap-digraphs >= 0.13.0
|
||||||
|
#gac#Requires: gap-edim >= 1.3.3
|
||||||
|
Requires: gap-example >= 3.5.1
|
||||||
|
Requires: gap-examplesforhomalg >= 2018.05.29
|
||||||
|
Requires: gap-factint >= 1.6.2
|
||||||
|
Requires: gap-fga >= 1.4.0
|
||||||
|
#gap-cvec#Requires: gap-fining >= 1.4
|
||||||
|
#gac#Requires: gap-float >= 0.7.6
|
||||||
|
Requires: gap-format >= 1.4a
|
||||||
|
Requires: gap-forms >= 1.2.5
|
||||||
|
Requires: gap-fplsa >= 1.2.2
|
||||||
|
Requires: gap-fr >= 2.4.5
|
||||||
|
Requires: gap-francy >= 1.0.4
|
||||||
|
Requires: gap-fwtree >= 1.1
|
||||||
|
Requires: gap-gapdoc >= 1.6.2
|
||||||
|
#gac#Requires: gap-gauss >= 2018.09.08
|
||||||
|
#gap-gauss#Requires: gap-gaussforhomalg >= 2018.06.01
|
||||||
|
Requires: gap-gbnp >= 1.0.3
|
||||||
|
Requires: gap-generalizedmorphismsforcap >= 2018.06.15
|
||||||
|
Requires: gap-genss >= 1.6.5
|
||||||
|
Requires: gap-gradedmodules >= 2018.02.04
|
||||||
|
Requires: gap-gradedringforhomalg >= 2018.02.04
|
||||||
|
Requires: gap-grape >= 4.8.1
|
||||||
|
Requires: gap-groupoids >= 1.63
|
||||||
|
Requires: gap-grpconst >= 2.6.1
|
||||||
|
Requires: gap-guarana >= 0.96.1
|
||||||
|
Requires: gap-guava >= 3.14
|
||||||
|
Requires: gap-hap >= 1.15
|
||||||
|
# depends on polymake (not ready)
|
||||||
|
#Requires: gap-hapcryst >= 0.1.11
|
||||||
|
Requires: gap-hecke >= 1.5
|
||||||
|
Requires: gap-help >= 3.3
|
||||||
|
Requires: gap-homalg >= 2017.10.26
|
||||||
|
#gap-io#Requires: gap-homalgtocas >= 2018.06.15
|
||||||
|
Requires: gap-idrel >= 2.42
|
||||||
|
Requires: gap-intpic >= 0.2.3
|
||||||
|
#gac#Requires: gap-io >= 4.5.4
|
||||||
|
#gap-io#Requires: gap-io_forhomalg >= 2017.09.02
|
||||||
|
Requires: gap-irredsol >= 1.4
|
||||||
|
# gap-itc-1.4 has no license attached: cannot ship that
|
||||||
|
#Requires: gap-itc >= 1.5
|
||||||
|
#gac#Requires: gap-json >= 2.0.0
|
||||||
|
#notready#Requires: gap-jupyterkernel >= 1.0
|
||||||
|
#notready#Requires: gap-jupyterviz >= 1.2.0
|
||||||
|
Requires: gap-kan >= 1.28
|
||||||
|
Requires: gap-kbmag >= 1.5.6
|
||||||
|
Requires: gap-laguna >= 3.9.0
|
||||||
|
Requires: gap-liealgdb >= 2.2
|
||||||
|
Requires: gap-liepring >= 1.9.2
|
||||||
|
Requires: gap-liering >= 2.3
|
||||||
|
#gap-cap#Requires: gap-linearalgebraforcap >= 2018.02.07
|
||||||
|
Requires: gap-localizeringforhomalg >= 2018.02.04
|
||||||
|
Requires: gap-loops >= 3.4.0
|
||||||
|
Requires: gap-lpres >= 1.0.0
|
||||||
|
Requires: gap-mapclass >= 1.4.3
|
||||||
|
Requires: gap-matgrp >= 0.51
|
||||||
|
Requires: gap-matricesforhomalg >= 2018.08.25
|
||||||
|
# gap-modisom-2.3.2 not OSI compliant: cannot ship:
|
||||||
|
# permits distribution and use, but not modification.
|
||||||
|
#Requires: gap-modisom >= 2.4.0
|
||||||
|
# gap-modulepresentationsforcap requires a non-existent gap-complexesandfilteredobjectsforgap
|
||||||
|
#Requires: gap-modulepresentationsforcap >= 2018.02.02
|
||||||
|
Requires: gap-modules >= 2018.08.24
|
||||||
|
Requires: gap-nilmat >= 1.3
|
||||||
|
Requires: gap-normalizinterface >= 1.0.2
|
||||||
|
Requires: gap-nq >= 2.5.3
|
||||||
|
Requires: gap-numericalsgps >= 1.1.8
|
||||||
|
Requires: gap-openmath >= 11.4.2
|
||||||
|
#gac#Requires: gap-orb >= 4.8.1
|
||||||
|
#Needs separate gap-core built with openmpi and update-alternatives
|
||||||
|
#Requires: gap-pargap >= 1.4.0
|
||||||
|
Requires: gap-patternclass >= 2.4.2
|
||||||
|
Requires: gap-permut >= 2.0.3
|
||||||
|
Requires: gap-polenta >= 1.3.8
|
||||||
|
Requires: gap-polycyclic >= 2.14
|
||||||
|
# polymake not ready
|
||||||
|
#Requires: gap-polymakeinterface >= 2018.09.25
|
||||||
|
#Requires: gap-polymaking >= 0.8.1
|
||||||
|
Requires: gap-primgrp >= 3.3.2
|
||||||
|
# gap-profiling-1.3.0: no license on "first-party" code (bundled thirdparty code is ok tho..)
|
||||||
|
#Requires: gap-profiling >= 2.0.1
|
||||||
|
Requires: gap-qaos >= 1.6
|
||||||
|
Requires: gap-qpa >= 1.27
|
||||||
|
Requires: gap-quagroup >= 1.8
|
||||||
|
Requires: gap-radiroot >= 2.7
|
||||||
|
Requires: gap-rcwa >= 4.6.0
|
||||||
|
Requires: gap-rds >= 1.6
|
||||||
|
Requires: gap-recog >= 1.2.5
|
||||||
|
Requires: gap-recogbase >= 1.2.5
|
||||||
|
# gap-repsn-3.2 has no license attached: cannot ship that
|
||||||
|
#Requires: gap-repsn >= 3.0.2
|
||||||
|
Requires: gap-resclasses >= 4.7.0
|
||||||
|
Requires: gap-ringsforhomalg >= 2018.01.07
|
||||||
|
Requires: gap-sco >= 2017.09.10
|
||||||
|
Requires: gap-scscp >= 2.2.3
|
||||||
|
Requires: gap-semigroups >= 2.8.0
|
||||||
|
# gap-sglppow-2.0 not OSI compliant: cannot ship
|
||||||
|
# permits distribution, but not use (how stupid), nor modification
|
||||||
|
#Requires: gap-sglppow >= 2.0
|
||||||
|
Requires: gap-sgpviz >= 0.999.1
|
||||||
|
Requires: gap-simpcomp >= 2.1.7
|
||||||
|
# gap-singular-12.04.28 has no license attached: cannot ship
|
||||||
|
#Requires: gap-singular >= 12.04.28
|
||||||
|
Requires: gap-sla >= 1.2
|
||||||
|
Requires: gap-smallsemi >= 0.6.11
|
||||||
|
Requires: gap-sonata >= 2.8
|
||||||
|
# gap-sophus-1.23 has no license attached: cannot ship
|
||||||
|
#Requires: gap-sophus >= 1.23
|
||||||
|
Requires: gap-spinsym >= 1.5
|
||||||
|
Requires: gap-symbcompcc >= 1.2
|
||||||
|
# gap-tomlib-1.2.6 has no license attached: cannot ship
|
||||||
|
#Requires: gap-tomlib >= 1.2.6
|
||||||
|
Requires: gap-toolsforhomalg >= 2017.11.05
|
||||||
|
Requires: gap-toric >= 1.9.4
|
||||||
|
Requires: gap-toricvarieties >= 2012.12.22
|
||||||
|
# gap-unipot-1.2 has no license attached: cannot ship
|
||||||
|
#Requires: gap-unipot >= 1.2
|
||||||
|
Requires: gap-unitlib >= 3.3.0
|
||||||
|
Requires: gap-utils >= 0.49
|
||||||
|
Requires: gap-wedderga >= 4.9.1
|
||||||
|
# gap-xgap-4.24 has no license attached: cannot ship
|
||||||
|
#Requires: gap-xgap >= 4.26
|
||||||
|
Requires: gap-xmod >= 2.64
|
||||||
|
Requires: gap-xmodalg >= 1.12
|
||||||
|
|
||||||
%description small-groups
|
%description full
|
||||||
GAP is a system for computational discrete algebra, with particular
|
GAP is a system for computational discrete algebra, with particular
|
||||||
emphasis on Computational Group Theory.
|
emphasis on Computational Group Theory.
|
||||||
|
|
||||||
This subpackage contains the database of small groups.
|
This subpackage will pull in all optional packages of the GAP distribution.
|
||||||
|
|
||||||
%package trans-groups
|
|
||||||
Summary: GAP: Database of transitive groups
|
|
||||||
Group: Productivity/Scientific/Math
|
|
||||||
%if 0%{?suse_version} >= 1120
|
|
||||||
BuildArch: noarch
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description trans-groups
|
|
||||||
GAP is a system for computational discrete algebra, with particular
|
|
||||||
emphasis on Computational Group Theory.
|
|
||||||
|
|
||||||
This subpackage contains the database of transitive groups.
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn gap4r8
|
%setup -q
|
||||||
%patch -P 1 -P 2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -f bin/*.bat
|
%configure
|
||||||
pushd extern/
|
make %{?_smp_mflags} V=1
|
||||||
find . -type f ! -name "Makefile*" -print -delete
|
|
||||||
popd
|
|
||||||
pushd cnf/
|
|
||||||
make
|
|
||||||
popd
|
|
||||||
|
|
||||||
%if 0%{?suse_version} == 1110
|
|
||||||
# odd breakage:
|
|
||||||
# checking for trunc... no
|
|
||||||
# ./configure: line 10014: syntax error near unexpected token `fi'
|
|
||||||
# ./configure: line 10014: `fi'
|
|
||||||
# make: *** [bin/i686-suse-linux-gnu-gcc-default32/config.status] Error 2
|
|
||||||
autoreconf -fi
|
|
||||||
%endif
|
|
||||||
|
|
||||||
#
|
|
||||||
# Having $GAParch (for example with <gapdir>/bin/$GAParch) is practically useless,
|
|
||||||
# because <gapdir>/sysinfo.gap is already arch-specific and needs to reside in an
|
|
||||||
# arch-specific directory.
|
|
||||||
#
|
|
||||||
%configure --with-gmp=system --target="%_host" --with-gapdir="%gapdir" \
|
|
||||||
COPTS="%optflags"
|
|
||||||
|
|
||||||
#
|
|
||||||
# See what fancy tuple they brought us and rerun configure so we can tell it
|
|
||||||
# the _real_ path of gapbindir. (Using $PWD/`pwd` in configure is absolutely
|
|
||||||
# hostile to distros.)
|
|
||||||
#
|
|
||||||
cat sysinfo.gap;
|
|
||||||
. ./sysinfo.gap;
|
|
||||||
%configure --with-gmp=system --target="%_host" --with-gapdir="%gapdir" \
|
|
||||||
--with-gapbindir="%gapdir/bin/$GAParch" COPTS="%optflags"
|
|
||||||
|
|
||||||
# And now, another configure run.
|
|
||||||
make config;
|
|
||||||
|
|
||||||
# Actual compile
|
|
||||||
make %{?_smp_mflags} compile
|
|
||||||
|
|
||||||
# Someone screwed up permissions bigtime.
|
|
||||||
# Resolve rpmlint: W: spurious-executable-perm
|
|
||||||
# Resolve rpmlint: W: script-without-shebang
|
|
||||||
find . -type f "(" \
|
|
||||||
-name "*.c" -o -name "*.fp" -o -name "*.g" -o -name "*.gd" -o \
|
|
||||||
-name "*.gi" -o -name "*.grp" -o -name "*.ind" -o -name "*.tex" -o \
|
|
||||||
-name "*.tst" -o -name "*.xml" \
|
|
||||||
")" -exec chmod a-x "{}" "+";
|
|
||||||
# Do not let these be installed.
|
|
||||||
find . -type f -name "*.orig" -print -delete
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
b="%buildroot"
|
||||||
|
%make_install
|
||||||
|
rm -fv "%buildroot/%_libdir"/*.la
|
||||||
|
|
||||||
# Move doc into FHS
|
# Fixup incomplete installation
|
||||||
mkdir -p "$b/%_docdir";
|
mkdir -p "$b/%_datadir/gap"
|
||||||
mv doc "$b/%_docdir/%name";
|
cp -a grp lib "$b/%_datadir/gap/"
|
||||||
ln -s "%_docdir/%name" "doc";
|
|
||||||
|
|
||||||
# Move data into FHS
|
mkdir -p "$b/%_libexecdir/%name" \
|
||||||
rm -f tst/remake.sh doc/test/re;
|
"$b/%gap_sitearch" "$b/%gap_sitelib"
|
||||||
mkdir -p "$b/%gapdatadir/pkg" "$b/%gapdir/pkg";
|
mv "$b/%_bindir/gap" "$b/%_libexecdir/%name/gap.bin"
|
||||||
dirs="grp lib prim small trans tst";
|
cat >>"$b/%_bindir/gap" <<-EOF
|
||||||
mv $dirs "$b/%gapdatadir";
|
#!/bin/sh
|
||||||
for i in $dirs; do
|
exec %_libexecdir/%name/gap.bin -l "%gap_sitearch/.." -l "%gap_sitelib/.." "\$@"
|
||||||
ln -s "%gapdatadir/$i" "$i";
|
EOF
|
||||||
done;
|
chmod a+x "$b/%_bindir/gap"
|
||||||
|
|
||||||
# Populate FHS bindir
|
namei sysinfo.gap
|
||||||
. ./sysinfo.gap
|
. ./sysinfo.gap
|
||||||
mkdir -p "$b/%_bindir"
|
cat >"$b/%_libdir/gap/sysinfo.gap" <<-EOF
|
||||||
cp -aH bin/gap.sh "$b/%_bindir/gap-%version"
|
GAParch=$GAParch
|
||||||
rm -f bin/gap*.sh
|
GAP_ABI=$GAP_ABI
|
||||||
ln -s "%gapdir/bin/$GAParch/gac" "$b/%_bindir/gac-%version"
|
GAP_BIN_DIR="%_bindir"
|
||||||
ln -s "gap-%version" "$b/%_bindir/gap"
|
GAP_LIB_DIR="%_libdir/gap"
|
||||||
ln -s "gac-%version" "$b/%_bindir/gac"
|
GAP_CC="$GAP_CC"
|
||||||
|
GAP_CFLAGS="%optflags"
|
||||||
|
GAP_CPPFLAGS="-I%_includedir/gap"
|
||||||
|
GAP_LIBS="-lgap"
|
||||||
|
GAP_OBJS=""
|
||||||
|
EOF
|
||||||
|
ln -s . "$b/%_includedir/gap/src"
|
||||||
|
ln -s sysinfo.gap "$b/%_libdir/gap/sysinfo.gap-default$GAP_ABI"
|
||||||
|
mkdir -pv "$b/%gap_sitearch/../bin/$GAParch"
|
||||||
|
ln -s "%_bindir/gac" "$b/%gap_sitearch/../bin/$GAParch/"
|
||||||
|
|
||||||
# Move compiled things into place (lack of a `make install` target).
|
# openSUSE-specific extras for RPMs
|
||||||
# Throw out autogenerated objects, but keep source (3rd-party pkgs make use of it).
|
|
||||||
mkdir -p "$b/%gapdir";
|
|
||||||
cp -a . "$b/%gapdir";
|
|
||||||
rm -Rf "$b/%gapdir"/{autom4*,cnf,configu*,.hgignore,.travis.yml}
|
|
||||||
|
|
||||||
# RPM extras
|
|
||||||
mkdir -p "$b/%_prefix/lib/rpm/macros.d"
|
mkdir -p "$b/%_prefix/lib/rpm/macros.d"
|
||||||
cp "%_sourcedir/macros.gap" "$b/%_prefix/lib/rpm/macros.d/"
|
cp "%_sourcedir/macros.gap" "$b/%_prefix/lib/rpm/macros.d/"
|
||||||
cat >>"$b/%_prefix/lib/rpm/macros.d/macros.gapdirs" <<-EOF
|
cat >>"$b/%_prefix/lib/rpm/macros.d/macros.gapdirs" <<-EOF
|
||||||
# Anchor directory for %%files list
|
|
||||||
%%gap_sitelib_anchor %gap_sitelib_anchor
|
|
||||||
%%gap_sitearch_anchor %gap_sitearch_anchor
|
|
||||||
# The GAP runtime directory (GAPPATH)
|
|
||||||
%%gapdir %gapdir
|
|
||||||
# Directory for modules extending the core
|
# Directory for modules extending the core
|
||||||
%%gap_sitelib %gapdatadir/pkg
|
%%gap_sitelib %gap_sitelib
|
||||||
%%gap_sitearch %%gapdir/pkg
|
%%gap_sitearch %gap_sitearch
|
||||||
|
%%gap_sitelib_anchor %_datadir
|
||||||
|
%%gap_sitearch_anchor %_libdir
|
||||||
|
%%gapdir %_libdir/gap
|
||||||
EOF
|
EOF
|
||||||
%if 0%{?fdupes:1}
|
%if 0%{?fdupes:1}
|
||||||
%fdupes %buildroot/%_prefix
|
%fdupes %buildroot/%_prefix
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%_bindir/gap*
|
||||||
# Dummy entry
|
%dir %_libexecdir/%name/
|
||||||
%dir %gap_sitelib_anchor/
|
%_libexecdir/%name/gap.bin
|
||||||
|
%dir %_libdir/gap/
|
||||||
|
%_datadir/gap/
|
||||||
|
|
||||||
%files core
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%_libdir/libgap.so.0*
|
||||||
%_bindir/gap
|
|
||||||
%_bindir/gap-*
|
|
||||||
%dir %gapdir/
|
|
||||||
%gapdir/CITATION
|
|
||||||
%gapdir/LICENSE
|
|
||||||
%dir %gapdir/bin/
|
|
||||||
%gapdir/bin/cygwin.ver
|
|
||||||
%gapdir/bin/gapicon*
|
|
||||||
%gapdir/bin/gaprxvt*
|
|
||||||
%dir %gapdir/bin/%_host-*/
|
|
||||||
%gapdir/bin/%_host-*/gap
|
|
||||||
%gapdir/doc
|
|
||||||
%gapdir/etc/
|
|
||||||
%gapdir/gap.ini
|
|
||||||
%gapdir/gap.shi
|
|
||||||
%gapdir/grp
|
|
||||||
%gapdir/lib
|
|
||||||
%gapdir/pkg/
|
|
||||||
%gapdir/prim
|
|
||||||
%gapdir/small
|
|
||||||
%gapdir/sysinfo*
|
|
||||||
%gapdir/trans
|
|
||||||
%gapdir/tst
|
|
||||||
%gapdir/appveyor.yml
|
|
||||||
|
|
||||||
%files data
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %gap_sitelib_anchor/
|
|
||||||
%gapdatadir/lib/
|
|
||||||
%gapdatadir/grp/
|
|
||||||
%gapdatadir/pkg/
|
|
||||||
%gapdatadir/tst/
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%_bindir/gac*
|
||||||
%_bindir/gac
|
%_includedir/gap/
|
||||||
%_bindir/gac-*
|
%_libdir/libgap.so
|
||||||
%dir %gapdir/
|
%dir %_libdir/gap
|
||||||
%gapdir/*.md
|
%_libdir/gap/bin/
|
||||||
%gapdir/Makefile*
|
%_libdir/gap/sysinfo.gap*
|
||||||
%dir %gapdir/bin/
|
|
||||||
%gapdir/bin/%_host-*
|
|
||||||
%gapdir/bin/BuildPackages.sh
|
|
||||||
%exclude %gapdir/bin/%_host-*/gap
|
|
||||||
%gapdir/config*
|
|
||||||
%gapdir/extern/
|
|
||||||
%gapdir/src/
|
|
||||||
|
|
||||||
%files doc
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%_docdir/%name/
|
|
||||||
|
|
||||||
%files full
|
|
||||||
%defattr(-,root,root)
|
|
||||||
# Dummy entry
|
|
||||||
%dir %gap_sitelib_anchor/
|
|
||||||
|
|
||||||
%files prim-groups
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %gap_sitelib_anchor/
|
|
||||||
%gapdatadir/prim/
|
|
||||||
|
|
||||||
%files rpm-devel
|
%files rpm-devel
|
||||||
%defattr(-,root,root)
|
|
||||||
%_prefix/lib/rpm/
|
%_prefix/lib/rpm/
|
||||||
|
|
||||||
%files small-groups
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %gap_sitelib_anchor/
|
|
||||||
%gapdatadir/small/
|
|
||||||
|
|
||||||
%files trans-groups
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %gap_sitelib_anchor/
|
|
||||||
%gapdatadir/trans/
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:33e37afa989ee906862741814428c329e3770f6709bc1cd92d7501d77b7b737f
|
|
||||||
size 40923279
|
|
@ -24,13 +24,12 @@
|
|||||||
( \
|
( \
|
||||||
echo "$moddir"; \
|
echo "$moddir"; \
|
||||||
cd "%buildroot"; \
|
cd "%buildroot"; \
|
||||||
find "$fmoddir" -type f "(" -iname "LICENCE*" -o -iname "LICENSE*" -o -iname "COPYING*" -o -iname "GPL*" ")" -printf "%%%%doc /%%p\\n"; \
|
find "$fmoddir" -type f "(" -iname "LICENCE*" -o -iname "LICENSE*" -o -iname "COPYING*" -o -iname "GPL*" ")" -printf "%%%%license /%%p\\n"; \
|
||||||
) >>"%name.files"; \
|
) >>"%name.files"; \
|
||||||
d="${moddir%/*}"; \
|
d="${moddir%/*}"; \
|
||||||
while [ -n "$d" -a "$d" != "/" -a "$d" != "$stopdir" ]; do \
|
while [ -n "$d" ] && [ "$d" != "/" ] && [ "$d" != "$stopdir" ]; do \
|
||||||
echo "%%dir $d" >>"%name.files"; \
|
echo "%%dir $d" >>"%name.files"; \
|
||||||
d="${d%/*}"; \
|
d="${d%/*}"; \
|
||||||
done; \
|
done; \
|
||||||
echo "%%dir $d" >>"%name.files"; \
|
|
||||||
unset d; \
|
unset d; \
|
||||||
unset stopdir;
|
unset stopdir;
|
||||||
|
Loading…
Reference in New Issue
Block a user