File ltunify.spec of Package ltunify

#
# spec file for package ltunify
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2013 Philipp Westphal
#
# 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 http://bugs.opensuse.org/
#


Name:           ltunify
Version:        0.3
Release:        0
Summary:        Logitech Unifying Tool for Linux
License:        GPL-3.0-or-later
Group:          Hardware/Other
Url:            https://git.lekensteyn.nl/ltunify/
Source:         https://git.lekensteyn.nl/ltunify/snapshot/%{name}-%{version}.tar.gz
BuildRequires:  systemd-rpm-macros
BuildRequires:  udev
Requires:       udev

%description
This program allows the user to pair or unpair multiple Logitech Unify [TM] devices to one dongel

%prep
%setup -q

%build
make CFLAGS="%{optflags}" ltunify %{?_smp_mflags}

%install
make install DESTDIR=%{buildroot} bindir=%{_bindir} udevrulesdir=%{_udevrulesdir}

%files
%defattr(-,root,root)
%doc README.txt registers.txt NEWS
%{_udevrulesdir}/*.rules
%{_bindir}/ltunify

%changelog
openSUSE Build Service is sponsored by