Name:           console-setup
Version:        1.184
Release:        5
Summary:        Console font and keymap setup program
License:        GPLv2+ and MIT and Public Domain
URL:            https://packages.debian.org/cs/sid/console-setup
Source0:        http://sourcearchive.raspbian.org/main/c/console-setup/console-setup_1.184.tar.xz
Patch0:         console-setup-1.76-paths.patch
Patch1:         console-setup-1.76-fsf-address.patch

BuildArch:      noarch
BuildRequires:  perl-generators perl(encoding)
Requires:       kbd

%description
This package provides the console with the same keyboard configuration scheme as the X Window System.
As a result, there is no need to duplicate or change the keyboard files just to make simple customizations
such as the use of dead keys, the key functioning as AltGr or Compose key, the key(s) to switch between
Latin and non-Latin mode, etc.

The package also installs console fonts supporting many of the world's languages. It provides an unified
set of font faces - the classic VGA, the simplistic Fixed, and the cleaned Terminus, TerminusBold and
TerminusBoldVGA.

%package_help

%prep
%autosetup -n %{name} -p1

%build
make build-linux

%install
make prefix=%{buildroot} install-linux

%files
%doc README CHANGES
%license COPYRIGHT copyright.fonts copyright.xkb Fonts/copyright
%exclude %{_sysconfdir}/%{name}
%{_bindir}/*
%config(noreplace) %{_sysconfdir}/default/*
%{_datadir}/console*

%files help
%{_mandir}/man*/*

%changelog
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.184-4
- Package init
