diff --git a/README.md b/README.md index b584caa..6a99d42 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # irtoy-fw_update +Diolan firmware update tool for PIC 18F2550 used in USB IR Toy. + diff --git a/irtoy-fw_update.spec b/irtoy-fw_update.spec new file mode 100644 index 0000000..4a36326 --- /dev/null +++ b/irtoy-fw_update.spec @@ -0,0 +1,50 @@ +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 +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 20160811git-1mamba +- package created using the webbuild interface