Name: grim Version: 1.4.0 Release: 2%{?dist} Summary: Screenshot tool for Sway License: MIT URL: https://github.com/emersion/grim Source0: %{url}/releases/download/v%{version}/grim-%{version}.tar.gz Source1: %{url}/releases/download/v%{version}/grim-%{version}.tar.gz.sig Source2: dj3498u4hyyarh35rkjfnghbjxug6b19 # Fix build on 32-bit systems Patch: %{url}/commit/89e02e663fabc534b7e7039514f60a8c5d70070d.patch#/grim-1.4.0-write_jpg-fix-printf-format-specifier.patch BuildRequires: pkgconfig(bash-completion) BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libpng) BuildRequires: pkgconfig(pixman-1) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-scanner) BuildRequires: scdoc BuildRequires: meson >= 0.59.0 BuildRequires: gcc BuildRequires: gnupg2 %description Grim is a command-line tool to grab images from Sway. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %meson \ -Dbash-completions=true \ -Dfish-completions=true %meson_build %install %meson_install %files %license LICENSE %{_bindir}/grim %{_mandir}/man1/grim.1* %{_datadir}/bash-completion/completions/grim* %dir %{_datadir}/fish %dir %{_datadir}/fish/vendor_completions.d %{_datadir}/fish/vendor_completions.d/grim* %changelog * Thu Jul 21 2022 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Feb 28 2022 Aleksei Bavshin - 1.4.0-1 - Update to 1.4.0 (#2052418) - Build bash and fish completions * Thu Jan 20 2022 Fedora Release Engineering - 1.3.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Sun Apr 18 2021 Benjamin Lowry - 1.3.2-1 - Grim 1.3.2 * Tue Jan 26 2021 Fedora Release Engineering - 1.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jul 23 2020 Benjamin Lowry 1.3.1-1 - Grim 1.3.1 * Sun Mar 8 2020 Benjamin Lowry 1.3.0-3 - Clarify package description (RHBZ#1811403) * Wed Jan 29 2020 Fedora Release Engineering - 1.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jan 24 2020 Benjamin Lowry 1.3.0-1 - Grim 1.3.0 * Fri Jan 10 2020 Benjamin Lowry 1.2.0-2 - Use PGP key from author's website instead of keyserver * Sun Dec 29 2019 Benjamin Lowry 1.2.0-1 - Initial Fedora package