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