From 16f58f638eb6db7101844e731b4660a4294c552b Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 06:23:39 +0100 Subject: [PATCH] automatic version update by autodist [release 0.9.68-1mamba;Tue Aug 20 2013] --- README.md | 3 + linuxdoc-tools-0.9.56-yyleng.patch | 11 +++ linuxdoc-tools.spec | 131 +++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+) create mode 100644 linuxdoc-tools-0.9.56-yyleng.patch create mode 100644 linuxdoc-tools.spec diff --git a/README.md b/README.md index 593f47d..4e3019c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # linuxdoc-tools +Linuxdoc-tools is a toolset for processing LinuxDoc DTD SGML files. +This package allows you to produce HTML, GNU info, LyX, RTF, plain text (via groff), and other format outputs from a single SGML source. + diff --git a/linuxdoc-tools-0.9.56-yyleng.patch b/linuxdoc-tools-0.9.56-yyleng.patch new file mode 100644 index 0000000..4bfc9cd --- /dev/null +++ b/linuxdoc-tools-0.9.56-yyleng.patch @@ -0,0 +1,11 @@ +--- linuxdoc-tools-0.9.68/rtf-fix/rtf2rtf.l~ 2008-05-28 16:16:36.000000000 +0000 ++++ linuxdoc-tools-0.9.68/rtf-fix/rtf2rtf.l 2012-11-29 22:46:35.696881924 +0000 +@@ -72,7 +72,6 @@ + int skipnewline = 0; + + extern char *yytext; +-extern int yyleng; + + #define CHAPTER 1 + #define SECTION 2 + diff --git a/linuxdoc-tools.spec b/linuxdoc-tools.spec new file mode 100644 index 0000000..1915db4 --- /dev/null +++ b/linuxdoc-tools.spec @@ -0,0 +1,131 @@ +%{expand:%%define TeXdir %(kpsewhich -expand-var '$TEXMFMAIN')} + +Name: linuxdoc-tools +Version: 0.9.69 +Release: 1mamba +Summary: A toolset for processing LinuxDoc DTD SGML files +Group: Applications/Publishing +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://packages.qa.debian.org/l/linuxdoc-tools.html +Source: http://ftp.de.debian.org/debian/pool/main/l/%{name}/%{name}_%{version}.orig.tar.gz +Patch1: linuxdoc-tools-0.9.56-yyleng.patch +License: GPL +Requires: groff, texinfo, openjade >= 1.3.2 +BuildRoot: %{_tmppath}/%{name}-%{version}-root +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: groff +BuildRequires: openjade +BuildRequires: perl-devel +BuildRequires: tetex-latex +BuildRequires: texinfo +## AUTOBUILDREQ-END +BuildRequires: flex +BuildRequires: OpenSP + +# FIXME : linuxdoc-tools-0.9.21/doc/Makedoc.sh +# Processing file ./guide +# sh: line 1: -D: command not found +# (see doc/Makedoc.sh, row 74) + +%description +Linuxdoc-tools is a toolset for processing LinuxDoc DTD SGML files. +This package allows you to produce HTML, GNU info, LyX, RTF, plain text (via groff), and other format outputs from a single SGML source. + +%package latex +Summary: A toolset for processing LinuxDoc DTD SGML files and produce LaTeX documents +Group: Applications/Publishing +Requires: %{name} = %{version} +Requires: tetex-latex + +%description latex +Linuxdoc-tools is a toolset for processing LinuxDoc DTD SGML files. +This package allows you to produce LaTeX documents from a single SGML source. + +%prep +%setup -q +#%patch1 -p1 + +%build +%configure \ + --with-perllibdir=%{perl_sitelib} \ + --with-texdir=%{TeXdir}/tex/latex/misc + +%make OPTIMIZE="%{optflags}" + +%install +[ "%{buildroot}" != / ] && rm -rf %{buildroot} +%makeinstall + +#install -d %{buildroot}%{TeXdir}/tex/latex/misc +#mv %{buildroot}/usr/share/linuxdoc-tools/*.sty \ +# %{buildroot}%{TeXdir}/tex/latex/misc + +mv %{buildroot}%{_datadir}/doc/%{name} \ + %{buildroot}%{_defaultdocdir}/%{name}-%{version} + +#cp ChangeLog COPYING README \ +cp COPYING \ + %{buildroot}%{_defaultdocdir}/%{name}-%{version} + +find %{buildroot}%{_defaultdocdir}/%{name}-%{version} -name Makefile | \ + xargs rm -f + +%clean +[ "%{buildroot}" != / ] && rm -rf %{buildroot} + +%post latex +[ -x %{_bindir}/texhash ] && + /bin/env - PATH=/bin:/usr/bin texhash > /dev/null 2>&1 +exit 0 + +%postun latex +[ -x %{_bindir}/texhash ] && + /bin/env - PATH=/bin:/usr/bin texhash > /dev/null 2>&1 +exit 0 + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_datadir}/sgml/* +%{_mandir}/man1/* +%dir %{_datadir}/linuxdoc-tools +%{_datadir}/linuxdoc-tools/* +%{_datadir}/entity-map/* +%{perl_sitelib}/Text/EntityMap.pm +%{perl_sitelib}/LinuxDocTools.pm +%dir %{perl_sitelib}/LinuxDocTools +%{perl_sitelib}/LinuxDocTools/*.pm +%dir %{_defaultdocdir}/%{name}-%{version} +%{_defaultdocdir}/%{name}-%{version}/* + +%files latex +%defattr(-,root,root) +%{TeXdir}/tex/latex/misc/*.sty + +%changelog +* Tue Aug 20 2013 Automatic Build System 0.9.68-1mamba +- automatic version update by autodist + +* Tue Jan 27 2009 Silvan Calarco 0.9.56-1mamba +- update to 0.9.56 + +* Thu Oct 23 2008 Tiziana Ferro 0.9.21-5mamba +- rebuild +- added some missing buildrequirements + +* Wed May 18 2005 Davide Madrisan 0.9.21-4qilnx +- fixed TeX code that assumes pdfTeX is always running in PDF generation + mode (pdfTeX is the default TeTeX 3.0 engine for LaTeX) +- new URL and Source + +* Tue May 17 2005 Silvan Calarco 0.9.21-3qilnx +- Latex style files moved to proper directory + +* Fri Feb 25 2005 Silvan Calarco 0.9.21-2qilnx +- fix for specfile group entry + +* Wed Nov 19 2003 Silvan Calarco 0.9.21-1qilnx +- first build