Script to trigger re-build of ydiff - https://github.com/ymattw/ydiff

ydiff.spec.in 992B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Name: ydiff
  2. Version: __APP_VERSION__
  3. Release: __APP_RELEASE__%{?dist}
  4. Summary: View colored, incremental diff
  5. URL: https://github.com/ymattw/ydiff
  6. License: BSD-3
  7. Source0: __APP_URLBASE__/archive/%{version}/%{name}-%{version}.tar.gz
  8. BuildRequires: python2-devel
  9. Requires: less
  10. %description
  11. Term based tool to view colored, incremental diff in a Git/Mercurial/Svn
  12. workspace or from stdin, with side by side (similar to diff -y) and auto
  13. pager support.
  14. %package -n python2-%{name}
  15. Summary: %{summary}
  16. %description -n python2-%{name}
  17. Python library that implements API used by ydiff tool.
  18. %prep
  19. %setup -q
  20. %build
  21. %py2_build
  22. %install
  23. %py2_install
  24. %files
  25. %{_bindir}/ydiff
  26. %files -n python2-%{name}
  27. %{python2_sitelib}/%{name}/
  28. %{python2_sitelib}/%{name}-*.egg-info
  29. %changelog
  30. * __APP_DATE__ Alois Mahdal <netvor+ydiff@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  31. - Unofficial experimental RPM pseudo-release
  32. # spec file generated from __APP_BUILDSCRIPT_VERSION__