2019-09-30 10:39:11 -04:00
|
|
|
Name: fxload
|
|
|
|
|
Version: 2008_10_13
|
2022-05-19 01:34:33 +00:00
|
|
|
Release: 19
|
2019-09-30 10:39:11 -04:00
|
|
|
Summary: A program which downloads firmware to USB devices
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
URL: http://linux-hotplug.sourceforge.net/
|
2020-09-03 15:01:17 +08:00
|
|
|
Source0: https://netix.dl.sourceforge.net/project/linux-hotplug/fxload/2008_10_13/%{name}-%{version}.tar.gz
|
2019-09-30 10:39:11 -04:00
|
|
|
|
2021-07-30 22:37:45 +08:00
|
|
|
BuildRequires: gcc
|
2019-09-30 10:39:11 -04:00
|
|
|
Requires: udev
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
It is conveniently able to download firmware into FX, FX2, and FX2LP EZ-USB devices,
|
|
|
|
|
as well as the original AnchorChips EZ-USB. It is intended to be invoked by hotplug
|
|
|
|
|
scripts when the unprogrammed device appears on the bus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package help
|
|
|
|
|
Summary: Including man files for fxload
|
|
|
|
|
Requires: man
|
|
|
|
|
|
|
|
|
|
%description help
|
|
|
|
|
This contains man files for the using of fxload.
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-07-30 22:37:45 +08:00
|
|
|
%autosetup -n %{name}-%{version} -p1
|
2019-09-30 10:39:11 -04:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
make CC=gcc CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -D -m 755 fxload %{buildroot}/sbin/fxload
|
|
|
|
|
install -D -m 644 fxload.8 %{buildroot}/%{_mandir}/man8/fxload.8
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc README.txt
|
|
|
|
|
%attr(0755, root, root) /sbin/fxload
|
|
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2022-05-19 01:34:33 +00:00
|
|
|
* Thu May 19 2022 chengwenzhe <chengwenzhe@uniontech.com> - 2008_10_13-19
|
|
|
|
|
- fix spec changelog date time
|
|
|
|
|
|
2021-07-30 22:37:45 +08:00
|
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 2008_10_13-18
|
|
|
|
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
|
|
|
|
|
2021-06-29 16:34:10 +08:00
|
|
|
* Tue Jun 29 2021 zhouwenpei <zhouwenpei1@huawei.com> - 2008_10_13-17
|
|
|
|
|
- add buildrequire gcc.
|
|
|
|
|
|
2020-09-03 15:01:17 +08:00
|
|
|
* Thu Sep 3 2020 lihaotian<lihaotian9@huawei.com> - 2008_10_13-16
|
|
|
|
|
- Fix source0 url
|
|
|
|
|
|
2020-09-02 16:44:31 +08:00
|
|
|
* Wed Sep 2 2020 lihaotian<lihaotian9@huawei.com> - 2008_10_13-15
|
|
|
|
|
- Update source0 url.
|
|
|
|
|
|
2022-05-19 01:34:33 +00:00
|
|
|
* Tue Jan 7 2020 openEuler Buildteam <buildteam@openeuler.org> - 2008_10_13-14
|
2020-01-07 22:37:18 +08:00
|
|
|
- rePackage
|
|
|
|
|
|
2019-09-30 10:39:11 -04:00
|
|
|
* Wed Sep 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 2008_10_13-13
|
|
|
|
|
- Package init
|