1 Summary: Text-mode interface for git-core
2 Summary(pl): Tekstowy interfejs do git-core
7 Group: Development/Tools
8 Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz
9 # Source0-md5: fab4a728d13b8eb0643a1f5c26c0b8c9
10 Patch0: %{name}-ncurses.patch
11 URL: http://jonas.nitro.dk/tig/
12 BuildRequires: asciidoc
13 BuildRequires: ncurses-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 Tig is a git-core repository browser that additionally can act as a
19 pager for output from various git commands.
21 When browsing repositories, it uses the underlying git commands to
22 present the user with various views, such as summarized revision log
23 and showing the commit with the log message, diffstat, and the diff.
25 Using it as a pager, it will display input from stdin and colorize it.
28 Tig jest przegl±dark± repozytoriów git-core'a. Dodatkowo mo¿e dzia³aæ
29 jako pager dla ró¿nych komend gita.
31 Podczas przegl±dania repozytoriów u¿ywa poleceñ gita i pokazuje log,
32 statystyki diffa i ró¿nice miêdzy plikami.
34 U¿ywany jako pager bêdzie kolorowa³ to co otrzyma ze standardowego
42 %{__make} CC="%{__cc}" CFLAGS="%{rpmcflags} %{rpmldflags}"
45 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5}}
49 DESTDIR=$RPM_BUILD_ROOT \
52 install tig.1 $RPM_BUILD_ROOT%{_mandir}/man1
53 install tigrc.5 $RPM_BUILD_ROOT%{_mandir}/man5
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %attr(755,root,root) %{_bindir}/*