%global commit fc921b603ee02afff42aba9eb073e82fab900048 %global up slurp Name: slurp Version: 1.5.0 Release: 1%{?dist} Summary: Select a region in a Wayland compositor License: MIT URL: https://github.com/emersion/slurp # Tarball of the upstream release tag, produced by scripts/make-srpm.sh Source0: %{up}-%{commit}.tar.gz BuildRequires: gcc BuildRequires: meson BuildRequires: scdoc BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-cursor) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(wayland-scanner) BuildRequires: pkgconfig(xkbcommon) %description Slurp is a command-line tool that allows the user to visually select a region and prints it to the standard output. %prep %autosetup -n %{up}-%{commit} %build %meson %meson_build %install %meson_install %files %license LICENSE %doc README.md %{_bindir}/slurp %{_mandir}/man1/slurp.1* %changelog %autochangelog