%global pkgname cryst Name: gap-pkg-%{pkgname} Version: 4.1.13 Release: 1%{?dist} Summary: GAP support for crystallographic groups License: GPLv2+ URL: https://www.math.uni-bielefeld.de/~gaehler/gap45/packages.php Source0: https://www.math.uni-bielefeld.de/~gaehler/gap45/Cryst/%{pkgname}-%{version}.tar.gz BuildArch: noarch BuildRequires: gap-devel BuildRequires: tth Requires: gap-core Requires: gap-pkg-carat Requires: gap-pkg-polycyclic Suggests: gap-pkg-crystcat Suggests: xgap %description The GAP 4 package Cryst, previously known as CrystGAP, is the successor of the CrystGAP package for GAP 3. During the porting process to GAP 4, large parts of the code have been rewritten, and the functionality has been extended considerably. Cryst provides a rich set of methods to compute with affine crystallographic groups, in particular space groups. In contrast 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. %prep %setup -q -n %{pkgname} %build # Link to main GAP documentation ln -s %{_gap_dir}/etc ../../etc ln -s %{_gap_dir}/doc ../../doc pushd doc ./make_doc popd rm -f ../../{doc,etc} %install mkdir -p %{buildroot}%{_gap_dir}/pkg cp -a ../%{pkgname} %{buildroot}%{_gap_dir}/pkg rm -f %{buildroot}%{_gap_dir}/pkg/%{pkgname}/doc/make_doc rm -f %{buildroot}%{_gap_dir}/pkg/%{pkgname}/doc/*.{aux,bbl,idx,ilg,ind,log,toc} rm -f %{buildroot}%{_gap_dir}/pkg/%{pkgname}/{Changelog,COPYING,README} %files %doc Changelog README %license COPYING %docdir %{_gap_dir}/pkg/%{pkgname}/doc %docdir %{_gap_dir}/pkg/%{pkgname}/htm %{_gap_dir}/pkg/%{pkgname}/ %changelog * Sat Feb 3 2018 Jerry James - 4.1.13-1 - New upstream version * Wed Jul 26 2017 Fedora Release Engineering - 4.1.12-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 4.1.12-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Apr 7 2016 Jerry James - 4.1.12-4 - Rebuild for gap 4.8.3 * Wed Feb 03 2016 Fedora Release Engineering - 4.1.12-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Nov 11 2015 Jerry James - 4.1.12-2 - Drop scriptlets; gap-core now uses rpm file triggers - Rebuild documentation from source * Fri Jun 19 2015 Jerry James - 4.1.12-1 - Initial RPM