1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
12 url = http://ftp.altlinux.org/pub/people/legion/kbd
14 summary = Tools for configuring the console (keyboard, virtual terminals, etc.).
17 The kbd package contains tools for managing a Linux
18 system's console's behavior, including the keyboard, the screen
19 fonts, the virtual terminals and font files.
23 sources += kbd-latarcyrheb-16-fixed.tar.bz2
24 sources += kbd-latsun-fonts.tar.bz2
33 configure_options += \
39 # Adding our own fonts.
41 %{MACRO_EXTRACT} %{DIR_DL}/kbd-latarcyrheb-16-fixed.tar.bz2
42 %{MACRO_EXTRACT} %{DIR_DL}/kbd-latsun-fonts.tar.bz2
44 # 7-bit maps are obsolete; so are non-euro maps
45 cd %{DIR_APP}/data/keymaps/i386
46 mv qwerty/fi.map qwerty/fi-old.map
47 cp qwerty/fi-latin9.map qwerty/fi.map
48 cp qwerty/pt-latin9.map qwerty/pt.map
49 cp qwerty/sv-latin1.map qwerty/se-latin1.map
50 mv azerty/fr.map azerty/fr-old.map
51 cp azerty/fr-latin9.map azerty/fr.map
52 cp azerty/fr-latin9.map azerty/fr-latin0.map
54 # Rename conflicting keymaps
55 mv dvorak/no.map dvorak/no-dvorak.map
56 mv fgGIod/trf.map fgGIod/trf-fgGIod.map
57 mv olpc/es.map olpc/es-olpc.map
58 mv olpc/pt.map olpc/pt-olpc.map
59 mv qwerty/cz.map qwerty/cz-qwerty.map
61 # remove obsolete "gr" translation
67 mkdir -pv %{BUILDROOT}/bin
68 mv -v %{BUILDROOT}/usr/bin/{kbd_mode,loadkeys,openvt,setfont} %{BUILDROOT}/bin
76 package %{name}-debuginfo