source: projects/specs/trunk/t/tig/tig-vl.spec @ 7321

Revision 7321, 2.3 KB checked in by iwaim, 11 years ago (diff)

tig 1.1-1

Line 
1%define ver 1.1
2%define rel 1
3
4Summary: Text-mode interface for Git
5Summary: Git のためのテキストモード インターフェース
6Name: tig
7Version: %{ver}
8Release: %{rel}%{?_dist_release}
9License: GPLv2+
10Group: Development/Tools
11URL: http://jonas.nitro.dk/tig/
12
13Distribution: Vine Linux
14Vendor: Project Vine
15Packager: iwaim
16
17Source: http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz
18BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
19
20BuildRequires: autoconf
21BuildRequires: asciidoc >= 8.4
22BuildRequires: docbook-style-xsl
23BuildRequires: docbook-utils
24BuildRequires: ncurses-devel
25BuildRequires: xmlto
26Requires: git
27
28%description
29Tig allows you to browse changes in a git repository and can additionally act
30as a pager for output of various git commands. When used as a pager, it will
31display input from stdin and colorize it.
32
33When browsing repositories, tig uses the underlying git commands to present the
34user with various views, such as summarized commit log and showing the commit
35with 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
68* Sun Dec 30 2012 IWAI, Masaharu <iwai@alib.jp> 1.1-1
69- new upstream release
70
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.
Note: See TracBrowser for help on using the repository browser.