]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blame - kbd/kbd.nm
glibc: Disable multilib support on X86_64
[people/stevee/ipfire-3.x.git] / kbd / kbd.nm
CommitLineData
f5b9a090 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
f5b9a090
MT
4###############################################################################
5
802ea3af 6name = kbd
ecfbf11a
SS
7version = 2.5.1
8release = 1
f5b9a090 9
802ea3af 10groups = System/Base
ecfbf11a 11url = http://www.kbd-project.org/
802ea3af
MT
12license = GPLv2+
13summary = Tools for configuring the console (keyboard, virtual terminals, etc.).
f5b9a090 14
802ea3af 15description
7ce43329
SS
16 The kbd package contains tools for managing a Linux
17 system's console's behavior, including the keyboard, the screen
f5b9a090 18 fonts, the virtual terminals and font files.
802ea3af 19end
f5b9a090 20
ecfbf11a
SS
21source_dl = https://github.com/legionus/kbd/archive/refs/tags/v%{version}.tar.gz/#
22sources = %{thisapp}.tar.gz
f5b9a090 23
802ea3af 24build
7ce43329 25 requires
ecfbf11a
SS
26 autoconf
27 automake
7ce43329
SS
28 bison
29 flex
ecfbf11a
SS
30 gettext-devel
31 pam-devel
7ce43329
SS
32 end
33
802ea3af 34 configure_options += \
7b2d3143 35 --datadir=%{prefix}/lib/kbd \
7ce43329
SS
36 --disable-rpath \
37 --enable-nls
38
802ea3af 39 prepare_cmds
7ce43329
SS
40 # 7-bit maps are obsolete; so are non-euro maps
41 cd %{DIR_APP}/data/keymaps/i386
7ce43329
SS
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
47
48 # Rename conflicting keymaps
7ce43329
SS
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
53
54 # remove obsolete "gr" translation
55 cd %{DIR_APP}/po
56 rm -f gr.po gr.gmo
ecfbf11a
SS
57
58 # Run autogen
59 cd %{DIR_APP} && ./autogen.sh
802ea3af 60 end
802ea3af
MT
61end
62
63packages
64 package %{name}
7b2d3143
MT
65 conflicts
66 filesystem < 002
67 end
802ea3af 68 end
1f9bc2f0
MT
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
802ea3af 73end