]> git.ipfire.org Git - ipfire-3.x.git/blame - kbd/kbd.nm
Drop epoch from all files
[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
7ce43329 7version = 1.15.3
7b2d3143 8release = 2
f5b9a090 9
802ea3af
MT
10groups = System/Base
11url = http://ftp.altlinux.org/pub/people/legion/kbd
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
802ea3af
MT
21source_dl =
22sources += kbd-latarcyrheb-16-fixed.tar.bz2
23sources += kbd-latsun-fonts.tar.bz2
f5b9a090 24
802ea3af 25build
7ce43329
SS
26 requires
27 bison
28 flex
29 gettext
30 end
31
802ea3af 32 configure_options += \
7b2d3143 33 --datadir=%{prefix}/lib/kbd \
7ce43329
SS
34 --disable-rpath \
35 --enable-nls
36
802ea3af 37 prepare_cmds
7ce43329
SS
38 # Adding our own fonts.
39 cd %{DIR_APP}
802ea3af
MT
40 %{MACRO_EXTRACT} %{DIR_DL}/kbd-latarcyrheb-16-fixed.tar.bz2
41 %{MACRO_EXTRACT} %{DIR_DL}/kbd-latsun-fonts.tar.bz2
7ce43329
SS
42
43 # 7-bit maps are obsolete; so are non-euro maps
44 cd %{DIR_APP}/data/keymaps/i386
45 mv qwerty/fi.map qwerty/fi-old.map
46 cp qwerty/fi-latin9.map qwerty/fi.map
47 cp qwerty/pt-latin9.map qwerty/pt.map
48 cp qwerty/sv-latin1.map qwerty/se-latin1.map
49 mv azerty/fr.map azerty/fr-old.map
50 cp azerty/fr-latin9.map azerty/fr.map
51 cp azerty/fr-latin9.map azerty/fr-latin0.map
52
53 # Rename conflicting keymaps
54 mv dvorak/no.map dvorak/no-dvorak.map
55 mv fgGIod/trf.map fgGIod/trf-fgGIod.map
56 mv olpc/es.map olpc/es-olpc.map
57 mv olpc/pt.map olpc/pt-olpc.map
58 mv qwerty/cz.map qwerty/cz-qwerty.map
59
60 # remove obsolete "gr" translation
61 cd %{DIR_APP}/po
62 rm -f gr.po gr.gmo
802ea3af 63 end
802ea3af
MT
64end
65
66packages
67 package %{name}
7b2d3143
MT
68 conflicts
69 filesystem < 002
70 end
802ea3af 71 end
1f9bc2f0
MT
72
73 package %{name}-debuginfo
74 template DEBUGINFO
75 end
802ea3af 76end