package created using the webbuild interface [release 20170201git-1mamba;Wed Feb 01 2017]

This commit is contained in:
Silvan Calarco 2024-01-05 22:31:05 +01:00
parent 0f31003ef9
commit a7085551d4
2 changed files with 48 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# footswitch # footswitch
Command line utility for programming foot switches sold by PCsensor. It works for both single pedal devices and three pedal devices.

46
footswitch.spec Normal file
View File

@ -0,0 +1,46 @@
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 <silvan.calarco@mambasoft.it>
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 <silvan.calarco@mambasoft.it> 20170201git-1mamba
- package created using the webbuild interface