]>
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 |
5ffc336a | 4 | Version: 0.8 |
d8ae691a | 5 | Release: 1 |
6 | License: GPL v2 | |
7 | Group: Development/Tools | |
8 | Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz | |
5ffc336a | 9 | # Source0-md5: 9abe5685b862c758f53e32cdbe1fdb8f |
d8ae691a | 10 | Patch0: %{name}-ncurses.patch |
11 | URL: http://jonas.nitro.dk/tig/ | |
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 | |
37 | %prep | |
38 | %setup -q | |
39 | %patch0 -p1 | |
40 | ||
41 | %build | |
5ffc336a AG |
42 | %{__make} \ |
43 | CC="%{__cc}" \ | |
44 | CFLAGS="%{rpmcflags} %{rpmldflags}" | |
d8ae691a | 45 | |
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
5ffc336a | 49 | %{__make} install install-doc-man \ |
d8ae691a | 50 | DESTDIR=$RPM_BUILD_ROOT \ |
5ffc336a | 51 | mandir=%{_mandir} \ |
d8ae691a | 52 | prefix=%{_prefix} |
53 | ||
d8ae691a | 54 | %clean |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %doc TODO *.html | |
60 | %attr(755,root,root) %{_bindir}/* | |
61 | %{_mandir}/man*/* |