%define ver 2.2.2 %define rel 1 Summary: Text-mode interface for Git Summary(ja): Git のためのテキストモード インターフェース Name: tig Version: %{ver} Release: %{rel}%{?_dist_release} License: GPLv2+ Group: Development/Tools URL: http://jonas.nitro.dk/tig/ Distribution: Vine Linux Vendor: Project Vine Packager: iwaim Source: http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: autoconf BuildRequires: asciidoc >= 8.4 BuildRequires: docbook-style-xsl BuildRequires: docbook-utils BuildRequires: ncurses-devel BuildRequires: xmlto Requires: git %description Tig allows you to browse changes in a git repository and can additionally act as a pager for output of various git commands. When used as a pager, it will display input from stdin and colorize it. When browsing repositories, tig uses the underlying git commands to present the user with various views, such as summarized commit log and showing the commit with the log message, diffstat, and the diff. %prep %setup %build %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} install install-doc DESTDIR="%{buildroot}" # bash completion %{__install} -m0755 -d %{buildroot}%{_sysconfdir}/bash_completion.d/ %{__install} -m0644 contrib/tig-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/tig # stupid install-doc %{__install} -m0755 -d tigdocs %{__mv} %{buildroot}%{_docdir}/tig/* tigdocs/ %{__rm} -rf %{buildroot}%{_docdir}/tig %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) %doc COPYING NEWS* README* contrib/ tigdocs/ %doc %{_mandir}/man?/* %config(noreplace) %{_sysconfdir}/tigrc %{_bindir}/* %{_sysconfdir}/bash_completion.d/tig %changelog * Wed May 31 2017 IWAI, Masaharu 2.2.2-1 - update to 2.2.2 * Thu Dec 29 2016 IWAI, Masaharu 2.2.1-1 - update to 2.2.1 * Thu Dec 31 2015 IWAI, Masaharu 2.1.1-1 - update to 2.1.1 * Mon Apr 6 2015 IWAI, Masaharu 2.1-1 - update to 2.1 * Wed Dec 31 2014 IWAI, Masaharu 2.0.3-1 - update to 2.0.3 * Thu Jun 26 2014 IWAI, Masaharu 2.0.2-1 - update to 2.0.2 - add tigrc configuration file * Fri Nov 29 2013 IWAI, Masaharu 1.2.1-1 - update to 1.2.1 * Sun Dec 30 2012 IWAI, Masaharu 1.1-1 - new upstream release * Thu Aug 30 2012 IWAI, Masaharu - 1.0-1 - first build for Vine Linux: from Repoforge * Mon May 21 2012 Yury V. Zaytsev - 1.0-1 - Updated to version 1.0. * Tue Aug 30 2011 Steve Huff - 0.18-1 - Updated to version 0.18. * Thu Apr 21 2011 Steve Huff - 0.17-1 - Updated to version 0.17. * Thu Dec 23 2010 Steve Huff - 0.16.2-2 - Gah, wrong path for bash-completion support :( * Mon Nov 08 2010 Steve Huff - 0.16.2-1 - Initial package.