File lisgd.spec of Package lisgd
#
# spec file for package lisgd
#
# Copyright (c) 2023 SUSE LLC
#
# 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: lisgd
Version: 20200820
Release: 0
Summary: Libinput synthetic gesture daemon
License: MIT
URL: https://github.com/jjsullivan5196/lisgd
Source: %{name}-%{version}.tar.gz
Source1: config.h
BuildRequires: gcc
BuildRequires: pkgconfig(libinput)
BuildRequires: pkgconfig(libudev)
%description
Lisgd (libinput synthetic gesture daemon) lets you bind gestures based on libinput touch events to run specific commands to execute.
%prep
%autosetup
cp %{SOURCE1} config.h
%build
CFLAGS="-I/usr/include/libinput -I/usr/include/libudev" make
%install
install -m755 -Dt %{buildroot}%{_bindir} lisgd
install -m644 -Dt %{buildroot}%{_mandir}/man1 lisgd.1
%files
%license LICENSE
%doc README.md
%{_bindir}/lisgd
%{_mandir}/man1/lisgd*
%changelog