2006-02-09 21:00:11 +00:00
|
|
|
Name: docbook2X
|
2007-08-08 16:25:33 +00:00
|
|
|
Version: 0.8.8
|
2017-07-26 06:24:56 +00:00
|
|
|
Release: 27%{?dist}
|
2006-02-09 21:00:11 +00:00
|
|
|
Summary: Convert docbook into man and Texinfo
|
|
|
|
|
|
|
|
Group: Applications/Text
|
2012-11-05 11:59:09 +00:00
|
|
|
License: MIT
|
2006-02-09 21:00:11 +00:00
|
|
|
URL: http://docbook2x.sourceforge.net/
|
2007-08-08 16:25:33 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
|
2006-02-09 21:00:11 +00:00
|
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2017-07-12 12:13:01 +00:00
|
|
|
BuildRequires: perl-interpreter perl-generators libxslt openjade texinfo %{_bindir}/sgml2xml
|
2006-04-10 17:41:01 +00:00
|
|
|
# required by the perl -c calls during build
|
2006-09-10 22:55:58 +00:00
|
|
|
BuildRequires: perl(XML::SAX::ParserFactory)
|
2006-02-09 21:00:11 +00:00
|
|
|
# rpmlint isn't happy with libxslt, but we need xsltproc
|
2007-08-08 16:25:33 +00:00
|
|
|
Requires: libxslt openjade texinfo %{_bindir}/sgml2xml
|
2006-02-09 21:00:11 +00:00
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
2013-08-01 11:55:24 +00:00
|
|
|
# Required by bin/* scripts, who does know why rpmbuild does not generate
|
|
|
|
# dependencies automatically:
|
|
|
|
Requires: perl(Exporter)
|
|
|
|
Requires: perl(IO::File)
|
|
|
|
Requires: perl(Text::Wrap)
|
|
|
|
Requires: perl(vars)
|
|
|
|
Requires: perl(XML::SAX::ParserFactory)
|
|
|
|
|
2006-02-09 21:00:11 +00:00
|
|
|
Requires(post): /sbin/install-info
|
|
|
|
Requires(preun): /sbin/install-info
|
|
|
|
|
|
|
|
%description
|
|
|
|
docbook2X converts DocBook documents into man pages and Texinfo
|
|
|
|
documents.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
# to avoid clashing with docbook2* from docbook-utils
|
|
|
|
%configure --program-transform-name='s/docbook2/db2x_docbook2/'
|
|
|
|
make %{?_smp_mflags}
|
2007-12-16 22:19:14 +00:00
|
|
|
rm -rf __dist_html
|
|
|
|
mkdir -p __dist_html/html
|
|
|
|
cp -p doc/*.html __dist_html/html
|
2006-02-09 21:00:11 +00:00
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-08-08 16:25:33 +00:00
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -c -p'
|
2006-02-09 21:00:11 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_datadir}/doc/
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2007-12-16 22:19:14 +00:00
|
|
|
%doc COPYING README THANKS AUTHORS __dist_html/html/
|
2006-02-09 21:00:11 +00:00
|
|
|
%{_bindir}/db2x_manxml
|
|
|
|
%{_bindir}/db2x_texixml
|
|
|
|
%{_bindir}/db2x_xsltproc
|
|
|
|
%{_bindir}/db2x_docbook2man
|
|
|
|
%{_bindir}/db2x_docbook2texi
|
|
|
|
%{_bindir}/sgml2xml-isoent
|
|
|
|
%{_bindir}/utf8trans
|
2007-08-08 16:25:33 +00:00
|
|
|
%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*
|
2006-02-09 21:00:11 +00:00
|
|
|
%{_infodir}/docbook2*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2017-07-26 06:24:56 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-27
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-06-05 12:15:29 +00:00
|
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 0.8.8-26
|
|
|
|
- Perl 5.26 rebuild
|
|
|
|
|
2017-02-10 08:31:44 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-05-16 03:00:52 +00:00
|
|
|
* Mon May 16 2016 Jitka Plesnikova <jplesnik@redhat.com> - 0.8.8-24
|
|
|
|
- Perl 5.24 rebuild
|
|
|
|
|
2016-02-03 18:53:25 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 04:17:07 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-06 13:03:09 +00:00
|
|
|
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.8.8-21
|
|
|
|
- Perl 5.22 rebuild
|
|
|
|
|
2014-08-28 18:38:59 +00:00
|
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.8.8-20
|
|
|
|
- Perl 5.20 rebuild
|
|
|
|
|
2014-08-16 09:33:42 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 07:49:14 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 07:37:37 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-08-01 11:55:24 +00:00
|
|
|
* Thu Aug 01 2013 Petr Pisar <ppisar@redhat.com> - 0.8.8-16
|
|
|
|
- Declare script dependencies explicitly
|
|
|
|
|
2013-07-24 00:17:32 +00:00
|
|
|
* Wed Jul 24 2013 Petr Pisar <ppisar@redhat.com> - 0.8.8-15
|
|
|
|
- Perl 5.18 rebuild
|
|
|
|
|
2013-02-13 19:56:19 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-11-05 11:59:09 +00:00
|
|
|
* Mon Nov 05 2012 Caolán McNamara <caolanm@redhat.com> - 0.8.8-13
|
|
|
|
- Resolves: rhbz#872580 license text is MIT-alike rather than BSD
|
|
|
|
which fits with the upstream web-site declaration
|
|
|
|
|
2012-07-18 21:07:04 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-12 11:18:07 +00:00
|
|
|
* Tue Jun 12 2012 Petr Pisar <ppisar@redhat.com> - 0.8.8-11
|
|
|
|
- Perl 5.16 rebuild
|
|
|
|
|
2012-01-13 00:54:52 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-07-19 19:25:50 +00:00
|
|
|
* Tue Jul 19 2011 Petr Sabata <contyk@redhat.com> - 0.8.8-9
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
2011-02-08 14:35:51 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-06-01 14:36:20 +00:00
|
|
|
* Tue Jun 01 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.8.8-7
|
|
|
|
- Mass rebuild with perl-5.12.0
|
|
|
|
|
2009-12-04 02:05:09 +00:00
|
|
|
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 0.8.8-6
|
|
|
|
- rebuild against perl 5.10.1
|
|
|
|
|
2009-07-24 20:26:28 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-24 12:22:25 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.8-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-03-07 01:52:26 +00:00
|
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.8.8-3
|
|
|
|
Rebuild for new perl
|
|
|
|
|
2008-02-19 18:09:43 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8.8-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-08-08 16:25:33 +00:00
|
|
|
* Wed Aug 8 2007 Patrice Dumas <pertusus@free.fr> 0.8.8-1
|
|
|
|
- update to 0.8.8
|
|
|
|
|
2006-09-10 22:55:58 +00:00
|
|
|
* Mon Sep 11 2006 Patrice Dumas <pertusus@free.fr> 0.8.7-2
|
|
|
|
- correct the perl-XML-SAX to be perl(XML::SAX::ParserFactory)
|
|
|
|
|
|
|
|
* Thu May 18 2006 Patrice Dumas <pertusus@free.fr> - 0.8.7-1
|
2006-05-18 13:45:28 +00:00
|
|
|
- update to 0.8.7
|
|
|
|
|
2006-09-10 22:55:58 +00:00
|
|
|
* Fri Feb 17 2006 Patrice Dumas <pertusus@free.fr> - 0.8.6-1
|
2006-04-10 17:41:01 +00:00
|
|
|
- update to 0.8.6
|
|
|
|
- drop patch as SGMLSpl.pm is included in the scripts, not distributed
|
|
|
|
- BR perl-XML-SAX (close 188481)
|
|
|
|
|
2006-09-10 22:55:58 +00:00
|
|
|
* Fri Feb 17 2006 Patrice Dumas <pertusus@free.fr> - 0.8.5-2
|
2006-02-17 22:41:35 +00:00
|
|
|
- rebuild for fc5
|
|
|
|
|
2006-09-10 22:55:58 +00:00
|
|
|
* Fri Feb 3 2006 Patrice Dumas <pertusus@free.fr> - 0.8.5-1
|
2006-02-09 21:00:11 +00:00
|
|
|
- FE submission
|