use the package name as program suite in man pages

f41
David Tardon 9 years ago
parent e7ce0205fb
commit 025e0ce433

@ -80,7 +80,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 key2raw key2text key2xhtml numbers2csv numbers2raw numbers2text pages2html pages2raw pages2text; do for tool in key2raw key2text key2xhtml numbers2csv numbers2raw numbers2text pages2html pages2raw pages2text; 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 key2*.1 numbers2*.1 pages2*.1 %{buildroot}/%{_mandir}/man1 install -m 0644 key2*.1 numbers2*.1 pages2*.1 %{buildroot}/%{_mandir}/man1

Loading…
Cancel
Save