Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
14765cdabd !5 【轻量级 PR】:修正yaml 文件错误内容
Merge pull request !5 from Monday/N/A
2020-08-29 18:47:47 +08:00
Monday
bed77f64a8 修正yaml 文件错误内容 2020-08-09 20:30:37 +08:00
openeuler-ci-bot
91ef9ebd55 !4 modify yaml file
Merge pull request !4 from Hugel/master
2020-07-03 17:31:52 +08:00
Hugel
330cd82386 modify yaml file 2020-07-03 10:28:16 +08:00
openeuler-ci-bot
cfb5252eac !3 add yaml file
Merge pull request !3 from wangchen/wangchen
2020-06-18 22:35:24 +08:00
wangchen2020
a5bdbc2dbe add yaml file 2020-06-18 09:50:08 +08:00
openeuler-ci-bot
1fe04e5c08 !2 Remove some default installation packages.
Merge pull request !2 from chengquan/developer
2020-03-13 14:27:45 +08:00
chengquan
d6cfe774b3 Remove some default installation packages 2020-03-12 15:18:38 +08:00
chengquan
7bc63cede8 Add necessary BuildRequire 2020-02-17 15:06:41 +08:00
dogsheng
a3968c06cf Package init 2019-12-13 16:15:21 +08:00
2 changed files with 37 additions and 3 deletions

View File

@ -1,13 +1,17 @@
#spec from tarball #spec from source code(%{name}-%{version}.tar.bz2)
%bcond_with tex
%bcond_with xhtml
Name: xmlto Name: xmlto
Summary: A tool for converting XML files to various formats. Summary: A tool for converting XML files to various formats.
Version: 0.0.28 Version: 0.0.28
Release: 12 Release: 15
License: GPLv2+ License: GPLv2+
URL: https://pagure.io/xmlto/ URL: https://pagure.io/xmlto/
Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2 Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
BuildRequires: docbook-xsl libxslt util-linux flex BuildRequires: docbook-xsl libxslt util-linux flex gcc
# We rely entirely on the DocBook XSL stylesheets! # We rely entirely on the DocBook XSL stylesheets!
Requires: docbook-xsl libxslt docbook-dtds util-linux flex Requires: docbook-xsl libxslt docbook-dtds util-linux flex
@ -16,6 +20,7 @@ Requires: docbook-xsl libxslt docbook-dtds util-linux flex
This is a package for converting XML files to various formats using XSL This is a package for converting XML files to various formats using XSL
stylesheets. stylesheets.
%if %{with tex}
%package tex %package tex
Group: Applications/System Group: Applications/System
License: GPLv2+ License: GPLv2+
@ -29,7 +34,9 @@ BuildArch: noarch
%description tex %description tex
This subpackage contains xmlto backend scripts which do require This subpackage contains xmlto backend scripts which do require
PassiveTeX/TeX for functionality. PassiveTeX/TeX for functionality.
%endif
%if %{with xhtml}
%package xhtml %package xhtml
Group: Applications/System Group: Applications/System
License: GPLv2+ License: GPLv2+
@ -43,6 +50,7 @@ BuildArch: noarch
%description xhtml %description xhtml
This subpackage contains xmlto backend scripts for processing This subpackage contains xmlto backend scripts for processing
xhtml1 source format. xhtml1 source format.
%endif
%package_help %package_help
@ -74,22 +82,44 @@ make check
%exclude %dir %{_datadir}/xmlto/format/xhtml1/ %exclude %dir %{_datadir}/xmlto/format/xhtml1/
%exclude %{_datadir}/xmlto/format/xhtml1 %exclude %{_datadir}/xmlto/format/xhtml1
%if %{with tex}
%files tex %files tex
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_datadir}/xmlto/format/fo/dvi %{_datadir}/xmlto/format/fo/dvi
%{_datadir}/xmlto/format/fo/ps %{_datadir}/xmlto/format/fo/ps
%{_datadir}/xmlto/format/fo/pdf %{_datadir}/xmlto/format/fo/pdf
%endif
%if %{with xhtml}
%files xhtml %files xhtml
%defattr(-,root,root,-) %defattr(-,root,root,-)
%dir %{_datadir}/xmlto/format/xhtml1/ %dir %{_datadir}/xmlto/format/xhtml1/
%{_datadir}/xmlto/format/xhtml1/* %{_datadir}/xmlto/format/xhtml1/*
%endif
%files help %files help
%doc README NEWS %doc README NEWS
%{_mandir}/*/* %{_mandir}/*/*
%changelog %changelog
* Thu Mar 12 2020 chengquan<chengquan3@huawei.com> - 0.0.28-15
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Remove some default installation packages
* Mon Feb 17 2020 chengquan<chengquan3@huawei.com> - 0.0.28-14
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:Add necessary BuildRequire
* Wed Dec 4 2019 shenyangyang<shenyangyang4@huawei.com> - 0.0.28-13
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:revise comments
* Sat Sep 21 2019 shenyangyang<shenyangyang4@huawei.com> - 0.0.28-12 * Sat Sep 21 2019 shenyangyang<shenyangyang4@huawei.com> - 0.0.28-12
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA

4
xmlto.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: git
src_repo: https://pagure.io/xmlto.git
tag_prefix:
seperator: