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
|
|
|
#
|
- Update to 2.5.5:
Improvements:
* Make word-diff a toggleable option. (#1119, #1125)
* Add Linux installation instructions. (#1121, #1126)
* Allow :back to work across separate blame views. (#1123, #1127)
* Add auto-refresh to log view. (#1128)
* Expose %(file_old), useful for deleted and renamed files. (#1132)
* Enable jumping back in main view. (#628, #1138)
* Add PCRE (Perl Compatible Regular Expressions) support. (#1137, #1143)
* Pass command line args through to diff-files in status view. (#1152, #1155)
* Remove quotes from TIG_LS_REMOTE to allow inline shell commands. (#1160,
#1161)
* Avoid pushing identical history state in main view.
* Replace useless strncpy to avoid compilation warning with GCC 8.
* Update utf8proc to v2.7.0.
* Update distclean rule to preserve tarball contents. (#1167, #1169)
* Add reference types stash and other. (#1160, #1172)
* Auto refresh view upon option change.
* Allow to toggle revision filtering. (#1173)
Bug fixes:
* Fix null dereferences on unset format strings. (#1136, #1159)
* Fix invalid read in log_read. (#1128)
* Restore support for tig log --graph. (#1128)
* Further fix to fullscreen navigation.
* Fix blame when opened from an initial diff view. (#1135)
* Fix stash view when using tig --all or tig revs. (#1146, #1147)
* Avoiding null pointer dereference. (#1096)
* Fix navigation between chunks after splitting chunk. (#1101, #1162)
* Fix status line when toggling general options. (#1163, #1164)
* Honor reference-format = hide:tag in diff view. (#1168, #1170)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=72
2022-01-13 14:04:13 +00:00
|
|
|
# Copyright (c) 2022 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
|
- Update to 2.5.5:
Improvements:
* Make word-diff a toggleable option. (#1119, #1125)
* Add Linux installation instructions. (#1121, #1126)
* Allow :back to work across separate blame views. (#1123, #1127)
* Add auto-refresh to log view. (#1128)
* Expose %(file_old), useful for deleted and renamed files. (#1132)
* Enable jumping back in main view. (#628, #1138)
* Add PCRE (Perl Compatible Regular Expressions) support. (#1137, #1143)
* Pass command line args through to diff-files in status view. (#1152, #1155)
* Remove quotes from TIG_LS_REMOTE to allow inline shell commands. (#1160,
#1161)
* Avoid pushing identical history state in main view.
* Replace useless strncpy to avoid compilation warning with GCC 8.
* Update utf8proc to v2.7.0.
* Update distclean rule to preserve tarball contents. (#1167, #1169)
* Add reference types stash and other. (#1160, #1172)
* Auto refresh view upon option change.
* Allow to toggle revision filtering. (#1173)
Bug fixes:
* Fix null dereferences on unset format strings. (#1136, #1159)
* Fix invalid read in log_read. (#1128)
* Restore support for tig log --graph. (#1128)
* Further fix to fullscreen navigation.
* Fix blame when opened from an initial diff view. (#1135)
* Fix stash view when using tig --all or tig revs. (#1146, #1147)
* Avoiding null pointer dereference. (#1096)
* Fix navigation between chunks after splitting chunk. (#1101, #1162)
* Fix status line when toggling general options. (#1163, #1164)
* Honor reference-format = hide:tag in diff view. (#1168, #1170)
OBS-URL: https://build.opensuse.org/package/show/devel:tools:scm/tig?expand=0&rev=72
2022-01-13 14:04:13 +00:00
|
|
|
Version: 2.5.5
|
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)
|
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
|
|
|
|
2022-06-27 12:37:54 +00:00
|
|
|
%package bash-completion
|
|
|
|
Summary: Bash completion for %{name}
|
|
|
|
Requires: bash-completion
|
|
|
|
%if 0%{?sle_version} == 120500
|
|
|
|
Supplements: packageand(%{name}:bash)
|
|
|
|
%else
|
|
|
|
Supplements: (%{name} and bash)
|
|
|
|
%endif
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description bash-completion
|
|
|
|
Bash command line completion support for %{name}.
|
|
|
|
|
|
|
|
%package zsh-completion
|
|
|
|
Summary: Zsh completion for %{name}
|
|
|
|
%if 0%{?sle_version} == 120500
|
|
|
|
Supplements: packageand(%{name}:zsh)
|
|
|
|
%else
|
|
|
|
Supplements: (%{name} and zsh)
|
|
|
|
%endif
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description zsh-completion
|
|
|
|
Zsh command line completion support for %{name}.
|
|
|
|
|
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}
|
2021-02-14 10:48:32 +00:00
|
|
|
%make_build
|
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}
|
2022-06-27 12:37:54 +00:00
|
|
|
install -Dpm 0644 contrib/tig-completion.bash \
|
|
|
|
%{buildroot}%{_datadir}/zsh/site-functions/%{name}-completion.bash
|
|
|
|
install -Dpm 0644 contrib/tig-completion.zsh \
|
|
|
|
%{buildroot}%{_datadir}/zsh/site-functions/_%{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}
|
2022-06-27 12:37:54 +00:00
|
|
|
|
|
|
|
%files bash-completion
|
|
|
|
%{_datadir}/bash-completion
|
|
|
|
|
|
|
|
%files zsh-completion
|
|
|
|
%{_datadir}/zsh
|
2007-05-25 02:45:56 +00:00
|
|
|
|
|
|
|
%changelog
|