%define version 7.4 Name: slop Version: %{version} Release: 10%{?dist} Summary: slop (Select Operation) License: GPLv3 URL: https://github.com/naelstrof/slop BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(glew) BuildRequires: pkgconfig(glm) BuildRequires: pkgconfig(icu-uc) BuildRequires: pkgconfig(xrender) BuildRequires: pkgconfig(egl) BuildRequires: git BuildRequires: cmake make gcc-c++ Provides: slop %description slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout %prep rm -rf slop git clone https://github.com/naelstrof/slop --recursive -b v%{version} %build cd slop cmake -DCMAKE_INSTALL_PREFIX="/usr" ./ make -j %install cd slop %make_install %check %files %{_bindir}/slop %{_includedir}/slop.hpp %{_libdir}/libslopy* %{_mandir}/man1/slop.1.* %doc slop/README.md slop/slop.1 %license slop/COPYING