]> git.pld-linux.org Git - packages/tig.git/blame - tig.spec
- no longer needed
[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
258a0492 4Version: 0.9.1
d8ae691a 5Release: 1
6License: GPL v2
7Group: Development/Tools
8Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz
258a0492 9# Source0-md5: b596682b3cd5892db22d7168d6f99bd1
d8ae691a 10URL: http://jonas.nitro.dk/tig/
11BuildRequires: asciidoc
12BuildRequires: ncurses-devel
13Requires: git-core
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17Tig is a git-core repository browser that additionally can act as a
18pager for output from various git commands.
19
20When browsing repositories, it uses the underlying git commands to
21present the user with various views, such as summarized revision log
22and showing the commit with the log message, diffstat, and the diff.
23
24Using it as a pager, it will display input from stdin and colorize it.
25
30c6d1e2
JR
26%description -l pl.UTF-8
27Tig jest przeglądarką repozytoriów git-core'a. Dodatkowo może działać
28jako pager dla różnych komend gita.
d8ae691a 29
30c6d1e2
JR
30Podczas przeglądania repozytoriów używa poleceń gita i pokazuje log,
31statystyki diffa i różnice między plikami.
d8ae691a 32
30c6d1e2
JR
33Używany jako pager będzie kolorował to co otrzyma ze standardowego
34wejścia.
d8ae691a 35
258a0492
AG
36%package -n bash-completion-tig
37Summary: bash-completion for tig
38Summary(pl.UTF-8): bashowe uzupełnianie nazw dla tiga
39Group: Applications/Shell
40Requires: bash-completion
41
42%description -n bash-completion-tig
43This package provides bash-completion for tig.
44
45%description -n bash-completion-tig -l pl.UTF-8
46Pakiet ten dostarcza bashowe uzupełnianie nazw dla tiga.
47
d8ae691a 48%prep
49%setup -q
d8ae691a 50
51%build
5ffc336a
AG
52%{__make} \
53 CC="%{__cc}" \
258a0492 54 CFLAGS="%{rpmcflags} %{rpmldflags} -I/usr/include/ncurses"
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)
258a0492 73%doc TODO *.html contrib/tigrc
d8ae691a 74%attr(755,root,root) %{_bindir}/*
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.068941 seconds and 4 git commands to generate.