fxload/fxload.spec

45 lines
1.3 KiB
RPMSpec

Name: fxload
Version: 2008_10_13
Release: 1mamba
Summary: Firmware downloader for FX, FX2 and FX2LP EZ-USB devices, as well as the original AnchorChips EZ-USB
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://sourceforge.net/projects/linux-hotplug/
Source: http://downloads.sourceforge.net/project/linux-hotplug/fxload/%{version}/fxload-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
This program is conveniently able to download firmware into FX, FX2, and FX2LP EZ-USB devices, as well as the original AnchorChips EZ-USB. It is intended to be invoked by hotplug scripts when the unprogrammed device appears on the bus.
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall prefix=%{buildroot}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/%{name}
%{_datadir}/usb/a3load.hex
%{_mandir}/man8/fxload.8*
%doc COPYING
%changelog
* Tue Feb 21 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2008_10_13-1mamba
- package created by autospec