2017-10-27 10:22:48 +02:00
|
|
|
#
|
|
|
|
# spec file for package fwupd
|
|
|
|
#
|
2023-01-05 08:58:31 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2017-10-27 10:22:48 +02: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-11-12 10:55:50 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-10-27 10:22:48 +02:00
|
|
|
#
|
|
|
|
|
2022-08-08 15:15:30 +02:00
|
|
|
|
2017-12-15 17:07:47 +01:00
|
|
|
%ifarch %{ix86} x86_64 aarch64
|
|
|
|
%bcond_without efi_fw_update
|
|
|
|
%else
|
|
|
|
%bcond_with efi_fw_update
|
|
|
|
%endif
|
2020-07-27 07:56:09 +02:00
|
|
|
|
2021-10-07 09:50:48 +02:00
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
%bcond_without msr_support
|
|
|
|
%bcond_without dell_support
|
|
|
|
%else
|
|
|
|
%bcond_with msr_support
|
|
|
|
%bcond_with dell_support
|
|
|
|
%endif
|
|
|
|
|
2020-11-04 11:38:16 +01:00
|
|
|
%if 0%{?suse_version} > 1500
|
|
|
|
%bcond_without fish_support
|
|
|
|
%else
|
|
|
|
%bcond_with fish_support
|
|
|
|
%endif
|
|
|
|
|
2022-10-20 14:50:55 +02:00
|
|
|
%define shlib_sover 2
|
|
|
|
|
2017-10-27 10:22:48 +02:00
|
|
|
Name: fwupd
|
2023-01-05 08:58:31 +01:00
|
|
|
Version: 1.8.9
|
2017-10-27 10:22:48 +02:00
|
|
|
Release: 0
|
2018-09-14 08:05:11 +02:00
|
|
|
Summary: Device firmware updater daemon
|
2018-03-06 07:42:54 +01:00
|
|
|
License: GPL-2.0-or-later AND LGPL-2.1-or-later
|
2017-10-27 13:53:58 +02:00
|
|
|
Group: System/Management
|
2018-04-03 15:23:28 +02:00
|
|
|
URL: https://fwupd.org/
|
2019-09-26 14:24:40 +02:00
|
|
|
Source: %{name}-%{version}.tar.xz
|
2022-10-20 14:50:55 +02:00
|
|
|
|
2019-04-08 21:22:48 +02:00
|
|
|
# PATCH-FIX-OPENSUSE fwupd-bsc1130056-shim-path.patch bsc#1130056
|
2019-05-15 09:32:54 +02:00
|
|
|
Patch1: fwupd-bsc1130056-change-shim-path.patch
|
2020-09-03 17:32:22 +02:00
|
|
|
# PATCH-FIX-OPENSUSE fwupd-jscSLE-11766-close-efidir-leap-gap.patch jsc#SLE-11766 qkzhu@suse.com -- Set SLE and openSUSE esp os dir at runtime
|
|
|
|
Patch2: fwupd-jscSLE-11766-close-efidir-leap-gap.patch
|
2022-10-20 14:50:55 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE harden_fwupd-offline-update.service.patch -- Harden services
|
2021-11-05 15:04:04 +01:00
|
|
|
Patch3: harden_fwupd-offline-update.service.patch
|
2022-10-20 14:50:55 +02:00
|
|
|
# PATCH-FEATURE-OPENSUSE harden_fwupd-refresh.service.patch -- Harden services
|
2021-11-05 15:04:04 +01:00
|
|
|
Patch4: harden_fwupd-refresh.service.patch
|
2023-01-19 09:02:18 +01:00
|
|
|
# PATCH_FIX_UPSTREAM uefi-capsule-Do-not-call-grub2-probe-without-argumen.patch -- https://github.com/fwupd/fwupd/issues/5424
|
|
|
|
Patch5: uefi-capsule-Do-not-call-grub2-probe-without-argumen.patch
|
2022-10-20 14:50:55 +02:00
|
|
|
|
2017-10-27 13:53:58 +02:00
|
|
|
BuildRequires: dejavu-fonts
|
2022-10-20 14:50:55 +02:00
|
|
|
BuildRequires: fdupes
|
2020-11-04 11:38:16 +01:00
|
|
|
%if %{with fish_support}
|
2020-03-18 12:50:10 +01:00
|
|
|
BuildRequires: fish
|
2020-11-04 11:38:16 +01:00
|
|
|
%endif
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: gcab
|
2017-10-27 10:34:16 +02:00
|
|
|
# for certtool
|
2017-10-27 10:33:29 +02:00
|
|
|
BuildRequires: gnutls
|
2017-10-27 10:37:09 +02:00
|
|
|
BuildRequires: gobject-introspection
|
2018-03-06 07:42:54 +01:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: gpgme-devel
|
2017-12-19 11:31:52 +01:00
|
|
|
BuildRequires: help2man
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libelf-devel
|
2022-11-11 12:10:41 +01:00
|
|
|
BuildRequires: meson >= 0.61.0
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: procps
|
|
|
|
BuildRequires: python3-Pillow
|
|
|
|
BuildRequires: python3-cairo
|
|
|
|
BuildRequires: python3-gobject-Gdk
|
2019-07-26 08:59:47 +02:00
|
|
|
BuildRequires: python3-setuptools
|
2017-10-27 13:53:58 +02:00
|
|
|
BuildRequires: python3-xml
|
2018-04-03 15:23:28 +02:00
|
|
|
BuildRequires: vala
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(appstream-glib) >= 0.5.10
|
2018-07-16 10:32:04 +02:00
|
|
|
BuildRequires: pkgconfig(bash-completion)
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
|
|
|
BuildRequires: pkgconfig(colorhug) >= 1.2.12
|
2022-10-20 14:50:55 +02:00
|
|
|
%ifnarch s390x ppc64le
|
|
|
|
BuildRequires: pkgconfig(flashrom)
|
|
|
|
%endif
|
|
|
|
BuildRequires: pkgconfig(gi-docgen)
|
2020-06-04 09:29:47 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.45.8
|
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.48.8
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.45.8
|
|
|
|
BuildRequires: pkgconfig(gmodule-2.0)
|
2017-10-27 10:55:45 +02:00
|
|
|
BuildRequires: pkgconfig(gnutls)
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
2020-06-04 09:29:47 +02:00
|
|
|
BuildRequires: pkgconfig(gudev-1.0) >= 232
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(gusb) >= 0.2.9
|
2020-08-10 09:52:59 +02:00
|
|
|
BuildRequires: pkgconfig(jcat) >= 0.1.3
|
2018-03-06 07:42:54 +01:00
|
|
|
BuildRequires: pkgconfig(json-glib-1.0) >= 1.1.1
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(libarchive)
|
2022-10-20 14:50:55 +02:00
|
|
|
BuildRequires: pkgconfig(libcbor)
|
2020-12-04 10:13:46 +01:00
|
|
|
BuildRequires: pkgconfig(libcurl) >= 7.62.0
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(libelf)
|
2020-06-04 09:29:47 +02:00
|
|
|
BuildRequires: pkgconfig(libgcab-1.0) >= 1.0
|
2021-12-01 12:12:43 +01:00
|
|
|
BuildRequires: pkgconfig(libprotobuf-c)
|
2020-12-04 10:13:46 +01:00
|
|
|
BuildRequires: pkgconfig(libsystemd)
|
2022-10-20 14:50:55 +02:00
|
|
|
BuildRequires: pkgconfig(mbim-glib)
|
|
|
|
BuildRequires: pkgconfig(mm-glib)
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
|
2021-12-01 12:12:43 +01:00
|
|
|
BuildRequires: pkgconfig(protobuf)
|
2022-10-20 14:50:55 +02:00
|
|
|
BuildRequires: pkgconfig(qmi-glib)
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(sqlite3)
|
2020-06-04 09:29:47 +02:00
|
|
|
BuildRequires: pkgconfig(tss2-esys) >= 2.0
|
2017-10-27 10:22:48 +02:00
|
|
|
BuildRequires: pkgconfig(udev)
|
2022-10-20 14:50:55 +02:00
|
|
|
BuildRequires: pkgconfig(umockdev-1.0)
|
2020-06-04 09:29:47 +02:00
|
|
|
BuildRequires: pkgconfig(xmlb) >= 0.1.13
|
2018-03-06 07:42:54 +01:00
|
|
|
%if %{with efi_fw_update}
|
2018-12-11 08:46:37 +01:00
|
|
|
BuildRequires: gnu-efi
|
2018-03-06 07:42:54 +01:00
|
|
|
BuildRequires: pkgconfig(efiboot)
|
2018-12-17 16:59:00 +01:00
|
|
|
BuildRequires: pkgconfig(efivar) >= 33
|
2018-03-06 07:42:54 +01:00
|
|
|
%endif
|
|
|
|
%ifarch %{ix86} x86_64
|
|
|
|
BuildRequires: pkgconfig(libsmbios_c) >= 2.3.0
|
|
|
|
%endif
|
2021-12-21 13:51:26 +01:00
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
BuildRequires: protobuf-c
|
|
|
|
%endif
|
2018-12-06 14:55:14 +01:00
|
|
|
%if %{with efi_fw_update}
|
2020-12-10 14:27:11 +01:00
|
|
|
Obsoletes: dbxtool <= 8
|
|
|
|
Obsoletes: fwupdate <= 12
|
2020-11-19 14:44:37 +01:00
|
|
|
Provides: dbxtool
|
2021-10-07 09:50:48 +02:00
|
|
|
%ifarch x86_64 aarch64
|
2018-12-06 14:55:14 +01:00
|
|
|
Requires: shim >= 11
|
2021-11-19 17:05:29 +01:00
|
|
|
Requires: udisks2
|
2018-12-06 14:55:14 +01:00
|
|
|
%endif
|
|
|
|
%endif
|
2021-11-05 15:04:04 +01:00
|
|
|
Requires: (fwupd-efi if shim)
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%description
|
2018-09-14 08:05:11 +02:00
|
|
|
fwupd is a daemon to allows session software to update device firmware on
|
|
|
|
the local machine.
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
You can either use a GUI software manager like GNOME Software to view and apply
|
|
|
|
updates, the command line tool or the system D-Bus interface directly.
|
|
|
|
|
2022-10-20 14:50:55 +02:00
|
|
|
%package -n libfwupd%{shlib_sover}
|
2017-10-27 10:22:48 +02:00
|
|
|
Summary: Allow session software to update device firmware
|
|
|
|
Group: System/Libraries
|
2018-03-15 16:03:50 +01:00
|
|
|
Requires: %{name} >= %{version}
|
2017-10-27 10:22:48 +02:00
|
|
|
|
2022-10-20 14:50:55 +02:00
|
|
|
%description -n libfwupd%{shlib_sover}
|
2020-01-07 09:44:40 +01:00
|
|
|
fwupd is a daemon to allows session software to update device firmware on
|
|
|
|
the local machine.
|
|
|
|
|
2017-10-27 13:53:58 +02:00
|
|
|
%package -n typelib-1_0-Fwupd-2_0
|
|
|
|
Summary: GObject-introspection bindings for libfwupd
|
2017-10-27 10:22:48 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
|
2017-10-27 13:53:58 +02:00
|
|
|
%description -n typelib-1_0-Fwupd-2_0
|
2018-09-14 08:05:11 +02:00
|
|
|
fwupd is a daemon to allows session software to update device firmware on
|
|
|
|
the local machine.
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%package -n dfu-tool
|
|
|
|
Summary: Generic tool Device Firmware Upgrade (DFU) tool
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
|
|
|
|
%description -n dfu-tool
|
|
|
|
A generic tool to upload firmware to USB Devices based on Device Firmware Upgrade (DFU).
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Allow session software to update device firmware
|
|
|
|
Group: Development/Languages/C and C++
|
2022-10-20 14:50:55 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: libfwupd%{shlib_sover} = %{version}
|
|
|
|
Requires: typelib-1_0-Fwupd-2_0 = %{version}
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%description devel
|
2018-09-14 08:05:11 +02:00
|
|
|
fwupd is a daemon to allows session software to update device firmware on
|
|
|
|
the local machine.
|
2017-10-27 10:22:48 +02:00
|
|
|
|
2022-10-20 14:50:55 +02:00
|
|
|
%package doc
|
|
|
|
Summary: Developer documentation for %{name}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Developer documentation for %{name}.
|
|
|
|
|
2022-04-19 14:06:59 +02:00
|
|
|
%package bash-completion
|
|
|
|
Summary: Bash completion for fwupd
|
|
|
|
Group: System/Management
|
|
|
|
Requires: %{name}
|
2022-08-08 15:15:30 +02:00
|
|
|
Requires: bash-completion
|
2022-04-19 14:06:59 +02:00
|
|
|
Supplements: (%{name} and bash-completion)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description bash-completion
|
|
|
|
This package contain the bash completion command for the device firmware updater daemon.
|
|
|
|
|
|
|
|
%if %{with fish_support}
|
|
|
|
%package fish-completion
|
|
|
|
Summary: Fish completion for fwupd
|
|
|
|
Group: System/Management
|
|
|
|
Requires: %{name}
|
2022-08-08 15:15:30 +02:00
|
|
|
Requires: fish
|
2022-04-19 14:06:59 +02:00
|
|
|
Supplements: (%{name} and fish)
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description fish-completion
|
|
|
|
This package contain the fish completion command for the device firmware updater daemon.
|
|
|
|
%endif
|
|
|
|
|
2017-10-27 10:22:48 +02:00
|
|
|
%lang_package
|
|
|
|
|
|
|
|
%prep
|
2019-09-26 14:24:40 +02:00
|
|
|
%autosetup -p1
|
|
|
|
|
2018-04-04 12:15:25 +02:00
|
|
|
for file in $(grep -l %{_bindir}/env . -r); do
|
|
|
|
sed -i "s|%{_bindir}/env python3|%{_bindir}/python3|" $file
|
|
|
|
done
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%build
|
2022-04-19 14:06:59 +02:00
|
|
|
# for F_OFD_SETLK detection
|
|
|
|
export CFLAGS="%{optflags} -D_GNU_SOURCE"
|
2017-12-15 17:07:47 +01:00
|
|
|
# Dell support requires direct SMBIOS access,
|
|
|
|
# Synaptics requires Dell support, i.e. x86 only
|
2018-04-03 15:23:28 +02:00
|
|
|
%meson \
|
2021-10-07 09:50:48 +02:00
|
|
|
%if %{with efi_fw_update}
|
2022-10-20 14:50:55 +02:00
|
|
|
-Dplugin_uefi_capsule=enabled \
|
|
|
|
-Dplugin_uefi_pk=enabled \
|
2021-10-07 09:50:48 +02:00
|
|
|
-Defi_binary=false \
|
2022-08-08 15:15:30 +02:00
|
|
|
-Dsystemd_unit_user=root \
|
2021-10-07 09:50:48 +02:00
|
|
|
%else
|
2022-10-20 14:50:55 +02:00
|
|
|
-Dplugin_uefi_capsule=disabled \
|
|
|
|
-Dplugin_uefi_pk=disabled \
|
2021-10-07 09:50:48 +02:00
|
|
|
%endif
|
|
|
|
%if %{with msr_support}
|
2022-10-20 14:50:55 +02:00
|
|
|
-Dplugin_msr=enabled \
|
2021-10-07 09:50:48 +02:00
|
|
|
%else
|
2022-10-20 14:50:55 +02:00
|
|
|
-Dplugin_msr=disabled \
|
2021-10-07 09:50:48 +02:00
|
|
|
%endif
|
|
|
|
%if %{with dell_support}
|
2022-10-20 14:50:55 +02:00
|
|
|
-Dplugin_dell=enabled \
|
|
|
|
-Dplugin_synaptics_mst=enabled \
|
2021-03-03 08:08:22 +01:00
|
|
|
%else
|
2022-10-20 14:50:55 +02:00
|
|
|
-Dplugin_dell=disabled \
|
|
|
|
-Dplugin_synaptics_mst=disabled \
|
2017-12-15 17:07:47 +01:00
|
|
|
%endif
|
|
|
|
%ifnarch %{ix86} x86_64
|
2022-10-20 14:50:55 +02:00
|
|
|
-Dplugin_synaptics_rmi=disabled \
|
2017-12-15 17:07:47 +01:00
|
|
|
%endif
|
2022-10-20 14:50:55 +02:00
|
|
|
-Dplugin_nvme=enabled \
|
|
|
|
-Dplugin_redfish=enabled \
|
|
|
|
-Ddocs=enabled \
|
|
|
|
-Dsupported_build=enabled \
|
2021-10-07 09:50:48 +02:00
|
|
|
-Dtests=false \
|
2022-10-20 14:50:55 +02:00
|
|
|
%ifarch s390x ppc64le
|
|
|
|
-Dplugin_flashrom=disabled \
|
|
|
|
%endif
|
2021-12-01 12:12:43 +01:00
|
|
|
%{nil}
|
2018-04-03 15:23:28 +02:00
|
|
|
%meson_build
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%install
|
2018-04-03 15:23:28 +02:00
|
|
|
%meson_install
|
2017-10-27 10:22:48 +02:00
|
|
|
# Add SUSE specific rcfoo service symlink
|
|
|
|
mkdir -p %{buildroot}%{_sbindir}
|
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name}
|
2017-10-27 13:53:58 +02:00
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcfwupd-offline-update
|
2020-12-10 14:27:11 +01:00
|
|
|
ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcfwupd-refresh
|
2017-10-27 10:22:48 +02:00
|
|
|
%find_lang %{name}
|
2022-10-20 14:50:55 +02:00
|
|
|
%fdupes -s %{buildroot}%{_datadir}/doc
|
2017-10-27 10:22:48 +02:00
|
|
|
|
2019-05-08 11:49:54 +02:00
|
|
|
# Do not ship default polkit .rules - openSUSE overrides them anyway - boo#1125428
|
|
|
|
rm %{buildroot}%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
|
|
|
|
|
2017-12-19 11:31:52 +01:00
|
|
|
# do not package tests
|
|
|
|
rm -fr %{buildroot}%{_datadir}/installed-tests
|
|
|
|
|
2020-11-04 11:38:16 +01:00
|
|
|
%if %{without fish_support}
|
|
|
|
rm -fr %{buildroot}%{_datadir}/fish
|
|
|
|
%endif
|
|
|
|
|
2022-10-20 14:50:55 +02:00
|
|
|
%ldconfig_scriptlets -n libfwupd%{shlib_sover}
|
2020-01-07 09:44:40 +01:00
|
|
|
|
2017-10-27 10:22:48 +02:00
|
|
|
%preun
|
2020-12-10 14:27:11 +01:00
|
|
|
%service_del_preun %{name}.service fwupd-offline-update.service fwupd-refresh.service
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%pre
|
2020-12-10 14:27:11 +01:00
|
|
|
%service_add_pre %{name}.service fwupd-offline-update.service fwupd-refresh.service
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%post
|
2018-07-25 13:47:07 +02:00
|
|
|
%udev_rules_update
|
2020-12-10 14:27:11 +01:00
|
|
|
%service_add_post %{name}.service fwupd-offline-update.service fwupd-refresh.service
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%postun
|
2020-12-10 14:27:11 +01:00
|
|
|
%service_del_postun %{name}.service fwupd-offline-update.service fwupd-refresh.service
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%files
|
2018-03-06 07:42:54 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc README.md
|
2019-09-26 14:24:40 +02:00
|
|
|
%{_unitdir}/fwupd.service
|
|
|
|
%{_unitdir}/fwupd-offline-update.service
|
|
|
|
%dir %{_unitdir}/system-update.target.wants/
|
|
|
|
%{_unitdir}/system-update.target.wants/fwupd-offline-update.service
|
|
|
|
%{_unitdir}/fwupd-refresh.service
|
|
|
|
%{_unitdir}/fwupd-refresh.timer
|
2017-10-27 10:22:48 +02:00
|
|
|
%{_libexecdir}/fwupd
|
2020-03-18 12:50:10 +01:00
|
|
|
%{_bindir}/fwupdagent
|
2021-10-07 09:50:48 +02:00
|
|
|
%{_bindir}/fwupdmgr
|
|
|
|
%{_bindir}/fwupdtool
|
2020-04-23 10:55:30 +02:00
|
|
|
%if %{with efi_fw_update}
|
2020-03-18 12:50:10 +01:00
|
|
|
%{_bindir}/fwupdate
|
2021-10-07 09:50:48 +02:00
|
|
|
%{_bindir}/dbxtool
|
2020-04-23 10:55:30 +02:00
|
|
|
%endif
|
2017-10-27 10:22:48 +02:00
|
|
|
%{_sbindir}/rc%{name}
|
2017-10-27 13:53:58 +02:00
|
|
|
%{_sbindir}/rcfwupd-offline-update
|
2020-12-10 14:27:11 +01:00
|
|
|
%{_sbindir}/rcfwupd-refresh
|
2020-01-07 09:44:40 +01:00
|
|
|
%{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf
|
2017-10-27 10:22:48 +02:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
|
2019-09-26 14:24:40 +02:00
|
|
|
%dir %{_datadir}/%{name}
|
|
|
|
%dir %{_datadir}/%{name}/metainfo
|
|
|
|
%dir %{_datadir}/%{name}/quirks.d
|
|
|
|
%dir %{_datadir}/%{name}/remotes.d
|
|
|
|
%dir %{_datadir}/%{name}/remotes.d/vendor
|
|
|
|
%dir %{_datadir}/%{name}/remotes.d/vendor/firmware
|
2021-10-07 09:50:48 +02:00
|
|
|
%if %{with dell_support}
|
2019-10-28 13:56:50 +01:00
|
|
|
%dir %{_datadir}/%{name}/remotes.d/dell-esrt
|
|
|
|
%{_datadir}/%{name}/remotes.d/dell-esrt/metadata.xml
|
|
|
|
%endif
|
2020-01-07 09:44:40 +01:00
|
|
|
%{_datadir}/%{name}/add_capsule_header.py
|
|
|
|
%{_datadir}/%{name}/firmware_packager.py
|
|
|
|
%{_datadir}/%{name}/install_dell_bios_exe.py
|
|
|
|
%{_datadir}/%{name}/simple_client.py
|
2021-10-07 09:50:48 +02:00
|
|
|
%if %{with efi_fw_update}
|
|
|
|
%{_datadir}/%{name}/uefi-capsule-ux.tar.xz
|
|
|
|
%endif
|
2019-09-26 14:24:40 +02:00
|
|
|
%{_datadir}/%{name}/metainfo/org.freedesktop.fwupd.remotes.lvfs-testing.metainfo.xml
|
|
|
|
%{_datadir}/%{name}/metainfo/org.freedesktop.fwupd.remotes.lvfs.metainfo.xml
|
|
|
|
%{_datadir}/%{name}/remotes.d/vendor/firmware/README.md
|
2020-03-18 12:50:10 +01:00
|
|
|
%{_mandir}/man1/fwupdagent.1%{?ext_man}
|
2021-10-07 09:50:48 +02:00
|
|
|
%{_mandir}/man1/fwupdmgr.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/fwupdtool.1%{?ext_man}
|
2020-04-23 10:55:30 +02:00
|
|
|
%if %{with efi_fw_update}
|
2021-10-07 09:50:48 +02:00
|
|
|
%{_mandir}/man1/dbxtool.1%{?ext_man}
|
2020-03-18 12:50:10 +01:00
|
|
|
%{_mandir}/man1/fwupdate.1%{?ext_man}
|
2020-04-23 10:55:30 +02:00
|
|
|
%endif
|
2017-10-27 10:22:48 +02:00
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
|
2021-10-07 09:50:48 +02:00
|
|
|
%if %{with msr_support}
|
2020-12-04 10:13:46 +01:00
|
|
|
%{_modulesloaddir}/fwupd-msr.conf
|
2020-11-04 11:38:16 +01:00
|
|
|
%endif
|
2017-10-27 13:53:58 +02:00
|
|
|
%config %{_sysconfdir}/%{name}/
|
2017-10-27 10:22:48 +02:00
|
|
|
%dir %{_sysconfdir}/pki
|
|
|
|
%dir %{_sysconfdir}/pki/fwupd
|
|
|
|
%dir %{_sysconfdir}/pki/fwupd-metadata
|
2017-10-27 13:53:58 +02:00
|
|
|
%{_sysconfdir}/pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service
|
2018-07-16 10:32:04 +02:00
|
|
|
%{_sysconfdir}/pki/fwupd-metadata/GPG-KEY-Linux-Foundation-Metadata
|
2017-10-27 13:53:58 +02:00
|
|
|
%{_sysconfdir}/pki/fwupd-metadata/LVFS-CA.pem
|
2017-10-27 10:22:48 +02:00
|
|
|
%{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service
|
2018-07-16 10:32:04 +02:00
|
|
|
%{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Foundation-Firmware
|
2017-10-27 13:53:58 +02:00
|
|
|
%{_sysconfdir}/pki/fwupd/LVFS-CA.pem
|
2021-10-07 09:50:48 +02:00
|
|
|
%if %{with efi_fw_update}
|
|
|
|
%dir %{_sysconfdir}/grub.d
|
|
|
|
%{_sysconfdir}/grub.d/35_fwupd
|
|
|
|
%endif
|
2017-10-27 10:22:48 +02:00
|
|
|
%{_udevrulesdir}/90-fwupd-devices.rules
|
2017-10-27 13:53:58 +02:00
|
|
|
%dir %{_datadir}/metainfo
|
|
|
|
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
|
2019-05-15 09:32:54 +02:00
|
|
|
%{_datadir}/icons/hicolor/*
|
|
|
|
%{_prefix}/lib/systemd/system-shutdown/fwupd.shutdown
|
2020-01-07 09:44:40 +01:00
|
|
|
%{_prefix}/lib/systemd/system-preset/fwupd-refresh.preset
|
2022-10-20 14:50:55 +02:00
|
|
|
%dir %{_libdir}/fwupd-%{version}
|
2022-11-11 12:10:41 +01:00
|
|
|
%ifnarch s390x ppc64le
|
2022-10-20 14:50:55 +02:00
|
|
|
%{_libdir}/fwupd-%{version}/libfu_plugin_flashrom.so
|
2022-11-11 12:10:41 +01:00
|
|
|
%endif
|
2022-10-20 14:50:55 +02:00
|
|
|
%{_libdir}/fwupd-%{version}/libfu_plugin_modem_manager.so
|
|
|
|
%{_libdir}/fwupd-%{version}/libfwupdengine.so
|
|
|
|
%{_libdir}/fwupd-%{version}/libfwupdplugin.so
|
|
|
|
%{_libdir}/fwupd-%{version}/libfwupdutil.so
|
|
|
|
%{_datadir}/%{name}/quirks.d/builtin.quirk.gz
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%files -n dfu-tool
|
|
|
|
%{_bindir}/dfu-tool
|
|
|
|
%{_mandir}/man1/dfu-tool.1%{?ext_man}
|
|
|
|
|
2022-10-20 14:50:55 +02:00
|
|
|
%files -n libfwupd%{shlib_sover}
|
2017-10-27 10:22:48 +02:00
|
|
|
%{_libdir}/libfwupd.so.*
|
|
|
|
|
2017-10-27 13:53:58 +02:00
|
|
|
%files -n typelib-1_0-Fwupd-2_0
|
|
|
|
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
|
2017-10-27 10:22:48 +02:00
|
|
|
|
|
|
|
%files devel
|
2017-10-27 13:53:58 +02:00
|
|
|
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
2018-03-24 14:06:02 +01:00
|
|
|
%{_datadir}/vala/vapi/fwupd.deps
|
|
|
|
%{_datadir}/vala/vapi/fwupd.vapi
|
2017-10-27 10:22:48 +02:00
|
|
|
%{_includedir}/fwupd-1/
|
|
|
|
%{_libdir}/pkgconfig/fwupd.pc
|
|
|
|
%{_libdir}/libfwupd.so
|
2022-10-20 14:50:55 +02:00
|
|
|
|
|
|
|
%files doc
|
|
|
|
%doc %{_datadir}/doc/fwupd/
|
|
|
|
%doc %{_datadir}/doc/libfwupd/
|
|
|
|
%doc %{_datadir}/doc/libfwupdplugin/
|
2017-10-27 10:22:48 +02:00
|
|
|
|
2022-04-19 14:06:59 +02:00
|
|
|
%files bash-completion
|
|
|
|
%{_datadir}/bash-completion/completions/fwupdmgr
|
|
|
|
%{_datadir}/bash-completion/completions/fwupdtool
|
|
|
|
%{_datadir}/bash-completion/completions/fwupdagent
|
|
|
|
|
|
|
|
%if %{with fish_support}
|
|
|
|
%files fish-completion
|
|
|
|
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
|
|
|
|
%endif
|
|
|
|
|
2022-10-20 14:50:55 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2017-10-27 10:22:48 +02:00
|
|
|
%changelog
|