forked from pool/flashrom
2654d5588d
- Update to version 1.0 * Support layouts for read and erase commands * New command line switch --noverify-all (-N) allows flashing of individual regions without reading the whole flash chip (particular useful with locked down Intel ME firmware) * New command line switch --ifd to read the layout from an Intel Firmware Descriptor on flash * We got rid of the delay-loop calibration (if the OS provides an accurate timer through clock_gettime()) * Reading speed of USB programmers should have increased (reading bigger chunks at once, we reduce the overhead) * Support Intel 100 series PCHs (Sunrise Point, coupled with Skylake and Kaby Lake) and C620 series PCHs (Lewisburg paired with Workstation/Server versions of the former) * New programmers + Intel 100 series / C620 series PCHs + Intel I210 NICs (EEPROM and SPI) + AMD Merlin Falcon (FP4) * New chips + W25Q128.W - Specfile cleanup - Verify source signature OBS-URL: https://build.opensuse.org/request/show/562610 OBS-URL: https://build.opensuse.org/package/show/hardware/flashrom?expand=0&rev=33
68 lines
2.3 KiB
RPMSpec
68 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package flashrom
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX 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: flashrom
|
|
Version: 1.0
|
|
Release: 0
|
|
Summary: A universal flash programming utility
|
|
License: GPL-2.0
|
|
Group: Development/Tools/Other
|
|
Url: https://flashrom.org/Flashrom
|
|
Source0: https://download.flashrom.org/releases/%{name}-%{version}.tar.bz2
|
|
Source1: https://download.flashrom.org/releases/%{name}-%{version}.tar.bz2.asc#/%{name}-%{version}.tar.bz2.sig
|
|
# Got the key from David Hendricks
|
|
Source2: %{name}.keyring
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(libftdi1)
|
|
BuildRequires: pkgconfig(libpci)
|
|
BuildRequires: pkgconfig(libusb)
|
|
BuildRequires: pkgconfig(zlib)
|
|
Requires: dmidecode
|
|
ExclusiveArch: %{ix86} x86_64 %{arm} aarch64
|
|
|
|
%description
|
|
flashrom is a utility for reading, writing, verifying and erasing flash ROM
|
|
chips. It's often used to flash BIOS/EFI/coreboot/firmware images in-system
|
|
using a supported mainboard, but it also supports flashing of network
|
|
cards (NICs), SATA controller cards, and other external devices which can
|
|
program flash chips.
|
|
|
|
It supports a wide range of DIP32, PLCC32, DIP8, SO8/SOIC8, TSOP32, and
|
|
TSOP40 chips, which use various protocols such as LPC, FWH, parallel flash,
|
|
or SPI.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
make %{?_smp_mflags} \
|
|
CFLAGS="%{optflags}"
|
|
|
|
%install
|
|
install -d %{buildroot}/%{_sbindir}
|
|
install -d %{buildroot}/%{_mandir}/man8
|
|
install -m 0755 flashrom %{buildroot}/%{_sbindir}
|
|
install -m 0644 flashrom.8 %{buildroot}/%{_mandir}/man8
|
|
|
|
%files
|
|
%doc COPYING README
|
|
%{_sbindir}/flashrom
|
|
%{_mandir}/man8/flashrom.8%{ext_man}
|
|
|
|
%changelog
|