mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 16:11:00 +00:00

This CL creates a mostly empty fu-plugin-powerd.c that has the file disable itself on startup with an error. The README.md file was re-created to include information on powerd and the specific interface it will use. A meson.build file re-created to call fu-plugin-powerd.c. It excludes a .conf install function was removed to be consistent with an upstream change. The general meson.build file includes the powerd subdirectory for powerd to compile. No .quirk file was included. There will be general daemon.quirk file for all plugins. FIXUP: Adjusted copyright format and whitespace in fu-plugin-powerd.c and plugin returns false on startup. Also added to "fu-plugin-powerd.so" entry fwupd.spec.in.
549 lines
16 KiB
RPMSpec
549 lines
16 KiB
RPMSpec
%global glib2_version 2.45.8
|
|
%global libxmlb_version 0.1.3
|
|
%global libgusb_version 0.3.5
|
|
%global libcurl_version 7.61.0
|
|
%global libjcat_version 0.1.0
|
|
%global systemd_version 231
|
|
%global json_glib_version 1.1.1
|
|
|
|
# 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}$
|
|
|
|
%define alphatag #ALPHATAG#
|
|
|
|
%global enable_ci 0
|
|
%global enable_tests 1
|
|
%global enable_dummy 1
|
|
%global __meson_wrap_mode nodownload
|
|
|
|
# fwupd.efi is only available on these arches
|
|
%ifarch x86_64 aarch64
|
|
%global have_uefi 1
|
|
%endif
|
|
|
|
# flashrom is only available on these arches
|
|
%ifarch i686 x86_64 armv7hl aarch64 ppc64le
|
|
%global have_flashrom 1
|
|
%endif
|
|
|
|
%ifarch i686 x86_64
|
|
%global have_msr 1
|
|
%endif
|
|
|
|
# libsmbios is only available on x86
|
|
%ifarch x86_64
|
|
%global have_dell 1
|
|
%endif
|
|
|
|
# only available recently
|
|
%if 0%{?fedora} >= 30
|
|
%global have_modem_manager 1
|
|
%endif
|
|
|
|
Summary: Firmware update daemon
|
|
Name: fwupd
|
|
Version: #VERSION#
|
|
Release: 0.#BUILD#%{?alphatag}%{?dist}
|
|
License: LGPLv2+
|
|
URL: https://github.com/fwupd/fwupd
|
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
BuildRequires: libxmlb-devel >= %{libxmlb_version}
|
|
BuildRequires: libgcab1-devel
|
|
BuildRequires: libgudev1-devel
|
|
BuildRequires: libgusb-devel >= %{libgusb_version}
|
|
BuildRequires: libcurl-devel >= %{libcurl_version}
|
|
BuildRequires: libjcat-devel >= %{libjcat_version}
|
|
BuildRequires: polkit-devel >= 0.103
|
|
BuildRequires: sqlite-devel
|
|
BuildRequires: systemd >= %{systemd_version}
|
|
BuildRequires: systemd-devel
|
|
BuildRequires: libarchive-devel
|
|
BuildRequires: gobject-introspection-devel
|
|
BuildRequires: gcab
|
|
%ifarch %{valgrind_arches}
|
|
BuildRequires: valgrind
|
|
BuildRequires: valgrind-devel
|
|
%endif
|
|
BuildRequires: elfutils-libelf-devel
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: gnutls-devel
|
|
BuildRequires: gnutls-utils
|
|
BuildRequires: meson
|
|
BuildRequires: json-glib-devel >= %{json_glib_version}
|
|
BuildRequires: vala
|
|
BuildRequires: bash-completion
|
|
BuildRequires: git-core
|
|
%if 0%{?have_flashrom}
|
|
BuildRequires: flashrom-devel >= 1.2-2
|
|
%endif
|
|
|
|
%if 0%{?have_modem_manager}
|
|
BuildRequires: ModemManager-glib-devel >= 1.10.0
|
|
BuildRequires: libqmi-devel >= 1.22.0
|
|
BuildRequires: libmbim-devel
|
|
%endif
|
|
|
|
%if 0%{?have_uefi}
|
|
BuildRequires: efivar-devel >= 33
|
|
BuildRequires: python3 python3-cairo python3-gobject
|
|
BuildRequires: pango-devel
|
|
BuildRequires: cairo-devel cairo-gobject-devel
|
|
BuildRequires: freetype
|
|
BuildRequires: fontconfig
|
|
BuildRequires: google-noto-sans-cjk-ttc-fonts
|
|
BuildRequires: tpm2-tss-devel >= 2.2.3
|
|
%endif
|
|
|
|
%if 0%{?have_dell}
|
|
BuildRequires: efivar-devel >= 33
|
|
BuildRequires: libsmbios-devel >= 2.3.0
|
|
%endif
|
|
|
|
Requires(post): systemd
|
|
Requires(preun): systemd
|
|
Requires(postun): systemd
|
|
|
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
|
Requires: libxmlb%{?_isa} >= %{libxmlb_version}
|
|
Requires: libgusb%{?_isa} >= %{libgusb_version}
|
|
Requires: bubblewrap
|
|
Requires: shared-mime-info
|
|
|
|
%if 0%{?rhel} > 7 || 0%{?fedora} > 28
|
|
Recommends: python3
|
|
%endif
|
|
|
|
Obsoletes: fwupd-sign < 0.1.6
|
|
Obsoletes: libebitdo < 0.7.5-3
|
|
Obsoletes: libdfu < 1.0.0
|
|
Obsoletes: fwupd-labels < 1.1.0-1
|
|
|
|
Obsoletes: dbxtool < 9
|
|
Provides: dbxtool
|
|
|
|
%if 0%{?rhel} > 7
|
|
Obsoletes: fwupdate < 11-4
|
|
Obsoletes: fwupdate-efi < 11-4
|
|
|
|
Provides: fwupdate
|
|
Provides: fwupdate-efi
|
|
%endif
|
|
|
|
# optional, but a really good idea
|
|
Recommends: udisks2
|
|
Recommends: bluez
|
|
|
|
%if 0%{?have_modem_manager}
|
|
Recommends: %{name}-plugin-modem-manager
|
|
%endif
|
|
%if 0%{?have_flashrom}
|
|
Recommends: %{name}-plugin-flashrom
|
|
%endif
|
|
%if 0%{?have_uefi}
|
|
Recommends: %{name}-efi
|
|
Recommends: %{name}-plugin-uefi-capsule-data
|
|
%endif
|
|
|
|
%description
|
|
fwupd is a daemon to allow session software to update device firmware.
|
|
|
|
%package devel
|
|
Summary: Development package for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
Obsoletes: libebitdo-devel < 0.7.5-3
|
|
Obsoletes: libdfu-devel < 1.0.0
|
|
|
|
%description devel
|
|
Files for development with %{name}.
|
|
|
|
%package tests
|
|
Summary: Data files for installed tests
|
|
|
|
%description tests
|
|
Data files for installed tests.
|
|
|
|
%if 0%{?have_modem_manager}
|
|
%package plugin-modem-manager
|
|
Summary: fwupd plugin using ModemManger
|
|
|
|
%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
|
|
|
|
%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
|
|
|
|
%if 0%{?have_uefi}
|
|
%package plugin-uefi-capsule-data
|
|
Summary: Localized data for the UEFI UX capsule
|
|
|
|
%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
|
|
|
|
%if 0%{?qubes_packages}
|
|
%package qubes-dom0
|
|
Summary: fwupd wrapper for Qubes OS - dom0 scripts
|
|
Requires: gcab
|
|
Requires: fwupd >= 1.5.7
|
|
Requires: libjcat >= 0.1.6
|
|
|
|
%description qubes-dom0
|
|
fwupd wrapper for Qubes OS
|
|
|
|
%package qubes-vm
|
|
Summary: fwupd wrapper for Qubes OS - VM scripts
|
|
Requires: gcab
|
|
Requires: fwupd >= 1.5.7
|
|
Requires: libjcat >= 0.1.6
|
|
|
|
%description qubes-vm
|
|
fwupd wrapper for Qubes OS
|
|
%endif
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
|
|
%meson \
|
|
%if 0%{?enable_ci}
|
|
--werror \
|
|
%endif
|
|
-Ddocs=gtkdoc \
|
|
%if 0%{?enable_tests}
|
|
-Dtests=true \
|
|
%else
|
|
-Dtests=false \
|
|
%endif
|
|
%if 0%{?enable_dummy}
|
|
-Dplugin_dummy=true \
|
|
%else
|
|
-Dplugin_dummy=false \
|
|
%endif
|
|
%if 0%{?have_flashrom}
|
|
-Dplugin_flashrom=true \
|
|
%else
|
|
-Dplugin_flashrom=false \
|
|
%endif
|
|
%if 0%{?have_msr}
|
|
-Dplugin_msr=true \
|
|
%else
|
|
-Dplugin_msr=false \
|
|
%endif
|
|
-Dplugin_thunderbolt=true \
|
|
%if 0%{?have_uefi}
|
|
-Dplugin_uefi_capsule=true \
|
|
-Dplugin_uefi_pk=true \
|
|
-Dplugin_tpm=true \
|
|
-Defi_binary=false \
|
|
%else
|
|
-Dplugin_uefi_capsule=false \
|
|
-Dplugin_uefi_pk=false \
|
|
-Dplugin_tpm=false \
|
|
%endif
|
|
%if 0%{?have_dell}
|
|
-Dplugin_dell=true \
|
|
-Dplugin_synaptics_mst=true \
|
|
%else
|
|
-Dplugin_dell=false \
|
|
-Dplugin_synaptics_mst=false \
|
|
%endif
|
|
%if 0%{?have_modem_manager}
|
|
-Dplugin_modem_manager=true \
|
|
%else
|
|
-Dplugin_modem_manager=false \
|
|
%endif
|
|
%if 0%{?qubes_packages}
|
|
-Dqubes=true \
|
|
%endif
|
|
-Dman=true \
|
|
-Dbluez=true \
|
|
-Dsupported_build=true
|
|
|
|
%meson_build
|
|
|
|
%if 0%{?enable_tests}
|
|
%if 0%{?enable_ci}
|
|
./contrib/ci/get_test_firmware.sh
|
|
%endif
|
|
%check
|
|
%meson_test
|
|
%endif
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|
|
|
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1757948
|
|
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/cache/fwupd
|
|
|
|
%find_lang %{name}
|
|
|
|
%post
|
|
%systemd_post fwupd.service
|
|
|
|
# change vendor-installed remotes to use the default keyring type
|
|
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
|
|
done
|
|
|
|
%preun
|
|
%systemd_preun fwupd.service
|
|
|
|
%postun
|
|
%systemd_postun_with_restart fwupd.service
|
|
|
|
%files -f %{name}.lang
|
|
%doc README.md AUTHORS
|
|
%license COPYING
|
|
%config(noreplace)%{_sysconfdir}/fwupd/daemon.conf
|
|
%if 0%{?have_uefi}
|
|
%config(noreplace)%{_sysconfdir}/fwupd/uefi_capsule.conf
|
|
%endif
|
|
%config(noreplace)%{_sysconfdir}/fwupd/redfish.conf
|
|
%config(noreplace)%{_sysconfdir}/fwupd/thunderbolt.conf
|
|
%dir %{_libexecdir}/fwupd
|
|
%{_libexecdir}/fwupd/fwupd
|
|
%ifarch i686 x86_64
|
|
%{_libexecdir}/fwupd/fwupd-detect-cet
|
|
%endif
|
|
%{_libexecdir}/fwupd/fwupdoffline
|
|
%if 0%{?have_uefi}
|
|
%{_bindir}/fwupdate
|
|
%{_bindir}/fwupdtpmevlog
|
|
%endif
|
|
%{_bindir}/dfu-tool
|
|
%if 0%{?have_uefi}
|
|
%{_bindir}/dbxtool
|
|
%endif
|
|
%{_bindir}/fwupdmgr
|
|
%{_bindir}/fwupdtool
|
|
%{_bindir}/fwupdagent
|
|
%dir %{_sysconfdir}/fwupd
|
|
%dir %{_sysconfdir}/fwupd/remotes.d
|
|
%if 0%{?have_dell}
|
|
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/dell-esrt.conf
|
|
%endif
|
|
%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
|
|
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/vendor-directory.conf
|
|
%config(noreplace)%{_sysconfdir}/pki/fwupd
|
|
%{_sysconfdir}/pki/fwupd-metadata
|
|
%if 0%{?have_msr}
|
|
/usr/lib/modules-load.d/fwupd-msr.conf
|
|
%endif
|
|
%{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf
|
|
%{_datadir}/bash-completion/completions/fwupdmgr
|
|
%{_datadir}/bash-completion/completions/fwupdtool
|
|
%{_datadir}/bash-completion/completions/fwupdagent
|
|
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
|
|
%{_datadir}/fwupd/metainfo/org.freedesktop.fwupd*.metainfo.xml
|
|
%if 0%{?have_dell}
|
|
%{_datadir}/fwupd/remotes.d/dell-esrt/metadata.xml
|
|
%endif
|
|
%{_datadir}/fwupd/remotes.d/vendor/firmware/README.md
|
|
%{_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
|
|
%{_mandir}/man1/fwupdtool.1*
|
|
%{_mandir}/man1/fwupdagent.1*
|
|
%{_mandir}/man1/dfu-tool.1*
|
|
%if 0%{?have_uefi}
|
|
%{_mandir}/man1/dbxtool.*
|
|
%endif
|
|
%{_mandir}/man1/fwupdmgr.1*
|
|
%if 0%{?have_uefi}
|
|
%{_mandir}/man1/fwupdate.1*
|
|
%{_mandir}/man1/fwupdtpmevlog.1*
|
|
%endif
|
|
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.freedesktop.fwupd.svg
|
|
%{_datadir}/fwupd/firmware_packager.py
|
|
%{_datadir}/fwupd/simple_client.py
|
|
%{_datadir}/fwupd/add_capsule_header.py
|
|
%{_datadir}/fwupd/install_dell_bios_exe.py
|
|
%{_unitdir}/fwupd-offline-update.service
|
|
%{_unitdir}/fwupd.service
|
|
%{_unitdir}/fwupd-refresh.service
|
|
%{_unitdir}/fwupd-refresh.timer
|
|
%{_presetdir}/fwupd-refresh.preset
|
|
%{_unitdir}/system-update.target.wants/
|
|
%dir %{_localstatedir}/lib/fwupd
|
|
%dir %{_localstatedir}/cache/fwupd
|
|
%dir %{_datadir}/fwupd/quirks.d
|
|
%{_datadir}/fwupd/quirks.d/*.quirk
|
|
%{_datadir}/doc/fwupd/builder/README.md
|
|
%{_libdir}/libfwupd*.so.*
|
|
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
|
|
%{_libdir}/girepository-1.0/FwupdPlugin-1.0.typelib
|
|
/usr/lib/udev/rules.d/*.rules
|
|
/usr/lib/systemd/system-shutdown/fwupd.shutdown
|
|
%dir %{_libdir}/fwupd-plugins-3
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_acpi_dmar.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_acpi_facp.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_acpi_phat.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_altos.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_amt.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_analogix.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_ata.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_bcm57xx.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_ccgx.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_colorhug.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_cros_ec.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_cpu.so
|
|
%if 0%{?have_dell}
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dell.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dell_esrt.so
|
|
%endif
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dell_dock.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dfu.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dfu_csr.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_ebitdo.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_elantp.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_emmc.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_ep963x.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_fastboot.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_fresco_pd.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_hailuck.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_iommu.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_jabra.so
|
|
%if 0%{?have_uefi}
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_lenovo_thinklmi.so
|
|
%endif
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_linux_lockdown.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_linux_sleep.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_linux_swap.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_linux_tainted.so
|
|
%if 0%{?have_msr}
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_msr.so
|
|
%endif
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_nitrokey.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_nvme.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_optionrom.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_parade_lspcon.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_pci_bcr.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_pci_mei.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_pixart_rf.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_powerd.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_realtek_mst.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_redfish.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_rts54hid.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_rts54hub.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_solokey.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_steelseries.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_superio.so
|
|
%if 0%{?have_dell}
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_synaptics_mst.so
|
|
%endif
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_synaptics_cxaudio.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_synaptics_prometheus.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_synaptics_rmi.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_system76_launch.so
|
|
%if 0%{?enable_dummy}
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_test.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_test_ble.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_invalid.so
|
|
%endif
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_thelio_io.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_thunderbolt.so
|
|
%if 0%{?have_uefi}
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_tpm.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_tpm_eventlog.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_bios.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_uefi_capsule.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_uefi_dbx.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_uefi_pk.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_uefi_recovery.so
|
|
%endif
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_logind.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_logitech_hidpp.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_upower.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_vli.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_wacom_raw.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_wacom_usb.so
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_goodixmoc.so
|
|
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
|
|
|
%if 0%{?have_modem_manager}
|
|
%files plugin-modem-manager
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_modem_manager.so
|
|
%endif
|
|
%if 0%{?have_flashrom}
|
|
%files plugin-flashrom
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_flashrom.so
|
|
%endif
|
|
%if 0%{?have_uefi}
|
|
%files plugin-uefi-capsule-data
|
|
%{_datadir}/fwupd/uefi-capsule-ux.tar.xz
|
|
%endif
|
|
|
|
%files devel
|
|
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
|
%{_datadir}/gir-1.0/FwupdPlugin-1.0.gir
|
|
%{_datadir}/gtk-doc/html/fwupd
|
|
%{_datadir}/vala/vapi
|
|
%{_includedir}/fwupd-1
|
|
%{_libdir}/libfwupd*.so
|
|
%{_libdir}/pkgconfig/fwupd.pc
|
|
%{_libdir}/pkgconfig/fwupdplugin.pc
|
|
|
|
%files tests
|
|
%if 0%{?enable_tests}
|
|
%dir %{_datadir}/installed-tests/fwupd
|
|
%{_datadir}/installed-tests/fwupd/fwupd-tests.xml
|
|
%{_datadir}/installed-tests/fwupd/*.test
|
|
%{_datadir}/installed-tests/fwupd/*.cab
|
|
%{_datadir}/installed-tests/fwupd/*.sh
|
|
%{_libexecdir}/installed-tests/fwupd/*
|
|
%dir %{_sysconfdir}/fwupd/remotes.d
|
|
%config(noreplace)%{_sysconfdir}/fwupd/remotes.d/fwupd-tests.conf
|
|
%endif
|
|
|
|
%if 0%{?qubes_packages}
|
|
%files qubes-vm
|
|
%{_libexecdir}/qubes-fwupd/fwupd_common_vm.py
|
|
%{_libexecdir}/qubes-fwupd/fwupd_download_updates.py
|
|
%{_libexecdir}/qubes-fwupd/fwupd_usbvm_validate.py
|
|
|
|
%files qubes-dom0
|
|
%{_datadir}/qubes-fwupd/src/fwupd_receive_updates.py
|
|
/usr/sbin/qubes-fwupdmgr
|
|
%{_datadir}/qubes-fwupd/src/qubes_fwupd_heads.py
|
|
%{_datadir}/qubes-fwupd/src/qubes_fwupd_update.py
|
|
%{_datadir}/qubes-fwupd/src/__init__.py
|
|
%{_datadir}/qubes-fwupd/test/fwupd_logs.py
|
|
%{_datadir}/qubes-fwupd/test/test_qubes_fwupdmgr.py
|
|
%{_datadir}/qubes-fwupd/test/test_qubes_fwupd_heads.py
|
|
%{_datadir}/qubes-fwupd/test/__init__.py
|
|
%{_datadir}/qubes-fwupd/test/logs/get_devices.log
|
|
%{_datadir}/qubes-fwupd/test/logs/get_updates.log
|
|
%{_datadir}/qubes-fwupd/test/logs/help.log
|
|
%{_datadir}/qubes-fwupd/test/logs/firmware.metainfo.xml
|
|
%{_datadir}/qubes-fwupd/test/logs/metainfo_name/firmware.metainfo.xml
|
|
%{_datadir}/qubes-fwupd/test/logs/metainfo_version/firmware.metainfo.xml
|
|
%endif
|
|
|
|
%changelog
|
|
* #LONGDATE# Richard Hughes <richard@hughsie.com> #VERSION#-0.#BUILD##ALPHATAG#
|
|
- Update from git
|