tig/tig.spec

52 lines
1.5 KiB
RPMSpec
Raw Normal View History

2020-10-26 22:27:06 +08:00
Name: tig
2023-09-16 11:44:31 +08:00
Version: 2.5.8
Release: 1
2021-03-31 22:05:25 +08:00
Summary: Tig is a ncurses-based text-mode interface for git and it functions mainly as a Git repository browser
2023-09-16 11:44:31 +08:00
License: GPL-2.0-or-later
2020-10-26 22:27:06 +08:00
URL: https://github.com/jonas/tig
Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
2020-10-26 22:27:06 +08:00
2023-09-16 11:44:31 +08:00
BuildRequires: ncurses-devel asciidoc git-core xmlto gcc make bash-completion
Requires: git-core
2020-10-26 22:27:06 +08:00
%description
2021-03-31 22:05:25 +08:00
Tig is a ncurses-based text-mode interface for git and it functions mainly as a Git repository browser.
2020-10-26 22:27:06 +08:00
%prep
%setup -q
2020-10-26 22:27:06 +08:00
%build
%configure
2023-09-16 11:44:31 +08:00
%make_build all doc-man doc-html
sed -i -e 's/\r//' *.html
sed -i '/^#!bash/,+1 d' contrib/%{name}-completion.bash
2020-10-26 22:27:06 +08:00
%install
2023-09-16 11:44:31 +08:00
%make_install install-doc-man
install -Dpm 644 contrib/%{name}-completion.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
2020-10-26 22:27:06 +08:00
%files
2023-09-16 11:44:31 +08:00
%license COPYING
%doc COPYING NEWS.adoc README.adoc *.html
%{_bindir}/tig
%{_datadir}/bash-completion/completions
%config(noreplace) %{_sysconfdir}/%{name}rc
%{_mandir}/man1/tig.1*
%{_mandir}/man5/tigrc.5*
%{_mandir}/man7/tigmanual.7*
2020-10-26 22:27:06 +08:00
%changelog
2023-09-16 11:44:31 +08:00
* Sat Sep 16 2023 liyanan <thistleslyn@163.com> - 2.5.8-1
- Update to 2.5.8
2021-03-31 22:05:25 +08:00
* Wed Mar 31 2021 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-2
- Fix the grammar mistake for the tool description.
2023-09-16 11:44:31 +08:00
* Wed Dec 28 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-1
- Supplement the BuildRequires.
2023-09-16 11:44:31 +08:00
* Sat Oct 03 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-0
- Add Package init and port tig to aarch64.
2020-10-26 22:27:06 +08:00