%global toolchain clang %global tag v%{version} Name: dragon Version: 1.2.0 Release: %autorelease Summary: Lightweight drag-and-drop source/sink for X and Wayland License: GPL-3.0-or-later URL: https://github.com/mwh/dragon Source0: %{url}/archive/refs/tags/%{tag}.tar.gz %global debug_package %{nil} BuildRequires: clang BuildRequires: pkgconfig(gtk+-3.0) %description Dragon is a lightweight drag-and-drop source/sink for X11 and Wayland. It lets you drag files out of a terminal, or receive dropped files. %prep %autosetup %build %make_build PREFIX=%{_prefix} CFLAGS="%{optflags}" LDFLAGS="%{build_ldflags}" %install %make_install PREFIX=%{_prefix} MANPREFIX=%{_mandir} %files %{_bindir}/dragon %{_mandir}/man1/dragon.1* %changelog %autochangelog