docbook-utils/docbook-utils.spec

108 lines
3.1 KiB
RPMSpec
Raw Normal View History

Name: docbook-utils
Version: 0.6.14
Release: 6mamba
Summary: Shell scripts to manage DocBook documents
Group: Applications/Publishing
Vendor: openmamba
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
Patch0: %{name}-0.6.14-sgml_catalog.patch
Patch1: %{name}-0.6.14-grep-2.7.patch
License: GPL
## AUTOBUILDREQ-BEGIN
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
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
%patch1 -p1
%build
%configure
%make -j1 docdir=%{_docdir}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall docdir=%{_docdir}
%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
%{_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.*
%{_mandir}/man1/docbook2man-spec.pl.1*
%{_mandir}/man1/docbook2texi-spec.pl.1*
%{_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
%changelog
* Tue Jun 01 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-6mamba
- rebuilt
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.14-5mamba
- rebuilt
* 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