add version too

f41
David Tardon 9 years ago
parent 2e3b8ad7ed
commit e252f6db16

@ -59,7 +59,7 @@ rm -rf %{buildroot}%{_defaultdocdir}/%{name}
export LD_LIBRARY_PATH=%{buildroot}/%{_libdir}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
for tool in wks2csv wks2raw wks2text wps2html wps2raw wps2text; do
help2man -S %{name} -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
help2man -S '%{name} %{version}' -N -o ${tool}.1 %{buildroot}%{_bindir}/${tool}
done
install -m 0755 -d %{buildroot}/%{_mandir}/man1
install -m 0644 wks2*.1 wps2*.1 %{buildroot}/%{_mandir}/man1

Loading…
Cancel
Save