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

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