]> git.pld-linux.org Git - packages/tig.git/blob - tig.spec
- updated to 0.10.1 (+git diff)
[packages/tig.git] / tig.spec
1 Summary:        Text-mode interface for git-core
2 Summary(pl.UTF-8):      Tekstowy interfejs do git-core
3 Name:           tig
4 Version:        0.10.1
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:  ff2c0c3d34b52a665421684d1fe7c221
10 URL:            http://jonas.nitro.dk/tig/
11 Patch0:         tig-git.patch
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
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.
30
31 Podczas przeglądania repozytoriów używa poleceń gita i pokazuje log,
32 statystyki diffa i różnice między plikami.
33
34 Używany jako pager będzie kolorował to co otrzyma ze standardowego
35 wejścia.
36
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
49 %prep
50 %setup -q
51 %patch0 -p1
52
53 %build
54 %{__make} \
55         CC="%{__cc}" \
56         CFLAGS="%{rpmcflags} %{rpmldflags} -I/usr/include/ncurses" \
57         LDLIBS=-lncursesw
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61 install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
62
63 %{__make} install install-doc-man \
64         DESTDIR=$RPM_BUILD_ROOT \
65         mandir=%{_mandir} \
66         prefix=%{_prefix}
67
68 # bash completion
69 install contrib/tig-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files
75 %defattr(644,root,root,755)
76 %doc BUGS README TODO *.html contrib/tigrc
77 %attr(755,root,root) %{_bindir}/*
78 %{_mandir}/man*/*
79
80 %files -n bash-completion-tig
81 %defattr(644,root,root,755)
82 %{_sysconfdir}/bash_completion.d/tig-completion.bash
This page took 1.589787 seconds and 4 git commands to generate.