Blame SPECS/fxload.spec

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