Script to trigger re-build of slop - https://github.com/naelstrof/slop

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. Name: slop
  2. Version: __SLOP_VERSION__
  3. Release: __SLOP_RELEASE__%{?dist}
  4. Summary: slop - Select Operation
  5. License: GPLv3
  6. Source0: __SLOP_URLBASE__/archive/v%{version}.tar.gz
  7. BuildRequires: gcc-c++
  8. BuildRequires: cmake
  9. BuildRequires: glew-devel
  10. BuildRequires: glm-devel
  11. BuildRequires: libicu-devel
  12. BuildRequires: libXrender-devel
  13. BuildRequires: mesa-libEGL-devel
  14. %description
  15. slop (Select Operation) is an application that queries for a selection
  16. from the user and prints the region to stdout.
  17. Features:
  18. * Hovering over a window will cause a selection rectangle
  19. to appear over it.
  20. * Clicking on a window makes slop return the dimensions of
  21. the window, and it's ID.
  22. * OpenGL accelerated graphics where possible.
  23. * Supports simple arguments:
  24. * Change selection rectangle border size.
  25. * Select X display.
  26. * Set padding size.
  27. * Force window, or pixel selections with the tolerance
  28. flag.
  29. * Set the color of the selection rectangles to match
  30. your theme! (Even supports transparency!)
  31. * Remove window decorations from selections.
  32. * Supports custom programmable shaders.
  33. %prep
  34. %autosetup -n %{name}-%{version}
  35. %build
  36. cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
  37. %install
  38. %make_install
  39. %files
  40. /usr/bin/slop
  41. /usr/include/slop.hpp
  42. /usr/lib/libslopy.so
  43. /usr/share/man/man1/slop.1.gz