[GAPDoc] Initial import.

Jerry James jjames at fedoraproject.org
Thu Aug 23 21:27:08 UTC 2012


commit 9dcd748cb8b23f6c96b7fb807ea8f6d8edcf42e0
Author: Jerry James <jamesjer at betterlinux.com>
Date:   Thu Aug 23 15:26:53 2012 -0600

    Initial import.

 .gitignore  |    1 +
 GAPDoc.spec |   84 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ef53b6e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/GAPDoc-1.3.tar.bz2
diff --git a/GAPDoc.spec b/GAPDoc.spec
new file mode 100644
index 0000000..5e45a4b
--- /dev/null
+++ b/GAPDoc.spec
@@ -0,0 +1,84 @@
+Name:           GAPDoc
+Version:        1.3
+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
+
+Requires:       gap-core
+Requires:       tex(latex)
+Provides:       gap-pkg-%{name} = %{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
+
+%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
+# Remove unnecessary documentation clean scripts
+rm -f 3k+1/clean doc/clean example/clean
+
+%install
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/gap/pkg
+cd ..
+cp -a %{name}-%{version} $RPM_BUILD_ROOT%{_datadir}/gap/pkg
+rm -f $RPM_BUILD_ROOT%{_datadir}/gap/pkg/%{name}-%{version}/{CHANGES,README}
+
+%posttrans -p %{_bindir}/update-gap-workspace
+
+%postun -p %{_bindir}/update-gap-workspace
+
+%files
+%doc CHANGES README
+%{_datadir}/gap/pkg/%{name}-%{version}/
+
+%changelog
+* Mon Aug 20 2012 Jerry James <loganjerry at gmail.com> - 1.3-2
+- Fix line endings in some mathml files
+
+* Tue Jan 31 2012 Jerry James <loganjerry at gmail.com> - 1.3-1
+- Initial RPM
diff --git a/sources b/sources
index e69de29..ad73f70 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+727cb9b676ef8cb90eb3cbdb8d8d03d9  GAPDoc-1.3.tar.bz2


More information about the scm-commits mailing list