2004-09-09 04:19:11 +00:00
|
|
|
Name: docbook-utils
|
2004-09-09 04:20:22 +00:00
|
|
|
Version: 0.6.9
|
2004-09-09 04:20:25 +00:00
|
|
|
Release: 2
|
2004-09-09 04:19:11 +00:00
|
|
|
Group: Applications/Text
|
|
|
|
|
2004-09-09 04:20:25 +00:00
|
|
|
Summary: Shell scripts for managing DocBook documents.
|
2004-09-09 04:19:11 +00:00
|
|
|
|
|
|
|
License: GPL
|
|
|
|
|
2004-09-09 04:20:22 +00:00
|
|
|
Requires: docbook-style-dsssl >= 1.64-2
|
2004-09-09 04:19:11 +00:00
|
|
|
Requires: perl-SGMLSpm >= 1.03ii
|
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
Source0: %{name}-%{version}.tar.gz
|
|
|
|
Source1: db2html
|
|
|
|
Source2: gdp-both.dsl
|
|
|
|
Patch0: docbook-utils-0.6-..patch
|
|
|
|
Patch1: jw-custom.patch
|
|
|
|
Patch2: docbook-utils-0.6-@.patch
|
|
|
|
Patch3: docbook-utils-0.6-pdf.patch
|
2004-09-09 04:20:22 +00:00
|
|
|
Patch4: docbook-utils-0.6.9-nochunks.patch
|
2004-09-09 04:19:11 +00:00
|
|
|
|
|
|
|
Obsoletes: stylesheets
|
|
|
|
|
|
|
|
|
|
|
|
%Description
|
2004-09-09 04:20:25 +00:00
|
|
|
This package contains scripts are for easy conversion from DocBook
|
|
|
|
files to other formats (for example, HTML, RTF, and PostScript), and
|
|
|
|
for comparing SGML files.
|
2004-09-09 04:19:11 +00:00
|
|
|
|
|
|
|
%package pdf
|
|
|
|
Requires: tetex-dvips jadetex >= 2.5
|
|
|
|
Requires: docbook-utils = %{version}
|
|
|
|
Group: Applications/Text
|
|
|
|
Obsoletes: stylesheets-db2pdf
|
2004-09-09 04:20:25 +00:00
|
|
|
Summary: A script for converting DocBook documents to PDF format.
|
2004-09-09 04:19:11 +00:00
|
|
|
|
|
|
|
%description pdf
|
2004-09-09 04:20:25 +00:00
|
|
|
This package contains a script for converting DocBook documents to
|
|
|
|
PDF format.
|
2004-09-09 04:19:11 +00:00
|
|
|
|
|
|
|
%Prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b ..
|
|
|
|
%patch1 -p1 -b .custom
|
|
|
|
%patch2 -p1 -b .@
|
|
|
|
%patch3 -p1 -b .pdf
|
2004-09-09 04:20:22 +00:00
|
|
|
%patch4 -p1 -b .nochunks
|
2004-09-09 04:19:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
%Build
|
2004-09-09 04:20:22 +00:00
|
|
|
|
|
|
|
# Delinkify COPYING
|
|
|
|
cat COPYING > COPYING..
|
|
|
|
mv -f COPYING.. COPYING
|
|
|
|
|
2004-09-09 04:19:11 +00:00
|
|
|
./configure --prefix=%{_prefix} --mandir=%{_mandir}
|
|
|
|
make
|
|
|
|
|
|
|
|
|
|
|
|
%Install
|
|
|
|
export DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm -rf $DESTDIR
|
2004-09-09 04:20:22 +00:00
|
|
|
make install prefix=%{_prefix} mandir=%{_mandir} docdir=$DESTDIR/usr/share/doc
|
2004-09-09 04:19:11 +00:00
|
|
|
for util in dvi html pdf ps rtf
|
|
|
|
do
|
|
|
|
ln -s docbook2$util $RPM_BUILD_ROOT/usr/bin/db2$util
|
|
|
|
ln -s jw.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1/db2$util.1
|
|
|
|
done
|
|
|
|
# db2html is not just a symlink, as it has to create the output directory
|
|
|
|
rm -f $RPM_BUILD_ROOT/usr/bin/db2html
|
|
|
|
install -c -m 775 %{SOURCE1} $RPM_BUILD_ROOT/usr/bin/db2html
|
|
|
|
install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/sgml/docbook/utils-%{version}/docbook-utils.dsl
|
|
|
|
|
|
|
|
%Clean
|
|
|
|
DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
rm -rf $DESTDIR
|
|
|
|
|
|
|
|
|
|
|
|
%Files
|
|
|
|
%defattr (-,root,root)
|
|
|
|
%doc README COPYING TODO
|
|
|
|
/usr/bin/jw
|
|
|
|
/usr/bin/docbook2dvi
|
|
|
|
/usr/bin/docbook2html
|
|
|
|
/usr/bin/docbook2man
|
|
|
|
/usr/bin/docbook2ps
|
|
|
|
/usr/bin/docbook2rtf
|
|
|
|
/usr/bin/docbook2tex
|
|
|
|
/usr/bin/docbook2texi
|
|
|
|
/usr/bin/docbook2txt
|
|
|
|
/usr/bin/db2dvi
|
|
|
|
/usr/bin/db2html
|
|
|
|
/usr/bin/db2ps
|
|
|
|
/usr/bin/db2rtf
|
|
|
|
/usr/bin/sgmldiff
|
|
|
|
/usr/share/sgml/docbook/utils-%{version}
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
%files pdf
|
|
|
|
%defattr (-,root,root)
|
|
|
|
/usr/bin/docbook2pdf
|
|
|
|
/usr/bin/db2pdf
|
|
|
|
|
|
|
|
%changelog
|
2004-09-09 04:20:25 +00:00
|
|
|
* Mon Aug 13 2001 Tim Waugh <twaugh@redhat.com> 0.6.9-2
|
|
|
|
- Larger bottom margin in gdp-both.dsl to fix RTF output (bug #49677).
|
|
|
|
|
2004-09-09 04:20:22 +00:00
|
|
|
* Tue Jul 3 2001 Tim Waugh <twaugh@redhat.com> 0.6.9-1
|
|
|
|
- 0.6.9.
|
|
|
|
- With --nochunks, send output to a file instead of stdout (bug #46913).
|
|
|
|
|
|
|
|
* Mon Jun 4 2001 Tim Waugh <twaugh@redhat.com> 0.6.8-2
|
|
|
|
- Make sure COPYING isn't installed as a symlink.
|
|
|
|
|
|
|
|
* Mon May 21 2001 Tim Waugh <twaugh@redhat.com> 0.6.8-1
|
|
|
|
- 0.6.8.
|
2004-09-09 04:20:11 +00:00
|
|
|
|
2004-09-09 04:20:22 +00:00
|
|
|
* Mon May 21 2001 Tim Waugh <twaugh@redhat.com> 0.6-14
|
|
|
|
- db2html: copy admon graphics to output directory (bug #40143).
|
|
|
|
- Require docbook-style-dsssl 1.64-2 for symbolic link used by db2html.
|
|
|
|
- db2html: handle arguments with spaces better.
|
2004-09-09 04:20:11 +00:00
|
|
|
|
2004-09-09 04:20:22 +00:00
|
|
|
* Sat Mar 24 2001 Tim Waugh <twaugh@redhat.com> 0.6-13
|
2004-09-09 04:19:11 +00:00
|
|
|
- Fix man pages (bug #32820).
|
|
|
|
|
|
|
|
* Mon Mar 12 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Fix argument parsing in docbook2xxx (bug #31518).
|
|
|
|
- Fix argument passing in db2html (bug #31520).
|
|
|
|
- Fix pdf generation (bug #31524).
|
|
|
|
|
|
|
|
* Fri Feb 23 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Allow the use of custom backends and frontends (bug #29067).
|
|
|
|
|
|
|
|
* Fri Feb 16 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Use gdp-both.dsl as the default stylesheet.
|
|
|
|
|
|
|
|
* Mon Feb 12 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- REALLY only create output directory for db2html (duh).
|
|
|
|
- Handle filenames with dots in properly.
|
|
|
|
|
|
|
|
* Sun Feb 11 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Only create output directory for db2html (bug #27092). (docbook2html
|
|
|
|
does not create an output directory in the upstream version, but
|
|
|
|
the compatibility script has been made to do so.)
|
|
|
|
|
|
|
|
* Mon Jan 22 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Move the jadetex requirement to the -pdf subpackage.
|
|
|
|
|
|
|
|
* Tue Jan 16 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Put output files in new directory instead of current directory.
|
|
|
|
|
|
|
|
* Mon Jan 15 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Don't play so many macro games.
|
|
|
|
- Be sure to own utils directory.
|
|
|
|
|
|
|
|
* Fri Jan 12 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Split off docbook2pdf into subpackage for dependency reasons.
|
|
|
|
|
|
|
|
* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Change group.
|
|
|
|
- Use %%{_mandir} and %%{_prefix}.
|
|
|
|
- db2* symlinks.
|
|
|
|
- Obsolete stylesheets (and -db2pdf).
|
|
|
|
- Change Copyright: to License:.
|
|
|
|
- Remove Packager: line.
|
|
|
|
- Reword description.
|
|
|
|
|
|
|
|
* Mon Jan 08 2001 Tim Waugh <twaugh@redhat.com>
|
|
|
|
- Based on Eric Bischoff's new-trials packages.
|