]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = kbd |
7ce43329 | 7 | version = 1.15.3 |
7b2d3143 | 8 | release = 2 |
802ea3af | 9 | epoch = 1 |
f5b9a090 | 10 | |
802ea3af MT |
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.). | |
f5b9a090 | 15 | |
802ea3af | 16 | description |
7ce43329 SS |
17 | The kbd package contains tools for managing a Linux |
18 | system's console's behavior, including the keyboard, the screen | |
f5b9a090 | 19 | fonts, the virtual terminals and font files. |
802ea3af | 20 | end |
f5b9a090 | 21 | |
802ea3af MT |
22 | source_dl = |
23 | sources += kbd-latarcyrheb-16-fixed.tar.bz2 | |
24 | sources += kbd-latsun-fonts.tar.bz2 | |
f5b9a090 | 25 | |
802ea3af | 26 | build |
7ce43329 SS |
27 | requires |
28 | bison | |
29 | flex | |
30 | gettext | |
31 | end | |
32 | ||
802ea3af | 33 | configure_options += \ |
7b2d3143 | 34 | --datadir=%{prefix}/lib/kbd \ |
7ce43329 SS |
35 | --disable-rpath \ |
36 | --enable-nls | |
37 | ||
802ea3af | 38 | prepare_cmds |
7ce43329 SS |
39 | # Adding our own fonts. |
40 | cd %{DIR_APP} | |
802ea3af MT |
41 | %{MACRO_EXTRACT} %{DIR_DL}/kbd-latarcyrheb-16-fixed.tar.bz2 |
42 | %{MACRO_EXTRACT} %{DIR_DL}/kbd-latsun-fonts.tar.bz2 | |
7ce43329 SS |
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 | |
802ea3af | 64 | end |
802ea3af MT |
65 | end |
66 | ||
67 | packages | |
68 | package %{name} | |
7b2d3143 MT |
69 | conflicts |
70 | filesystem < 002 | |
71 | end | |
802ea3af | 72 | end |
1f9bc2f0 MT |
73 | |
74 | package %{name}-debuginfo | |
75 | template DEBUGINFO | |
76 | end | |
802ea3af | 77 | end |