use the package name as program suite in man pages

This commit is contained in:
David Tardon 2016-03-03 07:56:56 +01:00
parent f230894d70
commit d84356d921

View File

@ -68,7 +68,7 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
# generate and install man pages
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
for tool in vsd2raw vss2text vsd2xhtml vss2raw vsd2text vss2xhtml; do
help2man -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
done
install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1