Add man page for kbdinfo, link open man page to openvt man page

This commit is contained in:
Vitezslav Crhonek 2014-02-17 15:58:28 +01:00
parent b1baa32b67
commit 34ffed9b28
3 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@ -18,3 +18,4 @@ kbd-1.15.tar.gz
/kbd-1.15.3.tar.gz
/kbd-1.15.5.tar.gz
/kbd-2.0.1.tar.gz
/kbdinfo.1

View File

@ -1,6 +1,6 @@
Name: kbd
Version: 2.0.1
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Tools for configuring the console (keyboard, virtual terminals, etc.)
Group: System Environment/Base
@ -11,6 +11,7 @@ Source1: kbd-latsun-fonts.tar.bz2
Source2: kbd-latarcyrheb-32.tar.bz2
Source3: xml2lst.pl
Source4: vlock.pamd
Source5: kbdinfo.1
# Patch0: puts additional information into man pages
Patch0: kbd-1.15-keycodes-man.patch
# Patch1: sparc modifications
@ -126,6 +127,10 @@ sed -i -e 's,\<kbd_mode\>,/bin/kbd_mode,g;s,\<setfont\>,/bin/setfont,g' \
# Link open to openvt
ln -s openvt $RPM_BUILD_ROOT%{_bindir}/open
ln -s openvt.1.gz $RPM_BUILD_ROOT%{_mandir}/man1/open.1.gz
# install kbdinfo manpage
gzip -c %SOURCE5 > $RPM_BUILD_ROOT/%{_mandir}/man1/kbdinfo.1.gz
# Move locale files to correct place
cp -r $RPM_BUILD_ROOT/lib/kbd/locale/ $RPM_BUILD_ROOT%{_datadir}/locale
@ -175,6 +180,9 @@ zgrep -L "U+0041" $RPM_BUILD_ROOT/lib/kbd/keymaps/xkb/* | xargs rm -f
/lib/kbd/keymaps/legacy
%changelog
* Mon Feb 17 2014 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.1-6
- Add man page for kbdinfo, link open man page to openvt man page
* Wed Nov 27 2013 Vitezslav Crhonek <vcrhonek@redhat.com> - 2.0.1-5
- Add missing patch for loadkeys search path

View File

@ -1,3 +1,4 @@
050e1e454e9c01e22f198303d649efb8 kbd-latsun-fonts.tar.bz2
fe118f07a83134b15610503e5e3fe10e kbd-latarcyrheb-32.tar.bz2
cc0ee9f2537d8636cae85a8c6541ed2e kbd-2.0.1.tar.gz
37ac9b90d43d3581592df8c74ab6b2d5 kbdinfo.1