use the package name as program suite in man pages

f41
David Tardon 9 years ago
parent 2476ad7e43
commit 9a0d020de3

@ -61,7 +61,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 sd2raw sd2svg sd2text sdc2csv sdw2html; do
help2man --no-discard-stderr -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
help2man --no-discard-stderr -N -S '%{name} %{version}' -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
done
install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 sd2*.1 sd?2*.1 %{buildroot}/%{_mandir}/man1

Loading…
Cancel
Save