]> git.pld-linux.org Git - packages/tig.git/blame - tig.spec
up to 2.5.9
[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
13cf599d 4Version: 2.5.9
d011c017 5Release: 1
c657d909 6License: GPL v2+
d8ae691a 7Group: Development/Tools
a3ddc5da 8Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
13cf599d 9# Source0-md5: 54d0d7a17b75832eac632b6232f785fe
a3ddc5da 10URL: https://jonas.github.io/tig/
d8ae691a 11BuildRequires: ncurses-devel
c5e61a2d 12BuildRequires: pcre2-posix-devel
be65773d
JP
13BuildRequires: pkgconfig
14BuildRequires: readline-devel
c0974db2 15BuildRequires: rpm-build >= 4.6
2cb93d4d 16BuildRequires: rpmbuild(macros) >= 1.752
d8ae691a 17Requires: git-core
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Tig is a git-core repository browser that additionally can act as a
22pager for output from various git commands.
23
24When browsing repositories, it uses the underlying git commands to
25present the user with various views, such as summarized revision log
26and showing the commit with the log message, diffstat, and the diff.
27
28Using it as a pager, it will display input from stdin and colorize it.
29
30c6d1e2
JR
30%description -l pl.UTF-8
31Tig jest przeglądarką repozytoriów git-core'a. Dodatkowo może działać
32jako pager dla różnych komend gita.
d8ae691a 33
30c6d1e2
JR
34Podczas przeglądania repozytoriów używa poleceń gita i pokazuje log,
35statystyki diffa i różnice między plikami.
d8ae691a 36
30c6d1e2
JR
37Używany jako pager będzie kolorował to co otrzyma ze standardowego
38wejścia.
d8ae691a 39
258a0492
AG
40%package -n bash-completion-tig
41Summary: bash-completion for tig
42Summary(pl.UTF-8): bashowe uzupełnianie nazw dla tiga
4eef9c0b 43Group: Applications/Shells
258a0492 44Requires: bash-completion
c773e14d 45BuildArch: noarch
258a0492
AG
46
47%description -n bash-completion-tig
48This package provides bash-completion for tig.
49
50%description -n bash-completion-tig -l pl.UTF-8
51Pakiet ten dostarcza bashowe uzupełnianie nazw dla tiga.
52
d8ae691a 53%prep
54%setup -q
d8ae691a 55
56%build
680ab128 57CFLAGS="%{rpmcflags} %{rpmldflags} -I/usr/include/ncursesw"
58export CFLAGS
59LIBS=-ltinfow %configure
657504b3 60%{__make} V=1
d8ae691a 61
62%install
63rm -rf $RPM_BUILD_ROOT
258a0492 64install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
d8ae691a 65
5ffc336a 66%{__make} install install-doc-man \
d8ae691a 67 DESTDIR=$RPM_BUILD_ROOT \
5ffc336a 68 mandir=%{_mandir} \
d8ae691a 69 prefix=%{_prefix}
657504b3 70 sysconfdir=%{_sysconfdir}
d8ae691a 71
258a0492 72# bash completion
c657d909 73cp -a contrib/tig-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
258a0492 74
d8ae691a 75%clean
76rm -rf $RPM_BUILD_ROOT
77
78%files
79%defattr(644,root,root,755)
657504b3
JP
80%doc *.html
81%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tigrc
4eef9c0b 82%attr(755,root,root) %{_bindir}/tig
680ab128 83#%attr(755,root,root) %{_bindir}/test-graph
c657d909 84%{_mandir}/man1/tig.1*
85%{_mandir}/man5/tigrc.5*
86%{_mandir}/man7/tigmanual.7*
258a0492
AG
87
88%files -n bash-completion-tig
89%defattr(644,root,root,755)
90%{_sysconfdir}/bash_completion.d/tig-completion.bash
This page took 0.283534 seconds and 5 git commands to generate.