|
|
bfc7db |
Name: fxload
|
|
|
bfc7db |
Version: 2008_10_13
|
|
|
bfc7db |
Release: 10%{?dist}
|
|
|
bfc7db |
Summary: A helper program to download firmware into FX and FX2 EZ-USB devices
|
|
|
bfc7db |
|
|
|
bfc7db |
License: GPLv2+
|
|
|
bfc7db |
URL: http://linux-hotplug.sourceforge.net/
|
|
|
bfc7db |
Source0: fxload-%{version}-noa3load.tar.gz
|
|
|
bfc7db |
# The above file is derived from:
|
|
|
bfc7db |
# http://downloads.sourceforge.net/project/linux-hotplug/fxload/2008_10_13/fxload-2008_10_13.tar.gz
|
|
|
bfc7db |
# This file contains code that is copyright Cypress Semiconductor Inc,
|
|
|
bfc7db |
# and cannot be distributed. Therefore we use this script to remove the
|
|
|
bfc7db |
# copyright code before shipping it. Download the upstream tarball and
|
|
|
bfc7db |
# invoke this script while in the tarball's directory:
|
|
|
bfc7db |
# ./fxload-generate-tarball.sh 2008_10_13
|
|
|
bfc7db |
Source1: fxload-generate-tarball.sh
|
|
|
bfc7db |
Patch0: fxload-noa3load.patch
|
|
|
bfc7db |
Patch1: fxload-cflags-ldflags.patch
|
|
|
bfc7db |
|
|
|
bfc7db |
BuildRequires: gcc kernel-headers
|
|
|
bfc7db |
Requires: udev
|
|
|
bfc7db |
Conflicts: hotplug-gtk hotplug
|
|
|
bfc7db |
|
|
|
bfc7db |
%description
|
|
|
bfc7db |
This program is conveniently able to download firmware into FX and FX2
|
|
|
bfc7db |
EZ-USB devices, as well as the original AnchorChips EZ-USB. It is
|
|
|
bfc7db |
intended to be invoked by udev scripts when the unprogrammed device
|
|
|
bfc7db |
appears on the bus.
|
|
|
bfc7db |
|
|
|
bfc7db |
%prep
|
|
|
bfc7db |
%setup -q
|
|
|
bfc7db |
%patch0 -p1 -b .fxload-noa3load
|
|
|
bfc7db |
%patch1 -p1 -b .cflags
|
|
|
bfc7db |
|
|
|
bfc7db |
%build
|
|
|
bfc7db |
make CC=gcc CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
|
bfc7db |
|
|
|
bfc7db |
%install
|
|
|
bfc7db |
mkdir -p -m 755 %{buildroot}/sbin
|
|
|
bfc7db |
install -m 755 fxload %{buildroot}/sbin
|
|
|
bfc7db |
mkdir -p -m 755 %{buildroot}/%{_mandir}/man8/
|
|
|
bfc7db |
install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/
|
|
|
bfc7db |
|
|
|
bfc7db |
%files
|
|
|
bfc7db |
%defattr(0644,root,root,0755)
|
|
|
bfc7db |
%doc COPYING
|
|
|
bfc7db |
%doc README.txt
|
|
|
bfc7db |
%attr(0755, root, root) /sbin/fxload
|
|
|
bfc7db |
%{_mandir}/*/*
|
|
|
bfc7db |
|
|
|
bfc7db |
%changelog
|
|
|
bfc7db |
* Sun Feb 25 2018 Charles R. Anderson <cra@wpi.edu> - 2008_10_13-10
|
|
|
bfc7db |
- Patch to apply CFLAGS/LDFLAGS to final link so RPM_OPT_FLAGS are picked up (rhbz#1548426)
|
|
|
bfc7db |
- Use CC=gcc explicitly
|
|
|
bfc7db |
- Regenerate fxload-noa3load.patch
|
|
|
bfc7db |
|
|
|
bfc7db |
* Sun Feb 18 2018 Charles R. Anderson <cra@wpi.edu> - 2008_10_13-9
|
|
|
bfc7db |
- add BR gcc
|
|
|
bfc7db |
- remove Group:, BuildRoot: and rm -rf in install section
|
|
|
bfc7db |
|
|
|
bfc7db |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-8
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-7
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-6
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-5
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2008_10_13-4
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008_10_13-3
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2008_10_13-2
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Mon Jun 16 2014 Charles R. Anderson <cra@wpi.edu> - 2008_10_13-1
|
|
|
bfc7db |
- update to 2008_10_13 to support Cypress EZ-USB FX2LP parts (rhbz#1102654)
|
|
|
bfc7db |
|
|
|
bfc7db |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-15
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-14
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-13
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-12
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-11
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-10
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-9
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2002_04_11-8
|
|
|
bfc7db |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
bfc7db |
|
|
|
bfc7db |
* Sat Feb 9 2008 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-7
|
|
|
bfc7db |
- Bump version to rebuild with gcc-4.3
|
|
|
bfc7db |
|
|
|
bfc7db |
* Sat Nov 17 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-6
|
|
|
bfc7db |
- Rework the spec file formatting to match templates from rpmdev
|
|
|
bfc7db |
- Be explicit about file attributes, just in case
|
|
|
bfc7db |
|
|
|
bfc7db |
* Sat Nov 17 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-5
|
|
|
bfc7db |
- Updates after reading packaging guide-lines more thoroughly:
|
|
|
bfc7db |
- Make license version more explicit
|
|
|
bfc7db |
- Add generate-tarball.sh, and associated comments
|
|
|
bfc7db |
- Added BuildRequires on kernel-headers
|
|
|
bfc7db |
- Added COPYING as a doc
|
|
|
bfc7db |
- Use dollar v.s. percent macros more consitently
|
|
|
bfc7db |
|
|
|
bfc7db |
* Fri Nov 16 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-4
|
|
|
bfc7db |
- Repackage the source tarball to remove a3load.hex
|
|
|
bfc7db |
- Added instructions to spec file on how to do the above
|
|
|
bfc7db |
- Remove reference to a3load.hex from the man page too
|
|
|
bfc7db |
|
|
|
bfc7db |
* Thu Nov 15 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-3
|
|
|
bfc7db |
- Update BuildRoot per Fedora wiki
|
|
|
bfc7db |
- Fixed rpmlint complaint about not cleaning buildroot
|
|
|
bfc7db |
- Updated source patch file to match latest kernel file layout
|
|
|
bfc7db |
- Add patch to remove reference to non-shipped non-free a3load.hex firmware
|
|
|
bfc7db |
|
|
|
bfc7db |
* Fri Dec 8 2006 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> - 2002_04_11-2
|
|
|
bfc7db |
- Fixed some rpmlint complaints
|
|
|
bfc7db |
- Added patch to fix an include header
|
|
|
bfc7db |
- Added dist tag
|
|
|
bfc7db |
|
|
|
bfc7db |
* Wed Apr 12 2006 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> - 2002_04_11-1
|
|
|
bfc7db |
- First version of fxload spec based on hotplug spec
|
|
|
bfc7db |
|