############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = kbd version = 2.5.1 release = 1 groups = System/Base url = http://www.kbd-project.org/ license = GPLv2+ summary = Tools for configuring the console (keyboard, virtual terminals, etc.). description The kbd package contains tools for managing a Linux system's console's behavior, including the keyboard, the screen fonts, the virtual terminals and font files. end source_dl = https://github.com/legionus/kbd/archive/refs/tags/v%{version}.tar.gz/# sources = %{thisapp}.tar.gz build requires autoconf automake bison flex gettext-devel pam-devel end configure_options += \ --datadir=%{prefix}/lib/kbd \ --disable-rpath \ --enable-nls prepare_cmds # 7-bit maps are obsolete; so are non-euro maps cd %{DIR_APP}/data/keymaps/i386 cp qwerty/pt-latin9.map qwerty/pt.map cp qwerty/sv-latin1.map qwerty/se-latin1.map mv azerty/fr.map azerty/fr-old.map cp azerty/fr-latin9.map azerty/fr.map cp azerty/fr-latin9.map azerty/fr-latin0.map # Rename conflicting keymaps mv fgGIod/trf.map fgGIod/trf-fgGIod.map mv olpc/es.map olpc/es-olpc.map mv olpc/pt.map olpc/pt-olpc.map mv qwerty/cz.map qwerty/cz-qwerty.map # remove obsolete "gr" translation cd %{DIR_APP}/po rm -f gr.po gr.gmo # Run autogen cd %{DIR_APP} && ./autogen.sh end end packages package %{name} conflicts filesystem < 002 end end package %{name}-debuginfo template DEBUGINFO end end