2024-01-05 21:51:42 +01:00
|
|
|
Name: docbook-utils
|
|
|
|
Version: 0.6.14
|
2024-01-05 21:51:43 +01:00
|
|
|
Release: 8mamba
|
2024-01-05 21:51:42 +01:00
|
|
|
Summary: Shell scripts to manage DocBook documents
|
|
|
|
Group: Applications/Publishing
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 21:51:42 +01:00
|
|
|
URL: https://www.sourceware.org/docbook-tools/
|
2024-01-05 21:51:42 +01:00
|
|
|
Source: ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-%{version}.tar.gz
|
2024-01-05 21:51:43 +01:00
|
|
|
Source1: gdp-both.dsl
|
|
|
|
Source2: docbook2man-spec.pl
|
2024-01-05 21:51:42 +01:00
|
|
|
Patch0: %{name}-0.6.14-sgml_catalog.patch
|
2024-01-05 21:51:42 +01:00
|
|
|
Patch2: docbook-utils-0.6.14-spaces.patch
|
|
|
|
Patch3: docbook-utils-0.6.14-2ndspaces.patch
|
|
|
|
Patch4: docbook-utils-0.6.14-w3mtxtconvert.patch
|
|
|
|
Patch5: docbook-utils-0.6.14-grepnocolors.patch
|
|
|
|
Patch6: docbook-utils-0.6.14-sgmlinclude.patch
|
|
|
|
Patch7: docbook-utils-0.6.14-rtfmanpage.patch
|
|
|
|
Patch8: docbook-utils-0.6.14-papersize.patch
|
|
|
|
Patch9: docbook-utils-0.6.14-nofinalecho.patch
|
|
|
|
Patch10: docbook-utils-0.6.14-newgrep.patch
|
2024-01-05 21:51:42 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-05 21:51:43 +01:00
|
|
|
BuildRequires: perl-SGMLSpm
|
2024-01-05 21:51:42 +01:00
|
|
|
BuildRequires: perl-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: OpenSP
|
|
|
|
BuildRequires: jadetex
|
|
|
|
BuildRequires: sgml-common
|
|
|
|
BuildRequires: docbook-dtds
|
|
|
|
BuildRequires: docbook-dsssl
|
|
|
|
BuildRequires: openjade
|
|
|
|
Requires: OpenSP
|
|
|
|
Requires: openjade
|
|
|
|
Requires: docbook-dtds
|
|
|
|
Requires: docbook-xsl
|
|
|
|
Requires: docbook-dsssl
|
|
|
|
Requires: /usr/bin/sgmlspl
|
|
|
|
Provides: docbook2man-sgmlspl
|
2024-01-05 21:51:42 +01:00
|
|
|
Obsoletes: docbook2man-sgmlspl <= 0.6.14-5mamba
|
2024-01-05 21:51:42 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Shell scripts to manage DocBook documents.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 21:51:43 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 21:51:42 +01:00
|
|
|
%patch2 -p1
|
|
|
|
%patch3 -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6 -p1
|
|
|
|
%patch7 -p1
|
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
|
|
|
%patch10 -p1
|
2024-01-05 21:51:42 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
2024-01-05 21:51:42 +01:00
|
|
|
|
2024-01-05 21:51:42 +01:00
|
|
|
%make -j1 docdir=%{_docdir}
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall docdir=%{_docdir}
|
|
|
|
|
2024-01-05 21:51:43 +01:00
|
|
|
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
|
|
|
|
|
2024-01-05 21:51:42 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/docbook2dvi
|
|
|
|
%{_bindir}/docbook2html
|
|
|
|
%{_bindir}/docbook2man
|
|
|
|
%{_bindir}/docbook2pdf
|
|
|
|
%{_bindir}/docbook2ps
|
|
|
|
%{_bindir}/docbook2rtf
|
|
|
|
%{_bindir}/docbook2tex
|
|
|
|
%{_bindir}/docbook2texi
|
|
|
|
%{_bindir}/docbook2txt
|
2024-01-05 21:51:43 +01:00
|
|
|
%{_bindir}/db2*
|
2024-01-05 21:51:42 +01:00
|
|
|
%{_bindir}/jw
|
|
|
|
%{_bindir}/sgmldiff
|
|
|
|
%{_datadir}/sgml/docbook/utils-%{version}/backends/*
|
|
|
|
%{_datadir}/sgml/docbook/utils-%{version}/docbook-utils.dsl
|
|
|
|
%{_datadir}/sgml/docbook/utils-%{version}/frontends/docbook
|
|
|
|
%{_datadir}/sgml/docbook/utils-%{version}/helpers/docbook2man-*spec.pl
|
|
|
|
%{_datadir}/sgml/docbook/utils-%{version}/helpers/docbook2texi-*spec.pl
|
|
|
|
%dir %{_docdir}/html/docbook-utils-%{version}
|
|
|
|
%{_docdir}/html/docbook-utils-%{version}/*
|
|
|
|
%{_mandir}/man1/docbook2dvi.1.*
|
|
|
|
%{_mandir}/man1/docbook2html.1.*
|
|
|
|
%{_mandir}/man1/docbook2man.1.*
|
|
|
|
%{_mandir}/man1/docbook2pdf.1.*
|
|
|
|
%{_mandir}/man1/docbook2ps.1.*
|
|
|
|
%{_mandir}/man1/docbook2rtf.1.*
|
|
|
|
%{_mandir}/man1/docbook2tex.1.*
|
|
|
|
%{_mandir}/man1/docbook2texi.1.*
|
2024-01-05 21:51:42 +01:00
|
|
|
%{_mandir}/man1/docbook2man-spec.pl.1*
|
|
|
|
%{_mandir}/man1/docbook2texi-spec.pl.1*
|
2024-01-05 21:51:43 +01:00
|
|
|
%{_mandir}/man1/docbook2txt.1*
|
|
|
|
%{_mandir}/man1/db2*.1*
|
2024-01-05 21:51:42 +01:00
|
|
|
%{_mandir}/man1/jw.1*
|
|
|
|
%{_mandir}/man1/sgmldiff.1*
|
|
|
|
%{_mandir}/man7/backend-spec.7*
|
|
|
|
%{_mandir}/man7/frontend-spec.7*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
#ChangeLog NEWS README TODO
|
2024-01-05 21:51:42 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 21:51:43 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 21:51:42 +01:00
|
|
|
* Wed Jun 30 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-7mamba
|
|
|
|
- added fedora patches
|
|
|
|
|
2024-01-05 21:51:42 +01:00
|
|
|
* Tue Jun 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-6mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-05 21:51:42 +01:00
|
|
|
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-5mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-05 21:51:42 +01:00
|
|
|
* Thu Dec 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-4mamba
|
|
|
|
- added patch to work with grep 2.7
|
|
|
|
|
|
|
|
* Wed Jun 02 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-3mamba
|
|
|
|
- added requirement for /usr/bin/sgmlspl
|
|
|
|
|
|
|
|
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-2mamba
|
|
|
|
- added patch for use of /etc/sgml/catalog as catalog
|
|
|
|
|
|
|
|
* Tue Sep 23 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-1mamba
|
|
|
|
- package created by autospec
|