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