File evhz.spec of Package evhz

#
# spec file for package evhz
#
# Copyright 2023 Ian Kelling ian@iankelling.org

Name:           evhz
Version:        0
Release:        0
License:        GPL-3.0
Group:          Hardware/Other
Summary:        Show mouse refresh/polling rate under linux + evdev
Url:            https://github.com/marcoster/evhz
Source:         %{name}-%{version}.tar.gz
BuildRequires:  gcc

%description 
Show mouse refresh/polling rate under linux + evdev

%prep 
%autosetup -n %{name}-%{version}

%build
gcc -s -o evhz evhz.c

%install
install -vD -m 0755 %{_builddir}/%{name}-%{version}/evhz %{buildroot}%{_bindir}/evhz

%files
%doc README.md LICENSE
%{_bindir}/evhz

%changelog
openSUSE Build Service is sponsored by