|
|
fd18b6 |
Name: fxload
|
|
|
fd18b6 |
Version: 2002_04_11
|
|
|
fd18b6 |
Release: 14%{?dist}
|
|
|
fd18b6 |
Summary: A helper program to download firmware into FX and FX2 EZ-USB devices
|
|
|
fd18b6 |
|
|
|
fd18b6 |
Group: System Environment/Kernel
|
|
|
fd18b6 |
License: GPLv2+
|
|
|
fd18b6 |
URL: http://linux-hotplug.sourceforge.net/
|
|
|
fd18b6 |
Source0: fxload-2002_04_11-noa3load.tar.gz
|
|
|
fd18b6 |
# The above file is derived from:
|
|
|
fd18b6 |
# http://downloads.sourceforge.net/linux-hotplug/fxload-2002_04_11.tar.gz
|
|
|
fd18b6 |
# This file contains code that is copyright Cypress Semiconductor Inc,
|
|
|
fd18b6 |
# and cannot be distributed. Therefore we use this script to remove the
|
|
|
fd18b6 |
# copyright code before shipping it. Download the upstream tarball and
|
|
|
fd18b6 |
# invoke this script while in the tarball's directory:
|
|
|
fd18b6 |
# ./fxload-generate-tarball.sh 2002_04_11
|
|
|
fd18b6 |
Source1: fxload-generate-tarball.sh
|
|
|
fd18b6 |
Patch0: fxload-header.patch
|
|
|
fd18b6 |
Patch1: fxload-noa3load.patch
|
|
|
fd18b6 |
Patch2: fxload-man.patch
|
|
|
fd18b6 |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
fd18b6 |
|
|
|
fd18b6 |
BuildRequires: kernel-headers
|
|
|
fd18b6 |
Requires: udev
|
|
|
fd18b6 |
Conflicts: hotplug-gtk hotplug
|
|
|
fd18b6 |
|
|
|
fd18b6 |
%description
|
|
|
fd18b6 |
This program is conveniently able to download firmware into FX and FX2
|
|
|
fd18b6 |
EZ-USB devices, as well as the original AnchorChips EZ-USB. It is
|
|
|
fd18b6 |
intended to be invoked by udev scripts when the unprogrammed device
|
|
|
fd18b6 |
appears on the bus.
|
|
|
fd18b6 |
|
|
|
fd18b6 |
%prep
|
|
|
fd18b6 |
%setup -q
|
|
|
fd18b6 |
%patch0 -p0 -b .fxload-header
|
|
|
fd18b6 |
%patch1 -p1 -b .fxload-noa3load
|
|
|
fd18b6 |
%patch2 -p1 -b .fxload-man
|
|
|
fd18b6 |
|
|
|
fd18b6 |
%build
|
|
|
fd18b6 |
make
|
|
|
fd18b6 |
|
|
|
fd18b6 |
%install
|
|
|
fd18b6 |
rm -rf %{buildroot}
|
|
|
fd18b6 |
mkdir -p -m 755 %{buildroot}/sbin
|
|
|
fd18b6 |
install -m 755 fxload %{buildroot}/sbin
|
|
|
fd18b6 |
mkdir -p -m 755 %{buildroot}/%{_mandir}/man8/
|
|
|
fd18b6 |
install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/
|
|
|
fd18b6 |
|
|
|
fd18b6 |
%clean
|
|
|
fd18b6 |
rm -rf %{buildroot}
|
|
|
fd18b6 |
|
|
|
fd18b6 |
%files
|
|
|
fd18b6 |
%defattr(0644,root,root,0755)
|
|
|
fd18b6 |
%doc COPYING
|
|
|
fd18b6 |
%doc README.txt
|
|
|
fd18b6 |
%attr(0755, root, root) /sbin/fxload
|
|
|
fd18b6 |
%{_mandir}/*/*
|
|
|
fd18b6 |
|
|
|
fd18b6 |
%changelog
|
|
|
fd18b6 |
* Wed Jul 31 2013 Jaroslav Kysela <jkysela@redhat.com> - 2002_04_11-14
|
|
|
fd18b6 |
- Man page and usage updates
|
|
|
fd18b6 |
- rhbz#948527
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-13
|
|
|
fd18b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-12
|
|
|
fd18b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-11
|
|
|
fd18b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-10
|
|
|
fd18b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-9
|
|
|
fd18b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-8
|
|
|
fd18b6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Sat Feb 9 2008 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-7
|
|
|
fd18b6 |
- Bump version to rebuild with gcc-4.3
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Sat Nov 16 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-6
|
|
|
fd18b6 |
- Rework the spec file formatting to match templates from rpmdev
|
|
|
fd18b6 |
- Be explicit about file attributes, just in case
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Sat Nov 16 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-5
|
|
|
fd18b6 |
- Updates after reading packaging guide-lines more thoroughly:
|
|
|
fd18b6 |
- Make license version more explicit
|
|
|
fd18b6 |
- Add generate-tarball.sh, and associated comments
|
|
|
fd18b6 |
- Added BuildRequires on kernel-headers
|
|
|
fd18b6 |
- Added COPYING as a doc
|
|
|
fd18b6 |
- Use dollar v.s. percent macros more consitently
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Fri Nov 15 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-4
|
|
|
fd18b6 |
- Repackage the source tarball to remove a3load.hex
|
|
|
fd18b6 |
- Added instructions to spec file on how to do the above
|
|
|
fd18b6 |
- Remove reference to a3load.hex from the man page too
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Thu Nov 15 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-3
|
|
|
fd18b6 |
- Update BuildRoot per Fedora wiki
|
|
|
fd18b6 |
- Fixed rpmlint complaint about not cleaning buildroot
|
|
|
fd18b6 |
- Updated source patch file to match latest kernel file layout
|
|
|
fd18b6 |
- Add patch to remove reference to non-shipped non-free a3load.hex firmware
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Fri Dec 8 2006 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> - 2002_04_11-2
|
|
|
fd18b6 |
- Fixed some rpmlint complaints
|
|
|
fd18b6 |
- Added patch to fix an include header
|
|
|
fd18b6 |
- Added dist tag
|
|
|
fd18b6 |
|
|
|
fd18b6 |
* Wed Apr 12 2006 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> - 2002_04_11-1
|
|
|
fd18b6 |
- First version of fxload spec based on hotplug spec
|
|
|
fd18b6 |
|