package created using the webbuild interface [release 1.2.10-1mamba;Sat Jul 27 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 22:36:11 +01:00
parent b619f27dfa
commit f44b5cc7d1
2 changed files with 190 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# fwupd # fwupd
A simple daemon to allow session software to update firmware.

188
fwupd.spec Normal file
View File

@ -0,0 +1,188 @@
Name: fwupd
Version: 1.2.10
Release: 1mamba
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/
## GITSOURCE https://github.com/hughsie/fwupd.git 1.2.10
Source: https://github.com/hughsie/fwupd.git/%{version}/fwupd-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libarchive-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: libjson-glib-devel
BuildRequires: libpolkit-devel
BuildRequires: libsmbios-devel
BuildRequires: libsoup-devel
BuildRequires: libsqlite-devel
BuildRequires: libxmlb-devel
## AUTOBUILDREQ-END
BuildRequires: gnu-efi >= 3.0.9
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%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.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
/lib/systemd/system-shutdown/fwupd.shutdown
%{_unitdir}/fwupd-offline-update.service
%{_unitdir}/fwupd.service
%{_unitdir}/system-update.target.wants/fwupd-offline-update.service
%{_udevrulesdir}/90-fwupd-devices.rules
%{_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
%dir %{_datadir}/fwupd
%{_datadir}/fwupd/firmware-packager
%{_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}/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/dfu-tool.1*
%{_mandir}/man1/fwupdmgr.1*
%lang(ca) %{_datadir}/locale/ca/LC_IMAGES
%lang(cs) %{_datadir}/locale/cs/LC_IMAGES
%lang(da) %{_datadir}/locale/da/LC_IMAGES
%lang(de) %{_datadir}/locale/de/LC_IMAGES
%lang(en) %{_datadir}/locale/en/LC_IMAGES
%lang(fi) %{_datadir}/locale/fi/LC_IMAGES
%lang(fur) %{_datadir}/locale/fur/LC_IMAGES
%lang(hr) %{_datadir}/locale/hr/LC_IMAGES
%lang(hu) %{_datadir}/locale/hu/LC_IMAGES
%lang(id) %{_datadir}/locale/id/LC_IMAGES
%lang(it) %{_datadir}/locale/it/LC_IMAGES
%lang(ko) %{_datadir}/locale/ko/LC_IMAGES
%lang(lt) %{_datadir}/locale/lt/LC_IMAGES
%lang(pl) %{_datadir}/locale/pl/LC_IMAGES
%lang(pt_BR) %{_datadir}/locale/pt_BR/LC_IMAGES
%lang(ru) %{_datadir}/locale/ru/LC_IMAGES
%lang(sr) %{_datadir}/locale/sr/LC_IMAGES
%lang(sv) %{_datadir}/locale/sv/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
%doc AUTHORS COPYING
%files -n lib%{name}
%defattr(-,root,root)
%dir %{_libdir}/fwupd-plugins-3
%{_libdir}/fwupd-plugins-3/libfu_plugin_*.so
%{_libdir}/girepository-1.0/Fwupd-2.0.typelib
%{_libdir}/libfwupd.so.*
%dir %{_libexecdir}/fwupd
%dir %{_libexecdir}/fwupd/efi
%{_libexecdir}/fwupd/efi/fwupd*.efi
%{_libexecdir}/fwupd/fwupd*
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_sysconfdir}/dbus-1/system.d/org.freedesktop.fwupd.conf
%dir %{_includedir}/fwupd-1
%{_includedir}/fwupd-1/fwupd.h
%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}/gtk-doc/html/libfwupd
%{_datadir}/gtk-doc/html/libfwupd/*
%dir %{_datadir}/installed-tests/fwupd
%{_datadir}/installed-tests/fwupd/*
%doc README.md
%changelog
* Sat Jul 27 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba
- package created using the webbuild interface