2015-08-13 16:36:46 +02:00
|
|
|
#
|
2015-12-15 19:37:50 +01:00
|
|
|
# spec file for package console-setup
|
2015-08-13 16:36:46 +02:00
|
|
|
#
|
2023-01-01 11:23:05 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2015-08-13 16:36:46 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-12-20 16:34:06 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2015-08-13 16:36:46 +02:00
|
|
|
#
|
|
|
|
|
2015-12-15 19:37:50 +01:00
|
|
|
|
2015-08-13 16:36:46 +02:00
|
|
|
Name: console-setup
|
2023-10-01 14:10:14 +02:00
|
|
|
Version: 1.223
|
2015-08-13 16:36:46 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Tools for configuring the console using X Window System key maps
|
2019-01-24 16:29:08 +01:00
|
|
|
License: GPL-2.0-or-later AND MIT AND SUSE-Public-Domain
|
2022-12-31 11:02:11 +01:00
|
|
|
Group: System/Console
|
|
|
|
URL: https://salsa.debian.org/installer-team/console-setup
|
|
|
|
Source: https://deb.debian.org/debian/pool/main/c/%{name}/%{name}_%{version}.tar.xz
|
|
|
|
# PATCH-FIX-OPENSUSE console-setup-1.76-fsf-address.patch -- Fix the FSF address.
|
|
|
|
Patch0: console-setup-1.76-fsf-address.patch
|
|
|
|
# PATCH-FIX-OPENSUSE console-setup-paths.patch -- Change installing paths to SUSE-style.
|
|
|
|
Patch1: console-setup-paths.patch
|
2015-08-13 16:36:46 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl(encoding)
|
2022-12-31 11:02:11 +01:00
|
|
|
Suggests: xkeyboard-config
|
2015-08-13 16:36:46 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
2022-12-31 11:02:11 +01:00
|
|
|
This package provides the console with the same keyboard
|
|
|
|
configuration scheme that X Window System has.
|
|
|
|
Besides the keyboard, the package also configures the font on the
|
|
|
|
console. It includes a rich collection of fonts and supports
|
|
|
|
several languages that would be otherwise unsupported on the
|
|
|
|
console (such as Armenian, Georgian, Lao and Thai).
|
|
|
|
|
|
|
|
%package -n bdf2psf
|
|
|
|
Summary: Generate console fonts from BDF source fonts
|
|
|
|
|
|
|
|
%description -n bdf2psf
|
|
|
|
This package provides a command-line converter that can be used in
|
|
|
|
scripts to build console fonts from BDF sources automatically.
|
|
|
|
The converter comes with a collection of font encodings that cover
|
|
|
|
many of the world's languages. The output font can use a different
|
|
|
|
character encoding from the input. When the source font does not
|
|
|
|
define a glyph for a particular symbol in the encoding table, that
|
|
|
|
glyph position in the console font is not wasted but used for
|
|
|
|
another symbol.
|
2015-08-13 16:36:46 +02:00
|
|
|
|
|
|
|
%prep
|
2023-05-16 15:09:45 +02:00
|
|
|
%autosetup -p1
|
2022-12-31 11:02:11 +01:00
|
|
|
|
|
|
|
cp -a debian/changelog ChangeLog
|
|
|
|
cp -a debian/copyright COPYING
|
2015-08-13 16:36:46 +02:00
|
|
|
|
|
|
|
%build
|
2022-12-31 11:02:11 +01:00
|
|
|
%make_build build-linux
|
2015-08-13 16:36:46 +02:00
|
|
|
|
|
|
|
%install
|
2022-12-31 11:02:11 +01:00
|
|
|
make prefix=%{buildroot}%{_prefix} install-linux
|
2015-08-13 16:36:46 +02:00
|
|
|
# we don't want another set of keyboard descriptions, we want to use descriptions from
|
|
|
|
# xkeyboard-config (require it?), so removing it
|
|
|
|
# or maybe have these from tarball it in optional subpackage?
|
2022-12-31 11:02:11 +01:00
|
|
|
rm -r %{buildroot}%{_sysconfdir}/console-setup/
|
|
|
|
|
|
|
|
install -Dpm 0755 Fonts/bdf2psf %{buildroot}%{_bindir}/bdf2psf
|
|
|
|
install -Dpm 0644 man/bdf2psf.1 %{buildroot}%{_mandir}/man1/bdf2psf.1
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/bdf2psf/
|
|
|
|
cp -a Fonts/fontsets/ Fonts/*.equivalents Fonts/*.set \
|
|
|
|
%{buildroot}%{_datadir}/bdf2psf/
|
2015-08-13 16:36:46 +02:00
|
|
|
|
|
|
|
%files
|
2022-12-31 11:02:11 +01:00
|
|
|
%license COPYING copyright.fonts copyright.xkb Fonts/copyright
|
|
|
|
%doc ChangeLog README
|
2015-08-13 16:36:46 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/default/console-setup
|
|
|
|
%config(noreplace) %{_sysconfdir}/default/keyboard
|
2022-12-31 11:02:11 +01:00
|
|
|
%{_bindir}/ckbcomp
|
|
|
|
%{_bindir}/setupcon
|
2023-01-01 11:23:05 +01:00
|
|
|
%dir %{_datadir}/kbd
|
2022-12-31 11:02:11 +01:00
|
|
|
%{_datadir}/kbd/consolefonts/
|
|
|
|
%{_datadir}/kbd/consoletrans/
|
|
|
|
%{_mandir}/man1/setupcon.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/ckbcomp.1%{?ext_man}
|
|
|
|
%{_mandir}/man5/keyboard.5%{?ext_man}
|
|
|
|
%{_mandir}/man5/console-setup.5%{?ext_man}
|
|
|
|
|
|
|
|
%files -n bdf2psf
|
|
|
|
%{_bindir}/bdf2psf
|
|
|
|
%{_datadir}/bdf2psf/
|
|
|
|
%{_mandir}/man1/bdf2psf.1%{?ext_man}
|
2015-08-13 16:36:46 +02:00
|
|
|
|
|
|
|
%changelog
|