SHA256
1
0
forked from pool/tig
tig/tig.spec

102 lines
2.9 KiB
RPMSpec
Raw Normal View History

#
# spec file for package 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
# Copyright (c) 2022 SUSE LLC
#
# 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.
Accepting request 749874 from home:jubalh:branches:devel:tools:scm - 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
2019-11-20 12:50:40 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
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
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: 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.
%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}.
%prep
%setup -q
%build
%configure \
--with-ncurses \
--docdir=%{_docdir}
%make_build
%install
%make_install install-doc-man
install -Dpm 0644 contrib/tig-completion.bash \
%{buildroot}%{_datadir}/bash-completion/completions/%{name}
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}
%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}
%files bash-completion
%{_datadir}/bash-completion
%files zsh-completion
%{_datadir}/zsh
%changelog