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

slop.spec.in 1.8KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. Name: slop
  2. Version: __APP_VERSION__
  3. Release: __APP_RELEASE__%{?dist}
  4. Summary: Command line tool to perform region SeLect OPeration with mouse
  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: Library to perform region SeLect OPeration with mouse
  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: Library to perform region SeLect OPeration with mouse
  26. Requires: %{name}%{?_isa} = %{version}-%{release}
  27. %description -n libslopy-devel
  28. slop (Select Operation) is an application that queries for a selection
  29. from the user and prints the region to stdout.
  30. This sub-package contains development files for libslopy library.
  31. %prep
  32. %autosetup -n %{name}-%{version}
  33. %build
  34. %cmake .
  35. %install
  36. %make_install
  37. %ldconfig_scriptlets -n libslopy
  38. %check
  39. ctest -V %{?_smp_mflags}
  40. %files
  41. %doc README.md
  42. %license COPYING license.txt
  43. %{_bindir}/slop
  44. %{_mandir}/man1/slop.1.*
  45. %files -n libslopy
  46. %{_libdir}/libslopy.so.%{version}
  47. %files -n libslopy-devel
  48. %{_libdir}/libslopy.so
  49. %{_includedir}/slop.hpp
  50. %changelog
  51. * __APP_DATE__ Alois Mahdal <netvor+slop@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  52. - Unofficial experimental RPM pseudo-release
  53. # spec file generated from __APP_BUILDSCRIPT_VERSION__