New upstream release
This commit is contained in:
parent
bbf19ea7d7
commit
f41e2eb517
1
.gitignore
vendored
1
.gitignore
vendored
@ -38,3 +38,4 @@
|
|||||||
/fwupd-1.0.6.tar.xz
|
/fwupd-1.0.6.tar.xz
|
||||||
/fwupd-1.0.7.tar.xz
|
/fwupd-1.0.7.tar.xz
|
||||||
/fwupd-1.0.8.tar.xz
|
/fwupd-1.0.8.tar.xz
|
||||||
|
/fwupd-1.1.0.tar.xz
|
||||||
|
85
fwupd.spec
85
fwupd.spec
@ -8,19 +8,24 @@
|
|||||||
%global enable_tests 1
|
%global enable_tests 1
|
||||||
%global enable_dummy 1
|
%global enable_dummy 1
|
||||||
|
|
||||||
# fwupdate is only available on these arches
|
# fwupd.efi is only available on these arches
|
||||||
%ifarch x86_64 aarch64
|
%ifarch x86_64 aarch64
|
||||||
%global have_uefi 1
|
%global have_uefi 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
# libsmbios is only available on x86, and fwupdate is available on just x86_64
|
# redfish is only available on this arch
|
||||||
|
%ifarch x86_64
|
||||||
|
%global have_redfish 1
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# libsmbios is only available on x86
|
||||||
%ifarch x86_64
|
%ifarch x86_64
|
||||||
%global have_dell 1
|
%global have_dell 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: Firmware update daemon
|
Summary: Firmware update daemon
|
||||||
Name: fwupd
|
Name: fwupd
|
||||||
Version: 1.0.8
|
Version: 1.1.0
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/hughsie/fwupd
|
URL: https://github.com/hughsie/fwupd
|
||||||
@ -52,7 +57,12 @@ BuildRequires: json-glib-devel >= %{json_glib_version}
|
|||||||
BuildRequires: vala
|
BuildRequires: vala
|
||||||
BuildRequires: bash-completion
|
BuildRequires: bash-completion
|
||||||
|
|
||||||
|
%if 0%{?have_redfish}
|
||||||
|
BuildRequires: efivar-devel >= 33
|
||||||
|
%endif
|
||||||
|
|
||||||
%if 0%{?have_uefi}
|
%if 0%{?have_uefi}
|
||||||
|
BuildRequires: efivar-devel >= 33
|
||||||
BuildRequires: python3 python3-cairo python3-gobject python3-pillow
|
BuildRequires: python3 python3-cairo python3-gobject python3-pillow
|
||||||
BuildRequires: pango-devel
|
BuildRequires: pango-devel
|
||||||
BuildRequires: cairo-devel cairo-gobject-devel
|
BuildRequires: cairo-devel cairo-gobject-devel
|
||||||
@ -60,17 +70,15 @@ BuildRequires: freetype
|
|||||||
BuildRequires: fontconfig
|
BuildRequires: fontconfig
|
||||||
BuildRequires: dejavu-sans-fonts
|
BuildRequires: dejavu-sans-fonts
|
||||||
BuildRequires: adobe-source-han-sans-cn-fonts
|
BuildRequires: adobe-source-han-sans-cn-fonts
|
||||||
|
BuildRequires: gnu-efi-devel
|
||||||
|
BuildRequires: pesign
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?have_dell}
|
%if 0%{?have_dell}
|
||||||
BuildRequires: efivar-devel
|
BuildRequires: efivar-devel >= 33
|
||||||
BuildRequires: libsmbios-devel >= 2.3.0
|
BuildRequires: libsmbios-devel >= 2.3.0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if 0%{?have_uefi}
|
|
||||||
BuildRequires: fwupdate-devel >= 7
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Requires(post): systemd
|
Requires(post): systemd
|
||||||
Requires(preun): systemd
|
Requires(preun): systemd
|
||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
@ -79,7 +87,6 @@ Requires: glib2%{?_isa} >= %{glib2_version}
|
|||||||
Requires: libappstream-glib%{?_isa} >= %{libappstream_version}
|
Requires: libappstream-glib%{?_isa} >= %{libappstream_version}
|
||||||
Requires: libgusb%{?_isa} >= %{libgusb_version}
|
Requires: libgusb%{?_isa} >= %{libgusb_version}
|
||||||
Requires: libsoup%{?_isa} >= %{libsoup_version}
|
Requires: libsoup%{?_isa} >= %{libsoup_version}
|
||||||
Requires: fwupd-labels = %{version}-%{release}
|
|
||||||
Requires: bubblewrap
|
Requires: bubblewrap
|
||||||
|
|
||||||
Recommends: python3
|
Recommends: python3
|
||||||
@ -87,6 +94,7 @@ Recommends: python3
|
|||||||
Obsoletes: fwupd-sign < 0.1.6
|
Obsoletes: fwupd-sign < 0.1.6
|
||||||
Obsoletes: libebitdo < 0.7.5-3
|
Obsoletes: libebitdo < 0.7.5-3
|
||||||
Obsoletes: libdfu < 1.0.0
|
Obsoletes: libdfu < 1.0.0
|
||||||
|
Obsoletes: fwupd-labels < 1.1.0-1
|
||||||
|
|
||||||
%description
|
%description
|
||||||
fwupd is a daemon to allow session software to update device firmware.
|
fwupd is a daemon to allow session software to update device firmware.
|
||||||
@ -100,15 +108,6 @@ Obsoletes: libdfu-devel < 1.0.0
|
|||||||
%description devel
|
%description devel
|
||||||
Files for development with %{name}.
|
Files for development with %{name}.
|
||||||
|
|
||||||
%package labels
|
|
||||||
Summary: Rendered labels for display during system firmware updates.
|
|
||||||
# BuildArch: noarch is disabled as we can get "different" .BMP files even when
|
|
||||||
# running the build on the same architecture due to the randomness introduced
|
|
||||||
# by the TTF files.
|
|
||||||
|
|
||||||
%description labels
|
|
||||||
Rendered labels for display during system firmware updates.
|
|
||||||
|
|
||||||
%package tests
|
%package tests
|
||||||
Summary: Data files for installed tests
|
Summary: Data files for installed tests
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -134,12 +133,15 @@ Data files for installed tests.
|
|||||||
-Dplugin_dummy=false \
|
-Dplugin_dummy=false \
|
||||||
%endif
|
%endif
|
||||||
-Dplugin_thunderbolt=true \
|
-Dplugin_thunderbolt=true \
|
||||||
|
%if 0%{?have_redfish}
|
||||||
|
-Dplugin_redfish=true \
|
||||||
|
%else
|
||||||
|
-Dplugin_redfish=false \
|
||||||
|
%endif
|
||||||
%if 0%{?have_uefi}
|
%if 0%{?have_uefi}
|
||||||
-Dplugin_uefi=true \
|
-Dplugin_uefi=true \
|
||||||
-Dplugin_uefi_labels=true \
|
|
||||||
%else
|
%else
|
||||||
-Dplugin_uefi=false \
|
-Dplugin_uefi=false \
|
||||||
-Dplugin_uefi_labels=false \
|
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?have_dell}
|
%if 0%{?have_dell}
|
||||||
-Dplugin_dell=true \
|
-Dplugin_dell=true \
|
||||||
@ -160,6 +162,18 @@ Data files for installed tests.
|
|||||||
%install
|
%install
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
# sign fwupd.efi loader
|
||||||
|
%if 0%{?have_uefi}
|
||||||
|
%ifarch x86_64
|
||||||
|
%global efiarch x64
|
||||||
|
%endif
|
||||||
|
%ifarch aarch64
|
||||||
|
%global efiarch aa64
|
||||||
|
%endif
|
||||||
|
%global fwup_efi_fn $RPM_BUILD_ROOT%{_libexecdir}/fwupd/efi/fwupd%{efiarch}.efi
|
||||||
|
%pesign -s -i %{fwup_efi_fn} -o %{fwup_efi_fn}.signed
|
||||||
|
%endif
|
||||||
|
|
||||||
mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
||||||
|
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
@ -174,6 +188,7 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%postun
|
%postun
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
%systemd_postun_with_restart fwupd.service
|
%systemd_postun_with_restart fwupd.service
|
||||||
|
%systemd_postun_with_restart pesign.service
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc README.md AUTHORS NEWS
|
%doc README.md AUTHORS NEWS
|
||||||
@ -185,6 +200,11 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%dir %{_libexecdir}/fwupd
|
%dir %{_libexecdir}/fwupd
|
||||||
%{_libexecdir}/fwupd/fwupd
|
%{_libexecdir}/fwupd/fwupd
|
||||||
%{_libexecdir}/fwupd/fwupdtool
|
%{_libexecdir}/fwupd/fwupdtool
|
||||||
|
%if 0%{?have_uefi}
|
||||||
|
%{_libexecdir}/fwupd/efi/*.efi
|
||||||
|
%{_libexecdir}/fwupd/efi/*.efi.signed
|
||||||
|
%{_libexecdir}/fwupd/fwupdate
|
||||||
|
%endif
|
||||||
%{_bindir}/dfu-tool
|
%{_bindir}/dfu-tool
|
||||||
%{_bindir}/fwupdmgr
|
%{_bindir}/fwupdmgr
|
||||||
%dir %{_sysconfdir}/fwupd
|
%dir %{_sysconfdir}/fwupd
|
||||||
@ -226,10 +246,14 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_csr.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_csr.so
|
||||||
%if 0%{?have_dell}
|
%if 0%{?have_dell}
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_dell.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dell.so
|
||||||
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dell_esrt.so
|
||||||
%endif
|
%endif
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_dfu.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_dfu.so
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_ebitdo.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_ebitdo.so
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_nitrokey.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_nitrokey.so
|
||||||
|
%if 0%{?have_redfish}
|
||||||
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_redfish.so
|
||||||
|
%endif
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_steelseries.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_steelseries.so
|
||||||
%if 0%{?have_dell}
|
%if 0%{?have_dell}
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_synapticsmst.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_synapticsmst.so
|
||||||
@ -247,6 +271,9 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_upower.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_upower.so
|
||||||
%{_libdir}/fwupd-plugins-3/libfu_plugin_wacomhid.so
|
%{_libdir}/fwupd-plugins-3/libfu_plugin_wacomhid.so
|
||||||
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
%ghost %{_localstatedir}/lib/fwupd/gnupg
|
||||||
|
%if 0%{?have_uefi}
|
||||||
|
%{_datadir}/locale/*/LC_IMAGES/fwupd*
|
||||||
|
%endif
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
||||||
@ -256,11 +283,6 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%{_libdir}/libfwupd*.so
|
%{_libdir}/libfwupd*.so
|
||||||
%{_libdir}/pkgconfig/fwupd.pc
|
%{_libdir}/pkgconfig/fwupd.pc
|
||||||
|
|
||||||
%files labels
|
|
||||||
%if 0%{?have_uefi}
|
|
||||||
%{_datadir}/locale/*/LC_IMAGES/fwupd*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files tests
|
%files tests
|
||||||
%dir %{_datadir}/installed-tests/fwupd
|
%dir %{_datadir}/installed-tests/fwupd
|
||||||
%{_datadir}/installed-tests/fwupd/firmware-example.xml.gz
|
%{_datadir}/installed-tests/fwupd/firmware-example.xml.gz
|
||||||
@ -271,6 +293,19 @@ mkdir -p --mode=0700 $RPM_BUILD_ROOT%{_localstatedir}/lib/fwupd/gnupg
|
|||||||
%{_datadir}/installed-tests/fwupd/*.py*
|
%{_datadir}/installed-tests/fwupd/*.py*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 11 2018 Richard Hughes <richard@hughsie.com> 1.1.0-1
|
||||||
|
- New upstream release
|
||||||
|
- Add a initial Redfish support
|
||||||
|
- Allow devices to assign a plugin from the quirk subsystem
|
||||||
|
- Detect the EFI system partition location at runtime
|
||||||
|
- Do not use 8bitdo bootloader commands after a successful flash
|
||||||
|
- Fix a potential buffer overflow when applying a DFU patch
|
||||||
|
- Fix downgrading older releases to devices
|
||||||
|
- Fix flashing devices that require a manual replug
|
||||||
|
- Fix unifying failure to detach when using a slow host controller
|
||||||
|
- Merge fwupdate functionality into fwupd
|
||||||
|
- Support more Wacom tablets
|
||||||
|
|
||||||
* Thu Jun 07 2018 Richard Hughes <richard@hughsie.com> 1.0.8-1
|
* Thu Jun 07 2018 Richard Hughes <richard@hughsie.com> 1.0.8-1
|
||||||
- New upstream release
|
- New upstream release
|
||||||
- Adjust all licensing to be 100% LGPL 2.1+
|
- Adjust all licensing to be 100% LGPL 2.1+
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (fwupd-1.0.8.tar.xz) = fae5021b08394df00f29402889eba1557c8b7458aba36f2d565ad2193539875082d0268045cdd8e31f42202e8c20faddbfe313f69193d6ead3c6e918a5b3cdfe
|
SHA512 (fwupd-1.1.0.tar.xz) = ac2e126637c066a67bded395458678a5014ac719ec03cbd5967cc116571cb1bf23c9efc6093351ba31bd36ee456a81381a3153de393c0b902b32a03a7fc33595
|
||||||
|
Loading…
Reference in New Issue
Block a user