]> git.pld-linux.org Git - packages/tig.git/blame - tig.spec
- there is no tig-git.patch in the repository
[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
4b0409e0
AG
4Version: 0.15
5Release: 1
d8ae691a 6License: GPL v2
7Group: Development/Tools
8Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz
4b0409e0 9# Source0-md5: 8f373a99823f6db241b66642075657d3
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}" \
a909594a 54 CFLAGS="%{rpmcflags} %{rpmldflags} -I/usr/include/ncursesw" \
236f42cc 55 LDLIBS=-lncursesw
d8ae691a 56
57%install
58rm -rf $RPM_BUILD_ROOT
258a0492 59install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
d8ae691a 60
5ffc336a 61%{__make} install install-doc-man \
d8ae691a 62 DESTDIR=$RPM_BUILD_ROOT \
5ffc336a 63 mandir=%{_mandir} \
d8ae691a 64 prefix=%{_prefix}
65
258a0492
AG
66# bash completion
67install contrib/tig-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
68
d8ae691a 69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%files
73%defattr(644,root,root,755)
fbff8a09 74%doc BUGS README TODO *.html contrib/tigrc
d8ae691a 75%attr(755,root,root) %{_bindir}/*
76%{_mandir}/man*/*
258a0492
AG
77
78%files -n bash-completion-tig
79%defattr(644,root,root,755)
80%{_sysconfdir}/bash_completion.d/tig-completion.bash
This page took 0.129871 seconds and 4 git commands to generate.