2022-12-01 09:03:43 +01:00
|
|
|
#
|
|
|
|
# spec file for package consoleet-utils
|
|
|
|
#
|
2023-07-23 17:49:20 +02:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2022-12-01 09:03:43 +01: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.
|
|
|
|
|
2023-07-23 17:49:20 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2022-12-01 09:03:43 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: consoleet-utils
|
2023-09-24 14:54:13 +02:00
|
|
|
Version: 1.4
|
2022-12-01 09:03:43 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Utilities for manipulating terminal fonts and colors
|
2023-07-23 17:49:20 +02:00
|
|
|
License: GPL-3.0-or-later AND MIT
|
2022-12-01 09:03:43 +01:00
|
|
|
Group: Productivity/Other
|
|
|
|
URL: https://inai.de/projects/consoleet/
|
|
|
|
#Git-Clone: https://codeberg.org/consoleet/consoleet-utils
|
|
|
|
Source: https://inai.de/files/consoleet/%name-%version.tar.zst
|
|
|
|
Source2: https://inai.de/files/consoleet/%name-%version.tar.asc
|
|
|
|
Source3: %name.keyring
|
2023-10-21 05:33:58 +02:00
|
|
|
BuildRequires: c++_compiler
|
|
|
|
BuildRequires: pkg-config >= 0.21
|
2023-07-23 17:49:20 +02:00
|
|
|
BuildRequires: zstd
|
2022-12-01 11:53:33 +01:00
|
|
|
BuildRequires: pkgconfig(libHX) >= 3.22
|
2022-12-01 09:03:43 +01:00
|
|
|
Conflicts: hxtools < 20200310
|
|
|
|
Obsoletes: vfontas < 20221121
|
|
|
|
Provides: vfontas = 20221121
|
|
|
|
|
|
|
|
%description
|
|
|
|
This is a set of utilities for manipulating terminal fonts and
|
|
|
|
colors.
|
|
|
|
|
|
|
|
A key component is vfontas, which can read/write bitmap fonts from/to
|
|
|
|
a number of formats and transform the glyphs in various ways. vfontas
|
|
|
|
is able to generate outline fonts from bitmapped fonts, including a
|
|
|
|
high-quality mode that upscales based on outline rather than pixel
|
|
|
|
blocks, setting it apart from scalers like xBRZ or potrace.
|
|
|
|
|
|
|
|
%prep
|
2022-12-01 11:53:33 +01:00
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
%setup -Tcq
|
|
|
|
pushd .. && tar --use=zstd -xf %{S:0} && popd
|
|
|
|
%else
|
2022-12-01 09:03:43 +01:00
|
|
|
%autosetup -p1
|
2022-12-01 11:53:33 +01:00
|
|
|
%endif
|
2022-12-01 09:03:43 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%files
|
|
|
|
%license LICENSE*
|
|
|
|
%_bindir/*
|
|
|
|
%_mandir/man1/*.1*
|
2023-08-14 21:27:15 +02:00
|
|
|
%_datadir/consol*
|
2022-12-01 09:03:43 +01:00
|
|
|
|
|
|
|
%changelog
|