1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
11 url = http://www.kbd-project.org/
13 summary = Tools for configuring the console (keyboard, virtual terminals, etc.).
16 The kbd package contains tools for managing a Linux
17 system's console's behavior, including the keyboard, the screen
18 fonts, the virtual terminals and font files.
21 source_dl = https://github.com/legionus/kbd/archive/refs/tags/v%{version}.tar.gz/#
22 sources = %{thisapp}.tar.gz
34 configure_options += \
35 --datadir=%{prefix}/lib/kbd \
40 # 7-bit maps are obsolete; so are non-euro maps
41 cd %{DIR_APP}/data/keymaps/i386
42 cp qwerty/pt-latin9.map qwerty/pt.map
43 cp qwerty/sv-latin1.map qwerty/se-latin1.map
44 mv azerty/fr.map azerty/fr-old.map
45 cp azerty/fr-latin9.map azerty/fr.map
46 cp azerty/fr-latin9.map azerty/fr-latin0.map
48 # Rename conflicting keymaps
49 mv fgGIod/trf.map fgGIod/trf-fgGIod.map
50 mv olpc/es.map olpc/es-olpc.map
51 mv olpc/pt.map olpc/pt-olpc.map
52 mv qwerty/cz.map qwerty/cz-qwerty.map
54 # remove obsolete "gr" translation
59 cd %{DIR_APP} && ./autogen.sh
70 package %{name}-debuginfo