]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blob - kbd/kbd.nm
apr: Include libxcrypt as dependency
[people/pmueller/ipfire-3.x.git] / kbd / kbd.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = kbd
7 version = 2.5.1
8 release = 1
9
10 groups = System/Base
11 url = http://www.kbd-project.org/
12 license = GPLv2+
13 summary = Tools for configuring the console (keyboard, virtual terminals, etc.).
14
15 description
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.
19 end
20
21 source_dl = https://github.com/legionus/kbd/archive/refs/tags/v%{version}.tar.gz/#
22 sources = %{thisapp}.tar.gz
23
24 build
25 requires
26 autoconf
27 automake
28 bison
29 flex
30 gettext-devel
31 pam-devel
32 end
33
34 configure_options += \
35 --datadir=%{prefix}/lib/kbd \
36 --disable-rpath \
37 --enable-nls
38
39 prepare_cmds
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
47
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
53
54 # remove obsolete "gr" translation
55 cd %{DIR_APP}/po
56 rm -f gr.po gr.gmo
57
58 # Run autogen
59 cd %{DIR_APP} && ./autogen.sh
60 end
61 end
62
63 packages
64 package %{name}
65 conflicts
66 filesystem < 002
67 end
68 end
69
70 package %{name}-debuginfo
71 template DEBUGINFO
72 end
73 end