]> git.pld-linux.org Git - packages/tig.git/blame - tig.spec
- converted to UTF-8
[packages/tig.git] / tig.spec
CommitLineData
d8ae691a 1Summary: Text-mode interface for git-core
30c6d1e2 2Summary(pl.UTF-8): Tekstowy interfejs do git-core
d8ae691a 3Name: tig
e8eb96c4 4Version: 0.5
d8ae691a 5Release: 1
6License: GPL v2
7Group: Development/Tools
8Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz
e8eb96c4 9# Source0-md5: fab4a728d13b8eb0643a1f5c26c0b8c9
d8ae691a 10Patch0: %{name}-ncurses.patch
11URL: http://jonas.nitro.dk/tig/
12BuildRequires: asciidoc
13BuildRequires: ncurses-devel
14Requires: git-core
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18Tig is a git-core repository browser that additionally can act as a
19pager for output from various git commands.
20
21When browsing repositories, it uses the underlying git commands to
22present the user with various views, such as summarized revision log
23and showing the commit with the log message, diffstat, and the diff.
24
25Using it as a pager, it will display input from stdin and colorize it.
26
30c6d1e2
JR
27%description -l pl.UTF-8
28Tig jest przeglądarką repozytoriów git-core'a. Dodatkowo może działać
29jako pager dla różnych komend gita.
d8ae691a 30
30c6d1e2
JR
31Podczas przeglądania repozytoriów używa poleceń gita i pokazuje log,
32statystyki diffa i różnice między plikami.
d8ae691a 33
30c6d1e2
JR
34Używany jako pager będzie kolorował to co otrzyma ze standardowego
35wejścia.
d8ae691a 36
37%prep
38%setup -q
39%patch0 -p1
40
41%build
42%{__make} CC="%{__cc}" CFLAGS="%{rpmcflags} %{rpmldflags}"
43
44%install
45rm -rf $RPM_BUILD_ROOT
46
47install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5}}
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT \
50 prefix=%{_prefix}
51
52install tig.1 $RPM_BUILD_ROOT%{_mandir}/man1
53install tigrc.5 $RPM_BUILD_ROOT%{_mandir}/man5
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files
59%defattr(644,root,root,755)
60%doc TODO *.html
61%attr(755,root,root) %{_bindir}/*
62%{_mandir}/man*/*
This page took 0.109818 seconds and 4 git commands to generate.