Name: footswitch Version: 20170201git Release: 1mamba Summary: Command line utility for programming foot switches sold by PCsensor Group: System/Kernel and Hardware Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/rgerganov/footswitch.git ## GITSOURCE https://github.com/rgerganov/footswitch.git master Source: https://github.com/rgerganov/footswitch.git/master/footswitch-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libhidapi-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Command line utility for programming foot switches sold by PCsensor. It works for both single pedal devices and three pedal devices. %debug_package %prep %setup -q %build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -D -m0755 footswitch %{buildroot}%{_bindir}/footswitch install -D -m0644 19-footswitch.rules %{buildroot}%{_udevrulesdir}/19-footswitch.rules %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_bindir}/footswitch %{_udevrulesdir}/19-footswitch.rules %doc LICENSE %changelog * Wed Feb 01 2017 Silvan Calarco 20170201git-1mamba - package created using the webbuild interface