]> git.pld-linux.org Git - packages/tig.git/blob - tig.spec
- drop obsolete files
[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.14.1
5 Release:        3
6 License:        GPL v2
7 Group:          Development/Tools
8 Source0:        http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz
9 # Source0-md5:  e47bf48813c0cbe6be0f3b749e6de96c
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
52 %build
53 %{__make} \
54         CC="%{__cc}" \
55         CFLAGS="%{rpmcflags} %{rpmldflags} -I/usr/include/ncursesw" \
56         LDLIBS=-lncursesw
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
61
62 %{__make} install install-doc-man \
63         DESTDIR=$RPM_BUILD_ROOT \
64         mandir=%{_mandir} \
65         prefix=%{_prefix}
66
67 # bash completion
68 install contrib/tig-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files
74 %defattr(644,root,root,755)
75 %doc BUGS README TODO *.html contrib/tigrc
76 %attr(755,root,root) %{_bindir}/*
77 %{_mandir}/man*/*
78
79 %files -n bash-completion-tig
80 %defattr(644,root,root,755)
81 %{_sysconfdir}/bash_completion.d/tig-completion.bash
This page took 0.067774 seconds and 3 git commands to generate.