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

ydiff.spec.in 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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
  7. Source0: __APP_URLBASE__/archive/%{version}/%{name}-%{version}.tar.gz
  8. BuildRequires: python2-devel
  9. BuildArch: noarch
  10. Requires: less
  11. Requires: python2-%{name}
  12. %description
  13. Term based tool to view colored, incremental diff in a Git/Mercurial/Svn
  14. workspace or from stdin, with side by side (similar to diff -y) and auto
  15. pager support.
  16. %package -n python2-%{name}
  17. Summary: %{summary}
  18. %description -n python2-%{name}
  19. Python library that implements API used by ydiff tool.
  20. %prep
  21. %autosetup -n %{name}-%{version}
  22. %build
  23. %py2_build
  24. %install
  25. %py2_install
  26. %files
  27. %doc README.rst
  28. %license LICENSE
  29. %{_bindir}/ydiff
  30. %files -n python2-%{name}
  31. %{python2_sitelib}/%{name}.py
  32. %{python2_sitelib}/%{name}.pyc
  33. %{python2_sitelib}/%{name}.pyo
  34. %{python2_sitelib}/%{name}-*.egg-info
  35. %changelog
  36. * __APP_DATE__ Alois Mahdal <netvor+ydiff@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
  37. - Unofficial experimental RPM pseudo-release
  38. # spec file generated from __APP_BUILDSCRIPT_VERSION__