raspberrypi-rpiboot/raspberrypi-rpiboot.spec
Matthias Brugger 77d8b40ca5 Accepting request 811898 from home:mbrugger
- add source service
- add version c650cd7
  * fix build warning

Needed by jsc#64380

OBS-URL: https://build.opensuse.org/request/show/811898
OBS-URL: https://build.opensuse.org/package/show/hardware/raspberrypi-rpiboot?expand=0&rev=2
2020-06-09 08:56:09 +00:00

51 lines
1.4 KiB
RPMSpec

#
# spec file for package raspberrypi-rpiboot
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: raspberrypi-rpiboot
Version: c650cd7
Release: 0
Summary: Raspberry Pi rpiboot tool
License: GPL-2.0-only
Group: System/Management
URL: https://github.com/raspberrypi/usbboot.git
Source0: %{name}-%{version}.tar
Source1: update_git.sh
BuildRequires: libusb-1_0-devel
BuildRequires: libusb-compat-devel
%description
The raspberrypi-usbboot allows you to flash the eMMC through an USB cable.
%prep
%setup -q
%build
%make_build
%install
mkdir -p %{buildroot}%{_bindir}
install -c -m 0755 rpiboot %{buildroot}%{_bindir}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_bindir}/rpiboot
%changelog