|
|
|
@ -2,7 +2,6 @@
|
|
|
|
|
%global libappstream_version 0.7.4
|
|
|
|
|
%global libgusb_version 0.2.11
|
|
|
|
|
%global libsoup_version 2.51.92
|
|
|
|
|
%global colord_version 1.2.12
|
|
|
|
|
%global systemd_version 231
|
|
|
|
|
%global json_glib_version 1.1.1
|
|
|
|
|
|
|
|
|
@ -19,27 +18,20 @@
|
|
|
|
|
%global have_dell 1
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# -Wl,-z,defs is broken
|
|
|
|
|
%undefine _strict_symbol_defs_build
|
|
|
|
|
|
|
|
|
|
Summary: Firmware update daemon
|
|
|
|
|
Name: fwupd
|
|
|
|
|
Version: 1.0.5
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Version: 1.0.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://github.com/hughsie/fwupd
|
|
|
|
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# backport from master
|
|
|
|
|
Patch0: 0001-Use-a-CNAME-to-redirect-to-the-correct-CDN-for-metad.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
|
|
BuildRequires: libappstream-glib-devel >= %{libappstream_version}
|
|
|
|
|
BuildRequires: libgudev1-devel
|
|
|
|
|
BuildRequires: libgusb-devel >= %{libgusb_version}
|
|
|
|
|
BuildRequires: libsoup-devel >= %{libsoup_version}
|
|
|
|
|
BuildRequires: colord-devel >= %{colord_version}
|
|
|
|
|
BuildRequires: polkit-devel >= 0.103
|
|
|
|
|
BuildRequires: sqlite-devel
|
|
|
|
|
BuildRequires: gpgme-devel
|
|
|
|
@ -57,6 +49,8 @@ BuildRequires: gnutls-utils
|
|
|
|
|
BuildRequires: meson
|
|
|
|
|
BuildRequires: help2man
|
|
|
|
|
BuildRequires: json-glib-devel >= %{json_glib_version}
|
|
|
|
|
BuildRequires: vala
|
|
|
|
|
BuildRequires: bash-completion
|
|
|
|
|
|
|
|
|
|
%if 0%{?have_uefi}
|
|
|
|
|
BuildRequires: python3 python3-cairo python3-gobject python3-pillow
|
|
|
|
@ -124,13 +118,11 @@ Data files for installed tests.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1 -b .no-cdn
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%meson \
|
|
|
|
|
-Dgtkdoc=true \
|
|
|
|
|
-Dman=true \
|
|
|
|
|
%if 0%{?enable_tests}
|
|
|
|
|
-Dtests=true \
|
|
|
|
|
%else
|
|
|
|
@ -156,7 +148,7 @@ Data files for installed tests.
|
|
|
|
|
-Dplugin_dell=false \
|
|
|
|
|
-Dplugin_synaptics=false \
|
|
|
|
|
%endif
|
|
|
|
|
-Dplugin_colorhug=true
|
|
|
|
|
-Dman=true
|
|
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
@ -187,8 +179,12 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|
|
|
|
%doc README.md AUTHORS NEWS
|
|
|
|
|
%license COPYING
|
|
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/daemon.conf
|
|
|
|
|
%if 0%{?have_uefi}
|
|
|
|
|
%config(noreplace)%{_sysconfdir}/fwupd/uefi.conf
|
|
|
|
|
%endif
|
|
|
|
|
%dir %{_libexecdir}/fwupd
|
|
|
|
|
%{_libexecdir}/fwupd/fwupd
|
|
|
|
|
%{_libexecdir}/fwupd/fwupdtool
|
|
|
|
|
%{_bindir}/dfu-tool
|
|
|
|
|
%{_bindir}/fwupdmgr
|
|
|
|
|
%dir %{_sysconfdir}/fwupd
|
|
|
|
@ -200,6 +196,9 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|
|
|
|
%config(noreplace)%{_sysconfdir}/pki/fwupd
|
|
|
|
|
%{_sysconfdir}/pki/fwupd-metadata
|
|
|
|
|
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
|
|
|
|
|
%{_datadir}/bash-completion/completions/fwupdmgr
|
|
|
|
|
%{_datadir}/bash-completion/completions/fwupdtool
|
|
|
|
|
%{_datadir}/fwupd/metainfo/org.freedesktop.fwupd*.metainfo.xml
|
|
|
|
|
%{_datadir}/fwupd/remotes.d/fwupd/metadata.xml
|
|
|
|
|
%{_datadir}/fwupd/remotes.d/vendor/firmware/README.md
|
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
|
|
|
|
@ -231,7 +230,6 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dfu.so
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_ebitdo.so
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_nitrokey.so
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_raspberrypi.so
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_steelseries.so
|
|
|
|
|
%if 0%{?have_dell}
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_synapticsmst.so
|
|
|
|
@ -247,11 +245,13 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|
|
|
|
%endif
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_unifying.so
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_upower.so
|
|
|
|
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_wacomhid.so
|
|
|
|
|
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
|
|
|
|
%{_datadir}/gtk-doc/html/libfwupd
|
|
|
|
|
%{_datadir}/vala/vapi
|
|
|
|
|
%{_includedir}/fwupd-1
|
|
|
|
|
%{_libdir}/libfwupd*.so
|
|
|
|
|
%{_libdir}/pkgconfig/fwupd.pc
|
|
|
|
@ -271,6 +271,43 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|
|
|
|
%{_datadir}/installed-tests/fwupd/*.py*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 07 2018 Richard Hughes <richard@hughsie.com> 1.0.8-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
- Adjust all licensing to be 100% LGPL 2.1+
|
|
|
|
|
- Add a firmware diagnostic tool called fwupdtool
|
|
|
|
|
- Add an plugin to update some future Wacom tablets
|
|
|
|
|
- Add support for Motorola S-record files
|
|
|
|
|
- Add the Linux Foundation public GPG keys for firmware and metadata
|
|
|
|
|
- Allow installing more than one firmware using 'fwupdmgr install'
|
|
|
|
|
- Allow specifying hwids with OR relationships
|
|
|
|
|
- Fix a potential DoS in libdfu by limiting holes to 1MiB
|
|
|
|
|
- Fix Hardware-ID{0,1,2,12} compatibility with Microsoft
|
|
|
|
|
- Hide devices that aren't updatable by default in fwupdmgr
|
|
|
|
|
- Stop matching Nintendo Switch Pro in the 8bitdo plugin
|
|
|
|
|
|
|
|
|
|
* Mon Apr 30 2018 Richard Hughes <richard@hughsie.com> 1.0.7-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
- Add enable-remote and disable-remote commands to fwupdmgr
|
|
|
|
|
- Allow requiring specific versions of libraries for firmware updates
|
|
|
|
|
- Don't recoldplug thunderbolt to fix a flashing failure
|
|
|
|
|
- Fix SQL error when running 'fwupdmgr clear-offline'
|
|
|
|
|
- Only enumerate Dell Docks if the type is known
|
|
|
|
|
- Reboot after scheduling using logind not systemd
|
|
|
|
|
- Show a warning with interactive prompt when enabling a remote
|
|
|
|
|
|
|
|
|
|
* Mon Mar 12 2018 Richard Hughes <richard@hughsie.com> 1.0.6-1
|
|
|
|
|
- New upstream release
|
|
|
|
|
- Add bash completion for fwupdmgr
|
|
|
|
|
- Add support for newest Thunderbolt chips
|
|
|
|
|
- Allow devices to use the runtime version when in bootloader mode
|
|
|
|
|
- Allow overriding ESP mount point via conf file
|
|
|
|
|
- Correct handling of unknown Thunderbolt devices
|
|
|
|
|
- Correctly detect new remotes that are manually copied
|
|
|
|
|
- Delete any old fwupdate capsules and efivars when launching fwupd
|
|
|
|
|
- Fix a crash related to when passing device to downgrade in CLI
|
|
|
|
|
- Fix Unifying signature writing and parsing for Texas bootloader
|
|
|
|
|
- Generate Vala bindings
|
|
|
|
|
|
|
|
|
|
* Fri Feb 23 2018 Richard Hughes <richard@hughsie.com> 1.0.5-2
|
|
|
|
|
- Use the new CDN for metadata.
|
|
|
|
|
|
|
|
|
|