Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a5ff121ddd
!17 [sync] PR-14: 添加db2x_xsltproc -h -v选项的显示
From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2023-03-16 07:53:22 +00:00
cherry530
e68a03f4f8 Add db2x_xsltproc -h and -v options.
Signed-off-by: cherry530 <xuping33@huawei.com>
(cherry picked from commit a3f45c12a13e4e61fb0498016beb468a685063ef)
2023-02-13 15:48:16 +08:00
openeuler-ci-bot
e557ee0241 !12 增加构建依赖gcc
From: @bzg1107
Reviewed-by: @small_leek
Signed-off-by: @small_leek
2021-06-02 14:30:49 +08:00
baizg1107
c44fd8b3ad add build requires 2021-06-02 11:08:57 +08:00
openeuler-ci-bot
f57fed0ba1 !6 delete /sbin/install-info in %post and %preun
From: @chengzihan2
Reviewed-by: @jimmy_hero
Signed-off-by: @jimmy_hero
2020-09-25 18:48:14 +08:00
chengzihan2
b51985634a delete /sbin/install-info in %post and %preun 2020-09-25 17:55:45 +08:00
openeuler-ci-bot
008f417b7f !4 add yaml file
Merge pull request !4 from Captain.Wei/master
2020-05-09 19:33:07 +08:00
Captain Wei
b2d7800a0b add yaml file 2020-05-09 16:58:10 +08:00
openeuler-ci-bot
64e7b572c7 !2 Architecture select
Merge pull request !2 from 严志华/master
2019-12-28 14:03:09 +08:00
yanzh_h
d7a2dbf615 Architecture select 2019-12-28 11:39:49 +08:00
4 changed files with 39 additions and 10 deletions

View 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
View File

@ -0,0 +1,6 @@
<constraints>
<linux><version>
<min>4.0</min>
</version></linux>
</constraints>

View File

@ -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
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: Distrotech/docbook2X
tag_prefix: ^
seperator: .