]>
Commit | Line | Data |
---|---|---|
d8ae691a | 1 | Summary: Text-mode interface for git-core |
43ad6af9 | 2 | Summary(pl.UTF-8): Tekstowy interfejs do git-core |
d8ae691a | 3 | Name: tig |
f66afeb5 | 4 | Version: 0.11 |
230b3544 | 5 | Release: 2 |
d8ae691a | 6 | License: GPL v2 |
7 | Group: Development/Tools | |
8 | Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz | |
f66afeb5 | 9 | # Source0-md5: 5d136ae97ed27ec8e343624fcc97ee4a |
d8ae691a | 10 | URL: http://jonas.nitro.dk/tig/ |
fbff8a09 | 11 | Patch0: tig-git.patch |
d8ae691a | 12 | BuildRequires: asciidoc |
13 | BuildRequires: ncurses-devel | |
14 | Requires: git-core | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Tig is a git-core repository browser that additionally can act as a | |
19 | pager for output from various git commands. | |
20 | ||
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. | |
24 | ||
25 | Using it as a pager, it will display input from stdin and colorize it. | |
26 | ||
30c6d1e2 JR |
27 | %description -l pl.UTF-8 |
28 | Tig jest przeglądarką repozytoriów git-core'a. Dodatkowo może działać | |
29 | jako pager dla różnych komend gita. | |
d8ae691a | 30 | |
30c6d1e2 JR |
31 | Podczas przeglądania repozytoriów używa poleceń gita i pokazuje log, |
32 | statystyki diffa i różnice między plikami. | |
d8ae691a | 33 | |
30c6d1e2 JR |
34 | Używany jako pager będzie kolorował to co otrzyma ze standardowego |
35 | wejścia. | |
d8ae691a | 36 | |
258a0492 AG |
37 | %package -n bash-completion-tig |
38 | Summary: bash-completion for tig | |
39 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla tiga | |
40 | Group: Applications/Shell | |
41 | Requires: bash-completion | |
42 | ||
43 | %description -n bash-completion-tig | |
44 | This package provides bash-completion for tig. | |
45 | ||
46 | %description -n bash-completion-tig -l pl.UTF-8 | |
47 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla tiga. | |
48 | ||
d8ae691a | 49 | %prep |
50 | %setup -q | |
fbff8a09 | 51 | %patch0 -p1 |
d8ae691a | 52 | |
53 | %build | |
5ffc336a AG |
54 | %{__make} \ |
55 | CC="%{__cc}" \ | |
236f42cc | 56 | CFLAGS="%{rpmcflags} %{rpmldflags} -I/usr/include/ncurses" \ |
57 | LDLIBS=-lncursesw | |
d8ae691a | 58 | |
59 | %install | |
60 | rm -rf $RPM_BUILD_ROOT | |
258a0492 | 61 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d |
d8ae691a | 62 | |
5ffc336a | 63 | %{__make} install install-doc-man \ |
d8ae691a | 64 | DESTDIR=$RPM_BUILD_ROOT \ |
5ffc336a | 65 | mandir=%{_mandir} \ |
d8ae691a | 66 | prefix=%{_prefix} |
67 | ||
258a0492 AG |
68 | # bash completion |
69 | install contrib/tig-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d | |
70 | ||
d8ae691a | 71 | %clean |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
fbff8a09 | 76 | %doc BUGS README TODO *.html contrib/tigrc |
d8ae691a | 77 | %attr(755,root,root) %{_bindir}/* |
78 | %{_mandir}/man*/* | |
258a0492 AG |
79 | |
80 | %files -n bash-completion-tig | |
81 | %defattr(644,root,root,755) | |
82 | %{_sysconfdir}/bash_completion.d/tig-completion.bash |