123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- %define ver 1.0
- %define rel 1
- Summary: Text-mode interface for Git
- Summary: 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 BUGS COPYING INSTALL NEWS* README* SITES contrib/ tigdocs/
- %doc %{_mandir}/man?/*
- %{_bindir}/*
- %{_sysconfdir}/bash_completion.d/tig
- %changelog
- * Thu Aug 30 2012 IWAI, Masaharu <iwai@alib.jp> - 1.0-1
- - first build for Vine Linux: from Repoforge
- * Mon May 21 2012 Yury V. Zaytsev <yury@shurup.com> - 1.0-1
- - Updated to version 1.0.
- * Tue Aug 30 2011 Steve Huff <shuff@vecna.org> - 0.18-1
- - Updated to version 0.18.
- * Thu Apr 21 2011 Steve Huff <shuff@vecna.org> - 0.17-1
- - Updated to version 0.17.
- * Thu Dec 23 2010 Steve Huff <shuff@vecna.org> - 0.16.2-2
- - Gah, wrong path for bash-completion support :(
- * Mon Nov 08 2010 Steve Huff <shuff@vecna.org> - 0.16.2-1
- - Initial package.
|