## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global uuid org.gnome.Firmware %global tarball_version %%(echo %{version} | tr '~' '.') Name: gnome-firmware Version: 47.0 Release: %autorelease Summary: Install firmware on devices License: GPL-2.0-or-later URL: https://gitlab.gnome.org/World/gnome-firmware Source0: %{url}/-/archive/%{tarball_version}/%{name}-%{tarball_version}.tar.gz BuildRequires: desktop-file-utils BuildRequires: gcc BuildRequires: help2man BuildRequires: libappstream-glib BuildRequires: meson >= 0.46.0 BuildRequires: systemd-devel BuildRequires: pkgconfig(appstream-glib) BuildRequires: pkgconfig(fwupd) >= 2.0.0 BuildRequires: pkgconfig(gio-2.0) >= 2.74.0 BuildRequires: pkgconfig(gtk4) >= 4.6.0 BuildRequires: pkgconfig(xmlb) >= 0.1.7 BuildRequires: pkgconfig(libadwaita-1) >= 1.3.99 Requires: hicolor-icon-theme %description This application can: - Upgrade, downgrade and reinstall firmware on devices supported by fwupd. - Unlock locked fwupd devices - Verify firmware on supported devices - Display all releases for a fwupd device %prep %autosetup -p1 -n %{name}-%{tarball_version} %build %meson -Dman=true %meson_build %install %meson_install %find_lang %{name} --with-gnome %check appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{uuid}.metainfo.xml desktop-file-validate %{buildroot}%{_datadir}/applications/%{uuid}.desktop %posttrans /usr/bin/glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || : %files -f %{name}.lang %license COPYING %doc README.md MAINTAINERS %{_bindir}/%{name} %{_datadir}/applications/*.desktop %{_datadir}/icons/hicolor/*/*/*.svg %{_datadir}/glib-2.0/schemas/org.gnome.Firmware.gschema.xml %{_mandir}/man1/*.1.* %{_metainfodir}/*.xml %changelog ## START: Generated by rpmautospec * Fri Oct 04 2024 Richard Hughes - 47.0-2 - Rebuild against libfwupd.so.3 * Tue Oct 01 2024 Richard Hughes - 47.0-1 - New upstream release * Thu Jul 18 2024 Fedora Release Engineering - 46.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Mar 21 2024 Richard Hughes - 46.0-1 - New upstream release * Thu Mar 21 2024 Richard Hughes - 45.0-5 - Revert "build: Revive changelog file" * Wed Jan 24 2024 Fedora Release Engineering - 45.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fedora Release Engineering - 45.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Nov 23 2023 Artem Polishchuk - 45.0-2 - build: Add Packit config * Thu Nov 23 2023 Artem Polishchuk - 45.0-1 - chore: Update to 45 ## END: Generated by rpmautospec