Blame SPECS/fxload.spec

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