219 lines
7.0 KiB
RPMSpec
219 lines
7.0 KiB
RPMSpec
Name: fwupd
|
|
Version: 1.5.7
|
|
Release: 2mamba
|
|
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
|
|
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: libgudev-devel
|
|
BuildRequires: libgusb-devel
|
|
BuildRequires: libjcat-devel
|
|
BuildRequires: libjson-glib-devel
|
|
BuildRequires: libpolkit-devel
|
|
BuildRequires: libsmbios-devel
|
|
BuildRequires: libsqlite-devel
|
|
BuildRequires: libsystemd-devel
|
|
BuildRequires: libtss2-devel
|
|
BuildRequires: libxmlb-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: libxmlb-devel >= 0.3.0-1mamba
|
|
BuildRequires: libtss2-devel
|
|
BuildRequires: gnu-efi >= 3.0.9
|
|
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
|
|
#sed -i "s|'python3'|'python3.6'|" meson.build
|
|
|
|
%build
|
|
%meson
|
|
|
|
%meson_build
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%meson_install
|
|
|
|
%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}"
|
|
|
|
%preun
|
|
%systemd_preun %{name}
|
|
:
|
|
|
|
%post
|
|
%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
|
|
%config %{_sysconfdir}/fwupd/daemon.conf
|
|
%config %{_sysconfdir}/fwupd/redfish.conf
|
|
%config %{_sysconfdir}/fwupd/uefi_capsule.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
|
|
%{_sysconfdir}/pki/fwupd-metadata/GPG-KEY-Linux-Vendor-Firmware-Service
|
|
%{_sysconfdir}/pki/fwupd-metadata/LVFS-CA.pem
|
|
%{_sysconfdir}/pki/fwupd/GPG-KEY-Hughski-Limited
|
|
%{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Foundation-Firmware
|
|
%{_sysconfdir}/pki/fwupd/GPG-KEY-Linux-Vendor-Firmware-Service
|
|
%{_sysconfdir}/pki/fwupd/LVFS-CA.pem
|
|
%{_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
|
|
%{_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
|
|
%{_datadir}/dbus-1/system.d/org.freedesktop.fwupd.conf
|
|
%{_datadir}/fish/vendor_completions.d/fwupdmgr.fish
|
|
%dir %{_datadir}/fwupd
|
|
%{_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
|
|
%{_datadir}/fwupd/quirks.d/*.quirk
|
|
%{_datadir}/fwupd/remotes.d/dell-esrt/metadata.xml
|
|
%{_datadir}/fwupd/remotes.d/vendor/firmware/README.md
|
|
%{_datadir}/fwupd/uefi-capsule-ux.tar.xz
|
|
%{_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
|
|
%{_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*
|
|
%doc AUTHORS COPYING
|
|
|
|
%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}/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/*.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
|
|
%{_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
|
|
|
|
%changelog
|
|
* 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
|
|
|
|
* Wed Feb 24 2021 Automatic Build System <autodist@mambasoft.it> 1.5.7-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Thu Feb 18 2021 Automatic Build System <autodist@mambasoft.it> 1.5.6-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Jan 15 2021 Automatic Build System <autodist@mambasoft.it> 1.5.5-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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
|
|
|
|
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba
|
|
- package created using the webbuild interface
|