-
Notifications
You must be signed in to change notification settings - Fork 5
/
bdf2sfd.spec
35 lines (26 loc) · 717 Bytes
/
bdf2sfd.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Name: bdf2sfd
Version: 1.1.8
Release: 1%{?dist}
Summary: BDF to SFD converter
License: BSD-2-Clause
URL: https://github.com/fcambus/bdf2sfd
Source0: %{url}/releases/download/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc
%description
bdf2sfd is a BDF to SFD converter, allowing to vectorize bitmap fonts.
It works by converting each pixel of a glyph to a polygon, which produces
large and unoptimized SFD files that should be post-processed using FontForge.
%prep
%autosetup
%build
%cmake .
%cmake_build
%install
%cmake_install
%check
%files
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%license LICENSE
%doc README.md