Compare commits
10 Commits
181c9ea8ed
...
d80cce0afc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d80cce0afc | ||
|
|
a08f0bc337 | ||
|
|
d3252ac1a5 | ||
|
|
b51985634a | ||
|
|
008f417b7f | ||
|
|
b2d7800a0b | ||
|
|
64e7b572c7 | ||
|
|
d7a2dbf615 | ||
|
|
6a43eb8b41 | ||
|
|
feaf925a39 |
15
Add-db2x_xsltproc-h-and-v-options.patch
Normal file
15
Add-db2x_xsltproc-h-and-v-options.patch
Normal file
@ -0,0 +1,15 @@
|
||||
diff --git a/perl/db2x_xsltproc.pl b/perl/db2x_xsltproc.pl
|
||||
index 34fa2a1..065a1d4 100755
|
||||
--- a/perl/db2x_xsltproc.pl
|
||||
+++ b/perl/db2x_xsltproc.pl
|
||||
@@ -96,8 +96,8 @@ if(!GetOptions($options,
|
||||
'profile|P',
|
||||
'xslt-processor|X=s',
|
||||
|
||||
- 'help', \&options_help,
|
||||
- 'version', \&options_version))
|
||||
+ 'help|h', \&options_help,
|
||||
+ 'version|v', \&options_version))
|
||||
{
|
||||
print STDERR "Try \"$0 --help\" for more information.\n";
|
||||
exit 1;
|
||||
6
_constraints
Normal file
6
_constraints
Normal file
@ -0,0 +1,6 @@
|
||||
<constraints>
|
||||
<linux><version>
|
||||
<min>4.0</min>
|
||||
</version></linux>
|
||||
</constraints>
|
||||
|
||||
BIN
docbook2X-0.8.8.tar.gz
Normal file
BIN
docbook2X-0.8.8.tar.gz
Normal file
Binary file not shown.
66
docbook2X.spec
Normal file
66
docbook2X.spec
Normal file
@ -0,0 +1,66 @@
|
||||
Name: docbook2X
|
||||
Version: 0.8.8
|
||||
Release: 34
|
||||
Summary: Convert docbook into man and Texinfo
|
||||
License: MIT
|
||||
URL: http://docbook2x.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
|
||||
|
||||
Patch0: Add-db2x_xsltproc-h-and-v-options.patch
|
||||
|
||||
BuildRequires: perl-interpreter perl-generators libxslt openjade texinfo opensp
|
||||
BuildRequires: perl(XML::SAX::ParserFactory)
|
||||
Requires: libxslt openjade texinfo opensp perl(Exporter) perl(IO::File)
|
||||
Requires: perl(Text::Wrap) perl(vars) perl(XML::SAX::ParserFactory)
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Requires(post): texinfo
|
||||
Requires(preun): texinfo
|
||||
|
||||
%description
|
||||
docbook2X is a software package that converts DocBook documents into the
|
||||
traditional Unix man page format and the GNU Texinfo format.
|
||||
|
||||
%package help
|
||||
Summary: Documention for docboox2X package
|
||||
|
||||
%description help
|
||||
Documention for docbook2X package.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --program-transform-name='s/docbook2/db2x_docbook2/'
|
||||
%make_build
|
||||
rm -rf __dist_html
|
||||
install -d __dist_html/html
|
||||
install -p doc/*.html __dist_html/html
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%files
|
||||
%doc COPYING AUTHORS
|
||||
%{_bindir}/*
|
||||
%dir %{_datadir}/docbook2X
|
||||
%dir %{_datadir}/docbook2X/charmaps
|
||||
%dir %{_datadir}/docbook2X/dtd
|
||||
%dir %{_datadir}/docbook2X/xslt
|
||||
%{_datadir}/docbook2X/*
|
||||
%exclude %{_datadir}/doc/
|
||||
%exclude %{_infodir}/dir
|
||||
|
||||
%files help
|
||||
%doc README THANKS __dist_html/html/
|
||||
%{_mandir}/man1/*.1*
|
||||
%{_infodir}/docbook2*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 13 2023 xu_ping <xuping3@h-pattners.com> - 0.8.8-34
|
||||
- Add db2x_xsltproc -h and -v options.
|
||||
|
||||
* Fri Sep 25 2020 chengzihan <chengzihan2@huawei.com> - 0.8.8-33
|
||||
- delete /sbin/install-info in %post and %preun
|
||||
|
||||
* Fri Nov 29 2019 zhujunhao <zhujunhao5@huawei.com> - 0.8.8-32
|
||||
- Package init
|
||||
4
docbook2X.yaml
Normal file
4
docbook2X.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: Distrotech/docbook2X
|
||||
tag_prefix: ^
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user