Add man page for kbdinfo, link open man page to openvt man page
This commit is contained in:
parent
b1baa32b67
commit
34ffed9b28
1
.gitignore
vendored
1
.gitignore
vendored
@ -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
|
||||
|
10
kbd.spec
10
kbd.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user