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

slop.spec.in 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. %prep
  19. %autosetup -n %{name}-%{version}
  20. %build
  21. cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
  22. %install
  23. %make_install
  24. mkdir -p "%{buildroot}%{_libdir}"
  25. mv %{buildroot}/usr/lib/libslopy.so "%{buildroot}%{_libdir}"
  26. rm %{buildroot}/usr/include/slop.hpp
  27. %files
  28. %{_bindir}/slop
  29. %{_libdir}/libslopy.so
  30. %{_mandir}/man1/slop.1.gz
  31. %changelog
  32. * __APP_DATE__ Alois Mahdal <netvor+slop@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  33. - Unofficial experimental RPM pseudo-release
  34. # spec file generated from __APP_BUILDSCRIPT_VERSION__