Compare commits
10 Commits
6a43eb8b41
...
a5ff121ddd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a5ff121ddd | ||
|
|
e68a03f4f8 | ||
|
|
e557ee0241 | ||
|
|
c44fd8b3ad | ||
|
|
f57fed0ba1 | ||
|
|
b51985634a | ||
|
|
008f417b7f | ||
|
|
b2d7800a0b | ||
|
|
64e7b572c7 | ||
|
|
d7a2dbf615 |
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>
|
||||
|
||||
@ -1,11 +1,14 @@
|
||||
Name: docbook2X
|
||||
Version: 0.8.8
|
||||
Release: 32
|
||||
Release: 35
|
||||
Summary: Convert docbook into man and Texinfo
|
||||
License: MIT
|
||||
URL: http://docbook2x.sourceforge.net/
|
||||
Source0: http://downloads.sourceforge.net/docbook2x/docbook2X-%{version}.tar.gz
|
||||
BuildRequires: perl-interpreter perl-generators libxslt openjade texinfo opensp
|
||||
|
||||
Patch0: Add-db2x_xsltproc-h-and-v-options.patch
|
||||
|
||||
BuildRequires: perl-interpreter perl-generators libxslt openjade texinfo opensp gcc
|
||||
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)
|
||||
@ -36,14 +39,6 @@ install -p doc/*.html __dist_html/html
|
||||
%install
|
||||
%make_install
|
||||
|
||||
%post
|
||||
/sbin/install-info %{_infodir}/docbook2X.info %{_infodir}/dir || :
|
||||
|
||||
%preun
|
||||
if [ $1 = 0 ]; then
|
||||
/sbin/install-info --delete %{_infodir}/docbook2X.info %{_infodir}/dir || :
|
||||
fi
|
||||
|
||||
%files
|
||||
%doc COPYING AUTHORS
|
||||
%{_bindir}/*
|
||||
@ -61,5 +56,14 @@ fi
|
||||
%{_infodir}/docbook2*
|
||||
|
||||
%changelog
|
||||
* Mon Feb 13 2023 xu_ping <xuping33@h-partners.com> - 0.8.8-35
|
||||
- Add db2x_xsltproc -h and -v options.
|
||||
|
||||
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 0.8.8-34
|
||||
- Add gcc in BuildRequires
|
||||
|
||||
* 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