File dbxtool.spec of Package dbxtool.16777

# spec file for package dbxtool
# 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

Name:           dbxtool
Version:        8
Release:        0
Summary:        Secure Boot DBX updater
License:        GPL-2.0
BuildRequires:  efivar-devel >= 26-1
BuildRequires:  popt-devel
Requires:       efivar >= 26-1
Patch0:         dbxtool-fixes.patch

This package contains DBX updates for UEFI Secure Boot.

%setup -q
%patch0 -p1

make CFLAGS="%optflags"


rm %buildroot/usr/share/doc/dbxtool/COPYING

%service_add_pre dbxtool.service

%service_add_post dbxtool.service

%service_del_preun dbxtool.service

%service_del_postun dbxtool.service

%license COPYING
%doc %{_mandir}/man1/*
%dir %{_datadir}/dbxtool/

openSUSE Build Service is sponsored by