]> git.pld-linux.org Git - packages/tig.git/blame_incremental - tig.spec
up to 2.2.2
[packages/tig.git] / tig.spec
... / ...
CommitLineData
1Summary: Text-mode interface for git-core
2Summary(pl.UTF-8): Tekstowy interfejs do git-core
3Name: tig
4Version: 2.2.2
5Release: 1
6License: GPL v2+
7Group: Development/Tools
8Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: 3b4a9f0fd8d18c1039863e6c4ace6e46
10URL: https://jonas.github.io/tig/
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
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.
28
29Podczas przeglądania repozytoriów używa poleceń gita i pokazuje log,
30statystyki diffa i różnice między plikami.
31
32Używany jako pager będzie kolorował to co otrzyma ze standardowego
33wejścia.
34
35%package -n bash-completion-tig
36Summary: bash-completion for tig
37Summary(pl.UTF-8): bashowe uzupełnianie nazw dla tiga
38Group: Applications/Shells
39Requires: bash-completion
40%if "%{_rpmversion}" >= "5"
41BuildArch: noarch
42%endif
43
44%description -n bash-completion-tig
45This package provides bash-completion for tig.
46
47%description -n bash-completion-tig -l pl.UTF-8
48Pakiet ten dostarcza bashowe uzupełnianie nazw dla tiga.
49
50%prep
51%setup -q
52
53%build
54CFLAGS="%{rpmcflags} %{rpmldflags} -I/usr/include/ncursesw"
55export CFLAGS
56LIBS=-ltinfow %configure
57%{__make} V=1
58
59%install
60rm -rf $RPM_BUILD_ROOT
61install -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 sysconfdir=%{_sysconfdir}
68
69# bash completion
70cp -a contrib/tig-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files
76%defattr(644,root,root,755)
77%doc *.html
78%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tigrc
79%attr(755,root,root) %{_bindir}/tig
80#%attr(755,root,root) %{_bindir}/test-graph
81%{_mandir}/man1/tig.1*
82%{_mandir}/man5/tigrc.5*
83%{_mandir}/man7/tigmanual.7*
84
85%files -n bash-completion-tig
86%defattr(644,root,root,755)
87%{_sysconfdir}/bash_completion.d/tig-completion.bash
This page took 0.055584 seconds and 4 git commands to generate.