diff --git a/gap-4.6.4.tar.xz b/gap-4.6.4.tar.xz new file mode 100644 index 0000000..328c8c8 --- /dev/null +++ b/gap-4.6.4.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a3848a2f910a3d5b4b294a98ec4ba00b7e67ca2a904424d2acc12d385882801 +size 36431408 diff --git a/gap-final-dir.diff b/gap-final-dir.diff index f3e4300..5982ce1 100644 --- a/gap-final-dir.diff +++ b/gap-final-dir.diff @@ -9,13 +9,13 @@ build: add a --with-gapdir option to specify future location of GAP configure.in | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) -diff --git a/cnf/configure.in b/cnf/configure.in -index 2b9f78b..8c7a543 100644 ---- a/cnf/configure.in -+++ b/cnf/configure.in -@@ -288,8 +288,11 @@ dnl ## - dnl ## generate a makefile - dnl ## +Index: gap4r6/cnf/configure.in +=================================================================== +--- gap4r6.orig/cnf/configure.in ++++ gap4r6/cnf/configure.in +@@ -352,8 +352,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]), @@ -24,13 +24,13 @@ index 2b9f78b..8c7a543 100644 AC_SUBST(gapbin) -gapbin=`pwd` - AC_SUBST(BUILD_MODE) + AC_SUBST(ABI) AC_SUBST(ABI_CFLAGS) -diff --git a/configure.in b/configure.in -index c24e506..7063e6f 100644 ---- a/configure.in -+++ b/configure.in -@@ -59,8 +59,12 @@ AC_PROG_CC +Index: gap4r6/configure.in +=================================================================== +--- gap4r6.orig/configure.in ++++ gap4r6/configure.in +@@ -51,8 +51,12 @@ AC_PROG_CC BASECC=`basename ${CC}` AC_SUBST(BASECC) AC_PROG_MAKE_SET @@ -42,7 +42,5 @@ index c24e506..7063e6f 100644 AC_SUBST(gapdir) -gapdir=`pwd` - AC_ARG_WITH(gmp, - AC_HELP_STRING( [--with-gmp], --- -# Created with git-export-patch + AC_ARG_VAR(CONFIGNAME,[Supply a (meaningful) name for the configuration you are building. + This name will be appended to the architecture-dependent named diff --git a/gap-multiarch.diff b/gap-multiarch.diff new file mode 100644 index 0000000..f38b998 --- /dev/null +++ b/gap-multiarch.diff @@ -0,0 +1,32 @@ + +Allow for noarch packages. + +--- + configure.in | 3 +++ + gap.shi | 2 +- + 2 files changed, 4 insertions(+), 1 deletion(-) + +Index: gap4r6/configure.in +=================================================================== +--- gap4r6.orig/configure.in ++++ gap4r6/configure.in +@@ -160,6 +160,9 @@ AC_SUBST(MAKE_GMP) + AC_SUBST(USE_GMP) + AC_SUBST(GMP_VER) + ++pkgdatadir="$datadir/$PACKAGE_NAME" ++AC_SUBST([pkgdatadir]) ++ + mkdir -p bin + AC_OUTPUT(Makefile-${CONFIGNAME}:Makefile.in sysinfo.gap-${CONFIGNAME}:sysinfo.in bin/gap-${CONFIGNAME}.sh:gap.shi) + ln -sf gap-${CONFIGNAME}.sh bin/gap.sh +Index: gap4r6/gap.shi +=================================================================== +--- gap4r6.orig/gap.shi ++++ gap4r6/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" "$@" diff --git a/gap-no-fancy-paths.diff b/gap-no-fancy-paths.diff deleted file mode 100644 index 9a2f554..0000000 --- a/gap-no-fancy-paths.diff +++ /dev/null @@ -1,24 +0,0 @@ -parent bed1014971e204b383cd74a48a913e294d420972 () -commit 96502953fcae60a727bae2866243bd1f95756d33 -Author: Jan Engelhardt -Date: Sun Jun 26 23:58:07 2011 +0200 - -build: provide uncomplicated pathspec ---- - Makefile.in | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/Makefile.in b/Makefile.in -index 6ceb28d..1bd298d 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -80,6 +80,7 @@ config: bin/@target@-@BASECC@/$(BUILD_MODE)-bit/configure bin/@target@-@BASECC@ - - bin/@target@-@BASECC@/$(BUILD_MODE)-bit/configure: cnf/configure.out - mkdir -p bin/@target@-@BASECC@/$(BUILD_MODE)-bit -+ ln -s bin/@target@-@BASECC@/$(BUILD_MODE)-bit obj - @rm -f bin/@target@-@BASECC@/$(BUILD_MODE)-bit/configure - cp cnf/configure.out bin/@target@-@BASECC@/$(BUILD_MODE)-bit/configure - --- -# Created with git-export-patch diff --git a/gap-system-perl.diff b/gap-system-perl.diff deleted file mode 100644 index 5034846..0000000 --- a/gap-system-perl.diff +++ /dev/null @@ -1,44 +0,0 @@ -parent 9316710832a9f6d582e1dcf3b9645e9efc8efc8f () -commit cfc9336244188eac1c5feac5542b3808dac0a435 -Author: Jan Engelhardt -Date: Sun Jun 26 16:22:03 2011 +0200 - -pkg/hap: default to system perl ---- - pkg/Hap1.9/lib/PolyComplexes/prog | 2 +- - pkg/Hap1.9/lib/TDA/prog | 2 +- - pkg/Hap1.9/lib/TopologicalSpaces/prog | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/pkg/Hap1.9/lib/PolyComplexes/prog b/pkg/Hap1.9/lib/PolyComplexes/prog -index 190de99..8bb6226 100755 ---- a/pkg/Hap1.9/lib/PolyComplexes/prog -+++ b/pkg/Hap1.9/lib/PolyComplexes/prog -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - # - # Program to convert image text files to GAP matrices. - -diff --git a/pkg/Hap1.9/lib/TDA/prog b/pkg/Hap1.9/lib/TDA/prog -index bd701da..93fed2c 100755 ---- a/pkg/Hap1.9/lib/TDA/prog -+++ b/pkg/Hap1.9/lib/TDA/prog -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - # - # Program to convert image text files to GAP matrices. - -diff --git a/pkg/Hap1.9/lib/TopologicalSpaces/prog b/pkg/Hap1.9/lib/TopologicalSpaces/prog -index bd701da..93fed2c 100755 ---- a/pkg/Hap1.9/lib/TopologicalSpaces/prog -+++ b/pkg/Hap1.9/lib/TopologicalSpaces/prog -@@ -1,4 +1,4 @@ --#!/usr/local/bin/perl -+#!/usr/bin/perl - # - # Program to convert image text files to GAP matrices. - --- -# Created with git-export-patch diff --git a/gap-ttyname-null.diff b/gap-ttyname-null.diff index 4dedafd..8ccd4f7 100644 --- a/gap-ttyname-null.diff +++ b/gap-ttyname-null.diff @@ -15,18 +15,18 @@ could potentially always yield true, so the result needs to be stored away first. --- src/system.c | 36 ++++++++++++++++++++++++++++-------- - 1 files changed, 28 insertions(+), 8 deletions(-) + 1 file changed, 28 insertions(+), 8 deletions(-) -diff --git a/src/system.c b/src/system.c -index a41b46b..1c39dd4 100644 ---- a/src/system.c -+++ b/src/system.c -@@ -2133,12 +2133,22 @@ void InitSystem ( +Index: gap4r6/src/system.c +=================================================================== +--- gap4r6.orig/src/system.c ++++ gap4r6/src/system.c +@@ -1819,12 +1819,22 @@ void InitSystem ( syBuf[0].fp = fileno(stdin); syBuf[0].bufno = -1; if ( isatty( fileno(stdin) ) ) { - if ( isatty( fileno(stdout) ) -- && ! SyStrcmp( ttyname(fileno(stdin)), ttyname(fileno(stdout)) ) ) +- && ! strcmp( ttyname(fileno(stdin)), ttyname(fileno(stdout)) ) ) + char *in, *out; + + in = ttyname(fileno(stdin)); @@ -42,18 +42,18 @@ index a41b46b..1c39dd4 100644 - syBuf[0].echo = open( ttyname(fileno(stdin)), O_WRONLY ); + else if (in != NULL) + syBuf[0].echo = open(in, O_WRONLY); - syBuf[0].isTTY = 1; + syBuf[0].isTTY = 1; + free(in); + free(out); } else { syBuf[0].echo = fileno(stdout); -@@ -2147,13 +2157,23 @@ void InitSystem ( +@@ -1833,13 +1843,23 @@ void InitSystem ( syBuf[1].echo = syBuf[1].fp = fileno(stdout); syBuf[1].bufno = -1; if ( isatty( fileno(stderr) ) ) { - if ( isatty( fileno(stdin) ) -- && ! SyStrcmp( ttyname(fileno(stdin)), ttyname(fileno(stderr)) ) ) +- && ! strcmp( ttyname(fileno(stdin)), ttyname(fileno(stderr)) ) ) + char *in, *err; + + in = isatty(fileno(stdin)) ? ttyname(fileno(stdin)) : NULL; @@ -70,11 +70,9 @@ index a41b46b..1c39dd4 100644 + else if (err != NULL) + syBuf[2].fp = open(err, O_RDONLY); syBuf[2].echo = fileno(stderr); - syBuf[2].isTTY = 1; + syBuf[2].isTTY = 1; + free(in); + free(err); } else syBuf[2].isTTY = 0; --- -# Created with git-export-patch diff --git a/gap.changes b/gap.changes index ebfd551..265030b 100644 --- a/gap.changes +++ b/gap.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 10 07:34:20 UTC 2013 - jengelh@inai.de + +- Update to new upstream release 4.6.4 +- Split .spec file into multiple packages + ------------------------------------------------------------------- Thu Nov 29 15:09:28 UTC 2012 - jengelh@inai.de diff --git a/gap.spec b/gap.spec index 74c0a89..0b3b88b 100644 --- a/gap.spec +++ b/gap.spec @@ -17,24 +17,24 @@ Name: gap -Version: 4.5.1 +Version: 4.6.4 Release: 0 -%define topv 4.5.1 Summary: System for Computational Discrete Algebra License: GPL-2.0+ Group: Productivity/Scientific/Math Url: http://gap-system.org/ -#DL-URL: ftp://ftp.gap-system.org/pub/gap/gap45/beta/ -Source: gap4r5p1_2011_06_03-07_59.tar.xz +#DL-URL: ftp://ftp.gap-system.org/pub/gap/gap4/tar.gz/gap4r6p4_2013_05_04-16_36.tar.gz +Source: gap-4.6.4.tar.xz Source2: %name-rpmlintrc +Source3: sanitize_source.sh Patch1: gap-final-dir.diff -Patch2: gap-typepuns.diff -Patch3: gap-system-perl.diff -Patch4: gap-no-fancy-paths.diff +Patch2: gap-multiarch.diff Patch5: gap-ttyname-null.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} BuildRequires: fdupes +%endif BuildRequires: gmp-devel BuildRequires: libtool BuildRequires: ncurses-devel @@ -43,111 +43,14 @@ BuildRequires: xz %if 0%{?suse_version} BuildRequires: fastjar %endif -%define xlib %_libdir/%name/%_host/%topv -%define xdata %_datadir/%name - -Requires: gap-base +Requires: gap-core Requires: gap-devel -# Main package; suggest all -Requires: gap-ace -Requires: gap-aclib -Requires: gap-alnuth -Requires: gap-anupq -Requires: gap-atlasrep -Requires: gap-automata -Requires: gap-automgrp -Requires: gap-autpgrp -Requires: gap-browse -Requires: gap-carat -Requires: gap-circle -Requires: gap-cohomolo -Requires: gap-crime -Requires: gap-crisp -Requires: gap-cryst -Requires: gap-crystcat -Requires: gap-ctbllib -Requires: gap-cubefree -Requires: gap-cvec -Requires: gap-design -Requires: gap-edim -Requires: gap-example -Requires: gap-examplesforhomalg -Requires: gap-factint -Requires: gap-fga -Requires: gap-format -Requires: gap-forms -Requires: gap-fplsa -Requires: gap-fr -Requires: gap-fwtree -Requires: gap-gapdoc -Requires: gap-gauss -Requires: gap-gaussforhomalg -Requires: gap-gbnp -Requires: gap-genss -Requires: gap-gpd -Requires: gap-gradedmodules -Requires: gap-gradedringforhomalg -Requires: gap-grape -Requires: gap-grpconst -Requires: gap-guarana -Requires: gap-guava -Requires: gap-hap -Requires: gap-hapcryst -Requires: gap-happrime -Requires: gap-hecke -Requires: gap-homalg -Requires: gap-homalgtocas -Requires: gap-idrel -Requires: gap-if -Requires: gap-io -Requires: gap-io_forhomalg -Requires: gap-irredsol -Requires: gap-itc -Requires: gap-kan -Requires: gap-kbmag -Requires: gap-laguna -Requires: gap-liealgdb -Requires: gap-linboxing -Requires: gap-localizeringforhomalg -Requires: gap-loops -Requires: gap-matricesforhomalg -Requires: gap-modules -Requires: gap-monoid -Requires: gap-nilmat -Requires: gap-nq -Requires: gap-nql -Requires: gap-numericalsgps -Requires: gap-openmath -Requires: gap-orb -Requires: gap-pargap -Requires: gap-polenta -Requires: gap-polycyclic -Requires: gap-polymaking -Requires: gap-qaos -Requires: gap-quagroup -Requires: gap-radiroot -Requires: gap-rcwa -Requires: gap-rds -Requires: gap-recog -Requires: gap-recogbase -Requires: gap-repsn -Requires: gap-resclasses -Requires: gap-ringsforhomalg -Requires: gap-sco -Requires: gap-scscp -Requires: gap-sgpviz -Requires: gap-simpcomp -Requires: gap-singular -Requires: gap-smallsemi -Requires: gap-sonata -Requires: gap-sophus -Requires: gap-tomlib -Requires: gap-toric -Requires: gap-unipot -Requires: gap-unitlib -Requires: gap-wedderga -Requires: gap-xgap -Requires: gap-xmod +Requires: gap-doc + +%define gap_sitelib_anchor %_datadir/%name +%define gap_sitearch_anchor %_libexecdir/%name +%define gapdir %gap_sitearch_anchor +%define gapdatadir %gap_sitelib_anchor %description GAP is a system for computational discrete algebra, with particular @@ -158,12 +61,19 @@ 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. -%package base -Summary: System for Computational Discrete Algebra (core only) -Group: Productivity/Scientific/Math -Requires: gap45-rt +This package is for a medium GAP installation: core, documentation +and development. See gap-full if you want everything of the GAP +distribution. -%description base +%package core +Summary: Runtime for GAP (System for Computational Discrete Algebra) +Group: Productivity/Scientific/Math +Obsoletes: gap-base < %version-%release +Provides: gap-base = %version-%release +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 @@ -174,2805 +84,392 @@ algebras, combinatorial structures, and more. This package only pulls in the GAP core. -%package devel -Summary: Development environment for GAP +%package data +Summary: Data files for GAP (System for Computational Discrete Algebra) Group: Productivity/Scientific/Math -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} >= 1120 BuildArch: noarch %endif -Requires: gap = %topv -Requires: gap45-devel = %topv +Obsoletes: gap45-data +Obsoletes: gap46-data < %version-%release +Provides: gap46-data = %version-%release + +%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 +Summary: Development environment for GAP +Group: Development/Tools/Other +Requires: gap-base = %version +Obsoletes: gap45-devel +Obsoletes: gap46-devel < %version-%release +Provides: gap46-devel = %version-%release %description devel GAP is a system for computational discrete algebra, with particular emphasis on Computational Group Theory. -%package -n gap45-rt -Summary: Runtime for GAP (System for Computational Discrete Algebra) -Group: Productivity/Scientific/Math -Requires: gap-gapdoc -Requires: gap45-data = %topv -Provides: gap-rt = %topv +This package will pull in the current version of the GAP compiler and +utilities required to build GAP packages that need compilation. -%description -n gap45-rt -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. +%package doc +Summary: Documentation for GAP +Group: Documentation/Other +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%endif -%package -n gap45-devel -Summary: Development environment for GAP -Group: Productivity/Scientific/Math -Requires: gap45-rt = %topv - -%description -n gap45-devel +%description doc GAP is a system for computational discrete algebra, with particular emphasis on Computational Group Theory. -%package -n gap45-data -Summary: Data files for GAP (System for Computational Discrete Algebra) -Group: Productivity/Scientific/Math +This subpackage contains the documentation to GAP. -%description -n gap45-data +%package full +Summary: Metapackage to cause installation of the GAP Distribution +Group: Productivity/Scientific/Math +%if 0%{?suse_version} >= 1120 +BuildArch: noarch +%endif +Requires: gap >= %version +Requires: gap-ace >= 5.1 +Requires: gap-aclib >= 1.2 +Requires: gap-alnuth >= 3.0.0 +Requires: gap-anupq >= 3.0 +Requires: gap-atlasrep >= 1.5.0 +Requires: gap-autodoc >= 2013.01.16 +Requires: gap-automata >= 1.13 +Requires: gap-automgrp >= 1.1.4.1 +Requires: gap-autpgrp >= 1.5 +Requires: gap-browse >= 1.8.2 +Requires: gap-carat >= 2.1.4 +Requires: gap-circle >= 1.5.2 +Requires: gap-citrus >= 0.9999 +Requires: gap-cohomolo >= 1.6 +Requires: gap-congruence >= 1.3 +Requires: gap-convex >= 2012.11.15 +Requires: gap-crime >= 1.4 +Requires: gap-crisp >= 1.3.6 +Requires: gap-cryst >= 4.1.11 +Requires: gap-crystcat >= 1.1.6 +Requires: gap-ctbllib >= 1.2.2 +Requires: gap-cubefree >= 1.13 +Requires: gap-cvec >= 2.4 +Requires: gap-design >= 1.6 +Requires: gap-edim >= 1.3.1 +Requires: gap-example >= 3.4.3 +Requires: gap-examplesforhomalg >= 2012.10.23 +Requires: gap-factint >= 1.5.3 +Requires: gap-fga >= 1.2.0 +Requires: gap-float >= 0.5.9 +Requires: gap-format >= 1.3 +Requires: gap-forms >= 1.2.2 +Requires: gap-fplsa >= 1.1 +Requires: gap-fr >= 2.0.3 +Requires: gap-fwtree >= 1.0 +Requires: gap-gapdoc >= 1.5.1 +Requires: gap-gauss >= 2013.03.07 +Requires: gap-gaussforhomalg >= 2012.10.22 +Requires: gap-gbnp >= 1.0.1 +Requires: gap-genss >= 1.5 +Requires: gap-gpd >= 1.19 +Requires: gap-gradedmodules >= 2013.02.07 +Requires: gap-gradedringforhomalg >= 2013.02.07 +Requires: gap-grape >= 4.6.1 +Requires: gap-grpconst >= 2.3 +Requires: gap-guarana >= 0.94 +Requires: gap-guava >= 3.12 +Requires: gap-hap >= 1.10.10.2 +Requires: gap-hapcryst >= 0.1.10 +Requires: gap-happrime >= 0.6 +Requires: gap-hecke >= 1.3 +Requires: gap-homalg >= 2012.10.28 +Requires: gap-homalgtocas >= 2013.02.22 +Requires: gap-idrel >= 2.14 +Requires: gap-io >= 4.2 +Requires: gap-io_forhomalg >= 2012.10.22 +Requires: gap-irredsol >= 1.2.1 +Requires: gap-itc >= 1.4 +Requires: gap-kan >= 1.06 +Requires: gap-kbmag >= 1.5 +Requires: gap-laguna >= 3.6.3 +Requires: gap-liealgdb >= 2.1 +Requires: gap-linboxing >= 0.5.2 +Requires: gap-localizeringforhomalg >= 2012.10.26 +Requires: gap-loops >= 2.2.0 +Requires: gap-mapclass >= 1.2 +Requires: gap-matricesforhomalg >= 2013.04.16 +Requires: gap-modules >= 2013.04.19 +Requires: gap-nilmat >= 1.2 +Requires: gap-nq >= 2.4 +Requires: gap-numericalsgps >= 0.971 +Requires: gap-openmath >= 11.1.4 +Requires: gap-orb >= 4.6 +#Needs separate gap-core built with openmpi and update-alternatives +#Requires: gap-pargap >= 1.3.5 +Requires: gap-polenta >= 1.3.1 +Requires: gap-polycyclic >= 2.11 +Requires: gap-polymakeinterface >= 2013.03.26 +Requires: gap-polymaking >= 0.7.8 +Requires: gap-qaos +Requires: gap-quagroup >= 1.6 +Requires: gap-radiroot >= 2.6 +Requires: gap-rcwa >= 3.5.1 +Requires: gap-rds >= 1.6 +Requires: gap-recog >= 1.2 +Requires: gap-recogbase >= 1.2 +Requires: gap-repsn >= 3.0.2 +Requires: gap-resclasses >= 3.3.0 +Requires: gap-ringsforhomalg >= 2013.04.19 +Requires: gap-sco >= 2011.08.11 +Requires: gap-scscp >= 2.1.2 +Requires: gap-sgpviz >= 0.998 +Requires: gap-simpcomp >= 1.6.1 +Requires: gap-singular >= 12.04.28 +Requires: gap-smallsemi >= 0.6.6 +Requires: gap-sonata >= 2.6 +Requires: gap-sophus >= 1.23 +Requires: gap-spinsym >= 1.5 +Requires: gap-symbcompcc >= 1.2 +Requires: gap-tomlib >= 1.2.2 +Requires: gap-toolsforhomalg >= 2013.04.16 +Requires: gap-toric >= 1.8 +Requires: gap-unipot >= 2012.12.22 +Requires: gap-unitlib >= 3.1.3 +Requires: gap-wedderga >= 4.5.4 +Requires: gap-xgap >= 4.23 +Requires: gap-xmod >= 2.22 + +%description full GAP is a system for computational discrete algebra, with particular emphasis on Computational Group Theory. -%package ace -Summary: GAP: Advanced Coset Enumerator -Group: Productivity/Scientific/Math -Version: 5.0 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Greg.Gamble/ACE/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description ace -The ACE package provides functions associated with Todd-Coxeter -coset enumeration by interfacing with the Advanced Coset Enumerator -(ACE) from within GAP. - -%package aclib -Summary: GAP: Almost Crystallographic Groups -Group: Productivity/Scientific/Math -Version: 1.1 -Release: 0 -Url: http://www.tu-bs.de/~beick/so.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-crystcat >= 1.1 -Requires: gap-polycyclic >= 1.0 -Requires: gap-rt >= 4.3 - -%description aclib - -%package alnuth -Summary: GAP: Algebraic number theory and an interface to KANT -Group: Productivity/Scientific/Math -Version: 2.3.1 -Release: 0 -Url: http://www.icm.tu-bs.de/ag_algebra/software/Alnuth/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-polycyclic >= 1.1 -Requires: gap-rt >= 4.4 - -%description alnuth -This package provides an interface between GAP 4 and KANT -respectively KASH, the shell of the computational algebraic number -theory system KANT. By now the interface can only be used on a Linux -system. KASH itself is not part of this package. It has to be -obtained and installed independently of this package. Alnuth works -with KASH version 2.4 or 2.5. - -%package anupq -Summary: GAP: ANU p-Quotient -Group: Productivity/Scientific/Math -Version: 3.0 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Greg.Gamble/ANUPQ/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-autpgrp >= 1.2 -Requires: gap-rt >= 4.4 - -%description anupq -The ANUPQ package is a GAP4 interface with the ANU pq C program -written by Eamonn O'Brien. The ANU pq C program provides access to -implementations of the following algorithms: - -1. A p-quotient algorithm to compute a power-commutator presentation -for a group of prime power order. The algorithm implemented here is -based on that described in Newman and O'Brien (1996), Havas and -Newman (1980), and papers referred to there. Another description of -the algorithm appears in Vaughan-Lee (1990). A FORTRAN implementation -of this algorithm was programmed by Alford and Havas. The basic data -structures of that implementation are retained. - -2. A p-group generation algorithm to generate descriptions of groups -of prime power order. The algorithm implemented here is based on the -algorithms described in Newman (1977) and O'Brien (1990). A FORTRAN -implementation of this algorithm was earlier developed by Newman and -O'Brien. - -3. A standard presentation algorithm used to compute a -canonical power-commutator presentation of a p-group. The algorithm -implemented here is described in O'Brien (1994). - -4. An algorithm which can be used to compute the automorphism group -of a p-group. The algorithm implemented here is described in O'Brien -(1994). - -%package atlasrep -Summary: GAP: AtlasRep -Group: Productivity/Scientific/Math -Version: 1.4.0 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Thomas.Breuer/atlasrep -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.2 -Requires: gap-rt >= 4.4.10 -Suggests: gap-browse >= 1.2, gap-ctbllib >= 1.0, gap-tomlib >= 1.0 -Suggests: gap-io >= 2.1 - -%description atlasrep -AtlasRep aims to provide an interface between GAP and the Atlas of -Group Representations, a database that comprises representations of -many almost simple groups and information about their maximal -subgroups. - -%package automata -Summary: GAP: A package on automata", -Group: Productivity/Scientific/Math -Version: 1.12 -Release: 0 -Url: http://www.fc.up.pt/cmup/mdelgado/automata", -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.2 - -%description automata -The features of this package include - -- computing a rational expression for the language recognized by a - finite automaton; - -- compute an automaton for the language given by a rational - expression; - -- minimalize a finite automaton; - -- has some features (using the external program GraphViz) to - visualize automata; - -%package automgrp -Summary: GAP: Automata groups -Group: Productivity/Scientific/Math -Version: 1.1.4.1 -Release: 0 -Url: http://finautom.sourceforge.net/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-fga >= 1.1.0.1 -Requires: gap-rt >= 4.4.6 - -%description automgrp -The AutomGrp package provides methods for computations with groups -and semigroups generated by finite automata or given by wreath -recursions, as well as with their finitely generated subgroups, -subsemigroups and elements. - -%package autpgrp -Summary: GAP: Computing the Automorphism Group of a p-Group -Group: Productivity/Scientific/Math -Version: 1.4 -Release: 0 -Url: http://www-public.tu-bs.de:8080/~beick/so.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description autpgrp -In the AutPGrp package we introduce a new function to compute the -automorphism group of a finite p-group. The underlying algorithm is a -refinement of the methods described in O'Brien (1995). In particular, -this implementation is more efficient in both time and space -requirements and hence has a wider range of applications than the ANU -pq method. Our package is written in GAP code and it makes use of a -number of methods from the GAP library such as the MeatAxe for matrix -groups and permutation group functions. - -%package browse -Summary: GAP: ncurses interface and browsing applications -Group: Productivity/Scientific/Math -Version: 1.3 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Browse/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.2 -Requires: gap-rt >= 4.4.2 -Suggests: gap-atlasrep >= 1.4, gap-io >= 2.2 - -%description browse - -%package carat -Summary: GAP: Interface to CARAT, a crystallographic groups package -Group: Productivity/Scientific/Math -Version: 2.1 -Release: 0 -Url: http://www.math.uni-bielefeld.de/~gaehler/gap/packages.php -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.2 - -%description carat -The GAP 4 package "Interface to CARAT", briefly called just Carat, -provides GAP interface routines to some of the stand-alone programs -in the package CARAT. CARAT is a package for the computation with -crystallographic groups. It is implemented in C, and thus needs to be -compiled. It runs on Unix systems only. - -CARAT is to a large extent complementary to the GAP 4 package Cryst. -In particular, it provides routines for the computation of -normalizers and conjugators of finite unimodular groups in GL(n,Z), -and routines for the computation of Bravais groups, which are all -missing in Cryst. Furthermore, it provides also a catalogue of -Bravais groups up to dimension 6. Cryst automatically loads Carat -when it is available, and makes use of its functions where necessary. -The Carat package thereby extends the functionality of the package -Cryst considerably. - -%package circle -Summary: GAP: Adjoint groups of finite rings -Group: Productivity/Scientific/Math -Version: 1.3.1 -Release: 0 -Url: http://www.cs.st-andrews.ac.uk/~alexk/circle.htm -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.1 -Requires: gap-rt >= 4.4 - -%description circle -The main objective of the GAP package 'Circle' is to extends the -GAP functionality for computations in adjoint groups of associative -rings to make it possible to use the GAP system for the investigation -of such questions. - -Circle provides functionality to construct circle objects that will -respect the circle multiplication r*s = r + s + rs, create -multiplicative groups, generated by this objects, and compute groups -of elements, invertible with respect to this operation, for finite -radical algebras and finite associative rings without one. - -%package cohomolo -Summary: GAP: Cohomology groups of finite groups on finite modules -Group: Productivity/Scientific/Math -Version: 1.6 -Release: 0 -Url: http://www.warwick.ac.uk/staff/D.F.Holt/cohomolo -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.2 - -%description cohomolo -This package may be used to perform certain cohomological -calculations on a finite permutation group G. - -The following properties of G can be computed: - -(i) The p-part Mul_p of the Schur multiplier Mul of G, and a -presentation of a covering extension of Mul_p by G, for a specified -prime p; - -(ii) The dimensions of the first and second cohomology groups of G -acting on a finite dimensional KG-module M, where K is a field of -prime order; and - -(iii) Presentations of split and nonsplit extensions of M by G. - -%package crime -Summary: GAP: Calculate group cohomology and Massey products -Group: Productivity/Scientific/Math -Version: 1.3 -Release: 0 -Url: http://math.uic.edu/~marcus/Crime -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description crime -This GAP package computes cohomology rings for finite p-groups using -Jon Carlson's method, both as GAP objects, and also in terms of -generators and relators. It also computes induced homomorphisms on -cohomology and Massey products in the cohomology ring. - -%package crisp -Summary: GAP: Computing with Radicals, Injectors, Schunck classes and Projectors -Group: Productivity/Scientific/Math -Version: 1.3.3 -Release: 0 -Url: http://www-public.tu-bs.de:8080/~bhoeflin/crisp/index.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4.12 - -%description crisp - -%package cryst -Summary: GAP: Computing with crystallographic groups -Group: Productivity/Scientific/Math -Version: 4.1.6 -Release: 0 -Url: http://www.math.uni-bielefeld.de/~gaehler/gap/packages.php -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-carat >= 1.1, gap-polycyclic >= 1.0, gap-xgap >= 4.18 - -%description cryst -Cryst provides a rich set of methods to compute with affine -crystallographic groups, in particular space groups. In constrast to -the GAP 3 version, affine crystallographic groups are now fully -supported both in the representation acting from the right and in the -representation acting from the left. The latter representation is the -one preferred by crystallographers. There are also functions to -determine representatives of all space group types of a given -dimension. - -%package crystcat -Summary: GAP: The crystallographic groups catalog -Group: Productivity/Scientific/Math -Version: 1.1.3 -Release: 0 -Url: http://www.math.uni-bielefeld.de/~gaehler/gap/packages.php -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-cryst >= 4.1 -Requires: gap-rt >= 4.2 - -%description crystcat -CrystCat provides a catalog of crystallographic groups of dimensions -2, 3, and 4 which covers most of the data contained in the book -"Crystallographic groups of four-dimensional space" by H. Brown, R. -Bülow, J. Neubüser, H. Wondratschek, and H. Zassenhaus (John Wiley, -New York, 1978). - -%package ctbllib -Summary: GAP Character Table Library -Group: Productivity/Scientific/Math -Version: 1.1.3 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Thomas.Breuer/ctbllib/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-tomlib >= 1.0 - -%description ctbllib - -%package cubefree -Summary: GAP: Constructing the Groups of a Given Cubefree Order -Group: Productivity/Scientific/Math -Version: 1.08 -Release: 0 -Url: http://www.icm.tu-bs.de/ag_algebra/software/dietrich/Cubefree -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-grpconst >= 1.0 -Requires: gap-polycyclic >= 1.0 -Requires: gap-rt >= 4.3 - -%description cubefree -This package contains an implementation of an algorithm to construct -all groups of a (reasonable) given cubefree order up to isomorphism. - -%package cvec -Summary: GAP: Compact vectors over finite fields -Group: Productivity/Scientific/Math -Version: 1.8 -Release: 0 -Url: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/cvec.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.2 -Requires: gap-io >= 3.3 -Requires: gap-orb >= 3.7 -Requires: gap-rt >= 4.4.12 - -%description cvec - -%package design -Summary: GAP: The Design Package for GAP -Group: Productivity/Scientific/Math -Version: 1.4 -Release: 0 -Url: http://designtheory.org/software/gap_design/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-grape >= 4.2 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 0.99 - -%description design -The DESIGN package is for constructing, classifying, partitioning and -studying block designs. - -%package edim -Summary: GAP: Elementary Divisors of Integer Matrices -Group: Productivity/Scientific/Math -Version: 1.2.3 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Frank.Luebeck/EDIM -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 0.99 -Requires: gap-rt >= 4.4 - -%description edim - -%package example -Summary: GAP: A Demo for Package Authors -Group: Productivity/Scientific/Math -Version: 3.0 -Release: 0 -Url: http://www.cs.st-andrews.ac.uk/~alexk/example/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 0.99 -Requires: gap-rt >= 4.5 - -%description example -This package serves as an example of how to create a GAP 4 package. -This release (3.0) has been updated for the changes in the package -loading mechanism introduced in GAP 4.5. - -%package examplesforhomalg -Summary: GAP: Examples for the homalg GAP Package -Group: Productivity/Scientific/Math -Version: 2011.03.31 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/core-packages/examplesforhomalg -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-homalg >= 2010.11.21 -Requires: gap-homalgtocas >= 2011.02.23 -Requires: gap-matricesforhomalg >= 2011.02.23 -Requires: gap-modules >= 2011.02.23 -Requires: gap-ringsforhomalg >= 2011.02.23 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.1 - -%description examplesforhomalg - -%package factint -Summary: GAP: Advanced Methods for Factoring Integers -Group: Productivity/Scientific/Math -Version: 1.5.2 -Release: 0 -Url: http://www.cip.mathematik.uni-stuttgart.de/~kohlsn/factint.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.0 -Requires: gap-rt >= 4.4.9 - -%description factint -FactInt is a GAP 4 package which provides routines for factoring -integers, in particular: - - - Pollard's p-1 - - Williams' p+1 - - Elliptic Curves Method (ECM) - - Continued Fraction Algorithm (CFRAC) - - Multiple Polynomial Quadratic Sieve (MPQS) - -It also provides access to Richard P. Brent's tables of factors of -integers of the form b^k +/- 1. - -%package fga -Summary: GAP: Free Group Algorithms -Group: Productivity/Scientific/Math -Version: 1.1.0.1 -Release: 0 -Url: http://www.icm.tu-bs.de/ag_algebra/software/sievers/FGA/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description fga -The FGA package provides methods for computations with finitely -generated subgroups of free groups. - -It allows you to (constructively) test membership and conjugacy, and -to compute free generators, the rank, the index, normalizers, -centralizers, and intersections where the groups involved are -finitely generated subgroups of free groups. - -In addition, it provides generators and a finite presentation for the -automorphism group of a finitely generated free group and allows to -write any such automorphism as word in these generators. - -%package format -Summary: GAP: Computing with formations of finite solvable groups -Group: Productivity/Scientific/Math -Version: 1.1 -Release: 0 -Url: http://www.uoregon.edu/~wright/RESEARCH/format.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.3 - -%description format -The package contains programs for computing with formations of finite -solvable groups and with various formation-theoretic subgroups. - -%package forms -Summary: GAP: Sesquilinear and Quadratic -Group: Productivity/Scientific/Math -Version: 1.2.1 -Release: 0 -Url: http://cage.ugent.be/geometry/forms.php -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 0.99 -Requires: gap-rt >= 4.4 - -%description forms -This package provides: - -- A way to create and use sesquilinear and quadratic forms on finite - vector spaces. - -- An operation which finds an isometry between two forms of the same - type - -- An operation which returns the forms left invariant by a matrix - group. - -%package fplsa -Summary: GAP: Finitely Presented Lie Algebras -Group: Productivity/Scientific/Math -Version: 1.1 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Thomas.Breuer/fplsa/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description fplsa -When K is a finitely-presented Lie algebra, the GAP Operation -"IsomorphismSCTableAlgebra" can be used to make the structure of K -explicit, in the form of an isomorphic algebra given by structure -constants, which is much more amenable to further computations. - -This GAP package installs an alternative method for this Operation, -which calls an external C program (fplsa version 4.0) to do the hard -part of the computation. This speeds up the calculation and permits -larger problems to be attempted. The external program has much -additional functionality which is not used by the present version of -the package. - -%package fr -Summary: GAP: Computations with functionally recursive groups -Group: Productivity/Scientific/Math -Version: 1.2.1 -Release: 0 -Url: http://www.uni-math.gwdg.de/laurent/FR/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-fga >= 1.1 -Requires: gap-gapdoc >= 1.0 -Requires: gap-polycyclic >= 2.2 -Requires: gap-rt >= 4.5.0 -Suggests: gap-gbnp >= 0.9, gap-nql >= 0.10 - -%description fr -This package implements Functionally Recursive and Mealy automata in -GAP. These objects can be manipulated as group elements, and various -specific commands allow their manipulation as automorphisms of -infinite rooted trees. Permutation quotients can also be created and -manipulated as standard GAP groups or semigroups. - -%package fwtree -Summary: GAP: Computing trees related to some pro-p-groups of finite width -Group: Productivity/Scientific/Math -Version: 1.0 -Release: 0 -Url: http://www.maths.nuigalway.ie/~tobias/fwtree/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-anupq >= 1.0 -Requires: gap-autpgrp >= 1.0 -Requires: gap-polycyclic >= 1.0 -Requires: gap-rt >= 4.4 -Suggests: gap-xgap >= 1.0 - -%description fwtree -The Fwtree package for GAP provides functions to reproduce the -experimental results described in our paper "Periodicities for graphs -of p-groups beyond coclass". - -More precisely, it provides - -* functions to determine the rank, width and obliquity of a finite - p-group, - -* functions to investigate the graph of all finite p-groups of a - given rank, width and obliquity, and - -* a library of finite quotients of certain infinite pro-p-groups of - finite rank, width and obliquity. - -%package gapdoc -Summary: GAP: package for GAP Documentation -Group: Productivity/Scientific/Math -Version: 1.3 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Frank.Luebeck/GAPDoc -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-io >= 2.3 - -%description gapdoc -GAPDoc --- A GAP 4 package for preparing documentation of GAP programs - -This package provides: - -- Utilities to use the documentation (of GAP packages and in the - future the GAP manuals as well) which is written in GAPDoc format - with the GAP help system. If you don't want to write your own - (package) documentation you can skip the remaining points. - -- The description of a markup language for GAP documentation (which - is defined using the XML standard). - -- Three example documents using this language: The GAPDoc - documentation itself, a short example which demonstrates all - constructs defined in the GAPDoc language, and a very short example - explained in the introduction of the main documentation. - -- A mechanism for distributing documentation among several files, - including source code files. - -- GAP programs (written by the first named author) which produce from - documentation written in the GAPDoc language several document - formats: - - * text format with color markup for onscreen browsing. - - * LaTeX format and from this PDF- (and DVI)-versions with - * hyperlinks. - - * HTML (XHTML 1.0 strict) format for reading with a Web-browser - (and many hooks for CSS layout). - -- Utility GAP programs which are used for the above but can be of - independent interest as well: - - * unicode strings with translations to and from other encodings - - * further utilities for manipulating strings - - * tools for dealing with BibTeX data another data format BibXMLext - * for bibliographical data including - tools to manipulate/translate them - - * a tool ComposedDocument for composing documents which are - distributed in many files - -%package gauss -Summary: GAP: Extended Gauss Functionality for GAP -Group: Productivity/Scientific/Math -Version: 2010.05.28 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/extensions/gaussgaussforhomalg -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description gauss - -%package gaussforhomalg -Summary: GAP: Gauss Functionality for homalg -Group: Productivity/Scientific/Math -Version: 2010.09.29 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/extensions/gaussgaussforhomalg -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gauss >= 2009.10.07 -Requires: gap-matricesforhomalg >= 2010.09.28 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description gaussforhomalg - -%package gbnp -Summary: GAP: computing Gröbner bases of noncommutative polynomials -Group: Productivity/Scientific/Math -Version: 1.0.1 -Release: 0 -Url: http://mathdox.org/products/gbnp/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description gbnp -We provide algorithms, written in the GAP 4 programming language, for -computing Grobner bases of non-commutative polynomials with -coefficients from a field implemented in GAP, and some variations, -such as a weighted and truncated version and a tracing facility. - -The word algorithm is interpreted loosely: in general one cannot -expect such an algorithm to terminate, as it would imply solvability -of the word problem for finitely presented (semi)groups. - -%package genss -Summary: GAP: generic Schreier-Sims -Group: Productivity/Scientific/Math -Version: 1.3 -Release: 0 -Url: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.2 -Requires: gap-io >= 3.0 -Requires: gap-orb >= 3.3 -Requires: gap-rt >= 4.4.12 - -%description genss - -%package gpd -Summary: GAP: Groupoids, graphs of groups, and graphs of groupoids -Group: Productivity/Scientific/Math -Version: 1.05 -Release: 0 -Url: http://www.maths.bangor.ac.uk/chda/gpd/gpd105.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.2 - -%description gpd -This package allows for the computation of finite groupoids, both -connected and with several components. Graphs of groups and graphs of -groupoids are also constructed, allowing the calculation of normal -forms for Free Products with Amalgamation and for HNN extensions when -the initial groups have rewriting systems. - -%package gradedmodules -Summary: GAP: Abelian finitely presented graded modules over a computable graded ring -Group: Productivity/Scientific/Math -Version: 2011.04.18 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/~markus/GradedModules/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gradedringforhomalg >= 2011.04.15 -Requires: gap-homalg >= 2011.04.18 -Requires: gap-homalgtocas >= 2011.04.13 -Requires: gap-matricesforhomalg >= 2011.04.18 -Requires: gap-modules >= 2011.04.10 -Requires: gap-ringsforhomalg >= 2011.04.13 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description gradedmodules - -%package gradedringforhomalg -Summary: GAP: Endow Commutative Rings with an Abelian Grading -Group: Productivity/Scientific/Math -Version: 2011.04.15 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/extensions/gradedringforhomalg -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-homalgtocas >= 2011.04.13 -Requires: gap-matricesforhomalg >= 2011.04.14 -Requires: gap-ringsforhomalg >= 2011.04.13 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description gradedringforhomalg - -%package grape -Summary: GAP: GRaph Algorithms using PErmutation groups -Group: Productivity/Scientific/Math -Version: 4.3 -Release: 0 -Url: http://www.maths.qmul.ac.uk/~leonard/grape/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description grape -This package is for computing with graphs and groups. - -%package grpconst -Summary: GAP: Constructing the Groups of a Given Order -Group: Productivity/Scientific/Math -Version: 2.2 -Release: 0 -Url: http://www-public.tu-bs.de:8080/~beick/so.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-autpgrp >= 1.0 -Requires: gap-irredsol >= 0.9 -Requires: gap-rt >= 4.3 - -%description grpconst - -%package guarana -Summary: GAP: Lie methods for computations with infinite polycyclic groups -Group: Productivity/Scientific/Math -Version: 0.92 -Release: 0 -Url: http://www.cs.st-andrews.ac.uk/~bjoern/software/Guarana/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-polenta >= 1.2.3 -Requires: gap-polycyclic >= 1.1 -Requires: gap-radiroot >= 2.0 -Requires: gap-rt >= 4.4 -Suggests: gap-nq >= 2.0 - -%description guarana -This package demonstrates the algorithmic usefulness of the so-called -Mal'cev correspondence for computations with infinite polycyclic -groups; it is a correspondence that associates to every $\Q$-powered -nilpotent group $H$ a unique rational nilpotent Lie algebra $L_H$ and -vice-versa. The Mal'cev correspondence was discovered by Anatoly -Mal'cev in 1951. - -%package guava -Summary: GAP package for computing with error-correcting codes -Group: Productivity/Scientific/Math -Version: 3.10 -Release: 0 -Url: http://sage.math.washington.edu/home/wdj/guava/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4.5 -Suggests: gap-sonata >= 2.3 - -%description guava -GUAVA is a package that implements coding theory algorithms in -GAP. With GUAVA, codes can be created and manipulated and information -about codes can be calculated. - -GUAVA consists of various files written in the GAP language, and -an external program from J.S. Leon for dealing with automorphism -groups of codes and isomorphism testing functions. Several algorithms -that need the speed are integrated in the GAP kernel. Please send -your bug reports to support@gap-system.org. See the section "Bug -reports" below. - -%package hap -Summary: GAP: Homological Algebra Programming -Group: Productivity/Scientific/Math -Version: 1.9.4 -Release: 0 -Url: http://hamilton.nuigalway.ie/Hap/www/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4.7 -Suggests: gap-polycyclic >= 1.1, gap-nq >= 1.1, gap-aclib >= 1.1 -Suggests: gap-gapdoc >= 0.0, gap-singular > 06.07.23 - -%description hap -"HAP" is a package for some basic calculations in the cohomology of -finite and infinite groups. - -%package hapcryst -Summary: GAP: A HAP extension for crytallographic groups -Group: Productivity/Scientific/Math -Version: 0.1.9 -Release: 0 -Url: http://csserver.evansville.edu/~mroeder/HAPcryst.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-hap >= 1.8 -Requires: gap-polymaking >= 0.7.6 -Requires: gap-rt >= 4.4.10 -Suggests: gap-carat >= 1.1, gap-crystcat >= 1.1.2 - -%description hapcryst -This package is an add-on for Graham Ellis' HAP package. HAPcryst -implements some functions for crystallographic groups (namely -OrbitStabilizer-type methods). It is also capable of calculating free -resolutions for Bieberbach groups. - -%package happrime -Summary: GAP: a HAP extension for small prime power groups -Group: Productivity/Scientific/Math -Version: 0.5 -Release: 0 -Url: http://www.maths.nuigalway.ie/~pas/CHA/HAPprime/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-hap >= 1.8.9 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdocc >= 1.0, gap-singular >= 06.07.23 - -%description happrime -This package is an extension for the HAP package which provideds -further operations for (co)homological algebra with finite p-groups. - -%package hecke -Summary: GAP: Hecke - Specht 2.4 ported to GAP 4 -Group: Productivity/Scientific/Math -Version: 1.3 -Release: 0 -Url: http://home.in.tum.de/~traytel/hecke/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 0.99 -Requires: gap-rt >= 4.4 - -%description hecke - -%package homalg -Summary: GAP: A homological algebra meta-package for computable Abelian categories -Group: Productivity/Scientific/Math -Version: 2011.04.18 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/core-packages/homalg-package -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-matricesforhomalg >= 2011.03.13 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description homalg - -%package homalgtocas -Summary: GAP: A window to the outer world -Group: Productivity/Scientific/Math -Version: 2011.04.13 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/core-packages/homalgtocas -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-io >= 2.3 -Requires: gap-matricesforhomalg >= 2010.09.28 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description homalgtocas - -%package idrel -Summary: GAP: Identities among relations -Group: Productivity/Scientific/Math -Version: 2.06 -Release: 0 -Url: http://www.maths.bangor.ac.uk/chda/idrel206/idrel206.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Requires: gap-xmod >= 2.11 -Suggests: gap-gapdoc >= 1.2 - -%description idrel -The IdRel package is designed for computing the identities among -relations of a group presentation using rewriting, logged rewriting, -monoid polynomials, module polynomials and Y-sequences. - -%package if -Summary: GAP: The GAP InterFace to other Computer Algebra Systems -Group: Productivity/Scientific/Math -Version: 06.03.19 -Release: 0 -Url: http://www-math.science.unitn.it/~costanti/#if -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.2 -Suggests: gap-gapdoc >= 0.99, gap-openmath >= 06.01.03 -Suggests: gap-singular >= 06.01.09 - -%description if -The purpose of this package is to allow the Gap user to access -functions of other CASes from within Gap, and to apply these -functions to the Gap objects. With this package, the user keeps -working with Gap and, if he needs a function of another CAS that is -not present in Gap, he can use that function via the interface. - -%package io -Summary: GAP: Bindings for low level C library IO -Group: Productivity/Scientific/Math -Version: 3.3 -Release: 0 -Url: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/io.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.2 -Requires: gap-rt >= 4.4.12 - -%description io - -%package io_forhomalg -Summary: GAP: IO Capabilities for the homalg Project -Group: Productivity/Scientific/Math -Version: 2010.11.29 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/core-packages/ioforhomalg -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-homalgtocas >= 2009.06.18 -Requires: gap-io >= 2.3 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 +This subpackage will pull in all contributed packages of the GAP +distribution. -%description io_forhomalg - -%package irredsol -Summary: GAP: Library of irreducible solvable linear groups -Group: Productivity/Scientific/Math -Version: 1.2 -Release: 0 -Url: http://www-public.tu-bs.de:8080/~bhoeflin/irredsol/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4.12 -Suggests: gap-crisp >= 1.3 - -%description irredsol -IRREDSOL is a GAP package which provides a library of all irreducible -solvable subgroups of GL(n, q), up to conjugacy, where n is a -positive integer and q a prime power satisfying q^n <= 1000000, and a -library of all primitive soluble groups of degree at most 1000000. - -%package itc -Summary: GAP: Interactive Todd-Coxeter -Group: Productivity/Scientific/Math -Version: 1.4 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Volkmar.Felsch/itc -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Requires: gap-xgap >= 4.02 - -%description itc -ITC stands for 'Interactive Todd Coxeter'. - -The package provides a program that allows you to execute -interactively single steps in an enumeration of the cosets of a -subgroup of a finitely presented group using the graphics surface -XGAP of GAP and thus to see in various windows exactly what is -happening. - -Note that the ITC package cannot be loaded from GAP, but only from -XGAP. Hence it requires the XGAP package. - -%package kan -Summary: GAP: including double coset rewriting systems -Group: Productivity/Scientific/Math -Version: 0.98 -Release: 0 -Url: http://www.maths.bangor.ac.uk/chda/kan/kan098.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-automata >= 1.12 -Requires: gap-gapdoc >= 1.2 -Requires: gap-rt >= 4.4 -Suggests: gap-kbmag >= 1.4 - -%description kan -This package was conceived for computing induced actions of -categories. This version only deals with deouble coset rewriting -systems for finitely presented groups. - -%package kbmag -Summary: GAP: Knuth-Bendix on Monoids and Automatic Groups -Group: Productivity/Scientific/Math -Version: 1.5 -Release: 0 -Url: http://www.warwick.ac.uk/~mareg/kbmag -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.3 - -%description kbmag -KBMAG (stands for "Knuth-Bendix on Monoids, and Automatic Groups") is -a stand-alone package written C, for use under UNIX, with an -interface to GAP. There are interfaces for the use of KBMAG with -finitely presented groups, monoids and semigroups defined within GAP. -The package also contains a collection of routines for manipulating -finite state automata, which can be accessed via the GAP interface. - -%package laguna -Summary: GAP: Lie AlGebras and UNits of group Algebras -Group: Productivity/Scientific/Math -Version: 3.5.0 -Release: 0 -Url: http://www.cs.st-andrews.ac.uk/~alexk/laguna.htm -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 0.99999 -Requires: gap-rt >= 4.4 -Suggests: gap-sophus >= 1.2 - -%description laguna -The title "LAGUNA" stands for "Lie AlGebras and UNits of group -Algebras". This is the new name of the GAP4 package LAG, which is -thus replaced by LAGUNA. - -LAGUNA extends GAP functionality for computations in group rings. -Besides computing some general properties and attributes of group -rings and their elements, LAGUNA is able to perform two main kinds of -computations. Namely, it can verify whether a group algebra of a -finite group satisfies certain Lie properties; and it can calculate -the structure of the normalized unit group of a group algebra of a -finite p-group over the field of p elements. - -%package liealgdb -Summary: GAP: A database of Lie algebras -Group: Productivity/Scientific/Math -Version: 2.0.2 -Release: 0 -Url: http://www.sztaki.hu/~schneider/Research/LieAlgDB/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 0.9 -Requires: gap-rt >= 4.4 - -%description liealgdb -The package LieAlgDB provides access to several classifications of -Lie algebras. In the mathematics literature many classifications of -Lie algebras of various types have been published (we refer to the -bibliography of the manual for a few examples). However, working with -these classifications from paper is not always easy. This package -aims at making a few classifications of small dimensional Lie -algebras that have appeared in recent years more accessible. For each -classification that is contained in the package, functions are -provided that construct Lie algebras from that classification inside -GAP. This allows the user to obtain easy access to the often rather -complicated data contained in a classification, and to directly -interface the Lie algebras to the functionality for Lie algebras -which is already contained in GAP. - -%package linboxing -Summary: GAP: access to LinBox linear algebra functions from GAP -Group: Productivity/Scientific/Math -Version: 0.5.1 -Release: 0 -Url: http://www.maths.nuigalway.ie/~pas/CHA/linboxing/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description linboxing -The linboxing package for GAP provides a kernel-level interface to -the LinBox C++ exact linear algebra library (http://www.linalg.org). -It provides alternative versions of some GAP linear algebra routines -that are considerably faster than the equivalent GAP versions. - -%package localizeringforhomalg -Summary: GAP: A Package for Localization of Polynomial Rings -Group: Productivity/Scientific/Math -Version: 2011.02.23 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/extensions/localizeringforhomalg -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-matricesforhomalg >= 2011.02.23 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description localizeringforhomalg - -%package loops -Summary: GAP: Computing with quasigroups and loops in GAP", -Group: Productivity/Scientific/Math -Version: 2.0.0 -Release: 0 -Url: http://www.math.du.edu/loops", -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description loops - -%package matricesforhomalg -Summary: GAP: Matrices for the homalg project -Group: Productivity/Scientific/Math -Version: 2011.04.18 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/core-packages/matricesforhomalg -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description matricesforhomalg - -%package modules -Summary: GAP: Abelian Finitely Presented Modules over Computable Rings -Group: Productivity/Scientific/Math -Version: 2011.04.15 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/core-packages/modules -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-homalg >= 2011.04.11 -Requires: gap-matricesforhomalg >= 2011.04.15 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description modules - -%package monoid -Summary: GAP: Computing with transformation semigroups and monoids -Group: Productivity/Scientific/Math -Version: 3.1.4 -Release: 0 -Url: http://www-groups.mcs.st-and.ac.uk/~jamesm/monoid -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4.12 -Suggests: gap-orb >= 3.4, gap-grape >= 4.3, gap-gapdoc >= 1.1 - -%description monoid -MONOID 3.1.4 contains more efficient methods than those available in -the GAP library for computing orbits, calculating Green's classes, -finding the size, the elements, and testing membership in -transformation semigroups. After MONOID has been loaded many of these -methods are automatically used in preference to those in the library -and do not need to be called explicitly by the user. - -In addition, there are new methods for testing if a semigroup -satisfies a particular property, such as if it is regular, simple, -inverse, or completely regular; computing the automorphism group of a -transformation semigroup; homomorphisms and isomorphism between some -types of semigroup; and functions to create some well-known -transformation semigroups. - -%package nilmat -Summary: GAP: Computing with nilpotent matrix groups -Group: Productivity/Scientific/Math -Version: 1.2 -Release: 0 -Url: http://larmor.nuigalway.ie/~dane/nilmat -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-polenta >= 1.0 -Requires: gap-rt >= 4.4 - -%description nilmat -This package contains methods for checking whether a given matrix -group is nilpotent and for computing with nilpotent matrix groups. -The considered matrix groups may be matrix groups over a finite field -or the field of rational numbers. - -%package nq -Summary: GAP: Nilpotent Quotients of Finitely Presented Groups -Group: Productivity/Scientific/Math -Version: 2.2 -Release: 0 -Url: http://www.mathematik.tu-darmstadt.de/~nickel/software/NQ/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-polycyclic >= 1.0 -Requires: gap-rt >= 4.2 -Suggests: gap-gapdoc >= 0.99 - -%description nq - -%package nql -Summary: GAP: Nilpotent Quotients of L-Presented Groups -Group: Productivity/Scientific/Math -Version: 0.10 -Release: 0 -Url: http://www.uni-math.gwdg.de/rhartung/pub/nql/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-fga >= 1.1.0.1 -Requires: gap-polycyclic >= 2.5 -Requires: gap-rt >= 4.4 -Suggests: gap-pargap >= 1.1.2, gap-autpgrp >= 1.4, gap-ace >= 5.0 - -%description nql -The NQL package provides a first construction of finitely L-presented -groups and a nilpotent quotient algorithm for L-presented groups. - -The features of this package include - -- creating an L-presented group as a gap object, - -- computing nilpotent quotients of L-presented groups, and - -- epimorphisms from the L-presented group onto its nilpotent - quotients; - -- computing the abelian invariants of an L-presented group - -- computing the Dwyer quotients of the Schur multiplier of an LpGroup - -- coset enumeration for finite index subgroups of LpGroups - -%package numericalsgps -Summary: GAP: A package for numerical semigroups", -Group: Productivity/Scientific/Math -Version: 0.96 -Release: 0 -Url: http://www.fc.up.pt/cmup/mdelgado/numericalsgps", -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.2 - -%description numericalsgps -The features of this package include - -- defining numerical semigroups; - -- computing several properties of numerical semigroups, namely: - multiplicity, Frobenius number, (minimal) system of generators, - Apéry set, gaps, fundamental gaps, etc.; - -- perform several operations on numerical semigroups, namely: - intersection, quotient by an integer, decompose into irreducible - semigroups, add a special gap; - -%package openmath -Summary: GAP: OpenMath functionality in GAP -Group: Productivity/Scientific/Math -Version: 10.1.0 -Release: 0 -Url: http://www.cs.st-andrews.ac.uk/~alexk/openmath.htm -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.2 -Requires: gap-io >= 3.0 -Requires: gap-rt >= 4.4 -Suggests: gap-monoid >= 3.0 - -%description openmath -The package provides an OpenMath phrasebook for GAP: it allows GAP -users to import and export mathematical objects encoded in OpenMath, -for the purpose of exchanging them with other OpenMath-enabled -applications. - -%package orb -Summary: GAP: Methods to enumerate Orbits -Group: Productivity/Scientific/Math -Version: 3.7 -Release: 0 -Url: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/orb.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.2 -Requires: gap-rt >= 4.4.12 -Suggests: gap-io >= 3.2 - -%description orb - -%package pargap -Summary: GAP: Parallel GAP -Group: Productivity/Scientific/Math -Version: 1.1.2 -Release: 0 -Url: http://www.ccs.neu.edu/home/gene/pargap.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 - -%description pargap -The ParGAP (Parallel GAP) package provides a way of writing parallel -programs using the GAP language. Former names of the package were -ParGAP/MPI and GAP/MPI; the word MPI refers to Message Passing -Interface, a well-known standard for parallelism. ParGAP is based on -the MPI standard, and this distribution includes a subset -implementation of MPI, to provide a portable layer with a high level -interface to BSD sockets. Since knowledge of MPI is not required for -use of this software, we now refer to the package as simply ParGAP. - -%package polenta -Summary: GAP: Polycyclic presentations for matrix groups -Group: Productivity/Scientific/Math -Version: 1.2.7 -Release: 0 -Url: http://www.cs.st-andrews.ac.uk/~bjoern/software/Polenta -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-alnuth >= 2.2.3 -Requires: gap-polycyclic >= 1.1 -Requires: gap-rt >= 4.4 -Suggests: gap-aclib >= 1.0 - -%description polenta -This package provides functions for computation with matrix groups. -Let $G$ be a subgroup of $GL(d,R)$ where the ring $R$ is either equal -to $\Q,\Z$ or a finite field $\F_q$. Then: - -- We can test whether $G$ is solvable. -- We can test whether $G$ is polycyclic. -- If $G$ is polycyclic, then we can determine a polycyclic - presentation for $G$. - -A group $G$ which is given by a polycyclic presentations can be -largely investigated by algorithms implemented in the GAP-package -Polycyclic. For example we can determine if $G$ is torsion-free and -calculate the torsion subgroup. Further we can compute the derived -series and the Hirschlength of the group $G$. Also various methods -for computations with subgroups, factorsgroups and extensions are -available. - -As a by-product, the Polenta package provides some functionality to -compute certain module series for modules of solvable groups. For -example, if $G$ is a rational polycyclic matrix group, then we can -compute the radical series of the natural $\Q[G]$-module $\Q^d$. - -%package polycyclic -Summary: GAP: Computation with polycyclic groups -Group: Productivity/Scientific/Math -Version: 2.8.1 -Release: 0 -Url: http://www.icm.tu-bs.de/ag_algebra/software/polycyclic/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-alnuth >= 1.0 -Requires: gap-autpgrp >= 1.0 -Requires: gap-rt >= 4.4 -Suggests: gap-nq >= 1.0 - -%description polycyclic -The Polycyclic package provides a basis for working with polycyclic -groups defined by polycyclic presentations. - -The features of this package include - -- creating a polycyclic group from a polycyclic presentation - -- arithmetic in a polycyclic group - -- computation with subgroups and factor groups of a polycyclic group - -- computation of standard subgroup series such as the derived series, - the lower central series - -- computation of the first and second cohomology - -- computation of group extensions - -- computation of normalizers and centralizers - -- solutions to the conjugacy problems for elements and subgroups - -- computation of Torsion and various finite subgroups - -- computation of various subgroups of finite index - -- computation of teh Schur multiplicator, the non-abelian exterior - square and the non-abelian tenor square - -%package polymaking -Summary: GAP: Interfacing the geometry software polymake -Group: Productivity/Scientific/Math -Version: 0.7.8 -Release: 0 -Url: http://csserver.evansville.edu/~mroeder/polymaking.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 0.99 - -%description polymaking -A very basic GAP-interface to the program "polymake" by Ewgenij -Gawrilow and Michael Joswi. - -%package qaos -Summary: GAP: Interfacing the QaoS database from GAP -Group: Productivity/Scientific/Math -Version: 1.0.28 -Release: 0 -Url: http://qaos.math.tu-berlin.de/qaos/qaos.scm -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: curl -Requires: gap-rt >= 4.3 - -%description qaos - -%package quagroup -Summary: GAP: a package for doing computations with quantum groups", -Group: Productivity/Scientific/Math -Version: 1.3 -Release: 0 -Url: http://www.science.unitn.it/~degraaf/quagroup.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.3 -Suggests: gap-gapdoc >= 0.99 - -%description quagroup -QuaGroup's main objective is to provide functionality for computing -in quantized enveloping algebras of finite-dimensional semisimple Lie -algebras. - -%package radiroot -Summary: GAP: Roots of a Polynomial as Radicals -Group: Productivity/Scientific/Math -Version: 2.4 -Release: 0 -Url: http://www.icm.tu-bs.de/ag_algebra/software/distler/radiroot/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-alnuth >= 2.2.3 -Requires: gap-rt >= 4.4 - -%description radiroot -The package can compute and display an expression by radicals for the -roots of a solvable, rational polynomial. Related to this it is -possible to create the Galois group and the splitting field of a -rational polynomial. - -%package rcwa -Summary: GAP: Residue-Class-Wise Affine Groups -Group: Productivity/Scientific/Math -Version: 3.0.2 -Release: 0 -Url: http://www.gap-system.org/DevelopersPages/StefanKohl/rcwa.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.1 -Requires: gap-grape >= 4.3 -Requires: gap-polycyclic >= 2.6 -Requires: gap-resclasses >= 3.0.0 -Requires: gap-rt >= 4.4.12 -Suggests: gap-fr >= 1.1.3 - -%description rcwa -This package for GAP 4 introduces a new class of groups which are -accessible to computational methods. In principle, it can deal at -least with the follo- wing types of groups: - - - Finite groups. - - Free groups of finite rank. - - Free products of finitely many finite groups, thus in particular - the modular group PSL(2,Z). - - Direct products of such groups. - - Wreath products of such groups with finite groups and with (Z,+). - -Among these groups there are finitely generated groups which are not -finitely presented, and such with unsolvable membership problem. -Further, any finite group embeds into some divisible torsion group -which RCWA can deal with. - -%package rds -Summary: GAP: A package for searching relative difference sets -Group: Productivity/Scientific/Math -Version: 1.3 -Release: 0 -Url: http://csserver.evansville.edu/~mroeder -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-design >= 1.3 -Requires: gap-rt >= 4.5 -Suggests: gap-autpgrp >= 1.0 - -%description rds -RDS is a package for the search for relative difference set in -(nonabelian) finite groups. - -%package recog -Summary: GAP: A collection of group recognition methods -Group: Productivity/Scientific/Math -Version: 1.0 -Release: 0 -Url: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/recog.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-atlasrep >= 1.4.0 -Requires: gap-factint >= 1.5.2 -Requires: gap-forms >= 1.2 -Requires: gap-gapdoc >= 1.2 -Requires: gap-genss >= 1.3 -Requires: gap-orb >= 3.4 -Requires: gap-recogbase >= 1.0 -Requires: gap-rt >= 4.4.12 - -%description recog - -%package recogbase -Summary: GAP: A framework for group recognition -Group: Productivity/Scientific/Math -Version: 1.0 -Release: 0 -Url: http://www-groups.mcs.st-and.ac.uk/~neunhoef/Computer/Software/Gap/recogbase.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-factint >= 1.5.2 -Requires: gap-forms >= 1.2 -Requires: gap-gapdoc >= 1.2 -Requires: gap-genss >= 1.3 -Requires: gap-orb >= 3.4 -Requires: gap-rt >= 4.4.12 -Suggests: gap-recog >= 1.0 - -%description recogbase - -%package repsn -Summary: GAP: construct representations of finite groups -Group: Productivity/Scientific/Math -Version: 3.0.1 -Release: 0 -Url: http://www.sfu.ca/~vdabbagh/gap/repsn.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.3 - -%description repsn -This package is for computing matrix representations in -characteristic zero of finite groups. - -%package resclasses -Summary: GAP: Set-Theoretic Computations with Residue Classes -Group: Productivity/Scientific/Math -Version: 3.0.0 -Release: 0 -Url: http://www.gap-system.org/DevelopersPages/StefanKohl/resclasses.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.1 -Requires: gap-polycyclic >= 2.6 -Requires: gap-rt >= 4.4.12 - -%description resclasses -ResClasses is a package for set-theoretic computations with residue -classes of the integers and a couple of other rings. The class of -sets which ResClasses can deal with includes the open and the closed -sets in the topo- logy on the respective ring which is induced by -taking the set of all residue classes as a basis, as far as the usual -restrictions imposed by the finite- ness of computing resources -permit this. - -%package ringsforhomalg -Summary: GAP: Dictionaries of External Rings -Group: Productivity/Scientific/Math -Version: 2011.04.13 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/core-packages/ringsforhomalg -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-homalgtocas >= 2011.04.13 -Requires: gap-matricesforhomalg >= 2011.02.23 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description ringsforhomalg - -%package sco -Summary: GAP: Simplicial Cohomology of Orbifolds -Group: Productivity/Scientific/Math -Version: 2010.09.28 -Release: 0 -Url: http://homalg.math.rwth-aachen.de/index.php/extensions/sco -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-modules >= 2010.08.17 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.0 - -%description sco -Simon Goertzen, e-mail: simon.goertzen@rwth-aachen.de - -%package scscp -Summary: GAP: Symbolic Computation Software Composability Protocol in GAP -Group: Productivity/Scientific/Math -Version: 1.2.0 -Release: 0 -Url: http://www.cs.st-andrews.ac.uk/~alexk/scscp.htm -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 1.2 -Requires: gap-io >= 3.0 -Requires: gap-openmath >= 10.1.0 -Requires: gap-rt >= 4.4 - -%description scscp -The GAP package SCSCP implements the Symbolic Computation Software -Composability protocol for the computational algebra system GAP in -accordance with: - -* SCSCP specification: http://www.symbolic-computation.org/scscp - -* OpenMath content dictionary scscp1: - http://www.win.tue.nl/SCIEnce/cds/scscp1.html - -* OpenMath content dictionary scscp2: - http://www.win.tue.nl/SCIEnce/cds/scscp2.html - -%package simpcomp -Summary: GAP toolbox for simplicial complexes -Group: Productivity/Scientific/Math -Version: 1.4.0 -Release: 0 -Url: http://www.igt.uni-stuttgart.de/LstDiffgeo/simpcomp/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 0.99999 -Requires: gap-rt >= 4.4 -Suggests: gap-homology >= 1.2, gap-grape >= 4.2 - -%description simpcomp -simpcomp is a GAP package for working with simplicial complexes. It -allows the computation of many properties of simplicial complexes -(such as the f-, g- and h-vecors, the face lattice, the automorphism -group, (co-)homology with explicit basis computation, intersection -form, etc.) and provides the user with functions to compute new -complexes from old (simplex links and stars, connected sums, -cartesian products, handle additions, bistellar flips, etc.). -Furthermore, it comes with an extensive library of known -triangulations of manifolds and provides the user with the -possibility to create own complex libraries. simpcomp caches computed -properties of a simplicial complex, thus avoiding unnecessary -computations, internally handles the vertex labeling of the complexes -and insures the consistency of a simplicial complex throughout all -operations. - -%package sgpviz -Summary: GAP: A package for semigroup visualization", -Group: Productivity/Scientific/Math -Version: 0.998 -Release: 0 -Url: http://www.fc.up.pt/cmup/mdelgado/sgpviz", -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-automata >= 1.04 -Requires: gap-rt >= 4.4 - -%description sgpviz -The features of this package include - -- drawing the D-Classes of a semigroup and the D-Class of an element - of a semigroup; - -- computing a minimal factorization of an element of semigroup in the - generators; - -- drawing the Schutzenberger graphs of an inverse semigroup; - -- computing the right Cayley graph of a semigroup; - -- a Tcl/Tk interface to specify a semigroup; - -%package singular -Summary: GAP: The GAP interface to Singular -Group: Productivity/Scientific/Math -Version: 06.07.23 -Release: 0 -Url: http://www-math.science.unitn.it/~costanti/#singular -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.2 -Suggests: gap-gapdoc >= 0.99 - -%description singular -This package provides a GAP interface to the computer algebra system -Singular (see http://www.singular.uni-kl.de/). - -%package smallsemi -Summary: GAP data library of semigroups of small size -Group: Productivity/Scientific/Math -Version: 0.6.2 -Release: 0 -Url: http://www-groups.mcs.st-and.ac.uk/~jamesm/smallsemi/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4.10 -Suggests: gap-gapdoc >= 1.1 - -%description smallsemi -The 'Smallsemi' package is a data library of semigroups of small -size. It provides all semigroups with at most 8 elements as well as -various information about these objects. The reason that semigroups -of higher orders are not included is the huge number of such objects. -(The number of semigroups of size 10 is not even known at the time of -writing.) - -%package sonata -Summary: GAP: System of nearrings and their applications -Group: Productivity/Scientific/Math -Version: 2.4 -Release: 0 -Url: http://www.algebra.uni-linz.ac.at/Sonata/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 -Suggests: gap-xgap >= 0 - -%description sonata - -%package sophus -Summary: GAP: Computing in nilpotent Lie algebras -Group: Productivity/Scientific/Math -Version: 1.23 -Release: 0 -Url: http://www.sztaki.hu/~schneider/Research/Sophus/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-autpgrp >= 1.2 -Requires: gap-gapdoc >= 0.9999 -Requires: gap-rt >= 4.4 - -%description sophus -The Sophus package is written to compute with nilpotent Lie algebras -over finite prime fields. Using this package, you can compute the -cover, the list of immediate descendants, and the automorphism group -of such Lie algebras. You can also test if two such Lie algebras are -isomorphic. - -The immediate descendant function of the package can be used to -classify small-dimensional nilpotent Lie algebras over a given field. -For instance, the package author obtained a classification of -nilpotent Lie algebras with dimension at most 9 over F_2; see -http://www.sztaki.hu/~schneider/Research/SmallLie . - -%package tomlib -Summary: The GAP Library of Tables of Marks -Group: Productivity/Scientific/Math -Version: 1.2.1 -Release: 0 -Url: http://schmidt.nuigalway.ie/tomlib/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4.7 -Suggests: gap-ctbllib >= 1.1, gap-gpisotyp >= 1.0 - -%description tomlib -The Tables of Marks for GAP. - -%package toric -Summary: GAP: toric varieties and some combinatorial geometry computations +%package prim-groups +Summary: GAP: Database of primitive groups Group: Productivity/Scientific/Math -Version: 1.6 -Release: 0 -Url: http://www.opensourcemath.org/toric/ -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} >= 1120 BuildArch: noarch %endif -Requires: gap-rt >= 4.3 - -%description toric -"toric" is a package that implements some computations related to -toric varieties and combinatorial geometry in GAP. With "toric", -affine toric varieties can be created and related information about -them can be calculated. "toric" is written entirely in the GAP -language by D. Joyner. -%package unipot -Summary: GAP: Computing with elements of unipotent subgroups of Chevalley groups -Group: Productivity/Scientific/Math -Version: 1.2 -Release: 0 -Url: http://www.uni-giessen.de/~gc1007/unipot/ -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-rt >= 4.4 +%description prim-groups +GAP is a system for computational discrete algebra, with particular +emphasis on Computational Group Theory. -%description unipot +This subpackage contains the database of primitive groups. -%package unitlib -Summary: GAP: Library of normalized unit groups of modular group algebras -Group: Productivity/Scientific/Math -Version: 3.0.0 -Release: 0 -Url: http://www.cs.st-andrews.ac.uk/~alexk/unitlib.htm -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gapdoc >= 0.99999 -Requires: gap-laguna >= 3.4 -Requires: gap-qaos >= 1.0.19 -Requires: gap-rt >= 4.4 -Suggests: gap-scscp >= 1.1.4 +%package rpm-devel +Summary: RPM macros for building GAP packages +Group: Development/Tools/Other +# Not noarch: contains arch-specific paths in RPM macros -%description unitlib -The UnitLib package is an extension of the LAGUNA package that is -aimed on the problem of groups of orders 64 and bigger. It contains -the library of normalized unit groups of modular group algebras of -finite p-groups over the field of p elements. This allows the user to -retrieve the pre-computed group from the library instead of the -long-time computation. The group created with UnitLib will have the -same properties and attributes as the one computed with LAGUNA. +%description rpm-devel +GAP is a system for computational discrete algebra, with particular +emphasis on Computational Group Theory. -The current version of UnitLib contains normalized unit groups -V(KG) for all p-groups of order not greater than 243. +This subpackage provides RPM macros for use with packaging simple GAP +modules that do not require the presence of GAP itself. -%package wedderga -Summary: GAP: Wedderburn Decomposition of Group Algebras +%package small-groups +Summary: GAP: Database of small groups Group: Productivity/Scientific/Math -Version: 4.3.3 -Release: 0 -Url: http://www.um.es/adelrio/wedderga.htm -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} >= 1120 BuildArch: noarch %endif -Requires: gap-gapdoc >= 1.1 -Requires: gap-rt >= 4.4 -Suggests: gap-laguna >= 3.4 - -%description wedderga -The title "Wedderga" stands for "Wedderburn decomposition of group -algebras". This is a GAP package to compute the simple components of -the Wedderburn decomposition of semisimple group algebras. So the -main functions of the package returns a list of simple algebras whose -direct sum is isomorphic to the group algebra given as input. - -The methods implemented by the package produces the Wedderburn -decomposition of a group algebra FG provided G is a finite group and -F is either a finite field of characteristic coprime with the order -of G, or an abelian number field (i.e. a subfield of a finite -cyclotomic extension of the rationals). -Other functions of Wedderga compute the primitive central idempotents -of semisimple group algebras. +%description small-groups +GAP is a system for computational discrete algebra, with particular +emphasis on Computational Group Theory. -The package also provides functions to construct crossed products -over a group with coefficients in an associative ring with identity -and the multiplication determined by a given action and twisting. +This subpackage contains the database of small groups. -%package xgap -Summary: GAP: a graphical user interface for GAP +%package trans-groups +Summary: GAP: Database of transitive groups Group: Productivity/Scientific/Math -Version: 4.21 -Release: 0 -Url: http://www.math.rwth-aachen.de/~Max.Neunhoeffer/xgap4 -%if 0%{?suse_version} > 1110 +%if 0%{?suse_version} >= 1120 BuildArch: noarch %endif -Requires: gap-rt >= 4.3 -%description xgap - -%package xmod -Summary: GAP: Crossed Modules and Cat1-Groups -Group: Productivity/Scientific/Math -Version: 2.12 -Release: 0 -Url: http://www.maths.bangor.ac.uk/chda/xmod/xmod212.html -%if 0%{?suse_version} > 1110 -BuildArch: noarch -%endif -Requires: gap-gpd >= 1.05 -Requires: gap-rt >= 4.4 -Suggests: gap-gapdoc >= 1.2 +%description trans-groups +GAP is a system for computational discrete algebra, with particular +emphasis on Computational Group Theory. -%description xmod -This package allows for computation with crossed modules; -cat1-groups; morphisms of these structures; derivations of crossed -modules and the corresponding sections of cat1-groups. Experimental -functions for crossed squares are included. +This subpackage contains the database of transitive groups. %prep -%setup -qn gap4r5 -%patch -P 1 -P 2 -P 3 -P 4 -P 5 -p1 +%setup -qn gap4r6 +%patch -P 1 -P 2 -P 5 -p1 %build -autoconf -pushd cnf/; -make; -popd; +pushd cnf/ +make +popd -# Hack to fix bash syntax error that appears on SLE 11 in configure script -%if 0%{?sles_version} -sed -i 4729s/else/#else/ ./configure -%endif +# +# Having $GAParch (for example with /bin/$GAParch) is practically useless, +# because /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" -%configure --with-gmp=system --with-gapdir=$PWD \ - --with-gapbindir=$PWD/obj --target=%_host - COPTS="$RPM_OPT_FLAGS -O0 -ggdb3"; -make config COPTS="$RPM_OPT_FLAGS -O0 -ggdb3"; -make %{?_smp_mflags} compile COPTS="$RPM_OPT_FLAGS -O0 -ggdb3"; +# +# 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" -# Resolve rpmlint: E: suse-filelist-forbidden-backup-file -find . -type f "(" -name "*~" -o -name "*.bak" ")" -delete; +# And now, another configure run. +make config; -# Resolve rpmlint: E: suse-filelist-forbidden -find . -type f -name "*.orig" -delete; - -# Resolve rpmlint: W: wrong-script-end-of-line-encoding -perl -i -pe 's{\x0d}{}gs' \ - pkg/loops/etc/convert.pl \ - pkg/Hap1.9/www/SideLinks/About/examples7dim.g \ - pkg/Hap1.9/www/SideLinks/About/7dimBieberback.g \ - pkg/nilmat/doc/convert.pl \ - bin/*.bat; - -# Resolve rpmlint: W: version-control-internal-file -find . -type d -name .arch-ids -print0 | xargs -0 rm -Rf; +# Actual compile +make %{?_smp_mflags} compile # Someone screwed up permissions bigtime. # Resolve rpmlint: W: spurious-executable-perm -find . -type f -name "*.gz" -exec chmod a-x "{}" "+"; # Resolve rpmlint: W: script-without-shebang find . -type f "(" \ - -name "*.bat" -o \ - -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 '{}' '+'; - -# Resolve rpmlint: W: hidden-file-or-dir -find pkg -type f -name ".*" -delete; - -# Eh... -rm -f extern/gmp-5.0.1-patched.tar.gz - -# Remove duplicates -rm -f pkg/README*; - -rm -f pkg/io/a.out; -# weird MacOS binaries -rm -f pkg/openmath/OMCv1.3c/src/{omproxy,tenc,tpipe}; + -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 "{}" "+"; %install b="%buildroot"; -mkdir -p "$b/%xdata"; -dirs="grp lib pkg prim small trans tst"; -mv $dirs "$b/%xdata"; +# Move doc into FHS +mkdir -p "$b/%_docdir"; +mv doc "$b/%_docdir/%name"; +ln -s "%_docdir/%name" "doc"; + +# Move data into FHS +rm -f tst/remake.sh doc/test/re; +mkdir -p "$b/%gapdatadir/pkg"; +dirs="grp lib prim small trans tst"; +mv $dirs "$b/%gapdatadir"; for i in $dirs; do - ln -s "%xdata/$i" "$i"; + ln -s "%gapdatadir/$i" "$i"; done; -mkdir -p "$b/%xlib"; -cp -a . "$b/%xlib"; +# Populate FHS bindir +. ./sysinfo.gap +mkdir -p "$b/%_bindir" +cp -aH bin/gap.sh "$b/%_bindir/gap-%version" +rm -f bin/gap*.sh +ln -s "%gapdir/bin/$GAParch/gac" "$b/%_bindir/gac-%version" +ln -s "gap-%version" "$b/%_bindir/gap" +ln -s "gac-%version" "$b/%_bindir/gac" -. ./sysinfo.gap; -mkdir -p "$b/%_bindir"; -cp -aH bin/gap.sh "$b/%_bindir/gap-%topv"; -ln -s "%xlib/bin/$GAParch/gac" "$b/%_bindir/gac-%topv"; - -ln -s "gap-%topv" "$b/%_bindir/gap"; -ln -s "gac-%topv" "$b/%_bindir/gac"; +# Move compiled things into place (lack of a `make install` target). +# 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*}; +# RPM extras +mkdir -p "$b/%_sysconfdir/rpm" +cp "%_sourcedir/macros.gap" "$b/%_sysconfdir/rpm/" +cat >>"$b/%_sysconfdir/rpm/macros.gap" <<-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 + %%gap_sitelib %gapdatadir/pkg + %%gap_sitearch %%gapdir/pkg +EOF +%if 0%{?fdupes:1} %fdupes %buildroot/%_prefix +%endif %files %defattr(-,root,root) # Dummy entry -%dir %xdata +%dir %gap_sitelib_anchor/ -%files base +%files core %defattr(-,root,root) %_bindir/gap +%_bindir/gap-* +%dir %gapdir/ +%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 + +%files data +%defattr(-,root,root) +%dir %gap_sitelib_anchor/ +%gapdatadir/lib/ +%gapdatadir/grp/ +%gapdatadir/pkg/ +%gapdatadir/tst/ %files devel %defattr(-,root,root) %_bindir/gac - -%files -n gap45-rt -%defattr(-,root,root) -%_bindir/gap-* -%dir %_libdir/%name -%dir %_libdir/%name/%_host -%dir %xlib -%dir %xlib/bin -%dir %xlib/bin/%_host-* -%dir %xlib/bin/%_host-*/*-bit -%xlib/bin/%_host-*/*-bit/gap - -%files -n gap45-devel -%defattr(-,root,root) %_bindir/gac-* -%_libdir/%name -%exclude %xlib/bin/%_host-*/*-bit/gap +%dir %gapdir/ +%gapdir/INSTALL +%gapdir/Makefile* +%dir %gapdir/bin/ +%gapdir/bin/%_host-* +%exclude %gapdir/bin/%_host-*/gap +%gapdir/config* +%gapdir/extern/ +%gapdir/makepkgs +%gapdir/src/ -%files -n gap45-data +%files doc %defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/grp -%xdata/lib -%xdata/prim -%xdata/small -%xdata/trans -%xdata/tst +%_docdir/%name/ -%files ace +%files full %defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/ace +# Dummy entry +%dir %gap_sitelib_anchor/ -%files aclib +%files prim-groups %defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/aclib +%dir %gap_sitelib_anchor/ +%gapdatadir/prim/ -%files alnuth +%files rpm-devel %defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/alnuth +%config %_sysconfdir/rpm/ -%files anupq +%files small-groups %defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/anupq +%dir %gap_sitelib_anchor/ +%gapdatadir/small/ -%files atlasrep +%files trans-groups %defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/atlasrep - -%files automata -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/automata - -%files automgrp -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/automgrp - -%files autpgrp -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/autpgrp - -%files browse -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/Browse - -%files carat -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/carat - -%files circle -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/circle - -%files cohomolo -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/cohomolo - -%files crime -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/crime - -%files crisp -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/crisp - -%files cryst -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/cryst - -%files crystcat -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/crystcat - -%files ctbllib -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/ctbllib - -%files cubefree -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/cubefree - -%files cvec -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/cvec - -%files design -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/design - -%files edim -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/edim - -%files example -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/example - -%files examplesforhomalg -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/ExamplesForHomalg - -%files factint -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/factint - -%files fga -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/fga - -%files format -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/format-1.1 - -%files forms -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/forms - -%files fplsa -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/fplsa - -%files fr -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/fr - -%files fwtree -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/fwtree - -%files gapdoc -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/GAPDoc-1.3 - -%files gauss -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/Gauss - -%files gaussforhomalg -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/GaussForHomalg - -%files gbnp -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/gbnp - -%files genss -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/genss - -%files gpd -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/gpd - -%files gradedmodules -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/GradedModules - -%files gradedringforhomalg -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/GradedRingForHomalg - -%files grape -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/grape - -%files grpconst -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/grpconst - -%files guarana -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/guarana - -%files guava -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/guava3.10 - -%files hap -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/Hap1.9 - -%files hapcryst -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/HAPcryst - -%files happrime -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/happrime-0.5 - -%files hecke -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/hecke - -%files homalg -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/homalg - -%files homalgtocas -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/HomalgToCAS - -%files idrel -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/idrel - -%files if -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/if - -%files io -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/io - -%files irredsol -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/irredsol - -%files io_forhomalg -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/IO_ForHomalg - -%files itc -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/itc - -%files kan -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/kan - -%files kbmag -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/kbmag - -%files laguna -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/laguna - -%files liealgdb -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/liealgdb - -%files linboxing -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/linboxing-0.5.1 - -%files localizeringforhomalg -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/LocalizeRingForHomalg - -%files loops -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/loops - -%files matricesforhomalg -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/MatricesForHomalg - -%files modules -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/Modules - -%files monoid -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/monoid - -%files nilmat -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/nilmat - -%files nq -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/nq-2.2 - -%files nql -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/nql - -%files numericalsgps -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/numericalsgps - -%files openmath -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/openmath - -%files orb -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/orb - -%files pargap -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/pargap - -%files polenta -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/polenta - -%files polycyclic -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/polycyclic - -%files polymaking -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/polymaking - -%files qaos -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/qaos - -%files quagroup -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/quagroup - -%files radiroot -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/radiroot - -%files rcwa -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/rcwa - -%files rds -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/rds - -%files recog -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/recog - -%files recogbase -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/recogbase - -%files repsn -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/repsn - -%files resclasses -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/resclasses - -%files ringsforhomalg -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/RingsForHomalg - -%files sco -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/SCO - -%files scscp -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/scscp - -%files sgpviz -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/sgpviz - -%files simpcomp -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/simpcomp - -%files singular -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/singular - -%files smallsemi -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/smallsemi - -%files sonata -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/sonata - -%files sophus -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/sophus - -%files tomlib -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/tomlib - -%files toric -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/toric1.6 - -%files unipot -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/unipot-1.2 - -%files unitlib -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/unitlib - -%files wedderga -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/wedderga - -%files xgap -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/xgap - -%files xmod -%defattr(-,root,root) -%dir %xdata -%dir %xdata/pkg -%xdata/pkg/xmod +%dir %gap_sitelib_anchor/ +%gapdatadir/trans/ %changelog diff --git a/gap4r5p1_2011_06_03-07_59.tar.xz b/gap4r5p1_2011_06_03-07_59.tar.xz deleted file mode 100644 index a6120fc..0000000 --- a/gap4r5p1_2011_06_03-07_59.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:feed4ef7344055a36d655aacb5c44de5d9cc037ef122d35610df3b02adf88fbd -size 168437668 diff --git a/macros.gap b/macros.gap new file mode 100644 index 0000000..f3c0a6d --- /dev/null +++ b/macros.gap @@ -0,0 +1,29 @@ +# +# In noarch package, we can just move all the data - this is cheap. +# For arch-dependent packages however, the source needs to reside at +# its original position for debuginfo to be properly generated, and +# thus we do a cp there instead. +# The macro sets $gapmoddir. +# +%gappkg_simple_install() \ + moddir="$(readlink -f .)"; \ + if [ "%_target_cpu" = "noarch" ]; then \ + moddir="%gap_sitelib/${moddir##*/}"; \ + stopdir="%gap_sitelib_anchor"; \ + mkdir -p "%buildroot/$moddir"; \ + mv * "%buildroot/$moddir/"; \ + else \ + moddir="%gap_sitearch/${moddir##*/}"; \ + stopdir="%gap_sitearch_anchor"; \ + mkdir -p "%buildroot/$moddir"; \ + cp -a * "%buildroot/$moddir/"; \ + fi; \ + echo "$moddir" >>"%name.files"; \ + d="${moddir%/*}"; \ + while [ -n "$d" -a "$d" != "/" -a "$d" != "$stopdir" ]; do \ + echo "%%dir $d" >>"%name.files"; \ + d="${d%/*}"; \ + done; \ + echo "%%dir $d" >>"%name.files"; \ + unset d; \ + unset stopdir; diff --git a/sanitize_source.sh b/sanitize_source.sh new file mode 100644 index 0000000..a68e83e --- /dev/null +++ b/sanitize_source.sh @@ -0,0 +1,30 @@ +#!/bin/sh -ex + +set -ex; +dir="gap4r6"; +dl=$(pcregrep -o "(?<=^#DL-URL:).*" gap.spec | head -n1 | perl -pe 's{^\s+}{}'); +dlbase="${dl##*/}"; +if [ ! -e "$dlbase" ]; then + wget -c "$dl"; +fi; +rm -Rf "$dir"; +tar -xf "$dlbase"; + +pushd "$dir/pkg/"; +rm -Rf *; +popd; +pushd "$dir/bin/"; +rm -f *.bat; +popd; +pushd "$dir/extern/"; +find . -type f ! -name "Makefile*" -print -delete; +popd; + +if false; then + # no longer necessary? + find "$dir" -type f "(" \ + -name "*~" -o -name "*.bak" -name .arch-ids \ + ")" -print -delete; +fi; +qtar gap-4.6.4.tar "$dir"; +xz -8fv gap-4.6.4.tar;