also replace docbook-utils.dsl and docbook2man-spec.pl from Fedora [release 0.6.14-8mamba;Sun Oct 24 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 21:51:43 +01:00
parent 86eadea78d
commit 34d33b1110
3 changed files with 2645 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Name: docbook-utils
Version: 0.6.14
Release: 7mamba
Release: 8mamba
Summary: Shell scripts to manage DocBook documents
Group: Applications/Publishing
Vendor: openmamba
@ -8,6 +8,8 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.sourceware.org/docbook-tools/
Source: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-%{version}.tar.gz
Source1: gdp-both.dsl
Source2: docbook2man-spec.pl
Patch0: %{name}-0.6.14-sgml_catalog.patch
Patch2: docbook-utils-0.6.14-spaces.patch
Patch3: docbook-utils-0.6.14-2ndspaces.patch
@ -20,6 +22,7 @@ Patch9: docbook-utils-0.6.14-nofinalecho.patch
Patch10: docbook-utils-0.6.14-newgrep.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-SGMLSpm
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: OpenSP
@ -36,15 +39,13 @@ Requires: docbook-dsssl
Requires: /usr/bin/sgmlspl
Provides: docbook2man-sgmlspl
Obsoletes: docbook2man-sgmlspl <= 0.6.14-5mamba
Provides: docbook2X
Obsoletes: docbook2X <= 0.6.14-5mamba
%description
Shell scripts to manage DocBook documents.
%prep
%setup -q
%patch0 -p1
#%patch0 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
@ -64,6 +65,15 @@ Shell scripts to manage DocBook documents.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall docdir=%{_docdir}
for util in dvi html pdf ps rtf; do
ln -s docbook2$util %{buildroot}%{_bindir}/db2$util
ln -s jw.1.gz %{buildroot}%{_mandir}/man1/db2$util.1
done
ln -s jw.1.gz %{buildroot}%{_mandir}/man1/docbook2txt.1
install -p -m 644 %{SOURCE1} %{buildroot}%{_datadir}/sgml/docbook/utils-%{version}/docbook-utils.dsl
install -p -m 755 %{SOURCE2} %{buildroot}%{_datadir}/sgml/docbook/utils-%{version}/helpers/docbook2man-spec.pl
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -78,6 +88,7 @@ Shell scripts to manage DocBook documents.
%{_bindir}/docbook2tex
%{_bindir}/docbook2texi
%{_bindir}/docbook2txt
%{_bindir}/db2*
%{_bindir}/jw
%{_bindir}/sgmldiff
%{_datadir}/sgml/docbook/utils-%{version}/backends/*
@ -97,6 +108,8 @@ Shell scripts to manage DocBook documents.
%{_mandir}/man1/docbook2texi.1.*
%{_mandir}/man1/docbook2man-spec.pl.1*
%{_mandir}/man1/docbook2texi-spec.pl.1*
%{_mandir}/man1/docbook2txt.1*
%{_mandir}/man1/db2*.1*
%{_mandir}/man1/jw.1*
%{_mandir}/man1/sgmldiff.1*
%{_mandir}/man7/backend-spec.7*
@ -105,6 +118,9 @@ Shell scripts to manage DocBook documents.
#ChangeLog NEWS README TODO
%changelog
* Sun Oct 24 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-8mamba
- also replace docbook-utils.dsl and docbook2man-spec.pl from Fedora
* Wed Jun 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-7mamba
- added fedora patches

1564
docbook2man-spec.pl Normal file

File diff suppressed because it is too large Load Diff

1061
gdp-both.dsl Normal file

File diff suppressed because it is too large Load Diff