[521] | 1 | Name: fxload |
---|
| 2 | Version: 2002_04_11 |
---|
[8915] | 3 | Release: 9%{?_dist_release} |
---|
[521] | 4 | Summary: A helper program to download firmware into FX and FX2 EZ-USB devices |
---|
| 5 | Summary(ja): FX/FX2 EZ-USB デバイスにファームウェアをダウンロードするプログラム |
---|
| 6 | |
---|
| 7 | Group: System Environment/Kernel |
---|
| 8 | License: GPLv2+ |
---|
| 9 | URL: http://linux-hotplug.sourceforge.net/ |
---|
| 10 | Source0: fxload-2002_04_11-noa3load.tar.gz |
---|
| 11 | # The above file is derived from: |
---|
| 12 | # http://downloads.sourceforge.net/linux-hotplug/fxload-2002_04_11.tar.gz |
---|
| 13 | # This file contains code that is copyright Cypress Semiconductor Inc, |
---|
| 14 | # and cannot be distributed. Therefore we use this script to remove the |
---|
| 15 | # copyright code before shipping it. Download the upstream tarball and |
---|
| 16 | # invoke this script while in the tarball's directory: |
---|
| 17 | # ./fxload-generate-tarball.sh 2002_04_11 |
---|
| 18 | Source1: fxload-generate-tarball.sh |
---|
| 19 | Patch0: fxload-header.patch |
---|
| 20 | Patch1: fxload-noa3load.patch |
---|
| 21 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
---|
| 22 | |
---|
| 23 | BuildRequires: kernel-headers |
---|
| 24 | Requires: udev |
---|
| 25 | Conflicts: hotplug-gtk hotplug |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | This program is conveniently able to download firmware into FX and FX2 |
---|
| 29 | EZ-USB devices, as well as the original AnchorChips EZ-USB. It is |
---|
| 30 | intended to be invoked by udev scripts when the unprogrammed device |
---|
| 31 | appears on the bus. |
---|
| 32 | |
---|
| 33 | %description -l ja |
---|
| 34 | このプログラムを使って、EZ-USB FX / FX2 デバイス、およびオリジナルの |
---|
| 35 | AnchorChips EZ-USB にファームウェアをダウンロードすることができます。 |
---|
| 36 | 本プログラムは、バス上にデバイスが検出された時に udev スクリプト経由で |
---|
| 37 | 起動されるものです。 |
---|
| 38 | |
---|
| 39 | %prep |
---|
| 40 | %setup -q |
---|
| 41 | %patch0 -p0 -b .fxload-header |
---|
| 42 | %patch1 -p1 -b .fxload-noa3load |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | make |
---|
| 46 | |
---|
| 47 | %install |
---|
| 48 | rm -rf %{buildroot} |
---|
| 49 | mkdir -p -m 755 %{buildroot}/sbin |
---|
| 50 | install -m 755 fxload %{buildroot}/sbin |
---|
| 51 | mkdir -p -m 755 %{buildroot}/%{_mandir}/man8/ |
---|
| 52 | install -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/ |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf %{buildroot} |
---|
| 56 | |
---|
| 57 | %files |
---|
| 58 | %defattr(0644,root,root,0755) |
---|
| 59 | %doc COPYING |
---|
| 60 | %doc README.txt |
---|
| 61 | %attr(0755, root, root) /sbin/fxload |
---|
| 62 | %{_mandir}/*/* |
---|
| 63 | |
---|
| 64 | %changelog |
---|
[8915] | 65 | * Sun Aug 24 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2002_04_11-9 |
---|
| 66 | - rebuild with VineSeed environment |
---|
| 67 | |
---|
[3525] | 68 | * Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> - 2002_04_11-8 |
---|
| 69 | - rebuilt with rpm-4.8.1-3 |
---|
| 70 | |
---|
[521] | 71 | * Thu Feb 19 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2002_04_11-7 |
---|
| 72 | - initial build for Vine Linux |
---|
| 73 | |
---|
| 74 | * Sat Feb 9 2008 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-7 |
---|
| 75 | - Bump version to rebuild with gcc-4.3 |
---|
| 76 | |
---|
[8915] | 77 | * Fri Nov 16 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-6 |
---|
[521] | 78 | - Rework the spec file formatting to match templates from rpmdev |
---|
| 79 | - Be explicit about file attributes, just in case |
---|
| 80 | |
---|
[8915] | 81 | * Fri Nov 16 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-5 |
---|
[521] | 82 | - Updates after reading packaging guide-lines more thoroughly: |
---|
| 83 | - Make license version more explicit |
---|
| 84 | - Add generate-tarball.sh, and associated comments |
---|
| 85 | - Added BuildRequires on kernel-headers |
---|
| 86 | - Added COPYING as a doc |
---|
| 87 | - Use dollar v.s. percent macros more consitently |
---|
| 88 | |
---|
[8915] | 89 | * Thu Nov 15 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-4 |
---|
[521] | 90 | - Repackage the source tarball to remove a3load.hex |
---|
| 91 | - Added instructions to spec file on how to do the above |
---|
| 92 | - Remove reference to a3load.hex from the man page too |
---|
| 93 | |
---|
| 94 | * Thu Nov 15 2007 Stephen Warren <s-t-rhbugzilla@wwwdotorg.org> - 2002_04_11-3 |
---|
| 95 | - Update BuildRoot per Fedora wiki |
---|
| 96 | - Fixed rpmlint complaint about not cleaning buildroot |
---|
| 97 | - Updated source patch file to match latest kernel file layout |
---|
| 98 | - Add patch to remove reference to non-shipped non-free a3load.hex firmware |
---|
| 99 | |
---|
| 100 | * Fri Dec 8 2006 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> - 2002_04_11-2 |
---|
| 101 | - Fixed some rpmlint complaints |
---|
| 102 | - Added patch to fix an include header |
---|
| 103 | - Added dist tag |
---|
| 104 | |
---|
| 105 | * Wed Apr 12 2006 Bart Vanbrabant <bart.vanbrabant@zoeloelip.be> - 2002_04_11-1 |
---|
| 106 | - First version of fxload spec based on hotplug spec |
---|
| 107 | |
---|