2007-05-25 02:45:56 +00:00
|
|
|
#
|
2011-04-21 11:49:01 +00:00
|
|
|
# spec file for package tig
|
2007-05-25 02:45:56 +00:00
|
|
|
#
|
2020-04-13 08:31:33 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-05-25 02:45:56 +00:00
|
|
|
#
|
2008-10-06 17:11:00 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-11-20 12:50:40 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-05-25 02:45:56 +00:00
|
|
|
#
|
|
|
|
|
2008-03-19 01:03:27 +00:00
|
|
|
|
2007-05-25 02:45:56 +00:00
|
|
|
Name: tig
|
2020-04-13 08:31:33 +00:00
|
|
|
Version: 2.5.1
|
2012-02-16 00:56:33 +00:00
|
|
|
Release: 0
|
2008-03-19 01:03:27 +00:00
|
|
|
Summary: An ncurses-based text-mode interface for git
|
2018-07-22 08:56:19 +00:00
|
|
|
License: GPL-2.0-or-later
|
2012-02-16 00:56:33 +00:00
|
|
|
Group: Development/Tools/Version Control
|
2018-07-22 08:58:51 +00:00
|
|
|
URL: https://jonas.github.io/tig/
|
2017-12-23 08:19:25 +00:00
|
|
|
Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
2018-07-22 08:58:51 +00:00
|
|
|
BuildRequires: pkgconfig >= 0.9.0
|
2018-07-22 08:56:19 +00:00
|
|
|
BuildRequires: readline-devel >= 6.3
|
2018-07-27 10:38:52 +00:00
|
|
|
BuildRequires: pkgconfig(ncurses)
|
2017-03-11 15:36:23 +00:00
|
|
|
Requires: bash-completion
|
2012-02-17 12:03:44 +00:00
|
|
|
Requires: git-core
|
2007-05-25 02:45:56 +00:00
|
|
|
|
|
|
|
%description
|
2015-03-16 14:44:27 +00:00
|
|
|
Tig is a git repository browser that additionally can act as a pager
|
|
|
|
for output from various git commands.
|
2007-05-25 02:45:56 +00:00
|
|
|
|
2015-03-16 14:44:27 +00:00
|
|
|
When browsing repositories, it uses the underlying git commands to
|
|
|
|
present the user with various views, such as summarized revision log
|
|
|
|
and showing the commit with the log message, diffstat, and the diff.
|
|
|
|
|
|
|
|
Using it as a pager, it will display input from stdin and colorize it.
|
2007-05-25 02:45:56 +00:00
|
|
|
|
|
|
|
%prep
|
2012-02-17 12:03:44 +00:00
|
|
|
%setup -q
|
2007-05-25 02:45:56 +00:00
|
|
|
|
|
|
|
%build
|
2015-03-13 17:22:44 +00:00
|
|
|
%configure \
|
|
|
|
--with-ncurses \
|
|
|
|
--docdir=%{_docdir}
|
2018-07-27 10:38:52 +00:00
|
|
|
make %{?_smp_mflags} V=1
|
2007-05-25 02:45:56 +00:00
|
|
|
|
|
|
|
%install
|
2017-12-23 08:19:25 +00:00
|
|
|
%make_install install-doc-man
|
2018-07-27 10:38:52 +00:00
|
|
|
install -Dpm 0644 contrib/tig-completion.bash \
|
|
|
|
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
2007-05-25 02:45:56 +00:00
|
|
|
|
|
|
|
%files
|
2018-07-22 08:58:51 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc NEWS.adoc README.adoc
|
2015-03-16 14:44:27 +00:00
|
|
|
%doc contrib/*.tigrc
|
2007-05-25 02:45:56 +00:00
|
|
|
%{_bindir}/tig
|
2018-07-27 10:38:52 +00:00
|
|
|
%config %{_sysconfdir}/tigrc
|
2018-07-22 08:58:51 +00:00
|
|
|
%{_mandir}/man1/tig.1%{?ext_man}
|
|
|
|
%{_mandir}/man5/tigrc.5%{?ext_man}
|
|
|
|
%{_mandir}/man7/tigmanual.7%{?ext_man}
|
2018-07-27 10:38:52 +00:00
|
|
|
%{_datadir}/bash-completion/completions/%{name}
|
2007-05-25 02:45:56 +00:00
|
|
|
|
|
|
|
%changelog
|