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

slop.spec.in 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. mkdir -p "%{buildroot}%{_libdir}"
  39. mv %{buildroot}/usr/lib/libslopy.so "%{buildroot}%{_libdir}"
  40. %files
  41. %{_bindir}/slop
  42. /usr/include/slop.hpp
  43. %{_libdir}/libslopy.so
  44. %{_mandir}/man1/slop.1.gz
  45. # spec file generated from __SLOP_BUILDSCRIPT_VERSION__