update to 1.5.4 [release 1.5.4-1mamba;Sat Jan 02 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 22:36:11 +01:00
parent 3f8e3f0fcf
commit 5fcc1f8cdf

View File

@ -1,6 +1,6 @@
Name: fwupd
Version: 1.2.10
Release: 2mamba
Version: 1.5.4
Release: 1mamba
Summary: A simple daemon to allow session software to update firmware
Group: System/Kernel and Hardware
Vendor: openmamba
@ -12,21 +12,22 @@ Source: https://github.com/hughsie/fwupd.git/%{version}/fwupd-%{version}.
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libarchive-devel
BuildRequires: libcurl-devel
BuildRequires: libefivar-devel
BuildRequires: libelf-devel
BuildRequires: libgcab-devel
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgpgme-devel
BuildRequires: libgudev-devel
BuildRequires: libgusb-devel
BuildRequires: libjcat-devel
BuildRequires: libjson-glib-devel
BuildRequires: libpolkit-devel
BuildRequires: libsmbios-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libsystemd-devel
BuildRequires: libtss2-devel
BuildRequires: libxmlb-devel
## AUTOBUILDREQ-END
BuildRequires: gnu-efi >= 3.0.9
@ -58,7 +59,7 @@ This package contains libraries and header files for developing applications tha
%prep
%setup -q
sed -i "s|'python3'|'python3.6'|" meson.build
#sed -i "s|'python3'|'python3.6'|" meson.build
%build
%meson
@ -71,6 +72,9 @@ sed -i "s|'python3'|'python3.6'|" meson.build
%find_lang %{name} --all-name || touch %{name}.lang
install -d -m0755 %{buildroot}%{_modulesloaddir}
mv %{buildroot}/lib/modules-load.d/* %{buildroot}%{_modulesloaddir}/
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -95,6 +99,9 @@ sed -i "s|'python3'|'python3.6'|" meson.build
%config %{_sysconfdir}/fwupd/daemon.conf
%config %{_sysconfdir}/fwupd/redfish.conf
%config %{_sysconfdir}/fwupd/uefi.conf
%config %{_sysconfdir}/fwupd/ata.conf
%config %{_sysconfdir}/fwupd/thunderbolt.conf
%config %{_sysconfdir}/fwupd/upower.conf
%dir %{_sysconfdir}/fwupd/remotes.d
%config %{_sysconfdir}/fwupd/remotes.d/*.conf
%{_sysconfdir}/pki/fwupd-metadata/GPG-KEY-Linux-Foundation-Metadata
@ -104,12 +111,21 @@ sed -i "s|'python3'|'python3.6'|" meson.build
%{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Foundation-Firmware
%{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service
%{_sysconfdir}/pki/fwupd/LVFS-CA.pem
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%{_bindir}/dbxtool
%{_bindir}/fwupdagent
%{_bindir}/fwupdate
%{_bindir}/fwupdtool
%{_bindir}/fwupdtpmevlog
/lib/systemd/system-shutdown/fwupd.shutdown
%{_modulesloaddir}/fwupd-msr.conf
%{_presetdir}/fwupd-refresh.preset
%{_unitdir}/fwupd-offline-update.service
%{_unitdir}/fwupd.service
%{_unitdir}/fwupd-refresh.service
%{_unitdir}/fwupd-refresh.timer
%{_unitdir}/system-update.target.wants/fwupd-offline-update.service
%{_udevrulesdir}/90-fwupd-devices.rules
#%{_modulesloaddir}/fwupd-msr.conf
%{_bindir}/dfu-tool
%{_bindir}/fwupdmgr
%{_datadir}/bash-completion/completions/fwupdagent
@ -117,8 +133,10 @@ sed -i "s|'python3'|'python3.6'|" meson.build
%{_datadir}/bash-completion/completions/fwupdtool
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
%{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
%dir %{_datadir}/fwupd
%{_datadir}/fwupd/firmware-packager
%{_datadir}/fwupd/*.py
%{_datadir}/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs-testing.metainfo.xml
%{_datadir}/fwupd/metainfo/org.freedesktop.fwupd.remotes.lvfs.metainfo.xml
%dir %{_datadir}/fwupd/quirks.d
@ -132,8 +150,13 @@ sed -i "s|'python3'|'python3.6'|" meson.build
%{_datadir}/vala/vapi/fwupd.deps
%{_datadir}/vala/vapi/fwupd.vapi
%{_localstatedir}/lib/fwupd/builder/README.md
%{_mandir}/man1/dbxtool.1*
%{_mandir}/man1/dfu-tool.1*
%{_mandir}/man1/fwupdmgr.1*
%{_mandir}/man1/fwupdagent.1*
%{_mandir}/man1/fwupdate.1*
%{_mandir}/man1/fwupdtool.1*
%{_mandir}/man1/fwupdtpmevlog.1*
%lang(ca) %{_datadir}/locale/ca/LC_IMAGES
%lang(cs) %{_datadir}/locale/cs/LC_IMAGES
%lang(da) %{_datadir}/locale/da/LC_IMAGES
@ -141,6 +164,7 @@ sed -i "s|'python3'|'python3.6'|" meson.build
%lang(en) %{_datadir}/locale/en/LC_IMAGES
%lang(fi) %{_datadir}/locale/fi/LC_IMAGES
%lang(fur) %{_datadir}/locale/fur/LC_IMAGES
%lang(gl) %{_datadir}/locale/gl/LC_IMAGES
%lang(hr) %{_datadir}/locale/hr/LC_IMAGES
%lang(hu) %{_datadir}/locale/hu/LC_IMAGES
%lang(id) %{_datadir}/locale/id/LC_IMAGES
@ -152,6 +176,7 @@ sed -i "s|'python3'|'python3.6'|" meson.build
%lang(ru) %{_datadir}/locale/ru/LC_IMAGES
%lang(sr) %{_datadir}/locale/sr/LC_IMAGES
%lang(sv) %{_datadir}/locale/sv/LC_IMAGES
%lang(tr) %{_datadir}/locale/tr/LC_IMAGES
%lang(uk) %{_datadir}/locale/uk/LC_IMAGES
%lang(zh_CN) %{_datadir}/locale/zh_CN/LC_IMAGES
%lang(zh_TW) %{_datadir}/locale/zh_TW/LC_IMAGES
@ -159,31 +184,45 @@ sed -i "s|'python3'|'python3.6'|" meson.build
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libfwupd.so.*
%{_libdir}/libfwupdplugin.so.*
%dir %{_libdir}/fwupd-plugins-3
%{_libdir}/fwupd-plugins-3/libfu_plugin_*.so
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
%{_libdir}/libfwupd.so.*
%{_libdir}/girepository-1.0/FwupdPlugin-1.0.typelib
%dir %{_libexecdir}/fwupd
%dir %{_libexecdir}/fwupd/efi
%{_libexecdir}/fwupd/efi/fwupd*.efi
%{_libexecdir}/fwupd/fwupd*
%dir %{_libexecdir}/installed-tests/fwupd
%{_libexecdir}/installed-tests/fwupd/*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/fwupd-1
%{_includedir}/fwupd-1/fwupd.h
%{_includedir}/fwupd-1/*.h
%dir %{_includedir}/fwupd-1/libfwupd
%{_includedir}/fwupd-1/libfwupd/*.h
%dir %{_includedir}/fwupd-1/libfwupdplugin
%{_includedir}/fwupd-1/libfwupdplugin/*.h
%{_libdir}/libfwupd.so
%{_libdir}/libfwupdplugin.so
%{_libdir}/pkgconfig/fwupdplugin.pc
%{_libdir}/pkgconfig/fwupd.pc
%{_datadir}/gir-1.0/Fwupd-2.0.gir
%dir %{_datadir}/gtk-doc/html/libfwupd
%{_datadir}/gtk-doc/html/libfwupd/*
%{_datadir}/gir-1.0/FwupdPlugin-1.0.gir
%{_datadir}/vala/vapi/fwupdplugin.deps
%{_datadir}/vala/vapi/fwupdplugin.vapi
#%dir %{_datadir}/gtk-doc/html/libfwupd
#%{_datadir}/gtk-doc/html/libfwupd/*
%dir %{_datadir}/installed-tests/fwupd
%{_datadir}/installed-tests/fwupd/*
%doc README.md
#%doc README.md
%changelog
* Sat Jan 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.4-1mamba
- update to 1.5.4
* Sat Aug 03 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-2mamba
- move /etc/dbus-1/system.d/org.freedesktop.fwupd.conf from -devel to main package