automatic version update by autodist [release 0.9.68-1mamba;Tue Aug 20 2013]

This commit is contained in:
Automatic Build System 2024-01-06 06:23:39 +01:00
parent 4c32b78ef6
commit 16f58f638e
3 changed files with 145 additions and 0 deletions

View File

@ -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.

View File

@ -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

131
linuxdoc-tools.spec Normal file
View File

@ -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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.9.68-1mamba
- automatic version update by autodist
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.56-1mamba
- update to 0.9.56
* Thu Oct 23 2008 Tiziana Ferro <tiziana.ferro@email.it> 0.9.21-5mamba
- rebuild
- added some missing buildrequirements
* Wed May 18 2005 Davide Madrisan <davide.madrisan@qilinux.it> 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 <silvan.calarco@mambasoft.it> 0.9.21-3qilnx
- Latex style files moved to proper directory
* Fri Feb 25 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.21-2qilnx
- fix for specfile group entry
* Wed Nov 19 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.21-1qilnx
- first build