console-setup/console-setup.spec
2020-09-27 10:54:41 +08:00

57 lines
1.7 KiB
RPMSpec

Name: console-setup
Version: 1.184
Release: 6
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
Patch2: console-setup-1.84-ctrll-lock.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
* Sun Sep 27 2020 yanan <yanan@huawei.com> - 1.184-6
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:Remove Caps Lock to CtrlL_Lock substitution
* Mon Dec 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.184-5
- Package init