use the package name as program suite in man pages

f41
David Tardon 9 years ago
parent 397fec7a10
commit 0f2598cbbb

@ -67,9 +67,9 @@ 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 wpg2raw wpg2svg; do
help2man -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
help2man -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
done
help2man -N -n 'batch convert WordPerfect Graphics files into SVG' \
help2man -N -S '%{name} %{version}' -n 'batch convert WordPerfect Graphics files into SVG' \
--help-option=-h --version-string='wpg2svgbatch.pl %{version}' \
-o wpg2svgbatch.pl.1 ./src/conv/svg/wpg2svgbatch.pl
install -m 0755 -d %{buildroot}/%{_mandir}/man1

Loading…
Cancel
Save