- Update to 2.5.0: Improvements: * Single file view enters blame mode on "b". (#804) * Show untracked files in the default view. (#762) * Disable graph if log.follow is enabled and there is only one pathspec. (#881) * Disable graph for author searches. * git_colors: interpret 'ul' as 'underline'. * Add refname variable. (#900) * Add -C option to specify the working directory. (#570) * Improve behaviour of auto and periodic refresh modes. (#389, #441, #482, #794, #888, #932) * Add support for repos created with git --work-tree. (#872) * Add diff-highlight to pager mode. * Show annotated commits in main view. (#819) * Introduce reflog view. (#538) * Add option to start with cursor on HEAD commit. (#755) * Support combined diffs with more than 2 parents. * Improve how a toggle option value is shown on the status line. (#879) * Add options to filter refs output. (#694) * Update utf8proc to v2.4.0. (#961) Bug fixes: * Fix garbled cursor line with older ncurses versions. * Fix diff highlighting of removed lines starting with -- and added lines * starting with ++. (#871, #875) * Fix loop when displaying search result if regex matches an empty string. (#866) * Add synchronous command description in tigrc. * Fix parsing of git rev-parse output. (#884) * Propagate --first-parent to diff arguments. (#861) * Use proper type for hash table size. (#858) * Fix incorrect cppcheck warning about realloc() use. * Don't shift signed int by 31 bits. OBS-URL: https://build.opensuse.org/request/show/749874 OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=63
69 lines
2.1 KiB
RPMSpec
69 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package tig
|
|
#
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: tig
|
|
Version: 2.5.0
|
|
Release: 0
|
|
Summary: An ncurses-based text-mode interface for git
|
|
License: GPL-2.0-or-later
|
|
Group: Development/Tools/Version Control
|
|
URL: https://jonas.github.io/tig/
|
|
Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
|
BuildRequires: pkgconfig >= 0.9.0
|
|
BuildRequires: readline-devel >= 6.3
|
|
BuildRequires: pkgconfig(ncurses)
|
|
Requires: bash-completion
|
|
Requires: git-core
|
|
|
|
%description
|
|
Tig is a git repository browser that additionally can act as a pager
|
|
for output from various git commands.
|
|
|
|
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.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure \
|
|
--with-ncurses \
|
|
--docdir=%{_docdir}
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install install-doc-man
|
|
install -Dpm 0644 contrib/tig-completion.bash \
|
|
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc NEWS.adoc README.adoc
|
|
%doc contrib/*.tigrc
|
|
%{_bindir}/tig
|
|
%config %{_sysconfdir}/tigrc
|
|
%{_mandir}/man1/tig.1%{?ext_man}
|
|
%{_mandir}/man5/tigrc.5%{?ext_man}
|
|
%{_mandir}/man7/tigmanual.7%{?ext_man}
|
|
%{_datadir}/bash-completion/completions/%{name}
|
|
|
|
%changelog
|