Name: slop Version: __SLOP_VERSION__ Release: __SLOP_RELEASE__%{?dist} Summary: Select Operation URL: https://github.com/naelstrof/slop License: GPLv3 Source0: __SLOP_URLBASE__/archive/v%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: glew-devel BuildRequires: glm-devel BuildRequires: libicu-devel BuildRequires: libXrender-devel BuildRequires: mesa-libEGL-devel %description slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout. Features: * Hovering over a window will cause a selection rectangle to appear over it. * Clicking on a window makes slop return the dimensions of the window, and it's ID. * OpenGL accelerated graphics where possible. * Supports simple arguments: * Change selection rectangle border size. * Select X display. * Set padding size. * Force window, or pixel selections with the tolerance flag. * Set the color of the selection rectangles to match your theme! (Even supports transparency!) * Remove window decorations from selections. * Supports custom programmable shaders. %prep %autosetup -n %{name}-%{version} %build cmake -DCMAKE_INSTALL_PREFIX="/usr" ./ %install %make_install mkdir -p "%{buildroot}%{_libdir}" mv %{buildroot}/usr/lib/libslopy.so "%{buildroot}%{_libdir}" %files %{_bindir}/slop /usr/include/slop.hpp %{_libdir}/libslopy.so %{_mandir}/man1/slop.1.gz %changelog * __SLOP_DATE__ Alois Mahdal - __SLOP_VERSION__-__SLOP_RELEASE__ - Unofficial experimental RPM pseudo-release # spec file generated from __SLOP_BUILDSCRIPT_VERSION__