use the package name as program suite in man pages
This commit is contained in:
parent
397fec7a10
commit
0f2598cbbb
@ -67,9 +67,9 @@ rm -rf %{buildroot}/%{_docdir}/%{name}
|
|||||||
# generate and install man pages
|
# generate and install man pages
|
||||||
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
export LD_LIBRARY_PATH=%{buildroot}%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
|
||||||
for tool in wpg2raw wpg2svg; do
|
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
|
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}' \
|
--help-option=-h --version-string='wpg2svgbatch.pl %{version}' \
|
||||||
-o wpg2svgbatch.pl.1 ./src/conv/svg/wpg2svgbatch.pl
|
-o wpg2svgbatch.pl.1 ./src/conv/svg/wpg2svgbatch.pl
|
||||||
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
install -m 0755 -d %{buildroot}/%{_mandir}/man1
|
||||||
|
Loading…
Reference in New Issue
Block a user