Jerry James 9dcd748
Name:           GAPDoc
94c6b3d
Version:        1.6.4
1090b8d
Release:        4%{?dist}
Jerry James 9dcd748
Summary:        GAP documentation tool
Jerry James 9dcd748
Jerry James 9dcd748
# The package is all GPLv2+ except for some of the mathml files
Jerry James 9dcd748
License:        GPLv2+ and MPLv1.1 and W3C
Jerry James 9dcd748
URL:            http://www.math.rwth-aachen.de/~Frank.Luebeck/%{name}/
Jerry James 9dcd748
Source0:        http://www.math.rwth-aachen.de/~Frank.Luebeck/%{name}/%{name}-%{version}.tar.bz2
Jerry James 9dcd748
BuildArch:      noarch
Jerry James 9dcd748
Jerry James 82aa942
BuildRequires:  gap-devel
94c76f2
BuildRequires:  ghostscript
92e4524
BuildRequires:  tex(color.sty)
fbe6261
BuildRequires:  tex(english.ldf)
fbe6261
BuildRequires:  tex(enumitem.sty)
fbe6261
BuildRequires:  tex(fancyvrb.sty)
b5f1bcb
BuildRequires:  tex(geometry.sty)
fbe6261
BuildRequires:  tex(pslatex.sty)
fbe6261
BuildRequires:  tex(psnfss.map)
92e4524
BuildRequires:  tex(tex)
fbe6261
BuildRequires:  tex-cm-super
fbe6261
BuildRequires:  tex-ec
fbe6261
BuildRequires:  tex-helvetic
fbe6261
BuildRequires:  tex-latex-bin
fbe6261
BuildRequires:  tex-rsfs
fbe6261
BuildRequires:  tex-symbol
fbe6261
BuildRequires:  tex-times
fbe6261
Jerry James 9dcd748
Requires:       gap-core
fbe6261
fbe6261
Provides:       gap-pkg-gapdoc = %{version}-%{release}
fbe6261
Jerry James 9dcd748
%description
Jerry James 9dcd748
This package describes a document format for writing GAP documentation.
Jerry James 9dcd748
Jerry James 9dcd748
The idea is to define a sufficiently abstract markup language for GAP
Jerry James 9dcd748
documentation which can be (relatively easily) converted into different
Jerry James 9dcd748
output formats.  We used XML to define such a language.
Jerry James 9dcd748
Jerry James 9dcd748
This package provides:
Jerry James 9dcd748
- Utilities to use the documentation which is written in GAPDoc format
Jerry James 9dcd748
  with the GAP help system.  If you don't want to write your own
Jerry James 9dcd748
  (package) documentation you can skip to the last point of this list.
Jerry James 9dcd748
- The description of a markup language for GAP documentation (which is
Jerry James 9dcd748
  defined using the XML standard).
Jerry James 9dcd748
- Three example documents using this language: The GAPDoc documentation
Jerry James 9dcd748
  itself, a short example which demonstrates all constructs defined in
Jerry James 9dcd748
  the GAPDoc language, and a very short example explained in the
Jerry James 9dcd748
  introduction of the main documentation.
Jerry James 9dcd748
- A mechanism for distributing documentation among several files,
Jerry James 9dcd748
  including source code files.
Jerry James 9dcd748
- GAP programs (written by the first named author) which produce from
Jerry James 9dcd748
  documentation written in the GAPDoc language several document formats:
Jerry James 9dcd748
  * text format with color markup for onscreen browsing.
Jerry James 9dcd748
  * LaTeX format and from this PDF- (and DVI)-versions with hyperlinks.
Jerry James 9dcd748
  * HTML (XHTML 1.0 strict) format for reading with a Web-browser (and
Jerry James 9dcd748
    many hooks for CSS layout).
Jerry James 9dcd748
- Utility GAP programs which are used for the above but can be of
Jerry James 9dcd748
  independent interest as well:
Jerry James 9dcd748
  * Unicode strings with translations to and from other encodings
Jerry James 9dcd748
  * further utilities for manipulating strings
Jerry James 9dcd748
  * tools for dealing with BibTeX data
Jerry James 9dcd748
  * another data format BibXMLext for bibliographical data including
Jerry James 9dcd748
    tools to manipulate/translate them
Jerry James 9dcd748
  * a tool ComposedDocument for composing documents which are
Jerry James 9dcd748
    distributed in many files
Jerry James 9dcd748
a08416c
%package latex
a08416c
Summary:        All LaTeX dependencies for GAPDoc
92e4524
Requires:       %{name} = %{version}-%{release}
a08416c
Requires:       gap-online-help
94c76f2
Requires:       ghostscript
92e4524
Requires:       tex(color.sty)
a08416c
Requires:       tex(english.ldf)
a08416c
Requires:       tex(enumitem.sty)
a08416c
Requires:       tex(fancyvrb.sty)
b5f1bcb
Requires:       tex(geometry.sty)
a08416c
Requires:       tex(pslatex.sty)
a08416c
Requires:       tex(psnfss.map)
92e4524
Requires:       tex(tex)
a08416c
Requires:       tex-cm-super
a08416c
Requires:       tex-ec
a08416c
Requires:       tex-helvetic
a08416c
Requires:       tex-latex-bin
a08416c
Requires:       tex-rsfs
a08416c
Requires:       tex-symbol
a08416c
Requires:       tex-times
a08416c
a08416c
# Needed to fetch BibTeX entries from MathSciNet
a08416c
Suggests:       gap-pkg-io
a08416c
a08416c
%description latex
a08416c
This package contains all of the LaTeX dependencies for GAPDoc.  GAP
a08416c
proper requires that the GAP portions of GAPDoc be installed; it
a08416c
refuses to start otherwise.  However, if GAPDoc is not actively used,
a08416c
then dragging in all of the LaTeX dependencies is wasteful.  Install
a08416c
this package to pull in all of the necessary LaTeX dependencies for
a08416c
building GAP package documentation.
a08416c
92e4524
%package doc
92e4524
Summary:        GAPDoc documentation
92e4524
Requires:       %{name} = %{version}-%{release}
92e4524
Requires:       gap-online-help
92e4524
92e4524
%description doc
92e4524
This package contains documentation for GAPDoc.
92e4524
Jerry James 9dcd748
%prep
92e4524
%autosetup
92e4524
Jerry James 9dcd748
%build
fbe6261
# Link to main GAP documentation
fbe6261
ln -s %{_gap_dir}/doc ../../doc
fbe6261
mkdir ../pkg
fbe6261
ln -s ../GAPDoc-%{version} ../pkg
92e4524
gap -l "$PWD/..;%{_gap_dir}" < makedocrel.g
92e4524
rm -fr ../../doc ../pkg
Jerry James 9dcd748
92e4524
# Remove build paths
92e4524
sed -i "s|$PWD/..|%{_gap_dir}|g" doc/*.html example/*.html
Jerry James 9dcd748
92e4524
%install
fbe6261
mkdir -p %{buildroot}%{_gap_dir}/pkg
92e4524
cp -a ../%{name}-%{version} %{buildroot}%{_gap_dir}/pkg/%{name}
92e4524
rm -f %{buildroot}%{_gap_dir}/pkg/%{name}/{3k+1,doc,example}/clean
92e4524
rm -f %{buildroot}%{_gap_dir}/pkg/%{name}/{3k+1,doc,example}/*.{aux,bbl,blg,brf,idx,ilg,ind,log,out,pnr,tex}
da520bc
rm -f %{buildroot}%{_gap_dir}/pkg/%{name}/{CHANGES,GPL,README.md}
Jerry James 9dcd748
Jerry James 9dcd748
%files
da520bc
%doc CHANGES README.md
Jerry James 0df503a
%license GPL
fbe6261
%{_gap_dir}/pkg/%{name}/
92e4524
%exclude %{_gap_dir}/pkg/%{name}/3k+1/
92e4524
%exclude %{_gap_dir}/pkg/%{name}/doc/
92e4524
%exclude %{_gap_dir}/pkg/%{name}/example/
Jerry James 9dcd748
a08416c
%files latex
a08416c
# This is a metapackage to pull in dependencies only
a08416c
92e4524
%files doc
92e4524
%docdir %{_gap_dir}/pkg/%{name}/3k+1/
92e4524
%docdir %{_gap_dir}/pkg/%{name}/doc/
92e4524
%docdir %{_gap_dir}/pkg/%{name}/example/
92e4524
%{_gap_dir}/pkg/%{name}/3k+1/
92e4524
%{_gap_dir}/pkg/%{name}/doc/
92e4524
%{_gap_dir}/pkg/%{name}/example/
92e4524
Jerry James 9dcd748
%changelog
94c6b3d
* Tue Aug 11 2020 Jerry James <loganjerry@gmail.com> - 1.6.4-4
94c6b3d
- Version 1.6.4
94c6b3d
1090b8d
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-4
1090b8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1090b8d
07524aa
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-3
07524aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
07524aa
5f11e9e
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
5f11e9e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
5f11e9e
5e7dccd
* Wed Jul 17 2019 Jerry James <loganjerry@gmail.com> - 1.6.3-1
5e7dccd
- New upstream version
5e7dccd
92e4524
* Fri Feb  1 2019 Jerry James <loganjerry@gmail.com> - 1.6.2-3
92e4524
- Rebuild for GAP 4.10.0
92e4524
- Change BRs and Rs due to recent TeXLive packaging changes
92e4524
- Create -doc subpackage
92e4524
522ac31
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.2-2
522ac31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
522ac31
b5f1bcb
* Tue Oct 30 2018 Jerry James <loganjerry@gmail.com> - 1.6.2-1
b5f1bcb
- New upstream version
b5f1bcb
f6b4594
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-5
f6b4594
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
f6b4594
f781326
* Sat Mar 10 2018 Jerry James <loganjerry@gmail.com> - 1.6.1-4
f781326
- Require tex(pdftex.map) also so PostScript fonts can be generated
f781326
cfa1db4
* Sat Mar 10 2018 Jerry James <loganjerry@gmail.com> - 1.6.1-3
cfa1db4
- Require metafont as well to generate fonts as needed
cfa1db4
fff09eb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
fff09eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
fff09eb
7bcfa74
* Sat Jan  6 2018 Jerry James <loganjerry@gmail.com> - 1.6.1-1
7bcfa74
- New upstream version
7bcfa74
6625cd7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
6625cd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
6625cd7
da520bc
* Sat Jul 22 2017 Jerry James <loganjerry@gmail.com> - 1.6-1
da520bc
- New upstream version
da520bc
9d3c0b9
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-12
9d3c0b9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9d3c0b9
d900792
* Tue Oct 18 2016 Jerry James <loganjerry@gmail.com> - 1.5.1-11
d900792
- Adjust dependencies for the latest texlive
d900792
a08416c
* Thu Apr  7 2016 Jerry James <loganjerry@gmail.com> - 1.5.1-10
a08416c
- Rebuild for gap 4.8.3
a08416c
- Split out LaTeX dependencies into a -latex subpackage
a08416c
d2585e0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-9
d2585e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
d2585e0
fbe6261
* Wed Nov 11 2015 Jerry James <loganjerry@gmail.com> - 1.5.1-8
fbe6261
- Minimize LaTeX dependencies
fbe6261
- Drop scriptlets; gap-core now uses rpm file triggers
fbe6261
- Rebuild documentation from source
fbe6261
4ace125
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-7
4ace125
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4ace125
Jerry James 0df503a
* Fri Jan 23 2015 Jerry James <loganjerry@gmail.com> - 1.5.1-6
Jerry James 0df503a
- Fix scriptlets so they don't complain when uninstalling
Jerry James 0df503a
- Use license macro
Jerry James 0df503a
a45c931
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-5
a45c931
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a45c931
9f50b7b
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-4
9f50b7b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9f50b7b
6d810dd
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.1-3
6d810dd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6d810dd
Jerry James 5f3222a
* Tue Sep 25 2012 Jerry James <loganjerry@gmail.com> - 1.5.1-2
Jerry James 5f3222a
- Rebuild to fix _gap_dir expansion issue
Jerry James 5f3222a
Jerry James 82aa942
* Thu Sep 13 2012 Jerry James <loganjerry@gmail.com> - 1.5.1-1
Jerry James 82aa942
- New upstream version
Jerry James 82aa942
Jerry James 9dcd748
* Mon Aug 20 2012 Jerry James <loganjerry@gmail.com> - 1.3-2
Jerry James 9dcd748
- Fix line endings in some mathml files
Jerry James 9dcd748
Jerry James 9dcd748
* Tue Jan 31 2012 Jerry James <loganjerry@gmail.com> - 1.3-1
Jerry James 9dcd748
- Initial RPM