Sync from SUSE:SLFO:Main docbook2x revision 1507b532ae5ed99b2e4fc376ed05c6a8
This commit is contained in:
commit
780069bd79
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
21
docbook2X-0.8.8-catalog.diff
Normal file
21
docbook2X-0.8.8-catalog.diff
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
--- docbook2X-0.8.8/dtd/catalog.xml.~1~ 2004-08-15 20:40:27.000000000 +0200
|
||||||
|
+++ docbook2X-0.8.8/dtd/catalog.xml 2007-07-02 15:48:59.000000000 +0200
|
||||||
|
@@ -12,12 +12,12 @@
|
||||||
|
uri="Texi-XML" />
|
||||||
|
|
||||||
|
<rewriteSystem
|
||||||
|
- systemIdStartString="http://docbook2x.sourceforge.net/latest/dtd/"
|
||||||
|
- rewritePrefix="./" />
|
||||||
|
+ systemIdStartString="http://docbook2x.sourceforge.net/latest/"
|
||||||
|
+ rewritePrefix="/usr/share/docbook2X/" />
|
||||||
|
|
||||||
|
<rewriteSystem
|
||||||
|
- systemIdStartString="http://docbook2x.sf.net/latest/dtd/"
|
||||||
|
- rewritePrefix="./" />
|
||||||
|
+ systemIdStartString="http://docbook2x.sf.net/latest/"
|
||||||
|
+ rewritePrefix="/usr/share/docbook2X/" />
|
||||||
|
|
||||||
|
</catalog>
|
||||||
|
|
||||||
|
|
||||||
|
Diff finished. Mon Jul 2 15:49:06 2007
|
BIN
docbook2X-0.8.8.tar.gz
(Stored with Git LFS)
Normal file
BIN
docbook2X-0.8.8.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
7
docbook2x-README.SUSE
Normal file
7
docbook2x-README.SUSE
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
To avoid filename conflicts with files from the docbook-utils package
|
||||||
|
/usr/bin/docbook2man and /usr/bin/docbook2texi are installed as:
|
||||||
|
|
||||||
|
/usr/bin/docbook-to-man
|
||||||
|
/usr/bin/docbook-to-texi
|
||||||
|
|
||||||
|
2004-02-19 16:40:17 CET -ke-
|
221
docbook2x.changes
Normal file
221
docbook2x.changes
Normal file
@ -0,0 +1,221 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 6 08:19:38 UTC 2025 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Correct license as since docbook2X 0.8.4 it is MIT
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Feb 5 14:18:19 UTC 2025 - Dr. Werner Fink <werner@suse.de>
|
||||||
|
|
||||||
|
- Correct download path
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 08:05:09 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %patch -P N instead of deprecated %patchN.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 20 01:54:27 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
|
||||||
|
|
||||||
|
- Use %patch0 to fix compilation with rpm-4.19
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 4 14:29:27 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Cleanup spec file:
|
||||||
|
* Remove tidy BuildRequires, only used for XSL based HTML generation
|
||||||
|
using --with-html-xsl (defaults to off).
|
||||||
|
* Reorder tags, Group/Source/Url etc first, BuildRequires/Requires last
|
||||||
|
* Remove BuildRoot: tag, use %buildroot
|
||||||
|
* Remove %defattr, use %license and %doc macros
|
||||||
|
* Remove unused macros, expand trivial single use macros
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Nov 9 08:46:23 UTC 2017 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Rename README.SuSE to README.SUSE, adhering to the correct
|
||||||
|
spelling.
|
||||||
|
- Fix postun scriptlet: the variable %{xml_sysconf_dir} is
|
||||||
|
undefined and thus put into the postun scriptlet unexpanded.
|
||||||
|
- Fix rpmlint warnings about % in comments: macros are still
|
||||||
|
expanded in comments. Some macros are multiline, which could
|
||||||
|
impact the build directly. Escape the percent sign.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 10 06:15:30 UTC 2015 - coolo@suse.com
|
||||||
|
|
||||||
|
- move install_info from %postun to %preun and don't reference
|
||||||
|
the extension twice
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 12 14:35:30 UTC 2013 - stephan.barth@suse.com
|
||||||
|
|
||||||
|
- add BuildRequires for makeinfo (bnc#834457)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 1 16:45:32 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- add automake as buildrequire to avoid implicit dependency
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 18 17:17:12 UTC 2011 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Remove redundant tags/sections from specfile
|
||||||
|
(cf. packaging guidelines)
|
||||||
|
- Use %_smp_mflags for parallel build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 24 11:11:02 UTC 2009 - aj@suse.de
|
||||||
|
|
||||||
|
- Only remove file from catalog if it disappeared.
|
||||||
|
|
||||||
|
- Do not use release numbers, they're not needed anymore.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 18 13:10:02 CET 2009 - ke@suse.de
|
||||||
|
|
||||||
|
- Also Require docbook_4; reported by Jan Engelhardt bnc#486343.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 19 15:33:25 CET 2008 - ke@suse.de
|
||||||
|
|
||||||
|
- Fix filename configuration issue; reported by Carlos Robinson; Novell
|
||||||
|
bugzilla #360447.
|
||||||
|
- Create doc sub-package.
|
||||||
|
- spec file cleanup.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 2 16:29:51 CEST 2007 - ke@suse.de
|
||||||
|
|
||||||
|
- Version 0.8.8: Bug fixes, better rendering of the man page output
|
||||||
|
(tables are now supported).
|
||||||
|
- Stop shipping obsolete patches (gcc3.diff,
|
||||||
|
docbook2x-0.8.2-perlsax.patch, and docbook2X-0.8.2-retval.diff,
|
||||||
|
makefile-pl.patch).
|
||||||
|
- spec file cleanup.
|
||||||
|
- Register cataolg file; reported by Richard Guenther [#287864].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:35:32 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 2 22:09:31 CET 2005 - dmueller@suse.de
|
||||||
|
|
||||||
|
- don't build as root
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 16 10:58:15 CEST 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- To avoid file conflicts with docbook-utils install manpages as
|
||||||
|
docbook-to-man.1 and docbook2texi.1; reported by Thorsten Kukuk.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 13 09:39:44 CEST 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.8.5; bugfixes:
|
||||||
|
* Generate Info directory information correctly.
|
||||||
|
* Fix UTF-8 translation with &db2x_manxml;.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 10 13:03:19 CEST 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.8.4.
|
||||||
|
- Install documentation.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 30 08:20:14 CEST 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.8.3: switch to XML-SAX.
|
||||||
|
- Adjust neededforbuild and Requires on account of XML-SAX.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 26 01:24:32 CEST 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- add missing return value
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Feb 19 17:02:31 CET 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- Rename docbook2man and docbook2texi to docbook-to-man and
|
||||||
|
docbook-to-texi to avoid a filename conflict with the docbook-utils
|
||||||
|
package.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 17 15:29:22 CET 2004 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.8.2.
|
||||||
|
- Enable BuildRoot.
|
||||||
|
- Add to neededforbuild: perl-libxml-perl perl-XML-Parser perl-XML-DOM
|
||||||
|
perl-XML-RegExp expat perl-libwww-perl perl-URI docbook_4 sgml-skel.
|
||||||
|
- Adjust gcc3.diff.
|
||||||
|
- Disable doc dir for the moment.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 4 11:25:37 CET 2002 - ke@suse.de
|
||||||
|
|
||||||
|
- Don't install docbook2manxml; it isn't compatible with current
|
||||||
|
Perl modules; [# 21853].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 11 11:27:41 CET 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- update Requires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 11 11:26:13 CET 2002 - ro@suse.de
|
||||||
|
|
||||||
|
- changed neededforbuild <jade_dsl> to <openjade>
|
||||||
|
- changed neededforbuild <sp> to <opensp>
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 13 12:53:38 CET 2002 - sf@suse.de
|
||||||
|
|
||||||
|
- corrected error for all 64-bit archs and gcc3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 20 12:35:03 CET 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.7.0.
|
||||||
|
- Rename db2x -> docbook2x.
|
||||||
|
- Drop obsolete .test file.
|
||||||
|
- Fix "Requires:".
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 13 15:51:59 CEST 2001 - ro@suse.de
|
||||||
|
|
||||||
|
- changed neededforbuild <sp_libs> to <sp-devel>
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 2 11:34:39 CEST 2001 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.6.9.
|
||||||
|
- More specfile cleanup: Install data files [#4140].
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 17 15:08:24 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- Update to version 0.6.0 (# 4140).
|
||||||
|
- Cleanup spec file.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 15 19:24:37 CEST 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- Install Map.pm (start to resolve bug # 3760).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 10 17:10:23 CET 2000 - ke@suse.de
|
||||||
|
|
||||||
|
- Update: version 0.5.1 (sic!, the previous version number was wrongly
|
||||||
|
taken from a component of the package).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
|
||||||
|
|
||||||
|
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 4 19:00:04 MEST 1999 - ke@suse.de
|
||||||
|
|
||||||
|
- New package: version 1.4.
|
||||||
|
|
148
docbook2x.spec
Normal file
148
docbook2x.spec
Normal file
@ -0,0 +1,148 @@
|
|||||||
|
#
|
||||||
|
# spec file for package docbook2x
|
||||||
|
#
|
||||||
|
# Copyright (c) 2025 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: docbook2x
|
||||||
|
Summary: DocBook-to-Texinfo Converter
|
||||||
|
License: MIT
|
||||||
|
Group: Productivity/Publishing/DocBook
|
||||||
|
Version: 0.8.8
|
||||||
|
Release: 0
|
||||||
|
URL: http://docbook2x.sourceforge.net/
|
||||||
|
Source0: https://sourceforge.net/projects/docbook2x/files/docbook2x/%{version}/docbook2X-%{version}.tar.gz/download#/docbook2X-%{version}.tar.gz
|
||||||
|
Source1: docbook2x-README.SUSE
|
||||||
|
Patch0: docbook2X-0.8.8-catalog.diff
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: docbook_4
|
||||||
|
BuildRequires: libxslt-devel
|
||||||
|
BuildRequires: makeinfo
|
||||||
|
BuildRequires: openjade
|
||||||
|
BuildRequires: perl-XML-DOM
|
||||||
|
BuildRequires: perl-XML-Parser
|
||||||
|
BuildRequires: perl-XML-SAX
|
||||||
|
BuildRequires: perl-libwww-perl
|
||||||
|
BuildRequires: sgml-skel
|
||||||
|
Provides: db2x = %{version}
|
||||||
|
Obsoletes: db2x < %{version}
|
||||||
|
Provides: docbook2X
|
||||||
|
Requires: docbook_4
|
||||||
|
Requires: openjade
|
||||||
|
Requires: opensp
|
||||||
|
Requires: perl-URI
|
||||||
|
Requires: perl-XML-DOM
|
||||||
|
Requires: perl-XML-Parser
|
||||||
|
Requires: perl-XML-RegExp
|
||||||
|
Requires: perl-XML-SAX
|
||||||
|
Requires: perl-libwww-perl
|
||||||
|
Requires: sgml-skel
|
||||||
|
Requires: tidy
|
||||||
|
%define regcat /usr/bin/sgml-register-catalog
|
||||||
|
PreReq: %{regcat} /usr/bin/xmlcatalog /usr/bin/edit-xml-catalog
|
||||||
|
PreReq: awk
|
||||||
|
PreReq: grep
|
||||||
|
PreReq: sed
|
||||||
|
|
||||||
|
%description
|
||||||
|
A new tool based on Perl modules.
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: DocBook-to-Texinfo Converter
|
||||||
|
Group: Productivity/Publishing/DocBook
|
||||||
|
PreReq: %install_info_prereq
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
A new tool based on Perl modules.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n docbook2X-%{version}
|
||||||
|
cp %{S:1} README.SUSE
|
||||||
|
%patch -P 0 -p 1
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoreconf --force --install
|
||||||
|
%configure --with-xmldecl=/usr/share/sgml/opensp/xml.dcl
|
||||||
|
sed -i.bak 's/${prefix}/\/usr/' perl/config.pl
|
||||||
|
# exit 1
|
||||||
|
%make_build htmldir=%{_docdir}/%{name}/html
|
||||||
|
%define FOR_ROOT_CAT for-catalog-%{name}-%{version}.xml
|
||||||
|
xmlcatbin=/usr/bin/xmlcatalog
|
||||||
|
CATALOG=usr/share/docbook2X/dtd/catalog.xml
|
||||||
|
rm -f %{FOR_ROOT_CAT}.tmp
|
||||||
|
$xmlcatbin --noout --create %{FOR_ROOT_CAT}.tmp
|
||||||
|
$xmlcatbin --noout --add "delegateSystem" \
|
||||||
|
"http://docbook2x.sf.net/latest/" \
|
||||||
|
"file:///$CATALOG" %{FOR_ROOT_CAT}.tmp
|
||||||
|
# Create tag
|
||||||
|
sed '/<catalog/a\
|
||||||
|
<group id="%{name}-%{version}">
|
||||||
|
/<\/catalog/i\
|
||||||
|
</group>' \
|
||||||
|
%{FOR_ROOT_CAT}.tmp > %{FOR_ROOT_CAT}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install \
|
||||||
|
nsgmls_xmldecl=/usr/share/sgml/opensp/xml.dcl \
|
||||||
|
htmldir=%{_docdir}/%{name}/html
|
||||||
|
rm -f %{buildroot}/%{_infodir}/dir
|
||||||
|
mv %{buildroot}%{_mandir}/man1/docbook2man.1 \
|
||||||
|
%{buildroot}%{_mandir}/man1/docbook-to-man.1
|
||||||
|
mv %{buildroot}%{_mandir}/man1/docbook2texi.1 \
|
||||||
|
%{buildroot}%{_mandir}/man1/docbook-to-texi.1
|
||||||
|
mv %{buildroot}%{_bindir}/docbook2man \
|
||||||
|
%{buildroot}%{_bindir}/docbook-to-man
|
||||||
|
mv %{buildroot}%{_bindir}/docbook2texi \
|
||||||
|
%{buildroot}%{_bindir}/docbook-to-texi
|
||||||
|
%perl_process_packlist
|
||||||
|
install -m644 -D -t %{buildroot}/etc/xml %{FOR_ROOT_CAT}
|
||||||
|
|
||||||
|
%define info_files docbook2texi-xslt docbook2man-xslt docbook2X
|
||||||
|
|
||||||
|
%post
|
||||||
|
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
|
||||||
|
--add /etc/xml/%{FOR_ROOT_CAT}
|
||||||
|
|
||||||
|
%postun
|
||||||
|
# remove entries only on removal of file
|
||||||
|
if [ ! -f %{_sysconfdir}/xml/%{FOR_ROOT_CAT} -a -x /usr/bin/edit-xml-catalog ] ; then
|
||||||
|
edit-xml-catalog --group --catalog /etc/xml/suse-catalog.xml \
|
||||||
|
--del %{name}-%{version}
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
|
|
||||||
|
%post doc
|
||||||
|
for f in %{info_files}; do
|
||||||
|
%install_info --info-dir=%{_infodir} %{_infodir}/${f}.info.gz
|
||||||
|
done
|
||||||
|
|
||||||
|
%preun doc
|
||||||
|
for f in %{info_files}; do
|
||||||
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/${f}.info.gz
|
||||||
|
done
|
||||||
|
|
||||||
|
%files
|
||||||
|
%config %{_sysconfdir}/xml/%{FOR_ROOT_CAT}
|
||||||
|
%{_bindir}/*
|
||||||
|
%{_datadir}/docbook2X
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS NEWS README README.SUSE
|
||||||
|
%{_docdir}/%{name}
|
||||||
|
%{_infodir}/*
|
||||||
|
%{_mandir}/*/*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
x
Reference in New Issue
Block a user