* Add --erase-first option #90 #92 * Fix missing update-bash-completion.sh #91 * Fix missing header files #93 #94 - Update to version 1.0.0 * Remove libusb0 support - Update to version 0.9.0 * Add --validate-first and --ignore-outside options to the flash command * Disabled progress bar when not using a tty - Update to version 0.8.1-libusb1 * Fix bug preventing specifying a device with libusb0 * Fix bug in order device id was printed with libusb0 * Publish Windows binaries with libusb1 * Update libusb1 include path * Update uses of deprecated libusb1 functions - Update to version 0.8.1 * Fix bug preventing specifying a device with libusb0 * Fix bug in order device id was printed with libusb0 - Update to version 0.8.0 * Experimental support for ST cortex M4 * Enable GitHub Actions for releases [2022-10-13] * Make ./bootstrap.sh fail if any command fails (and print commands) * Update configure.ac features * Added IntelliSense hints for Visual Studio Code - New source location (Github) - Specfile update to current recommendations for Tumbleweed OBS-URL: https://build.opensuse.org/package/show/electronics/dfu-programmer?expand=0&rev=13
58 lines
1.8 KiB
RPMSpec
58 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package dfu-programmer
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: dfu-programmer
|
|
Version: 1.1.0
|
|
Release: 0
|
|
Summary: A Device Firmware Update based USB programmer for Atmel chips
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Tools/Other
|
|
Url: http://dfu-programmer.sourceforge.net
|
|
Source: https://github.com/dfu-programmer/dfu-programmer/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildRequires: automake
|
|
BuildRequires: libusb-1_0-devel
|
|
|
|
%description
|
|
dfu-programmer is an implementation of the Device Firmware Upgrade class
|
|
USB driver that enables firmware upgrades for various USB enabled (with the
|
|
correct bootloader) Atmel chips. This program was created because the
|
|
Atmel "FLIP" program for flashing devices does not support flashing via USB
|
|
on Linux, and because standard DFU loaders do not work for Atmel's chips.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
./bootstrap.sh
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%check
|
|
|
|
%files
|
|
%doc AUTHORS NEWS README.md
|
|
%license COPYING
|
|
%{_bindir}/dfu-programmer
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%changelog
|