File fbkeyboard.spec of Package fbkeyboard-0.4-1.27
#
# spec file for package fbkeyboard
#
# Copyright (c) 2021, Martin Hauke <mardnh@gmx.de>
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: fbkeyboard
Version: 0.4
Release: 1.27
Summary: A simple on screen keyboard for fbdev
License: GPL-3.0-or-later
Group: System/Console
#Git-Clone: https://github.com/bakonyiferenc/fbkeyboard.git
URL: https://github.com/bakonyiferenc/fbkeyboard
Source: https://github.com/bakonyiferenc/fbkeyboard/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: pkgconfig(freetype2)
Requires: dejavu-fonts
%description
Framebuffer softkeyboard for use on devices with touchscreen
input like smartphones.
%prep
%setup -q
# fix fontpath
sed -i 's|/usr/share/fonts/ttf-dejavu/DejaVuSans.ttf|/usr/share/fonts/truetype/DejaVuSans.ttf|g' fbkeyboard.c
%build
%make_build
%install
install -Dm 0755 fbkeyboard %{buildroot}%{_bindir}/fbkeyboard
install -Dm 0644 fbkeyboard.1 %{buildroot}%{_mandir}/man1/fbkeyboard.1
%files
%license COPYING
%doc README
%{_bindir}/fbkeyboard
%{_mandir}/man1/fbkeyboard.1%{?ext_man}
%changelog
* Sun Sep 5 2021 Martin Hauke <mardnh@gmx.de>
- Initial package, version 0.4