]>
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 |
62d41ca1 | 4 | Version: 0.14.1 |
a909594a | 5 | Release: 3 |
d8ae691a | 6 | License: GPL v2 |
7 | Group: Development/Tools | |
8 | Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz | |
62d41ca1 | 9 | # Source0-md5: e47bf48813c0cbe6be0f3b749e6de96c |
d8ae691a | 10 | URL: http://jonas.nitro.dk/tig/ |
1cd7d826 | 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 | |
d8ae691a | 51 | |
52 | %build | |
5ffc336a AG |
53 | %{__make} \ |
54 | CC="%{__cc}" \ | |
a909594a | 55 | CFLAGS="%{rpmcflags} %{rpmldflags} -I/usr/include/ncursesw" \ |
236f42cc | 56 | LDLIBS=-lncursesw |
d8ae691a | 57 | |
58 | %install | |
59 | rm -rf $RPM_BUILD_ROOT | |
258a0492 | 60 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d |
d8ae691a | 61 | |
5ffc336a | 62 | %{__make} install install-doc-man \ |
d8ae691a | 63 | DESTDIR=$RPM_BUILD_ROOT \ |
5ffc336a | 64 | mandir=%{_mandir} \ |
d8ae691a | 65 | prefix=%{_prefix} |
66 | ||
258a0492 AG |
67 | # bash completion |
68 | install contrib/tig-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d | |
69 | ||
d8ae691a | 70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
fbff8a09 | 75 | %doc BUGS README TODO *.html contrib/tigrc |
d8ae691a | 76 | %attr(755,root,root) %{_bindir}/* |
77 | %{_mandir}/man*/* | |
258a0492 AG |
78 | |
79 | %files -n bash-completion-tig | |
80 | %defattr(644,root,root,755) | |
81 | %{_sysconfdir}/bash_completion.d/tig-completion.bash |