irtoy-fw_update/irtoy-fw_update.spec

51 lines
1.3 KiB
RPMSpec
Raw Normal View History

Name: irtoy-fw_update
Version: 20160811git
Release: 1mamba
Summary: Diolan firmware update tool for PIC 18F2550 used in USB IR Toy
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://dangerousprototypes.com/docs/USB_IR_Toy_firmware_update
## GITSOURCE https://github.com/dpavlin/fw_update.git master
Source: https://github.com/dpavlin/fw_update.git/master/fw_update-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: libusb-compat-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Diolan firmware update tool for PIC 18F2550 used in USB IR Toy.
%debug_package
%prep
%setup -q -n fw_update-%{version}
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
mv %{buildroot}%{_bindir}/fw_update %{buildroot}%{_bindir}/irtoy-fw_update
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/irtoy-fw_update
%doc AUTHORS COPYING
%doc ChangeLog README TODO
%changelog
* Thu Aug 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 20160811git-1mamba
- package created using the webbuild interface