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

slop.spec.in 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Name: slop
  2. Version: __SLOP_VERSION__
  3. Release: __SLOP_RELEASE__%{?dist}
  4. Summary: Select Operation
  5. URL: https://github.com/naelstrof/slop
  6. License: GPLv3
  7. Source0: __SLOP_URLBASE__/archive/v%{version}.tar.gz
  8. BuildRequires: gcc-c++
  9. BuildRequires: cmake
  10. BuildRequires: glew-devel
  11. BuildRequires: glm-devel
  12. BuildRequires: libicu-devel
  13. BuildRequires: libXrender-devel
  14. BuildRequires: mesa-libEGL-devel
  15. %description
  16. slop (Select Operation) is an application that queries for a selection
  17. from the user and prints the region to stdout.
  18. Features:
  19. * Hovering over a window will cause a selection rectangle to appear
  20. over it.
  21. * Clicking on a window makes slop return the dimensions of the window,
  22. and it's ID.
  23. * OpenGL accelerated graphics where possible.
  24. * Supports simple arguments:
  25. * Change selection rectangle border size.
  26. * Select X display.
  27. * Set padding size.
  28. * Force window, or pixel selections with the tolerance flag.
  29. * Set the color of the selection rectangles to match your
  30. 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. mkdir -p "%{buildroot}%{_libdir}"
  40. mv %{buildroot}/usr/lib/libslopy.so "%{buildroot}%{_libdir}"
  41. %files
  42. %{_bindir}/slop
  43. /usr/include/slop.hpp
  44. %{_libdir}/libslopy.so
  45. %{_mandir}/man1/slop.1.gz
  46. # spec file generated from __SLOP_BUILDSCRIPT_VERSION__