auto-import docbook-utils-0.6.9-1 from docbook-utils-0.6.9-1.src.rpm
This commit is contained in:
parent
86db8ea8e1
commit
f00d7fd571
@ -1 +1 @@
|
|||||||
docbook-utils-0.6.tar.gz
|
docbook-utils-0.6.9.tar.gz
|
||||||
|
7
db2html
7
db2html
@ -1,7 +1,10 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
|
|
||||||
|
ADMON_GRAPHICS=/usr/share/sgml/docbook/dsssl-stylesheets/images/*.gif
|
||||||
|
|
||||||
output=docbook2html-dir
|
output=docbook2html-dir
|
||||||
skip=0
|
skip=0
|
||||||
for arg in $*
|
for arg in "$@"
|
||||||
do
|
do
|
||||||
if [ $skip -gt 0 ]
|
if [ $skip -gt 0 ]
|
||||||
then
|
then
|
||||||
@ -26,4 +29,6 @@ then
|
|||||||
mv ${output} ${output}.junk
|
mv ${output} ${output}.junk
|
||||||
fi
|
fi
|
||||||
mkdir ${output}
|
mkdir ${output}
|
||||||
|
mkdir ${output}/stylesheet-images
|
||||||
|
cp ${ADMON_GRAPHICS} ${output}/stylesheet-images
|
||||||
jw -f docbook -b html -o ${output} "$@"
|
jw -f docbook -b html -o ${output} "$@"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
Name: docbook-utils
|
Name: docbook-utils
|
||||||
Version: 0.6
|
Version: 0.6.9
|
||||||
Release: 13.2p
|
Release: 1
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
|
|
||||||
Summary: Shell scripts to manage DocBook documents.
|
Summary: Shell scripts to manage DocBook documents.
|
||||||
|
|
||||||
License: GPL
|
License: GPL
|
||||||
|
|
||||||
Requires: docbook-style-dsssl >= 1.49
|
Requires: docbook-style-dsssl >= 1.64-2
|
||||||
Requires: perl-SGMLSpm >= 1.03ii
|
Requires: perl-SGMLSpm >= 1.03ii
|
||||||
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}
|
BuildRoot: %{_tmppath}/%{name}-%{version}
|
||||||
@ -20,7 +20,7 @@ Patch0: docbook-utils-0.6-..patch
|
|||||||
Patch1: jw-custom.patch
|
Patch1: jw-custom.patch
|
||||||
Patch2: docbook-utils-0.6-@.patch
|
Patch2: docbook-utils-0.6-@.patch
|
||||||
Patch3: docbook-utils-0.6-pdf.patch
|
Patch3: docbook-utils-0.6-pdf.patch
|
||||||
Patch4: docbook-utils-0.6-perl.patch
|
Patch4: docbook-utils-0.6.9-nochunks.patch
|
||||||
|
|
||||||
Obsoletes: stylesheets
|
Obsoletes: stylesheets
|
||||||
|
|
||||||
@ -45,10 +45,15 @@ This package contains a script to convert DocBook documents to PDF.
|
|||||||
%patch1 -p1 -b .custom
|
%patch1 -p1 -b .custom
|
||||||
%patch2 -p1 -b .@
|
%patch2 -p1 -b .@
|
||||||
%patch3 -p1 -b .pdf
|
%patch3 -p1 -b .pdf
|
||||||
%patch4 -p1 -b .perl
|
%patch4 -p1 -b .nochunks
|
||||||
|
|
||||||
|
|
||||||
%Build
|
%Build
|
||||||
|
|
||||||
|
# Delinkify COPYING
|
||||||
|
cat COPYING > COPYING..
|
||||||
|
mv -f COPYING.. COPYING
|
||||||
|
|
||||||
./configure --prefix=%{_prefix} --mandir=%{_mandir}
|
./configure --prefix=%{_prefix} --mandir=%{_mandir}
|
||||||
make
|
make
|
||||||
|
|
||||||
@ -56,7 +61,7 @@ make
|
|||||||
%Install
|
%Install
|
||||||
export DESTDIR=$RPM_BUILD_ROOT
|
export DESTDIR=$RPM_BUILD_ROOT
|
||||||
rm -rf $DESTDIR
|
rm -rf $DESTDIR
|
||||||
make install prefix=$DESTDIR/%{_prefix} mandir=$DESTDIR/%{_mandir} docdir=/usr/share/doc
|
make install prefix=%{_prefix} mandir=%{_mandir} docdir=$DESTDIR/usr/share/doc
|
||||||
for util in dvi html pdf ps rtf
|
for util in dvi html pdf ps rtf
|
||||||
do
|
do
|
||||||
ln -s docbook2$util $RPM_BUILD_ROOT/usr/bin/db2$util
|
ln -s docbook2$util $RPM_BUILD_ROOT/usr/bin/db2$util
|
||||||
@ -98,13 +103,22 @@ rm -rf $DESTDIR
|
|||||||
/usr/bin/db2pdf
|
/usr/bin/db2pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Apr 26 2002 Tim Waugh <twaugh@redhat.com> 0.6-13.2
|
* Tue Jul 3 2001 Tim Waugh <twaugh@redhat.com> 0.6.9-1
|
||||||
- Make sgmldiff work.
|
- 0.6.9.
|
||||||
|
- With --nochunks, send output to a file instead of stdout (bug #46913).
|
||||||
|
|
||||||
* Thu Apr 11 2002 Tim Waugh <twaugh@redhat.com> 0.6-13.1
|
* Mon Jun 4 2001 Tim Waugh <twaugh@redhat.com> 0.6.8-2
|
||||||
- Disable use-id-as-filename in gdp-both.dsl.
|
- Make sure COPYING isn't installed as a symlink.
|
||||||
|
|
||||||
* Sat Mar 24 2001 Tim Waugh <twaugh@redhat.com>
|
* Mon May 21 2001 Tim Waugh <twaugh@redhat.com> 0.6.8-1
|
||||||
|
- 0.6.8.
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
|
* Sat Mar 24 2001 Tim Waugh <twaugh@redhat.com> 0.6-13
|
||||||
- Fix man pages (bug #32820).
|
- Fix man pages (bug #32820).
|
||||||
|
|
||||||
* Mon Mar 12 2001 Tim Waugh <twaugh@redhat.com>
|
* Mon Mar 12 2001 Tim Waugh <twaugh@redhat.com>
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
;;# and rename it cygnus-both.dsl #
|
;;# and rename it cygnus-both.dsl #
|
||||||
;;# #
|
;;# #
|
||||||
;;# This is Version 1.0-4 #
|
;;# This is Version 1.0-4 #
|
||||||
;;# disable use-id-as-filename #
|
|
||||||
;;#######################################################################
|
;;#######################################################################
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -571,7 +570,7 @@
|
|||||||
|
|
||||||
;;Use element ids as filenames?
|
;;Use element ids as filenames?
|
||||||
(define %use-id-as-filename%
|
(define %use-id-as-filename%
|
||||||
#f)
|
#t)
|
||||||
|
|
||||||
|
|
||||||
;;=========================
|
;;=========================
|
||||||
|
Loading…
Reference in New Issue
Block a user