- update to 0.8.8
This commit is contained in:
parent
a59358212b
commit
96aed8de51
@ -1 +1 @@
|
||||
docbook2X-0.8.7.tar.gz
|
||||
docbook2X-0.8.8.tar.gz
|
||||
|
@ -1,20 +1,20 @@
|
||||
Name: docbook2X
|
||||
Version: 0.8.7
|
||||
Release: 2%{?dist}
|
||||
Version: 0.8.8
|
||||
Release: 1%{?dist}
|
||||
Summary: Convert docbook into man and Texinfo
|
||||
|
||||
Group: Applications/Text
|
||||
License: BSD
|
||||
URL: http://docbook2x.sourceforge.net/
|
||||
Source0: http://ovh.dl.sourceforge.net/sourceforge/docbook2x/docbook2X-%{version}.tar.gz
|
||||
Source0: http://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: libxslt openjade
|
||||
BuildRequires: perl libxslt openjade texinfo %{_bindir}/sgml2xml
|
||||
# required by the perl -c calls during build
|
||||
BuildRequires: perl(XML::SAX::ParserFactory)
|
||||
# rpmlint isn't happy with libxslt, but we need xsltproc
|
||||
Requires: libxslt openjade texinfo
|
||||
Requires: libxslt openjade texinfo %{_bindir}/sgml2xml
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires(post): /sbin/install-info
|
||||
Requires(preun): /sbin/install-info
|
||||
@ -31,19 +31,16 @@ documents.
|
||||
# to avoid clashing with docbook2* from docbook-utils
|
||||
%configure --program-transform-name='s/docbook2/db2x_docbook2/'
|
||||
make %{?_smp_mflags}
|
||||
mkdir html
|
||||
cp doc/*.html html
|
||||
rm -rf __fedora_html
|
||||
mkdir -p __fedora_html/html
|
||||
cp -p doc/*.html __fedora_html/html
|
||||
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -c -p'
|
||||
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
|
||||
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
||||
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name 'perllocal.pod' -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
||||
|
||||
|
||||
%clean
|
||||
@ -59,7 +56,7 @@ fi
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING README THANKS AUTHORS html/
|
||||
%doc COPYING README THANKS AUTHORS __fedora_html/html/
|
||||
%{_bindir}/db2x_manxml
|
||||
%{_bindir}/db2x_texixml
|
||||
%{_bindir}/db2x_xsltproc
|
||||
@ -67,12 +64,22 @@ fi
|
||||
%{_bindir}/db2x_docbook2texi
|
||||
%{_bindir}/sgml2xml-isoent
|
||||
%{_bindir}/utf8trans
|
||||
%{_datadir}/docbook2X/
|
||||
%{_mandir}/man1/*
|
||||
%dir %{_datadir}/docbook2X
|
||||
%{_datadir}/docbook2X/VERSION
|
||||
%dir %{_datadir}/docbook2X/charmaps
|
||||
%dir %{_datadir}/docbook2X/dtd
|
||||
%dir %{_datadir}/docbook2X/xslt
|
||||
%{_datadir}/docbook2X/charmaps/*
|
||||
%{_datadir}/docbook2X/dtd/*
|
||||
%{_datadir}/docbook2X/xslt/*
|
||||
%{_mandir}/man1/*.1*
|
||||
%{_infodir}/docbook2*
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Aug 8 2007 Patrice Dumas <pertusus@free.fr> 0.8.8-1
|
||||
- update to 0.8.8
|
||||
|
||||
* Mon Sep 11 2006 Patrice Dumas <pertusus@free.fr> 0.8.7-2
|
||||
- correct the perl-XML-SAX to be perl(XML::SAX::ParserFactory)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user