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