From f0f5f029c59386b879fcf277737291f935136d33 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 7 May 2019 08:42:19 -0400 Subject: [PATCH] import linuxdoc-tools-0.9.72-5.el8 --- .gitignore | 1 + .linuxdoc-tools.metadata | 1 + SOURCES/linuxdoc-tools-0.9.13-letter.patch | 24 ++ SOURCES/linuxdoc-tools-0.9.20-lib64.patch | 10 + SPECS/linuxdoc-tools.spec | 416 +++++++++++++++++++++ 5 files changed, 452 insertions(+) create mode 100644 .gitignore create mode 100644 .linuxdoc-tools.metadata create mode 100644 SOURCES/linuxdoc-tools-0.9.13-letter.patch create mode 100644 SOURCES/linuxdoc-tools-0.9.20-lib64.patch create mode 100644 SPECS/linuxdoc-tools.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f865b14 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/linuxdoc-tools_0.9.72.orig.tar.gz diff --git a/.linuxdoc-tools.metadata b/.linuxdoc-tools.metadata new file mode 100644 index 0000000..ec65582 --- /dev/null +++ b/.linuxdoc-tools.metadata @@ -0,0 +1 @@ +f42b0fcb7062d216b8b0bd7b7bc2a4ce091cf4cf SOURCES/linuxdoc-tools_0.9.72.orig.tar.gz diff --git a/SOURCES/linuxdoc-tools-0.9.13-letter.patch b/SOURCES/linuxdoc-tools-0.9.13-letter.patch new file mode 100644 index 0000000..232d130 --- /dev/null +++ b/SOURCES/linuxdoc-tools-0.9.13-letter.patch @@ -0,0 +1,24 @@ +--- linuxdoc-tools-0.9.13/perl5lib/LinuxDocTools.pm.letter Mon Nov 26 16:09:37 2001 ++++ linuxdoc-tools-0.9.13/perl5lib/LinuxDocTools.pm Mon Nov 26 16:09:49 2001 +@@ -108,7 +108,7 @@ + { option => "pass", type => "s", short => "P" } + ]; + $global->{backend} = "linuxdoc"; +- $global->{papersize} = "a4"; ++ $global->{papersize} = "letter"; + $global->{language} = "en"; + $global->{charset} = "ascii"; + $global->{style} = ""; +--- linuxdoc-tools-0.9.13/man/linuxdoc.1.letter Mon Nov 26 16:10:04 2001 ++++ linuxdoc-tools-0.9.13/man/linuxdoc.1 Mon Nov 26 16:10:42 2001 +@@ -46,8 +46,8 @@ + format, but just output the usage of this suites. + Available formats are: html, info, latex, lyx, rtf, txt, check. + .IP "--papersize=\fIsize\fR, -p +-Set the paper size. Default is ``a4'' (European 297x210mm paper). +-You may also specify ``letter'' size. ++Set the paper size. Default is ``letter''. ++You may also specify ``a4'' size (European 297x210mm paper). + .IP "--language=\fIlang\fR, -l" + Specify the language of the document (this may change which style + files are used for formatting by a back end). The default language is diff --git a/SOURCES/linuxdoc-tools-0.9.20-lib64.patch b/SOURCES/linuxdoc-tools-0.9.20-lib64.patch new file mode 100644 index 0000000..4e13616 --- /dev/null +++ b/SOURCES/linuxdoc-tools-0.9.20-lib64.patch @@ -0,0 +1,10 @@ +--- linuxdoc-tools-0.9.60/bin/linuxdoc.in.orig ++++ linuxdoc-tools-0.9.60/bin/linuxdoc.in +@@ -23,6 +23,7 @@ + $AuxBinDir = "@auxbindir@"; + + use lib "@pkgdatadir@"; ++use lib "@prefix@/lib64/perl5"; + use lib "@perl5libdir@"; + + # --------------------------------------------------------------------- diff --git a/SPECS/linuxdoc-tools.spec b/SPECS/linuxdoc-tools.spec new file mode 100644 index 0000000..e3246e6 --- /dev/null +++ b/SPECS/linuxdoc-tools.spec @@ -0,0 +1,416 @@ +%{!?tetex:%global tetex 1} +%{!?_pkgdocdir: %global _pkgdocdir %{_docdir}/%{name}-%{version}} +%global _vendorperllibdir %{_datadir}/perl5/vendor_perl + +Summary: A text formatting package based on SGML +Name: linuxdoc-tools +Version: 0.9.72 +Release: 5%{?dist} +License: MIT +Group: Applications/Publishing +Source: http://http.us.debian.org/debian/pool/main/l/linuxdoc-tools/%{name}_%{version}.orig.tar.gz +Patch0: linuxdoc-tools-0.9.13-letter.patch +Patch1: linuxdoc-tools-0.9.20-lib64.patch +Url: http://packages.qa.debian.org/l/linuxdoc-tools.html +BuildRequires: flex flex-static sgml-common jade gawk groff autoconf automake texinfo +#need actual perl directory structure +BuildRequires: perl-interpreter >= 4:5.10.1 +BuildRequires: perl-generators +Requires: jade gawk groff +Requires(post): %{_bindir}/texconfig-sys +Requires(postun): %{_bindir}/texconfig-sys +# this should anyway be only a "suggest" +%if %{tetex} +Requires: tex(latex) +%endif +Obsoletes: sgml-tools < %{version}-%{release} +Obsoletes: linuxdoc-sgml < %{version}-%{release} +Provides: sgml-tools = %{version}-%{release} +Provides: linuxdoc-sgml = %{version}-%{release} + +%description +Linuxdoc-tools is a text formatting suite based on SGML (Standard +Generalized Markup Language), using the LinuxDoc document type. +Linuxdoc-tools allows you to produce LaTeX, HTML, GNU info, LyX, RTF, +plain text (via groff), and other format outputs from a single SGML +source. Linuxdoc-tools is intended for writing technical software +documentation. + +%prep +%setup -q +%patch0 -p1 +%patch1 -p1 -b .lib64 + +%build +#need to get config.{sub,guess} in, something is broken in the build +autoreconf -i +%configure --with-installed-nsgmls --with-installed-iso-entities --disable-docs +# Packaging brain-damage +pushd entity-map +autoconf +%configure --enable-docs pdf +popd + +make OPTIMIZE="$RPM_OPT_FLAGS" %{?_smp_mflags} +perl -pi -e 's,\$main::prefix/share/sgml/iso-entities-8879.1986/iso-entities.cat,/usr/share/sgml/sgml-iso-entities-8879.1986/catalog,' \ + perl5lib/LinuxDocTools.pm + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_vendorperllibdir} +make install DESTDIR=$RPM_BUILD_ROOT perl5libdir=%{_vendorperllibdir} +[ $RPM_BUILD_ROOT%{_docdir}/%{name} = $RPM_BUILD_ROOT%{_pkgdocdir} ] \ + || mv $RPM_BUILD_ROOT%{_docdir}/%{name} $RPM_BUILD_ROOT%{_pkgdocdir} +perl -pi -e 's,/usr/share/sgml/iso-entities-8879.1986/iso-entities.cat,\$main::prefix/share/sgml/sgml-iso-entities-8879.1986/catalog,' \ + $RPM_BUILD_ROOT%{_vendorperllibdir}/LinuxDocTools.pm +#Copy license files for parts into docdir +mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/sgmls-1.1 +cp -p sgmls-1.1/LICENSE $RPM_BUILD_ROOT%{_pkgdocdir}/sgmls-1.1/LICENSE +mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/iso-entities +cp -p iso-entities/COPYING $RPM_BUILD_ROOT%{_pkgdocdir}/iso-entities/COPYING +mkdir -p $RPM_BUILD_ROOT%{_pkgdocdir}/entity-map +cp -p entity-map/COPYING $RPM_BUILD_ROOT%{_pkgdocdir}/entity-map/COPYING +cp -p COPYING $RPM_BUILD_ROOT%{_pkgdocdir}/ + + +# Some files need moving around. +rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/epsf.* +rm -f $RPM_BUILD_ROOT%{_datadir}/%{name}/url.sty +install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/misc +mv $RPM_BUILD_ROOT%{_datadir}/%{name}/*.sty \ + $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/misc + +%post +%{_bindir}/texconfig-sys rehash 2> /dev/null || : +exit 0 + +%postun +%{_bindir}/texconfig-sys rehash 2> /dev/null || : +exit 0 + +%files +%doc %{_pkgdocdir} +%{_bindir}/* +%{_datadir}/%{name} +%{_datadir}/entity-map +%{_datadir}/texmf/tex/latex/misc/*.sty +%dir %{_vendorperllibdir}/Text +%{_vendorperllibdir}/Text/EntityMap.pm +%dir %{_vendorperllibdir}/LinuxDocTools +%{_vendorperllibdir}/LinuxDocTools.pm +%{_vendorperllibdir}/LinuxDocTools/*.pm +%{_mandir}/*/* + +%changelog +* Wed Jul 11 2018 Ondrej Vasik - 0.9.72-5 +- fix the license - should be MIT + +* Wed Feb 07 2018 Fedora Release Engineering - 0.9.72-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 0.9.72-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 0.9.72-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Mon Jun 19 2017 Ondrej Vasik - 0.9.72-1 +- new version 0.9.72, temporarily disable docs builds + +* Fri Jun 16 2017 Troy Dawson - 0.9.68-12 +- Flex patch (Patch2) no longer needed (#1423895) + +* Fri Feb 10 2017 Fedora Release Engineering - 0.9.68-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 0.9.68-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 0.9.68-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sun Aug 17 2014 Fedora Release Engineering - 0.9.68-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 0.9.68-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Tue Aug 13 2013 Martin Milata - 0.9.68-6 +- Change docs location to conform with + https://fedoraproject.org/wiki/Changes/UnversionedDocdirs + +* Sat Aug 03 2013 Fedora Release Engineering - 0.9.68-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Wed Jul 17 2013 Petr Pisar - 0.9.68-4 +- Perl 5.18 rebuild + +* Tue Feb 19 2013 Martin Milata - 0.9.68-3 +- fix build with newer flex versions + +* Thu Feb 14 2013 Fedora Release Engineering - 0.9.68-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Fri Aug 10 2012 Ondrej Vasik 0.9.68-1 +- new upstream version 0.9.68 + +* Thu Jul 19 2012 Fedora Release Engineering - 0.9.67-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Thu May 10 2012 Ondrej Vasik 0.9.67-1 +- new upstream version 0.9.67 + +* Fri Jan 13 2012 Fedora Release Engineering - 0.9.66-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Feb 08 2011 Fedora Release Engineering - 0.9.66-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Dec 10 2010 Ondrej Vasik 0.9.66-8 +- make the dependency on perl vendor lib location more stable +- use global macro instead of define macro + +* Mon Dec 06 2010 Ondrej Vasik 0.9.66-7 +- fix perl vendor lib location(FTBS) +- BuildRequire flex-static as we need libfl + +* Fri Mar 26 2010 Ondrej Vasik 0.9.66-6 +- rebuild with new groff (to use -ms instead of -mgs, #577164) + +* Tue Feb 02 2010 Ondrej Vasik 0.9.66-5 +- Merge review changes(#226098) - ship more docs, remove + unnecessary things, require 5.10.1 perl for directory + structure + +* Fri Dec 18 2009 Ondrej Vasik 0.9.66-4 +- fix perl5 dir paths + +* Fri Dec 18 2009 Ondrej Vasik 0.9.66-3 +- do not obsolete self + +* Fri Dec 18 2009 Ondrej Vasik 0.9.66-2 +- License Copyright only + +* Thu Nov 12 2009 Ondrej Vasik 0.9.66-1 +- new upstream version 0.9.66 + +* Sat Jul 25 2009 Fedora Release Engineering - 0.9.65-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Mon Jun 22 2009 Ondrej Vasik 0.9.65-1 +- Used latest upstream version 0.9.65, + reflect changes + +* Wed Feb 25 2009 Fedora Release Engineering - 0.9.56-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Wed Dec 03 2008 Ondrej Vasik 0.9.56-1 +- Used latest upstream version 0.9.56, + removed already applied patches + +* Fri Aug 29 2008 Ondrej Vasik 0.9.21-17 +- patch fuzz clean up + +* Tue Mar 25 2008 Ondrej Vasik 0.9.21-16 +- perl 5.10 rebuild + +* Mon Feb 11 2008 Ondrej Vasik 0.9.21-15 +- gcc43 rebuild + +* Fri Jan 04 2008 Ondrej Vasik 0.9.21-14 +- texconfig-sys rehash in postun, removal of texhash in post + and postun(discussed with Jindrich Novy) + +* Thu Jan 03 2008 Ondrej Vasik 0.9.21-13 +- running texconfig-sys rehash in post to let latex know + about new style installed by linuxdoctools + +* Mon Nov 12 2007 Ondrej Vasik 0.9.21-12 +- versioned obsoletes were before Version definition(#376671) + +* Fri Oct 26 2007 Ondrej Vasik 0.9.21-11 +- rpmlint check +- fixed some cosmetic things, versioned provides and License tag + +* Wed Aug 29 2007 Ondrej Vasik 0.9.21-10 +- rebuilt for PPC32 issue +- added gawk to build-requires because of build failure + +* Tue Jun 19 2007 Ondrej Vasik 0.9.21-9 +- Applied patch from upstream (bug #61414) + +* Thu Jan 11 2007 Tim Waugh 0.9.21-8 +- Applied patch from Kir Kolyshkin (bug #204902): + - added a patch from debian bug #321998 (obsoletes patch -badif) + +* Wed Jul 12 2006 Jesse Keating - 0.9.21-7.1 +- rebuild + +* Mon Jun 12 2006 Tim Waugh 0.9.21-7 +- Build requires autoconf (bug #194752). + +* Fri Feb 10 2006 Jesse Keating - 0.9.21-6.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 0.9.21-6.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Thu Jun 30 2005 Tim Waugh 0.9.21-6 +- Finnish translation (bug #162151). + +* Wed Mar 2 2005 Tim Waugh 0.9.21-5 +- Rebuild for new GCC. + +* Thu Feb 24 2005 Tim Waugh 0.9.21-4 +- Another try at bug #149588. + +* Thu Feb 24 2005 Tim Waugh 0.9.21-2 +- Jindrich Novy's mapping fix (bug #149588). + +* Mon Jan 31 2005 Tim Waugh 0.9.21-1 +- 0.9.21 (bug #146517). +- New URL (bug #146515). +- Put perl files in the right place (bug #146514). + +* Wed Oct 6 2004 Tim Waugh 0.9.20-14 +- Build requires groff (bug #134798). + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Tue Sep 23 2003 Florian La Roche +- Allow rpms without a tetex dependency. That allows using sgml things + for online things without installing the heavy tetex. + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Sat Jan 4 2003 Jeff Johnson 0.9.20-7 +- use internal dep generator. + +* Sat Dec 14 2002 Tim Powers 0.9.20-6 +- don't use rpms internal dep generator + +* Mon Oct 14 2002 Tim Waugh 0.9.20-5 +- Rebuild. + +* Wed Sep 11 2002 Than Ngo 0.9.20-4 +- Added fix to have lib64 in perl path on 64bit machine + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Mon Apr 22 2002 Tim Waugh 0.9.20-1 +- 0.9.20. +- Don't explicitly strip binaries (bug #62563). + +* Thu Feb 28 2002 Elliot Lee 0.9.16-4 +- Provides: sgml-tools (and linuxdoc-sgml). +- Use _smp_mflags and RPM_OPT_FLAGS. + +* Tue Feb 26 2002 Tim Waugh 0.9.16-3 +- Rebuild in new environment. + +* Wed Jan 30 2002 Tim Waugh 0.9.16-2 +- Rebuild to fix bug #59055. + +* Mon Jan 28 2002 Tim Waugh 0.9.16-1 +- 0.9.16. +- No longer need the libdir patch. + +* Wed Jan 09 2002 Tim Powers 0.9.15-2 +- automated rebuild + +* Mon Dec 3 2001 Tim Waugh 0.9.15-1 +- 0.9.15; incorporates most of the libdir patch. +- The fixsgml2latex patch is no longer required. +- Installed documentation now works. +- Don't ship backup files. +- Put the LaTeX style files in the texmf directory tree. +- Requires: gawk, groff. + +* Mon Nov 26 2001 Tim Waugh 0.9.13-1 +- Dump sgml-tools in favour of linuxdoc-tools (bug #56710). + +* Mon Jun 18 2001 Tim Waugh 1.0.9-12 +- Use %%{_tmppath}. +- Build requres flex. + +* Wed May 30 2001 Tim Waugh 1.0.9-11 +- Don't ship backup files. + +* Wed May 30 2001 Tim Waugh 1.0.9-10 +- Sync description with specspo. + +* Thu Mar 8 2001 Tim Waugh 1.0.9-9 +- Create temporary files safely (patch from Debian package). + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Sat Jun 10 2000 Bill Nottingham +- fix man page for sgml2txt (#10722) + +* Sat Jun 3 2000 Bill Nottingham +- apparently this can't deal with FHS + +* Thu Jun 1 2000 Bill Nottingham +- hey, it's self-hosting now! + +* Fri Feb 11 2000 Preston Brown +- add copyright file (#8621) +- fix sgml2latex processing (#4114) +- fix configure tests (#6480) + +* Wed Feb 9 2000 Bernhard Rosenkraenzer +- get rid of "CC=egcs" +- require jade - sgml2html calls nsgmls. + +* Fri Jan 28 2000 Bill Nottingham +- resurrect package in a non-conflicting manner + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 2) + +* Wed Mar 17 1999 Preston Brown +- we aren't going to 2.0.x for 6.0, using 1.0.9 instead (more stable) + +* Thu Aug 20 1998 Bill Nottingham +- updated to 1.0.7 + +* Tue May 05 1998 Donnie Barnes +- changed default papersize to letter (from a4...sorry Europeans :-) + use --papersize=a4 on any sgml2* command to change it or remove the + patch from this spec file and rebuild. + +* Thu Apr 30 1998 Cristian Gafton +- updated to 1.0.6 + +* Fri Apr 24 1998 Prospector System +- translations modified for de, fr, tr + +* Mon Jan 12 1998 Donnie Barnes +- updated from 0.99 to 1.0.3 +- added BuildRoot + +* Sat Nov 01 1997 Donnie Barnes +- fixed man pages + +* Mon Oct 20 1997 Donnie Barnes +- new release - Obsoletes linuxdoc-sgml +