2024-01-05 22:36:11 +01:00
|
|
|
Name: fwupd
|
2024-01-05 22:36:18 +01:00
|
|
|
Version: 1.9.6
|
2024-01-05 22:36:12 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 22:36:11 +01:00
|
|
|
Summary: A simple daemon to allow session software to update firmware
|
|
|
|
Group: System/Kernel and Hardware
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://fwupd.org/
|
|
|
|
Source: https://github.com/hughsie/fwupd.git/%{version}/fwupd-%{version}.tar.bz2
|
2024-01-05 22:36:11 +01:00
|
|
|
Patch0: fwupd-1.7.7-tpm2-tss-3.2.0.patch
|
2024-01-05 22:36:11 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libarchive-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libcurl-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libgcab-devel
|
|
|
|
BuildRequires: libglib-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libgnutls-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libgudev-devel
|
|
|
|
BuildRequires: libgusb-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libjcat-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libjson-glib-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libmbim-devel
|
|
|
|
BuildRequires: libmm-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libpolkit-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libprotobuf-c-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libqmi-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libsqlite-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-05 22:36:16 +01:00
|
|
|
BuildRequires: libtss2-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libxmlb-devel
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libxmlb-devel >= 0.3.0-1mamba
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: libtss2-devel
|
2024-01-05 22:36:11 +01:00
|
|
|
BuildRequires: fwupd-efi
|
2024-01-05 22:36:11 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
A simple daemon to allow session software to update firmware.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 22:36:17 +01:00
|
|
|
#-D -T
|
2024-01-05 22:36:11 +01:00
|
|
|
#sed -i "s|'python3'|'python3.6'|" meson.build
|
2024-01-05 22:36:11 +01:00
|
|
|
#%patch0 -p1
|
2024-01-05 22:36:11 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 22:36:17 +01:00
|
|
|
%meson \
|
|
|
|
-D plugin_intel_spi=true \
|
|
|
|
-D supported_build=enabled
|
2024-01-05 22:36:11 +01:00
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
%find_lang %{name} --all-name || touch %{name}.lang
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
#install -d -m0755 %{buildroot}%{_modulesloaddir}
|
|
|
|
#mv %{buildroot}/lib/modules-load.d/* %{buildroot}%{_modulesloaddir}/
|
2024-01-05 22:36:11 +01:00
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-05 22:36:12 +01:00
|
|
|
%pretrans -p <lua>
|
|
|
|
-- Define the path to directory being replaced below.
|
|
|
|
-- DO NOT add a trailing slash at the end.
|
|
|
|
path = "/usr/share/doc/fwupd/libfwupd"
|
|
|
|
st = posix.stat(path)
|
|
|
|
if st and st.type == "directory" then
|
|
|
|
status = os.rename(path, path .. ".rpmmoved")
|
|
|
|
if not status then
|
|
|
|
suffix = 0
|
|
|
|
while not status do
|
|
|
|
suffix = suffix + 1
|
|
|
|
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
|
|
|
|
end
|
|
|
|
os.rename(path, path .. ".rpmmoved")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
path = "/usr/share/doc/fwupd/libfwupdplugin"
|
|
|
|
st = posix.stat(path)
|
|
|
|
if st and st.type == "directory" then
|
|
|
|
status = os.rename(path, path .. ".rpmmoved")
|
|
|
|
if not status then
|
|
|
|
suffix = 0
|
|
|
|
while not status do
|
|
|
|
suffix = suffix + 1
|
|
|
|
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
|
|
|
|
end
|
|
|
|
os.rename(path, path .. ".rpmmoved")
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
%preun
|
|
|
|
%systemd_preun %{name}
|
|
|
|
:
|
|
|
|
|
|
|
|
%post
|
2024-01-05 22:36:18 +01:00
|
|
|
%sysusers_create %{name}
|
2024-01-05 22:36:11 +01:00
|
|
|
%systemd_post %{name}
|
|
|
|
:
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun %{name}
|
|
|
|
:
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_sysconfdir}/fwupd
|
2024-01-05 22:36:12 +01:00
|
|
|
%dir %{_sysconfdir}/fwupd/bios-settings.d
|
|
|
|
%{_sysconfdir}/fwupd/bios-settings.d/README.md
|
2024-01-05 22:36:17 +01:00
|
|
|
%config %{_sysconfdir}/fwupd/fwupd.conf
|
2024-01-05 22:36:11 +01:00
|
|
|
%dir %{_sysconfdir}/fwupd/remotes.d
|
|
|
|
%config %{_sysconfdir}/fwupd/remotes.d/*.conf
|
2024-01-05 22:36:11 +01:00
|
|
|
%dir %{_sysconfdir}/pki/fwupd-metadata
|
|
|
|
%{_sysconfdir}/pki/fwupd-metadata/*
|
|
|
|
%dir %{_sysconfdir}/pki/fwupd
|
|
|
|
%{_sysconfdir}/pki/fwupd/*
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_sysconfdir}/grub.d/35_fwupd
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_bindir}/dbxtool
|
2024-01-05 22:36:16 +01:00
|
|
|
#%{_bindir}/fwupdagent
|
|
|
|
#%{_bindir}/fwupdate
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_bindir}/fwupdtool
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_systemd_util_dir}/system-shutdown/fwupd.shutdown
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_modulesloaddir}/fwupd-msr.conf
|
2024-01-05 22:36:18 +01:00
|
|
|
%{_sysusersdir}/fwupd.conf
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_unitdir}/fwupd-offline-update.service
|
|
|
|
%{_unitdir}/fwupd.service
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_unitdir}/fwupd-refresh.service
|
|
|
|
%{_unitdir}/fwupd-refresh.timer
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_unitdir}/system-update.target.wants/fwupd-offline-update.service
|
|
|
|
%{_udevrulesdir}/90-fwupd-devices.rules
|
2024-01-05 22:36:16 +01:00
|
|
|
#%{_bindir}/dfu-tool
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_bindir}/fwupdmgr
|
2024-01-05 22:36:16 +01:00
|
|
|
#%{_datadir}/bash-completion/completions/fwupdagent
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_datadir}/bash-completion/completions/fwupdmgr
|
|
|
|
%{_datadir}/bash-completion/completions/fwupdtool
|
|
|
|
%{_datadir}/dbus-1/interfaces/org.freedesktop.fwupd.xml
|
|
|
|
%{_datadir}/dbus-1/system-services/org.freedesktop.fwupd.service
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf
|
|
|
|
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
|
2024-01-05 22:36:11 +01:00
|
|
|
%dir %{_datadir}/fwupd
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_datadir}/fwupd/*
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/org.freedesktop.fwupd.svg
|
|
|
|
%{_datadir}/metainfo/org.freedesktop.fwupd.metainfo.xml
|
|
|
|
%{_datadir}/polkit-1/actions/org.freedesktop.fwupd.policy
|
|
|
|
%{_datadir}/polkit-1/rules.d/org.freedesktop.fwupd.rules
|
|
|
|
%{_datadir}/vala/vapi/fwupd.deps
|
|
|
|
%{_datadir}/vala/vapi/fwupd.vapi
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_mandir}/man1/dbxtool.1*
|
2024-01-05 22:36:16 +01:00
|
|
|
#%{_mandir}/man1/dfu-tool.1*
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_mandir}/man1/fwupdmgr.1*
|
2024-01-05 22:36:16 +01:00
|
|
|
#%{_mandir}/man1/fwupdagent.1*
|
|
|
|
#%{_mandir}/man1/fwupdate.1*
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_mandir}/man1/fwupdtool.1*
|
2024-01-05 22:36:17 +01:00
|
|
|
%{_mandir}/man5/fwupd-remotes.d.5*
|
|
|
|
%{_mandir}/man5/fwupd.conf.5*
|
2024-01-05 22:36:17 +01:00
|
|
|
%{_mandir}/man8/fwupd-refresh.service.8*
|
2024-01-05 22:36:11 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_libdir}/libfwupd.so.*
|
2024-01-05 22:36:12 +01:00
|
|
|
%dir %{_libdir}/fwupd-%{version}
|
|
|
|
%{_libdir}/fwupd-%{version}/lib*.so
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
|
|
|
|
%dir %{_libexecdir}/fwupd
|
|
|
|
%{_libexecdir}/fwupd/fwupd*
|
2024-01-05 22:36:11 +01:00
|
|
|
%dir %{_libexecdir}/installed-tests/fwupd
|
|
|
|
%{_libexecdir}/installed-tests/fwupd/*
|
2024-01-05 22:36:16 +01:00
|
|
|
%doc COPYING
|
2024-01-05 22:36:11 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/fwupd-1
|
2024-01-05 22:36:11 +01:00
|
|
|
%{_includedir}/fwupd-1/*.h
|
2024-01-05 22:36:11 +01:00
|
|
|
%dir %{_includedir}/fwupd-1/libfwupd
|
|
|
|
%{_includedir}/fwupd-1/libfwupd/*.h
|
|
|
|
%{_libdir}/libfwupd.so
|
|
|
|
%{_libdir}/pkgconfig/fwupd.pc
|
|
|
|
%{_datadir}/gir-1.0/Fwupd-2.0.gir
|
|
|
|
%dir %{_datadir}/installed-tests/fwupd
|
|
|
|
%{_datadir}/installed-tests/fwupd/*
|
2024-01-05 22:36:12 +01:00
|
|
|
%dir %{_docdir}/fwupd
|
|
|
|
%{_docdir}/fwupd/*
|
|
|
|
%dir %{_docdir}/libfwupd
|
|
|
|
%{_docdir}/libfwupd/*
|
|
|
|
%dir %{_docdir}/libfwupdplugin
|
|
|
|
%{_docdir}/libfwupdplugin/*
|
2024-01-05 22:36:11 +01:00
|
|
|
#%doc README.md
|
2024-01-05 22:36:11 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 22:36:18 +01:00
|
|
|
* Sun Oct 08 2023 Automatic Build System <autodist@mambasoft.it> 1.9.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:18 +01:00
|
|
|
* Sat Sep 09 2023 Automatic Build System <autodist@mambasoft.it> 1.9.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:18 +01:00
|
|
|
* Tue Aug 22 2023 Automatic Build System <autodist@mambasoft.it> 1.9.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:17 +01:00
|
|
|
* Wed Jul 12 2023 Automatic Build System <autodist@mambasoft.it> 1.9.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:17 +01:00
|
|
|
* Tue May 30 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.9.1-1mamba
|
|
|
|
- update to 1.9.1
|
|
|
|
|
2024-01-05 22:36:17 +01:00
|
|
|
* Sat May 13 2023 Automatic Build System <autodist@mambasoft.it> 1.8.15-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:16 +01:00
|
|
|
* Fri Mar 31 2023 Automatic Build System <autodist@mambasoft.it> 1.8.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:16 +01:00
|
|
|
* Thu Mar 30 2023 Automatic Build System <autodist@mambasoft.it> 1.8.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:16 +01:00
|
|
|
* Sat Feb 25 2023 Automatic Build System <autodist@mambasoft.it> 1.8.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:15 +01:00
|
|
|
* Tue Jan 24 2023 Automatic Build System <autodist@mambasoft.it> 1.8.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:13 +01:00
|
|
|
* Wed Jan 04 2023 Automatic Build System <autodist@mambasoft.it> 1.8.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:12 +01:00
|
|
|
* Thu Dec 08 2022 Automatic Build System <autodist@mambasoft.it> 1.8.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:12 +01:00
|
|
|
* Thu Nov 10 2022 Automatic Build System <autodist@mambasoft.it> 1.8.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:12 +01:00
|
|
|
* Tue Oct 11 2022 Automatic Build System <autodist@mambasoft.it> 1.8.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:12 +01:00
|
|
|
* Fri Sep 30 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.5-2mamba
|
|
|
|
- add a pretrans script to fix upgrading dirs to symlinks in docs directory
|
|
|
|
|
2024-01-05 22:36:12 +01:00
|
|
|
* Mon Sep 26 2022 Automatic Build System <autodist@mambasoft.it> 1.8.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Fri May 27 2022 Automatic Build System <autodist@mambasoft.it> 1.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Mon May 09 2022 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Mon Apr 18 2022 Automatic Build System <autodist@mambasoft.it> 1.7.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Tue Feb 08 2022 Automatic Build System <autodist@mambasoft.it> 1.7.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Fri Jan 14 2022 Automatic Build System <autodist@mambasoft.it> 1.7.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Fri Dec 31 2021 Automatic Build System <autodist@mambasoft.it> 1.7.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Tue Apr 27 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.9-2mamba
|
|
|
|
- rebuilt with systemd 248
|
|
|
|
|
|
|
|
* Wed Apr 14 2021 Automatic Build System <autodist@mambasoft.it> 1.5.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Sat Mar 27 2021 Automatic Build System <autodist@mambasoft.it> 1.5.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Tue Mar 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.7-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libxmlb-devel>=0.3.0-1mamba
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 1.5.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Thu Feb 18 2021 Automatic Build System <autodist@mambasoft.it> 1.5.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Sat Jan 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.4-1mamba
|
|
|
|
- update to 1.5.4
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-05 22:36:11 +01:00
|
|
|
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba
|
|
|
|
- package created using the webbuild interface
|