Name: GAPDoc Version: 1.5.1 Release: 0.12%{?dist} Summary: GAP documentation tool # The package is all GPLv2+ except for some of the mathml files License: GPLv2+ and MPLv1.1 and W3C URL: http://www.math.rwth-aachen.de/~Frank.Luebeck/%{name}/ Source0: http://www.math.rwth-aachen.de/~Frank.Luebeck/%{name}/%{name}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: gap-devel BuildRequires: gap-online-help %if 0%{?fedora} BuildRequires: ghostscript-core %else BuildRequires: ghostscript %endif BuildRequires: tex(a4wide.sty) BuildRequires: tex(color.cfg) BuildRequires: tex(english.ldf) BuildRequires: tex(enumitem.sty) BuildRequires: tex(fancyvrb.sty) BuildRequires: tex(language.dat) BuildRequires: tex(pslatex.sty) BuildRequires: tex(psnfss.map) BuildRequires: tex(updmap-hdr.cfg) BuildRequires: tex-bibtex BuildRequires: tex-cm BuildRequires: tex-cm-super BuildRequires: tex-dvips BuildRequires: tex-ec BuildRequires: tex-gsftopk BuildRequires: tex-helvetic BuildRequires: tex-latex-bin BuildRequires: tex-makeindex BuildRequires: tex-mfware BuildRequires: tex-rsfs BuildRequires: tex-symbol BuildRequires: tex-times Requires: gap-core Provides: gap-pkg-gapdoc = %{version}-%{release} %description This package describes a document format for writing GAP documentation. The idea is to define a sufficiently abstract markup language for GAP documentation which can be (relatively easily) converted into different output formats. We used XML to define such a language. This package provides: - Utilities to use the documentation 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 to the last point of this list. - 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 latex Summary: All LaTeX dependencies for GAPDoc Requires: gap-online-help %if 0%{?fedora} Requires: ghostscript-core %else Requires: ghostscript %endif Requires: tex(a4wide.sty) Requires: tex(color.cfg) Requires: tex(english.ldf) Requires: tex(enumitem.sty) Requires: tex(fancyvrb.sty) Requires: tex(language.dat) Requires: tex(pslatex.sty) Requires: tex(psnfss.map) Requires: tex(updmap-hdr.cfg) Requires: tex-bibtex Requires: tex-cm Requires: tex-cm-super Requires: tex-dvips Requires: tex-ec Requires: tex-gsftopk Requires: tex-helvetic Requires: tex-latex-bin Requires: tex-makeindex Requires: tex-mfware Requires: tex-rsfs Requires: tex-symbol Requires: tex-times # Needed to fetch BibTeX entries from MathSciNet %if 0%{?fedora} Suggests: gap-pkg-io %endif %description latex This package contains all of the LaTeX dependencies for GAPDoc. GAP proper requires that the GAP portions of GAPDoc be installed; it refuses to start otherwise. However, if GAPDoc is not actively used, then dragging in all of the LaTeX dependencies is wasteful. Install this package to pull in all of the necessary LaTeX dependencies for building GAP package documentation. %prep %setup -q # Fix line endings for fil in mathml/{ctop,mathml,pmathml}.xsl; do sed 's/\r//' $fil > $fil.new touch -r $fil $fil.new mv -f $fil.new $fil done %build # Link to main GAP documentation ln -s %{_gap_dir}/doc ../../doc mkdir ../pkg ln -s ../GAPDoc-%{version} ../pkg gap -l "$PWD/..;%{_gap_dir}" makedocrel.g < /dev/null rm -f ../../doc rm -fr ../pkg %install # Remove unnecessary files rm -f */clean */*.{aux,bbl,blg,brf,idx,ilg,ind,log,out,pnr,toc} # Install mkdir -p %{buildroot}%{_gap_dir}/pkg cd .. cp -a %{name}-%{version} %{buildroot}%{_gap_dir}/pkg/%{name} rm -f %{buildroot}%{_gap_dir}/pkg/%{name}/{CHANGES,GPL,README} %files %doc CHANGES README %docdir %{_gap_dir}/pkg/%{pkgname}/3k+1 %docdir %{_gap_dir}/pkg/%{pkgname}/doc %docdir %{_gap_dir}/pkg/%{pkgname}/example %license GPL %{_gap_dir}/pkg/%{name}/ %files latex # This is a metapackage to pull in dependencies only %changelog * Fri Feb 10 2017 Fedora Release Engineering - 1.5.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Tue Oct 18 2016 Jerry James - 1.5.1-11 - Adjust dependencies for the latest texlive * Thu Apr 7 2016 Jerry James - 1.5.1-10 - Rebuild for gap 4.8.3 - Split out LaTeX dependencies into a -latex subpackage * Wed Feb 03 2016 Fedora Release Engineering - 1.5.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Nov 11 2015 Jerry James - 1.5.1-8 - Minimize LaTeX dependencies - Drop scriptlets; gap-core now uses rpm file triggers - Rebuild documentation from source * Tue Jun 16 2015 Fedora Release Engineering - 1.5.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Fri Jan 23 2015 Jerry James - 1.5.1-6 - Fix scriptlets so they don't complain when uninstalling - Use license macro * Fri Jun 06 2014 Fedora Release Engineering - 1.5.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Aug 02 2013 Fedora Release Engineering - 1.5.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 1.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Sep 25 2012 Jerry James - 1.5.1-2 - Rebuild to fix _gap_dir expansion issue * Thu Sep 13 2012 Jerry James - 1.5.1-1 - New upstream version * Mon Aug 20 2012 Jerry James - 1.3-2 - Fix line endings in some mathml files * Tue Jan 31 2012 Jerry James - 1.3-1 - Initial RPM