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

slop.spec.in 1.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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++ >= 4.9
  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. %package -n libslopy
  19. Summary: Select Operation
  20. %description -n libslopy
  21. slop (Select Operation) is an application that queries for a selection
  22. from the user and prints the region to stdout.
  23. This sub-package contains libslopy library.
  24. %package -n libslopy-devel
  25. Summary: Select Operation
  26. %description -n libslopy-devel
  27. slop (Select Operation) is an application that queries for a selection
  28. from the user and prints the region to stdout.
  29. This sub-package contains development files for libslopy library.
  30. %prep
  31. %autosetup -n %{name}-%{version}
  32. %build
  33. %cmake .
  34. %install
  35. %make_install
  36. %check
  37. ctest -V %{?_smp_mflags}
  38. %files
  39. %{_bindir}/slop
  40. %{_mandir}/man1/slop.1.gz
  41. %files -n libslopy
  42. %{_libdir}/libslopy.so.%{version}
  43. %files -n libslopy-devel
  44. %{_libdir}/libslopy.so
  45. %{_includedir}/slop.hpp
  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__