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

ydiff.spec.in 1.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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}.py
  28. %{python2_sitelib}/%{name}.pyc
  29. %{python2_sitelib}/%{name}.pyo
  30. %{python2_sitelib}/%{name}-*.egg-info
  31. %changelog
  32. * __APP_DATE__ Alois Mahdal <netvor+ydiff@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  33. - Unofficial experimental RPM pseudo-release
  34. # spec file generated from __APP_BUILDSCRIPT_VERSION__