%global pkgname crisp Name: gap-pkg-%{pkgname} Version: 1.4.6 Release: %autorelease Summary: Computing subgroups of finite soluble groups License: BSD-2-Clause BuildArch: noarch # See https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} URL: http://www.icm.tu-bs.de/~bhoeflin/crisp/ VCS: https://github.com/bh11/crisp Source0: %{url}%{pkgname}-%{version}.tar.bz2 BuildRequires: gap-devel BuildRequires: tth Requires: gap-core %description CRISP (Computing with Radicals, Injectors, Schunck classes and Projectors) provides algorithms for computing subgroups of finite soluble groups related to group classes. In particular, it allows computing F-radicals and F-injectors for Fitting classes (and Fitting sets) F, F-residuals for formations F, and X-projectors for Schunck classes X. In order to carry out these computations, the group classes F and X must be given by an algorithm which decides membership in the group class. Moreover, CRISP contains algorithms for the computation of normal subgroups invariant under a prescribed set of automorphisms and belonging to a given group class. This includes an improved method to compute the set of all normal subgroups of a finite soluble group, its characteristic subgroups, and the socle and p-socles for given primes p. %package doc # The content is BSD-2-Clause. The remaining licenses cover the various # fonts embedded in PDFs. # AMS: OFL-1.1-RFN # CM: Knuth-CTAN # Nimbus: AGPL-3.0-only # RSFS: LicenseRef-Rsfs # StandardSymL: GPL-1.0-or-later License: BSD-2-Clause AND OFL-1.1-RFN AND Knuth-CTAN AND AGPL-3.0-only AND LicenseRef-Rsfs AND GPL-1.0-or-later Summary: CRISP documentation Requires: %{name} = %{version}-%{release} Requires: gap-online-help %description doc This package contains documentation for gap-pkg-%{pkgname}. %prep %autosetup -n %{pkgname}-%{version} %build export LC_ALL=C.UTF-8 # Link to main GAP documentation ln -s %{gap_libdir}/doc ../../doc pushd doc pdftex manual makeindex -s manual.mst manual pdftex manual pdftex manual popd rm -fr htm mkdir htm perl %{gap_libdir}/etc/convert.pl -n CRISP -c -i -t doc htm rm ../../doc %install mkdir -p %{buildroot}%{gap_libdir}/pkg/%{pkgname}/doc cp -a *.g htm lib tst %{buildroot}%{gap_libdir}/pkg/%{pkgname} %gap_copy_docs %check export LC_ALL=C.UTF-8 gap -l "%{buildroot}%{gap_libdir};" tst/testall.g %files %doc README.txt %license LICENSE.txt %{gap_libdir}/pkg/%{pkgname}/ %exclude %{gap_libdir}/pkg/%{pkgname}/doc/ %exclude %{gap_libdir}/pkg/%{pkgname}/htm/ %files doc %docdir %{gap_libdir}/pkg/%{pkgname}/doc/ %docdir %{gap_libdir}/pkg/%{pkgname}/htm/ %{gap_libdir}/pkg/%{pkgname}/doc/ %{gap_libdir}/pkg/%{pkgname}/htm/ %changelog %autochangelog