tig-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. %define ver 2.0.3
  2. %define rel 1
  3. Summary: Text-mode interface for Git
  4. Summary: Git のためのテキストモード インターフェース
  5. Name: tig
  6. Version: %{ver}
  7. Release: %{rel}%{?_dist_release}
  8. License: GPLv2+
  9. Group: Development/Tools
  10. URL: http://jonas.nitro.dk/tig/
  11. Distribution: Vine Linux
  12. Vendor: Project Vine
  13. Packager: iwaim
  14. Source: http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz
  15. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  16. BuildRequires: autoconf
  17. BuildRequires: asciidoc >= 8.4
  18. BuildRequires: docbook-style-xsl
  19. BuildRequires: docbook-utils
  20. BuildRequires: ncurses-devel
  21. BuildRequires: xmlto
  22. Requires: git
  23. %description
  24. Tig allows you to browse changes in a git repository and can additionally act
  25. as a pager for output of various git commands. When used as a pager, it will
  26. display input from stdin and colorize it.
  27. When browsing repositories, tig uses the underlying git commands to present the
  28. user with various views, such as summarized commit log and showing the commit
  29. with the log message, diffstat, and the diff.
  30. %prep
  31. %setup
  32. %build
  33. %configure
  34. %{__make} %{?_smp_mflags}
  35. %install
  36. %{__rm} -rf %{buildroot}
  37. %{__make} install install-doc DESTDIR="%{buildroot}"
  38. # bash completion
  39. %{__install} -m0755 -d %{buildroot}%{_sysconfdir}/bash_completion.d/
  40. %{__install} -m0644 contrib/tig-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/tig
  41. # stupid install-doc
  42. %{__install} -m0755 -d tigdocs
  43. %{__mv} %{buildroot}%{_docdir}/tig/* tigdocs/
  44. %{__rm} -rf %{buildroot}%{_docdir}/tig
  45. %clean
  46. %{__rm} -rf %{buildroot}
  47. %files
  48. %defattr(-, root, root, 0755)
  49. %doc BUGS COPYING INSTALL NEWS* README* SITES contrib/ tigdocs/
  50. %doc %{_mandir}/man?/*
  51. %config(noreplace) %{_sysconfdir}/tigrc
  52. %{_bindir}/*
  53. %{_sysconfdir}/bash_completion.d/tig
  54. %changelog
  55. * Wed Dec 31 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.3-1
  56. - update to 2.0.3
  57. * Thu Jun 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.2-1
  58. - update to 2.0.2
  59. - add tigrc configuration file
  60. * Fri Nov 29 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.2.1-1
  61. - update to 1.2.1
  62. * Sun Dec 30 2012 IWAI, Masaharu <iwai@alib.jp> 1.1-1
  63. - new upstream release
  64. * Thu Aug 30 2012 IWAI, Masaharu <iwai@alib.jp> - 1.0-1
  65. - first build for Vine Linux: from Repoforge
  66. * Mon May 21 2012 Yury V. Zaytsev <yury@shurup.com> - 1.0-1
  67. - Updated to version 1.0.
  68. * Tue Aug 30 2011 Steve Huff <shuff@vecna.org> - 0.18-1
  69. - Updated to version 0.18.
  70. * Thu Apr 21 2011 Steve Huff <shuff@vecna.org> - 0.17-1
  71. - Updated to version 0.17.
  72. * Thu Dec 23 2010 Steve Huff <shuff@vecna.org> - 0.16.2-2
  73. - Gah, wrong path for bash-completion support :(
  74. * Mon Nov 08 2010 Steve Huff <shuff@vecna.org> - 0.16.2-1
  75. - Initial package.