46 lines
1.1 KiB
RPMSpec
46 lines
1.1 KiB
RPMSpec
|
|
Name: xmltoman
|
||
|
|
Version: 0.4
|
||
|
|
Release: 19
|
||
|
|
Summary: Scripts to convert xml to man pages in groff format or html
|
||
|
|
License: GPLv2+
|
||
|
|
URL: http://sourceforge.net/projects/xmltoman/
|
||
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
||
|
|
Patch0001: xmltoman-0.3-timestamps.patch
|
||
|
|
BuildRequires: perl-generators perl(XML::Parser)
|
||
|
|
BuildArch: noarch
|
||
|
|
|
||
|
|
%description
|
||
|
|
xmltoman and xmlmantohtml are two small scripts to convert XML to man pages
|
||
|
|
in groff format or HTML. It features the usual man page items such as
|
||
|
|
'description', 'options', 'see also', etc.
|
||
|
|
|
||
|
|
%package help
|
||
|
|
Summary: This package contains help documents
|
||
|
|
|
||
|
|
%description help
|
||
|
|
Files for help with xmltoman
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -p1
|
||
|
|
|
||
|
|
%build
|
||
|
|
%make_build
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install PREFIX=%{_prefix}
|
||
|
|
install -p -D xmlmantohtml.1 %{buildroot}%{_mandir}/man1/xmlmantohtml.1
|
||
|
|
install -p -D xmltoman.1 %{buildroot}%{_mandir}/man1/xmltoman.1
|
||
|
|
|
||
|
|
%files
|
||
|
|
%doc COPYING README
|
||
|
|
%{_bindir}/{xmltoman,xmlmantohtml}
|
||
|
|
%{_datadir}/xmltoman
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%{_mandir}/*/*
|
||
|
|
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Sat Nov 30 2019 wangyiru <wangyiru1@huawei.com> - 0.4-19
|
||
|
|
- Package init
|