2017-02-26 14:10:08 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package UEFITool
|
|
|
|
|
#
|
2020-01-22 13:49:16 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2017-02-26 14:10:08 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2018-12-14 14:18:02 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-02-26 14:10:08 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: UEFITool
|
2020-11-24 09:14:00 +00:00
|
|
|
Version: 20201122
|
2017-02-26 14:10:08 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Tools to inspect and work on UEFI BIOSes
|
|
|
|
|
License: BSD-2-Clause
|
2019-10-23 12:03:38 +00:00
|
|
|
Group: Development/Tools/Other
|
2018-03-08 14:04:10 +00:00
|
|
|
URL: https://github.com/LongSoft/UEFITool
|
2017-02-26 14:10:08 +00:00
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
|
|
|
|
|
|
|
|
%description
|
2017-03-04 16:04:38 +00:00
|
|
|
UEFITool is a C++/Qt program for parsing, extracting and
|
2017-02-26 14:10:08 +00:00
|
|
|
modifying UEFI firmware images. It supports parsing of full BIOS images
|
|
|
|
|
starting with the flash descriptor or any binary files containing UEFI
|
2017-03-04 16:04:38 +00:00
|
|
|
volumes.
|
2017-02-26 14:10:08 +00:00
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%qmake5
|
|
|
|
|
%make_jobs
|
2018-12-14 14:18:02 +00:00
|
|
|
for i in UEFIPatch UEFIReplace; do
|
2017-02-26 14:10:08 +00:00
|
|
|
pushd $i
|
|
|
|
|
%qmake5
|
2019-10-23 12:03:38 +00:00
|
|
|
%make_build
|
2017-02-26 14:10:08 +00:00
|
|
|
popd
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%install
|
2018-03-08 14:04:10 +00:00
|
|
|
install -Dpm 0755 UEFITool \
|
2017-02-26 14:10:08 +00:00
|
|
|
%{buildroot}/%{_bindir}/UEFITool
|
2018-12-14 14:18:02 +00:00
|
|
|
for i in UEFIPatch UEFIReplace; do
|
2017-02-26 14:10:08 +00:00
|
|
|
pushd $i
|
2018-03-08 14:04:10 +00:00
|
|
|
install -Dpm 0755 $i %{buildroot}/%{_bindir}/$i
|
2017-02-26 14:10:08 +00:00
|
|
|
popd
|
|
|
|
|
done
|
|
|
|
|
|
|
|
|
|
%files
|
2018-03-08 14:04:10 +00:00
|
|
|
%license LICENSE.md
|
|
|
|
|
%doc README.rst
|
2017-02-26 14:10:08 +00:00
|
|
|
%{_bindir}/UEFITool
|
|
|
|
|
%{_bindir}/UEFIPatch
|
2017-07-24 13:15:32 +00:00
|
|
|
%{_bindir}/UEFIReplace
|
2017-02-26 14:10:08 +00:00
|
|
|
|
|
|
|
|
%changelog
|