Compare commits
No commits in common. "14765cdabdbf5bf4434baac96376fb88426f8447" and "0b5301615750b3a61984f84cd01e463cd58b0ac5" have entirely different histories.
14765cdabd
...
0b53016157
36
xmlto.spec
36
xmlto.spec
@ -1,17 +1,13 @@
|
||||
#spec from source code(%{name}-%{version}.tar.bz2)
|
||||
|
||||
%bcond_with tex
|
||||
%bcond_with xhtml
|
||||
|
||||
#spec from tarball
|
||||
Name: xmlto
|
||||
Summary: A tool for converting XML files to various formats.
|
||||
Version: 0.0.28
|
||||
Release: 15
|
||||
Release: 12
|
||||
License: GPLv2+
|
||||
URL: https://pagure.io/xmlto/
|
||||
Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: docbook-xsl libxslt util-linux flex gcc
|
||||
BuildRequires: docbook-xsl libxslt util-linux flex
|
||||
|
||||
# We rely entirely on the DocBook XSL stylesheets!
|
||||
Requires: docbook-xsl libxslt docbook-dtds util-linux flex
|
||||
@ -20,7 +16,6 @@ Requires: docbook-xsl libxslt docbook-dtds util-linux flex
|
||||
This is a package for converting XML files to various formats using XSL
|
||||
stylesheets.
|
||||
|
||||
%if %{with tex}
|
||||
%package tex
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
@ -34,9 +29,7 @@ BuildArch: noarch
|
||||
%description tex
|
||||
This subpackage contains xmlto backend scripts which do require
|
||||
PassiveTeX/TeX for functionality.
|
||||
%endif
|
||||
|
||||
%if %{with xhtml}
|
||||
%package xhtml
|
||||
Group: Applications/System
|
||||
License: GPLv2+
|
||||
@ -50,7 +43,6 @@ BuildArch: noarch
|
||||
%description xhtml
|
||||
This subpackage contains xmlto backend scripts for processing
|
||||
xhtml1 source format.
|
||||
%endif
|
||||
|
||||
%package_help
|
||||
|
||||
@ -82,44 +74,22 @@ make check
|
||||
%exclude %dir %{_datadir}/xmlto/format/xhtml1/
|
||||
%exclude %{_datadir}/xmlto/format/xhtml1
|
||||
|
||||
%if %{with tex}
|
||||
%files tex
|
||||
%defattr(-,root,root,-)
|
||||
%{_datadir}/xmlto/format/fo/dvi
|
||||
%{_datadir}/xmlto/format/fo/ps
|
||||
%{_datadir}/xmlto/format/fo/pdf
|
||||
%endif
|
||||
|
||||
%if %{with xhtml}
|
||||
%files xhtml
|
||||
%defattr(-,root,root,-)
|
||||
%dir %{_datadir}/xmlto/format/xhtml1/
|
||||
%{_datadir}/xmlto/format/xhtml1/*
|
||||
%endif
|
||||
|
||||
%files help
|
||||
%doc README NEWS
|
||||
%{_mandir}/*/*
|
||||
|
||||
%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
|
||||
- Type:enhancement
|
||||
- ID:NA
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
version_control: git
|
||||
src_repo: https://pagure.io/xmlto.git
|
||||
tag_prefix:
|
||||
seperator:
|
||||
Loading…
x
Reference in New Issue
Block a user