%global debug_package %{nil} Name: usbrelay Version: 0.3 Release: 1%{?dist} Summary: USB Relay driver for linux License: GPLv2 URL: https://github.com/darrylb123/usbrelay Source0: https://github.com/darrylb123/usbrelay/archive/v%{version}.tar.gz BuildRequires: hidapi-devel #Requires: %description A cheap USB relay available from Ebay has either single or dual relay output. The double throw relay ratings are 10A 250VAC each. %prep %autosetup %build %make_build %install rm -rf $RPM_BUILD_ROOT %make_install %files %license LICENSE.md %doc README.md %{_bindir}/usbrelay %changelog * Wed Nov 16 2016 Ján ONDREJ (SAL) - initial release