use the package name as program suite in man pages

f41
David Tardon 9 years ago
parent f230894d70
commit d84356d921

@ -68,7 +68,7 @@ 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 vsd2raw vss2text vsd2xhtml vss2raw vsd2text vss2xhtml; do 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 done
install -m 0755 -d %{buildroot}/%{_mandir}/man1 install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1 install -m 0644 vsd2*.1 vss2*.1 %{buildroot}/%{_mandir}/man1

Loading…
Cancel
Save