GAPDoc/GAPDoc.spec
Fedora Release Engineering 522ac31df2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 11:34:16 +00:00

225 lines
8.0 KiB
RPMSpec

Name: GAPDoc
Version: 1.6.2
Release: 2%{?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
BuildRequires: ghostscript
BuildRequires: tex(color.cfg)
BuildRequires: tex(english.ldf)
BuildRequires: tex(enumitem.sty)
BuildRequires: tex(fancyvrb.sty)
BuildRequires: tex(geometry.sty)
BuildRequires: tex(language.dat)
BuildRequires: tex(pdftex.map)
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-metafont
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
Requires: ghostscript
Requires: tex(color.cfg)
Requires: tex(english.ldf)
Requires: tex(enumitem.sty)
Requires: tex(fancyvrb.sty)
Requires: tex(geometry.sty)
Requires: tex(language.dat)
Requires: tex(pdftex.map)
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-metafont
Requires: tex-mfware
Requires: tex-rsfs
Requires: tex-symbol
Requires: tex-times
# Needed to fetch BibTeX entries from MathSciNet
Suggests: gap-pkg-io
%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
%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.md}
%files
%doc CHANGES README.md
%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
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Oct 30 2018 Jerry James <loganjerry@gmail.com> - 1.6.2-1
- New upstream version
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Sat Mar 10 2018 Jerry James <loganjerry@gmail.com> - 1.6.1-4
- Require tex(pdftex.map) also so PostScript fonts can be generated
* Sat Mar 10 2018 Jerry James <loganjerry@gmail.com> - 1.6.1-3
- Require metafont as well to generate fonts as needed
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Sat Jan 6 2018 Jerry James <loganjerry@gmail.com> - 1.6.1-1
- New upstream version
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sat Jul 22 2017 Jerry James <loganjerry@gmail.com> - 1.6-1
- New upstream version
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Tue Oct 18 2016 Jerry James <loganjerry@gmail.com> - 1.5.1-11
- Adjust dependencies for the latest texlive
* Thu Apr 7 2016 Jerry James <loganjerry@gmail.com> - 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 <releng@fedoraproject.org> - 1.5.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Nov 11 2015 Jerry James <loganjerry@gmail.com> - 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 <rel-eng@lists.fedoraproject.org> - 1.5.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Fri Jan 23 2015 Jerry James <loganjerry@gmail.com> - 1.5.1-6
- Fix scriptlets so they don't complain when uninstalling
- Use license macro
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Tue Sep 25 2012 Jerry James <loganjerry@gmail.com> - 1.5.1-2
- Rebuild to fix _gap_dir expansion issue
* Thu Sep 13 2012 Jerry James <loganjerry@gmail.com> - 1.5.1-1
- New upstream version
* Mon Aug 20 2012 Jerry James <loganjerry@gmail.com> - 1.3-2
- Fix line endings in some mathml files
* Tue Jan 31 2012 Jerry James <loganjerry@gmail.com> - 1.3-1
- Initial RPM