tig-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. %define ver 2.2.2
  2. %define rel 1
  3. Summary: Text-mode interface for Git
  4. Summary(ja): 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 COPYING NEWS* README* contrib/ tigdocs/
  50. %doc %{_mandir}/man?/*
  51. %config(noreplace) %{_sysconfdir}/tigrc
  52. %{_bindir}/*
  53. %{_sysconfdir}/bash_completion.d/tig
  54. %changelog
  55. * Wed May 31 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 2.2.2-1
  56. - update to 2.2.2
  57. * Thu Dec 29 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 2.2.1-1
  58. - update to 2.2.1
  59. * Thu Dec 31 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 2.1.1-1
  60. - update to 2.1.1
  61. * Mon Apr 6 2015 IWAI, Masaharu <iwaim.sub@gmail.com> 2.1-1
  62. - update to 2.1
  63. * Wed Dec 31 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.3-1
  64. - update to 2.0.3
  65. * Thu Jun 26 2014 IWAI, Masaharu <iwaim.sub@gmail.com> 2.0.2-1
  66. - update to 2.0.2
  67. - add tigrc configuration file
  68. * Fri Nov 29 2013 IWAI, Masaharu <iwaim.sub@gmail.com> 1.2.1-1
  69. - update to 1.2.1
  70. * Sun Dec 30 2012 IWAI, Masaharu <iwai@alib.jp> 1.1-1
  71. - new upstream release
  72. * Thu Aug 30 2012 IWAI, Masaharu <iwai@alib.jp> - 1.0-1
  73. - first build for Vine Linux: from Repoforge
  74. * Mon May 21 2012 Yury V. Zaytsev <yury@shurup.com> - 1.0-1
  75. - Updated to version 1.0.
  76. * Tue Aug 30 2011 Steve Huff <shuff@vecna.org> - 0.18-1
  77. - Updated to version 0.18.
  78. * Thu Apr 21 2011 Steve Huff <shuff@vecna.org> - 0.17-1
  79. - Updated to version 0.17.
  80. * Thu Dec 23 2010 Steve Huff <shuff@vecna.org> - 0.16.2-2
  81. - Gah, wrong path for bash-completion support :(
  82. * Mon Nov 08 2010 Steve Huff <shuff@vecna.org> - 0.16.2-1
  83. - Initial package.