]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - kbd/kbd.nm
gobject-introspection: Update to 1.39.3.
[people/ms/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 = 1.15.3
8 release = 2
9 epoch = 1
10
11 groups = System/Base
12 url = http://ftp.altlinux.org/pub/people/legion/kbd
13 license = GPLv2+
14 summary = Tools for configuring the console (keyboard, virtual terminals, etc.).
15
16 description
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.
20 end
21
22 source_dl =
23 sources += kbd-latarcyrheb-16-fixed.tar.bz2
24 sources += kbd-latsun-fonts.tar.bz2
25
26 build
27 requires
28 bison
29 flex
30 gettext
31 end
32
33 configure_options += \
34 --datadir=%{prefix}/lib/kbd \
35 --disable-rpath \
36 --enable-nls
37
38 prepare_cmds
39 # Adding our own fonts.
40 cd %{DIR_APP}
41 %{MACRO_EXTRACT} %{DIR_DL}/kbd-latarcyrheb-16-fixed.tar.bz2
42 %{MACRO_EXTRACT} %{DIR_DL}/kbd-latsun-fonts.tar.bz2
43
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
53
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
60
61 # remove obsolete "gr" translation
62 cd %{DIR_APP}/po
63 rm -f gr.po gr.gmo
64 end
65 end
66
67 packages
68 package %{name}
69 conflicts
70 filesystem < 002
71 end
72 end
73
74 package %{name}-debuginfo
75 template DEBUGINFO
76 end
77 end