2016-08-29 09:18:58 +00:00
|
|
|
%global glib2_version 2.45.8
|
2018-11-07 11:34:35 +00:00
|
|
|
%global libxmlb_version 0.1.3
|
2020-10-26 12:09:01 +00:00
|
|
|
%global libgusb_version 0.3.5
|
2020-11-23 16:04:22 +00:00
|
|
|
%global libcurl_version 7.62.0
|
2020-04-14 11:19:43 +00:00
|
|
|
%global libjcat_version 0.1.0
|
2017-06-07 15:08:24 +00:00
|
|
|
%global systemd_version 231
|
2018-01-25 13:58:47 +00:00
|
|
|
%global json_glib_version 1.1.1
|
2016-07-12 15:37:19 +00:00
|
|
|
|
2020-09-07 10:01:29 +00:00
|
|
|
# although we ship a few tiny python files these are utilities that 99.99%
|
|
|
|
# of users do not need -- use this to avoid dragging python onto CoreOS
|
|
|
|
%global __requires_exclude ^%{python3}$
|
|
|
|
|
2019-05-20 12:46:11 +00:00
|
|
|
# PPC64 is too slow to complete the tests under 3 minutes...
|
2019-05-20 15:07:18 +00:00
|
|
|
%ifnarch ppc64le
|
2017-10-09 12:59:41 +00:00
|
|
|
%global enable_tests 1
|
2019-05-20 12:46:11 +00:00
|
|
|
%endif
|
|
|
|
|
2017-08-03 09:53:33 +00:00
|
|
|
%global enable_dummy 1
|
2017-06-15 08:26:12 +00:00
|
|
|
|
2018-07-11 19:14:46 +00:00
|
|
|
# fwupd.efi is only available on these arches
|
2017-09-01 13:29:46 +00:00
|
|
|
%ifarch x86_64 aarch64
|
|
|
|
%global have_uefi 1
|
2017-02-08 13:54:48 +00:00
|
|
|
%endif
|
|
|
|
|
2022-02-25 15:02:16 +00:00
|
|
|
# gpio.h is only available on these arches
|
|
|
|
%ifarch x86_64 aarch64
|
|
|
|
%global have_gpio 1
|
|
|
|
%endif
|
|
|
|
|
2020-03-04 16:48:43 +00:00
|
|
|
# flashrom is only available on these arches
|
|
|
|
%ifarch i686 x86_64 armv7hl aarch64 ppc64le
|
|
|
|
%global have_flashrom 1
|
|
|
|
%endif
|
|
|
|
|
2020-10-26 12:09:01 +00:00
|
|
|
%ifarch i686 x86_64
|
|
|
|
%global have_msr 1
|
|
|
|
%endif
|
|
|
|
|
2022-09-22 14:19:17 +00:00
|
|
|
# Until we actually have seen it outside x86
|
|
|
|
%ifarch i686 x86_64
|
|
|
|
%global have_thunderbolt 1
|
|
|
|
%endif
|
|
|
|
|
2019-03-27 11:20:56 +00:00
|
|
|
# only available recently
|
|
|
|
%if 0%{?fedora} >= 30
|
|
|
|
%global have_modem_manager 1
|
|
|
|
%endif
|
|
|
|
|
2015-03-16 20:48:34 +00:00
|
|
|
Summary: Firmware update daemon
|
|
|
|
Name: fwupd
|
2023-02-24 15:21:41 +00:00
|
|
|
Version: 1.8.12
|
2023-01-03 12:38:46 +00:00
|
|
|
Release: %autorelease
|
2023-02-22 09:36:15 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2019-09-26 15:31:04 +00:00
|
|
|
URL: https://github.com/fwupd/fwupd
|
2015-03-16 20:48:34 +00:00
|
|
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
2016-07-12 15:37:19 +00:00
|
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
2018-11-07 11:34:35 +00:00
|
|
|
BuildRequires: libxmlb-devel >= %{libxmlb_version}
|
2018-07-11 19:46:40 +00:00
|
|
|
BuildRequires: libgcab1-devel
|
2015-03-16 20:48:34 +00:00
|
|
|
BuildRequires: libgudev1-devel
|
2016-07-12 15:37:19 +00:00
|
|
|
BuildRequires: libgusb-devel >= %{libgusb_version}
|
2020-11-23 16:04:22 +00:00
|
|
|
BuildRequires: libcurl-devel >= %{libcurl_version}
|
2020-04-14 11:19:43 +00:00
|
|
|
BuildRequires: libjcat-devel >= %{libjcat_version}
|
2015-03-16 20:48:34 +00:00
|
|
|
BuildRequires: polkit-devel >= 0.103
|
2021-10-06 15:35:57 +00:00
|
|
|
BuildRequires: protobuf-c-devel
|
2022-07-22 10:20:31 +00:00
|
|
|
BuildRequires: python3-packaging
|
2015-03-16 20:48:34 +00:00
|
|
|
BuildRequires: sqlite-devel
|
2017-06-07 15:08:24 +00:00
|
|
|
BuildRequires: systemd >= %{systemd_version}
|
2020-11-23 16:04:22 +00:00
|
|
|
BuildRequires: systemd-devel
|
2015-08-12 08:55:18 +00:00
|
|
|
BuildRequires: libarchive-devel
|
2022-04-28 14:47:57 +00:00
|
|
|
BuildRequires: libcbor-devel
|
2015-03-23 13:27:29 +00:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2015-08-12 08:55:18 +00:00
|
|
|
BuildRequires: gcab
|
2023-02-24 15:21:41 +00:00
|
|
|
BuildRequires: pandoc
|
2018-08-13 13:18:38 +00:00
|
|
|
%ifarch %{valgrind_arches}
|
2016-04-01 13:45:29 +00:00
|
|
|
BuildRequires: valgrind
|
2017-02-27 13:10:09 +00:00
|
|
|
BuildRequires: valgrind-devel
|
2018-08-13 13:18:38 +00:00
|
|
|
%endif
|
2022-07-11 11:43:49 +00:00
|
|
|
BuildRequires: gi-docgen
|
2017-09-01 13:36:04 +00:00
|
|
|
BuildRequires: gnutls-devel
|
|
|
|
BuildRequires: gnutls-utils
|
2017-05-22 19:12:39 +00:00
|
|
|
BuildRequires: meson
|
2018-01-25 13:56:24 +00:00
|
|
|
BuildRequires: json-glib-devel >= %{json_glib_version}
|
2018-03-12 10:53:58 +00:00
|
|
|
BuildRequires: vala
|
2018-06-07 12:37:07 +00:00
|
|
|
BuildRequires: bash-completion
|
2019-11-29 12:42:37 +00:00
|
|
|
BuildRequires: git-core
|
2020-03-04 16:48:43 +00:00
|
|
|
%if 0%{?have_flashrom}
|
2020-03-04 16:38:30 +00:00
|
|
|
BuildRequires: flashrom-devel >= 1.2-2
|
2020-03-04 16:48:43 +00:00
|
|
|
%endif
|
2016-08-29 09:00:06 +00:00
|
|
|
|
2019-03-27 11:20:56 +00:00
|
|
|
%if 0%{?have_modem_manager}
|
|
|
|
BuildRequires: ModemManager-glib-devel >= 1.10.0
|
|
|
|
BuildRequires: libqmi-devel >= 1.22.0
|
2021-08-02 14:45:03 +00:00
|
|
|
BuildRequires: libmbim-devel
|
2019-03-27 11:20:56 +00:00
|
|
|
%endif
|
|
|
|
|
2017-07-04 14:45:15 +00:00
|
|
|
%if 0%{?have_uefi}
|
2018-07-11 19:14:46 +00:00
|
|
|
BuildRequires: efivar-devel >= 33
|
2021-04-28 12:08:01 +00:00
|
|
|
BuildRequires: python3 python3-cairo python3-gobject
|
2017-06-15 08:26:12 +00:00
|
|
|
BuildRequires: pango-devel
|
|
|
|
BuildRequires: cairo-devel cairo-gobject-devel
|
|
|
|
BuildRequires: freetype
|
|
|
|
BuildRequires: fontconfig
|
2018-09-10 16:44:04 +00:00
|
|
|
BuildRequires: google-noto-sans-cjk-ttc-fonts
|
2019-09-26 15:31:04 +00:00
|
|
|
BuildRequires: tpm2-tss-devel >= 2.2.3
|
2017-07-04 14:45:15 +00:00
|
|
|
%endif
|
2017-06-15 08:26:12 +00:00
|
|
|
|
2015-03-16 20:48:34 +00:00
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
2015-06-03 16:27:48 +00:00
|
|
|
|
2016-07-12 15:37:19 +00:00
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
2018-11-07 11:34:35 +00:00
|
|
|
Requires: libxmlb%{?_isa} >= %{libxmlb_version}
|
2016-07-12 15:37:19 +00:00
|
|
|
Requires: libgusb%{?_isa} >= %{libgusb_version}
|
2018-11-07 11:34:35 +00:00
|
|
|
Requires: shared-mime-info
|
2017-09-01 13:36:04 +00:00
|
|
|
|
2015-09-10 09:24:50 +00:00
|
|
|
Obsoletes: fwupd-sign < 0.1.6
|
2017-02-08 13:10:16 +00:00
|
|
|
Obsoletes: libebitdo < 0.7.5-3
|
2017-11-09 15:31:59 +00:00
|
|
|
Obsoletes: libdfu < 1.0.0
|
2018-07-11 19:14:46 +00:00
|
|
|
Obsoletes: fwupd-labels < 1.1.0-1
|
2015-09-10 08:35:07 +00:00
|
|
|
|
2020-09-07 10:01:29 +00:00
|
|
|
Obsoletes: dbxtool < 9
|
|
|
|
Provides: dbxtool
|
|
|
|
|
2020-10-26 12:09:01 +00:00
|
|
|
# optional, but a really good idea
|
2020-11-02 15:04:27 +00:00
|
|
|
Recommends: udisks2
|
2021-02-23 15:05:00 +00:00
|
|
|
Recommends: bluez
|
2022-02-07 16:29:53 +00:00
|
|
|
Recommends: jq
|
2020-11-02 15:04:27 +00:00
|
|
|
|
2020-10-26 12:09:01 +00:00
|
|
|
%if 0%{?have_modem_manager}
|
|
|
|
Recommends: %{name}-plugin-modem-manager
|
|
|
|
%endif
|
|
|
|
%if 0%{?have_flashrom}
|
|
|
|
Recommends: %{name}-plugin-flashrom
|
|
|
|
%endif
|
2021-02-16 12:27:04 +00:00
|
|
|
%if 0%{?have_uefi}
|
2021-04-28 12:08:01 +00:00
|
|
|
Recommends: %{name}-efi
|
2021-02-16 12:27:04 +00:00
|
|
|
Recommends: %{name}-plugin-uefi-capsule-data
|
|
|
|
%endif
|
2020-10-26 12:09:01 +00:00
|
|
|
|
2015-03-16 20:48:34 +00:00
|
|
|
%description
|
|
|
|
fwupd is a daemon to allow session software to update device firmware.
|
|
|
|
|
2015-03-23 12:04:07 +00:00
|
|
|
%package devel
|
|
|
|
Summary: Development package for %{name}
|
2016-07-14 09:39:37 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2017-02-08 13:10:16 +00:00
|
|
|
Obsoletes: libebitdo-devel < 0.7.5-3
|
2017-11-09 15:31:59 +00:00
|
|
|
Obsoletes: libdfu-devel < 1.0.0
|
2015-03-23 12:04:07 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Files for development with %{name}.
|
|
|
|
|
2017-06-15 08:26:12 +00:00
|
|
|
%package tests
|
|
|
|
Summary: Data files for installed tests
|
2021-11-19 10:15:17 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2017-06-15 08:26:12 +00:00
|
|
|
|
|
|
|
%description tests
|
|
|
|
Data files for installed tests.
|
|
|
|
|
2020-10-26 12:09:01 +00:00
|
|
|
%if 0%{?have_modem_manager}
|
|
|
|
%package plugin-modem-manager
|
|
|
|
Summary: fwupd plugin using ModemManger
|
2021-11-19 10:15:17 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2020-10-26 12:09:01 +00:00
|
|
|
|
|
|
|
%description plugin-modem-manager
|
|
|
|
This provides the optional package which is only required on hardware that
|
|
|
|
might have mobile broadband hardware. It is probably not required on servers.
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if 0%{?have_flashrom}
|
|
|
|
%package plugin-flashrom
|
|
|
|
Summary: fwupd plugin using flashrom
|
2021-11-19 10:15:17 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2020-10-26 12:09:01 +00:00
|
|
|
|
|
|
|
%description plugin-flashrom
|
|
|
|
This provides the optional package which is only required on hardware that
|
|
|
|
can be flashed using flashrom. It is probably not required on servers.
|
|
|
|
%endif
|
|
|
|
|
2021-02-16 12:27:04 +00:00
|
|
|
%if 0%{?have_uefi}
|
|
|
|
%package plugin-uefi-capsule-data
|
|
|
|
Summary: Localized data for the UEFI UX capsule
|
2021-11-19 10:15:17 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2021-02-16 12:27:04 +00:00
|
|
|
|
|
|
|
%description plugin-uefi-capsule-data
|
|
|
|
This provides the pregenerated BMP artwork for the UX capsule, which allows the
|
|
|
|
"Installing firmware update…" localized text to be shown during a UEFI firmware
|
|
|
|
update operation. This subpackage is probably not required on embedded hardware
|
|
|
|
or server machines.
|
|
|
|
%endif
|
|
|
|
|
2015-03-16 20:48:34 +00:00
|
|
|
%prep
|
2019-02-01 22:15:05 +00:00
|
|
|
%autosetup -p1
|
2015-03-16 20:48:34 +00:00
|
|
|
|
|
|
|
%build
|
2017-05-22 18:47:57 +00:00
|
|
|
|
|
|
|
%meson \
|
2022-07-11 11:43:49 +00:00
|
|
|
-Ddocs=enabled \
|
2017-06-15 08:26:12 +00:00
|
|
|
%if 0%{?enable_tests}
|
2017-11-28 15:03:18 +00:00
|
|
|
-Dtests=true \
|
2017-06-15 08:26:12 +00:00
|
|
|
%else
|
2017-11-28 15:03:18 +00:00
|
|
|
-Dtests=false \
|
2017-08-03 09:53:33 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?enable_dummy}
|
2017-11-28 15:03:18 +00:00
|
|
|
-Dplugin_dummy=true \
|
2017-08-03 09:53:33 +00:00
|
|
|
%else
|
2017-11-28 15:03:18 +00:00
|
|
|
-Dplugin_dummy=false \
|
2017-06-15 08:26:12 +00:00
|
|
|
%endif
|
2020-03-04 16:48:43 +00:00
|
|
|
%if 0%{?have_flashrom}
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_flashrom=enabled \
|
2020-03-04 16:48:43 +00:00
|
|
|
%else
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_flashrom=disabled \
|
2020-10-26 12:09:01 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?have_msr}
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_msr=enabled \
|
2020-10-26 12:09:01 +00:00
|
|
|
%else
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_msr=disabled \
|
2022-02-25 15:02:16 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?have_gpio}
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_gpio=enabled \
|
2022-02-25 15:02:16 +00:00
|
|
|
%else
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_gpio=disabled \
|
2020-03-04 16:48:43 +00:00
|
|
|
%endif
|
2017-02-08 13:54:48 +00:00
|
|
|
%if 0%{?have_uefi}
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_uefi_capsule=enabled \
|
|
|
|
-Dplugin_uefi_pk=enabled \
|
|
|
|
-Dplugin_tpm=enabled \
|
2021-04-28 12:08:01 +00:00
|
|
|
-Defi_binary=false \
|
2016-08-29 09:00:06 +00:00
|
|
|
%else
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_uefi_capsule=disabled \
|
|
|
|
-Dplugin_uefi_pk=disabled \
|
|
|
|
-Dplugin_tpm=disabled \
|
2016-08-29 09:00:06 +00:00
|
|
|
%endif
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_dell=disabled \
|
2019-03-27 11:20:56 +00:00
|
|
|
%if 0%{?have_modem_manager}
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_modem_manager=enabled \
|
2019-03-27 11:20:56 +00:00
|
|
|
%else
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dplugin_modem_manager=disabled \
|
2015-06-03 16:27:48 +00:00
|
|
|
%endif
|
2020-11-23 16:04:22 +00:00
|
|
|
-Dman=true \
|
2022-04-28 14:47:57 +00:00
|
|
|
-Dbluez=enabled \
|
|
|
|
-Dplugin_powerd=disabled \
|
|
|
|
-Dsupported_build=enabled
|
2015-03-16 20:48:34 +00:00
|
|
|
|
2017-05-22 18:47:57 +00:00
|
|
|
%meson_build
|
2017-08-24 15:18:27 +00:00
|
|
|
|
2017-06-15 08:26:12 +00:00
|
|
|
%if 0%{?enable_tests}
|
2017-08-24 15:18:27 +00:00
|
|
|
%check
|
2017-06-15 08:26:12 +00:00
|
|
|
%meson_test
|
|
|
|
%endif
|
2015-03-16 20:48:34 +00:00
|
|
|
|
|
|
|
%install
|
2017-05-22 18:47:57 +00:00
|
|
|
%meson_install
|
2015-03-16 20:48:34 +00:00
|
|
|
|
2017-05-22 18:47:57 +00:00
|
|
|
mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
2017-04-20 15:35:44 +00:00
|
|
|
|
2019-10-08 13:35:59 +00:00
|
|
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1757948
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/fwupd
|
|
|
|
|
2015-03-16 20:48:34 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post
|
2021-04-28 12:08:01 +00:00
|
|
|
%systemd_post fwupd.service
|
2015-03-16 20:48:34 +00:00
|
|
|
|
2020-12-08 09:55:03 +00:00
|
|
|
# change vendor-installed remotes to use the default keyring type
|
2021-02-16 12:27:04 +00:00
|
|
|
for fn in /etc/fwupd/remotes.d/*.conf; do
|
|
|
|
if grep -q "Keyring=gpg" "$fn"; then
|
|
|
|
sed -i 's/Keyring=gpg/#Keyring=pkcs/g' "$fn";
|
|
|
|
fi
|
2020-12-08 09:55:03 +00:00
|
|
|
done
|
|
|
|
|
2015-03-16 20:48:34 +00:00
|
|
|
%preun
|
2021-04-28 12:08:01 +00:00
|
|
|
%systemd_preun fwupd.service
|
2015-03-16 20:48:34 +00:00
|
|
|
|
|
|
|
%postun
|
2021-04-28 12:08:01 +00:00
|
|
|
%systemd_postun_with_restart fwupd.service
|
2015-03-16 20:48:34 +00:00
|
|
|
|
|
|
|
%files -f %{name}.lang
|
2018-11-27 15:16:39 +00:00
|
|
|
%doc README.md AUTHORS
|
2015-03-16 20:48:34 +00:00
|
|
|
%license COPYING
|
2017-10-09 12:59:41 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/daemon.conf
|
2018-03-12 11:03:24 +00:00
|
|
|
%if 0%{?have_uefi}
|
2021-01-11 10:24:41 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/uefi_capsule.conf
|
2018-03-12 11:03:24 +00:00
|
|
|
%endif
|
2018-08-13 13:18:38 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/redfish.conf
|
2022-09-22 14:19:17 +00:00
|
|
|
%if 0%{?have_thunderbolt}
|
2019-09-26 15:31:04 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/thunderbolt.conf
|
2022-09-22 14:19:17 +00:00
|
|
|
%endif
|
2015-09-10 08:35:07 +00:00
|
|
|
%dir %{_libexecdir}/fwupd
|
|
|
|
%{_libexecdir}/fwupd/fwupd
|
2020-10-26 12:09:01 +00:00
|
|
|
%ifarch i686 x86_64
|
|
|
|
%{_libexecdir}/fwupd/fwupd-detect-cet
|
|
|
|
%endif
|
2019-03-26 11:00:18 +00:00
|
|
|
%{_libexecdir}/fwupd/fwupdoffline
|
2018-07-11 19:14:46 +00:00
|
|
|
%if 0%{?have_uefi}
|
2020-09-07 10:01:29 +00:00
|
|
|
%{_bindir}/dbxtool
|
|
|
|
%endif
|
2015-03-16 20:48:34 +00:00
|
|
|
%{_bindir}/fwupdmgr
|
2020-03-04 16:38:30 +00:00
|
|
|
%{_bindir}/fwupdtool
|
2017-06-07 15:08:24 +00:00
|
|
|
%dir %{_sysconfdir}/fwupd
|
2022-08-30 09:44:21 +00:00
|
|
|
%dir %{_sysconfdir}/fwupd/bios-settings.d
|
2022-12-07 18:49:03 +00:00
|
|
|
%{_sysconfdir}/fwupd/bios-settings.d/README.md
|
2017-06-07 15:08:24 +00:00
|
|
|
%dir %{_sysconfdir}/fwupd/remotes.d
|
2018-01-25 13:56:24 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/lvfs.conf
|
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/lvfs-testing.conf
|
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/vendor.conf
|
2019-02-01 14:36:58 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/vendor-directory.conf
|
2018-01-25 13:56:24 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/pki/fwupd
|
2015-07-25 13:59:41 +00:00
|
|
|
%{_sysconfdir}/pki/fwupd-metadata
|
2020-10-26 12:09:01 +00:00
|
|
|
%if 0%{?have_msr}
|
2020-11-23 16:04:22 +00:00
|
|
|
/usr/lib/modules-load.d/fwupd-msr.conf
|
2022-02-25 15:02:16 +00:00
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/msr.conf
|
2020-10-26 12:09:01 +00:00
|
|
|
%endif
|
2019-09-26 15:31:04 +00:00
|
|
|
%{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf
|
2018-03-12 10:53:58 +00:00
|
|
|
%{_datadir}/bash-completion/completions/fwupdmgr
|
2018-06-07 12:37:07 +00:00
|
|
|
%{_datadir}/bash-completion/completions/fwupdtool
|
2020-03-04 16:38:30 +00:00
|
|
|
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
|
2018-06-07 12:37:07 +00:00
|
|
|
%{_datadir}/fwupd/metainfo/org.freedesktop.fwupd*.metainfo.xml
|
2017-08-03 09:53:33 +00:00
|
|
|
%{_datadir}/fwupd/remotes.d/vendor/firmware/README.md
|
2015-03-16 20:48:34 +00:00
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
|
|
|
|
%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
|
2020-11-23 16:04:22 +00:00
|
|
|
%{_mandir}/man1/fwupdtool.1*
|
2020-09-07 10:01:29 +00:00
|
|
|
%if 0%{?have_uefi}
|
2020-11-23 16:04:22 +00:00
|
|
|
%{_mandir}/man1/dbxtool.*
|
2020-09-07 10:01:29 +00:00
|
|
|
%endif
|
2020-11-23 16:04:22 +00:00
|
|
|
%{_mandir}/man1/fwupdmgr.1*
|
2018-06-07 12:37:07 +00:00
|
|
|
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
|
2019-02-25 10:03:03 +00:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.freedesktop.fwupd.svg
|
2019-11-22 16:17:33 +00:00
|
|
|
%{_datadir}/fwupd/firmware_packager.py
|
|
|
|
%{_datadir}/fwupd/simple_client.py
|
|
|
|
%{_datadir}/fwupd/add_capsule_header.py
|
|
|
|
%{_datadir}/fwupd/install_dell_bios_exe.py
|
2015-09-10 08:35:07 +00:00
|
|
|
%{_unitdir}/fwupd-offline-update.service
|
2015-07-25 13:59:41 +00:00
|
|
|
%{_unitdir}/fwupd.service
|
2019-09-26 15:31:04 +00:00
|
|
|
%{_unitdir}/fwupd-refresh.service
|
|
|
|
%{_unitdir}/fwupd-refresh.timer
|
2019-11-01 15:17:29 +00:00
|
|
|
%{_presetdir}/fwupd-refresh.preset
|
2015-09-10 09:23:55 +00:00
|
|
|
%{_unitdir}/system-update.target.wants/
|
2015-03-16 20:48:34 +00:00
|
|
|
%dir %{_localstatedir}/lib/fwupd
|
2019-10-08 13:35:59 +00:00
|
|
|
%dir %{_localstatedir}/cache/fwupd
|
2017-11-09 15:27:13 +00:00
|
|
|
%dir %{_datadir}/fwupd/quirks.d
|
2022-10-07 15:45:57 +00:00
|
|
|
%{_datadir}/fwupd/quirks.d/builtin.quirk.gz
|
2022-07-22 09:59:26 +00:00
|
|
|
%{_datadir}/doc/fwupd/*.html
|
2021-08-02 14:45:03 +00:00
|
|
|
%if 0%{?have_uefi}
|
|
|
|
%{_sysconfdir}/grub.d/35_fwupd
|
|
|
|
%endif
|
2021-10-06 15:25:16 +00:00
|
|
|
%{_libdir}/libfwupd.so.2*
|
2017-10-09 12:59:41 +00:00
|
|
|
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
|
2015-07-25 13:59:41 +00:00
|
|
|
/usr/lib/udev/rules.d/*.rules
|
2019-03-26 11:00:18 +00:00
|
|
|
/usr/lib/systemd/system-shutdown/fwupd.shutdown
|
2022-10-07 15:45:57 +00:00
|
|
|
%dir %{_libdir}/fwupd-%{version}
|
|
|
|
%{_libdir}/fwupd-%{version}/libfwupd*.so
|
2016-08-29 09:00:06 +00:00
|
|
|
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
2015-07-25 13:59:41 +00:00
|
|
|
|
2020-10-26 12:09:01 +00:00
|
|
|
%if 0%{?have_modem_manager}
|
|
|
|
%files plugin-modem-manager
|
2022-10-07 15:45:57 +00:00
|
|
|
%{_libdir}/fwupd-%{version}/libfu_plugin_modem_manager.so
|
2020-10-26 12:09:01 +00:00
|
|
|
%endif
|
|
|
|
%if 0%{?have_flashrom}
|
|
|
|
%files plugin-flashrom
|
2022-10-07 15:45:57 +00:00
|
|
|
%{_libdir}/fwupd-%{version}/libfu_plugin_flashrom.so
|
2020-10-26 12:09:01 +00:00
|
|
|
%endif
|
2021-02-16 12:27:04 +00:00
|
|
|
%if 0%{?have_uefi}
|
|
|
|
%files plugin-uefi-capsule-data
|
|
|
|
%{_datadir}/fwupd/uefi-capsule-ux.tar.xz
|
|
|
|
%endif
|
2020-10-26 12:09:01 +00:00
|
|
|
|
2015-03-23 12:04:07 +00:00
|
|
|
%files devel
|
2017-10-09 12:59:41 +00:00
|
|
|
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
2022-09-22 14:19:17 +00:00
|
|
|
%{_datadir}/doc/fwupd/libfwupdplugin
|
|
|
|
%{_datadir}/doc/fwupd/libfwupd
|
2022-07-11 11:43:49 +00:00
|
|
|
%{_datadir}/doc/libfwupdplugin
|
|
|
|
%{_datadir}/doc/libfwupd
|
2018-03-12 10:53:58 +00:00
|
|
|
%{_datadir}/vala/vapi
|
2015-03-23 12:04:07 +00:00
|
|
|
%{_includedir}/fwupd-1
|
2016-04-01 13:45:29 +00:00
|
|
|
%{_libdir}/libfwupd*.so
|
|
|
|
%{_libdir}/pkgconfig/fwupd.pc
|
|
|
|
|
2017-06-15 08:26:12 +00:00
|
|
|
%files tests
|
2020-04-14 11:30:05 +00:00
|
|
|
%if 0%{?enable_tests}
|
2022-09-22 14:19:17 +00:00
|
|
|
%{_datadir}/fwupd/host-emulate.d/*.json.gz
|
2017-06-15 08:26:12 +00:00
|
|
|
%dir %{_datadir}/installed-tests/fwupd
|
2021-11-01 12:00:23 +00:00
|
|
|
%{_datadir}/installed-tests/fwupd/tests/*
|
2018-12-30 15:28:41 +00:00
|
|
|
%{_datadir}/installed-tests/fwupd/fwupd-tests.xml
|
2017-06-15 08:26:12 +00:00
|
|
|
%{_datadir}/installed-tests/fwupd/*.test
|
2017-07-04 14:45:15 +00:00
|
|
|
%{_datadir}/installed-tests/fwupd/*.cab
|
|
|
|
%{_datadir}/installed-tests/fwupd/*.sh
|
2023-01-03 12:38:46 +00:00
|
|
|
%{_datadir}/installed-tests/fwupd/*.zip
|
2021-11-19 10:33:41 +00:00
|
|
|
%if 0%{?have_uefi}
|
2021-11-19 10:15:17 +00:00
|
|
|
%{_datadir}/installed-tests/fwupd/efi
|
2021-11-19 10:33:41 +00:00
|
|
|
%endif
|
2023-01-23 10:21:55 +00:00
|
|
|
%{_datadir}/installed-tests/fwupd/chassis_type
|
|
|
|
%{_datadir}/installed-tests/fwupd/sys_vendor
|
2021-10-06 15:25:16 +00:00
|
|
|
%{_datadir}/fwupd/device-tests/*.json
|
2020-10-26 12:09:01 +00:00
|
|
|
%{_libexecdir}/installed-tests/fwupd/*
|
2018-12-30 15:28:41 +00:00
|
|
|
%dir %{_sysconfdir}/fwupd/remotes.d
|
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/fwupd-tests.conf
|
2020-04-14 11:30:05 +00:00
|
|
|
%endif
|
2017-06-15 08:26:12 +00:00
|
|
|
|
2015-03-16 20:48:34 +00:00
|
|
|
%changelog
|
2023-01-03 12:38:46 +00:00
|
|
|
%autochangelog
|