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

slop.spec.in 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. Name: slop
  2. Version: __APP_VERSION__
  3. Release: __APP_RELEASE__%{?dist}
  4. Summary: Select Operation
  5. URL: https://github.com/naelstrof/slop
  6. License: GPLv3
  7. Source0: __APP_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. rm %{buildroot}/usr/include/slop.hpp
  42. %files
  43. %{_bindir}/slop
  44. %{_libdir}/libslopy.so
  45. %{_mandir}/man1/slop.1.gz
  46. %changelog
  47. * __APP_DATE__ Alois Mahdal <netvor+slop@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  48. - Unofficial experimental RPM pseudo-release
  49. # spec file generated from __APP_BUILDSCRIPT_VERSION__