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

slop.spec.in 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 to appear
  19. over it.
  20. * Clicking on a window makes slop return the dimensions of the window,
  21. 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 flag.
  28. * Set the color of the selection rectangles to match your
  29. theme! (Even supports transparency!)
  30. * Remove window decorations from selections.
  31. * Supports custom programmable shaders.
  32. %prep
  33. %autosetup -n %{name}-%{version}
  34. %build
  35. cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
  36. %install
  37. %make_install
  38. %files
  39. %{_bindir}/slop
  40. /usr/include/slop.hpp
  41. %{_libdir}/libslopy.so
  42. %{_mandir}/man1/slop.1.gz
  43. # spec file generated from __SLOP_BUILDSCRIPT_VERSION__