Update to 2.5.8
This commit is contained in:
parent
d875c3e2b2
commit
ca392ddac8
BIN
tig-2.5.1.tar.gz
BIN
tig-2.5.1.tar.gz
Binary file not shown.
BIN
tig-2.5.8.tar.gz
Normal file
BIN
tig-2.5.8.tar.gz
Normal file
Binary file not shown.
53
tig.spec
53
tig.spec
@ -1,12 +1,14 @@
|
|||||||
Name: tig
|
Name: tig
|
||||||
Version: 2.5.1
|
Version: 2.5.8
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Tig is a ncurses-based text-mode interface for git and it functions mainly as a Git repository browser
|
Summary: Tig is a ncurses-based text-mode interface for git and it functions mainly as a Git repository browser
|
||||||
License: GPL v2
|
License: GPL-2.0-or-later
|
||||||
URL: https://github.com/jonas/tig
|
URL: https://github.com/jonas/tig
|
||||||
Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
Source0: https://github.com/jonas/tig/releases/download/%{name}-%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
BuildRequires: ncurses-devel, asciidoc, git-core, xmlto
|
BuildRequires: ncurses-devel asciidoc git-core xmlto gcc make bash-completion
|
||||||
|
|
||||||
|
Requires: git-core
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Tig is a ncurses-based text-mode interface for git and it functions mainly as a Git repository browser.
|
Tig is a ncurses-based text-mode interface for git and it functions mainly as a Git repository browser.
|
||||||
@ -16,41 +18,34 @@ Tig is a ncurses-based text-mode interface for git and it functions mainly as a
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
CFLAGS="$RPM_OPT_FLAGS -DVERSION=tig-%{version}-%{release}"
|
%make_build all doc-man doc-html
|
||||||
%{__make} %{_smp_mflags} \
|
sed -i -e 's/\r//' *.html
|
||||||
prefix=%{_prefix} \
|
sed -i '/^#!bash/,+1 d' contrib/%{name}-completion.bash
|
||||||
all %{!?_without_docs: doc-man doc-html}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
%make_install install-doc-man
|
||||||
CFLAGS="$RPM_OPT_FLAGS -DVERSION=tig-%{version}-%{release}"
|
install -Dpm 644 contrib/%{name}-completion.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
|
||||||
%{__make} %{_smp_mflags} DESTDIR=$RPM_BUILD_ROOT \
|
|
||||||
prefix=%{_prefix} bindir=%{_bindir} mandir=%{_mandir} \
|
|
||||||
install %{!?_without_docs: install-doc-man}
|
|
||||||
|
|
||||||
%pre
|
|
||||||
%preun
|
|
||||||
%post
|
|
||||||
%postun
|
|
||||||
|
|
||||||
%check
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%{_bindir}/*
|
%doc COPYING NEWS.adoc README.adoc *.html
|
||||||
%{_sysconfdir}/*
|
%{_bindir}/tig
|
||||||
%doc README.adoc COPYING INSTALL.adoc NEWS.adoc contrib/tig-completion.bash contrib/tig-completion.zsh
|
%{_datadir}/bash-completion/completions
|
||||||
%{!?_without_docs: %{_mandir}/man1/*.1*}
|
%config(noreplace) %{_sysconfdir}/%{name}rc
|
||||||
%{!?_without_docs: %{_mandir}/man5/*.5*}
|
%{_mandir}/man1/tig.1*
|
||||||
%{!?_without_docs: %{_mandir}/man7/*.7*}
|
%{_mandir}/man5/tigrc.5*
|
||||||
%{!?_without_docs: %doc doc/*.html}
|
%{_mandir}/man7/tigmanual.7*
|
||||||
%{?_without_docs: %doc doc/*.txt}
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 16 2023 liyanan <thistleslyn@163.com> - 2.5.8-1
|
||||||
|
- Update to 2.5.8
|
||||||
|
|
||||||
* Wed Mar 31 2021 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-2
|
* Wed Mar 31 2021 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-2
|
||||||
- Fix the grammar mistake for the tool description.
|
- Fix the grammar mistake for the tool description.
|
||||||
|
|
||||||
* Wed Dec 28 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-1
|
* Wed Dec 28 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-1
|
||||||
- Supplement the BuildRequires.
|
- Supplement the BuildRequires.
|
||||||
|
|
||||||
* Sat Oct 03 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-0
|
* Sat Oct 03 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-0
|
||||||
- Add Package init and port tig to aarch64.
|
- Add Package init and port tig to aarch64.
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user