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