Compare commits

..

No commits in common. "6386d10975cd9f3715c388b484173a2019486418" and "d2a01d45a50ad775c8316002371dda569f056d7b" have entirely different histories.

4 changed files with 26 additions and 35 deletions

Binary file not shown.

BIN
tig.rar Normal file

Binary file not shown.

View File

@ -1,51 +1,42 @@
Name: tig
Version: 2.5.8
Release: 1
Summary: Tig is a ncurses-based text-mode interface for git and it functions mainly as a Git repository browser
License: GPL-2.0-or-later
Version:
Release: 0
Summary: Tig is an ncurses-based text-mode interface for git and it functions mainly as a Git repository browser
License: Open Source GPL License
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
BuildRequires: ncurses-devel asciidoc git-core xmlto gcc make bash-completion
BuildArch: noarch
Requires: git-core
BuildRequires: make
BuildRequires: Ejscript
%description
Tig is a ncurses-based text-mode interface for git and it functions mainly as a Git repository browser.
Tig is an ncurses-based text-mode interface for git and it functions mainly as a Git repository browser.
%prep
%setup -q
%setup -q -n %{name}-%{version}/Unix
%build
%configure
%make_build all doc-man doc-html
sed -i -e 's/\r//' *.html
sed -i '/^#!bash/,+1 d' contrib/%{name}-completion.bash
make
%install
%make_install install-doc-man
install -Dpm 644 contrib/%{name}-completion.bash %{buildroot}%{_datadir}/bash-completion/completions/%{name}
make install DESTDIR="%{buildroot}"
%pre
%preun
%post
%postun
%check
%files
%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*
%doc AUTHORS NEWS README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1*
%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
- Fix the grammar mistake for the tool description.
* Wed Dec 28 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-1
- Supplement the BuildRequires.
* Sat Oct 03 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn> - 2.5.1-0
- Add Package init and port tig to aarch64.
* Sun Aug 23 2020 StrongTiger_001 <StrongTiger_001@isrc.iscas.ac.cn>
- Package init

View File

@ -1,4 +1,4 @@
version_control: github
src_repo: jonas/tig
tag_prefix: "^tig-"
src_repo: https://github.com/jonas/tig
tag_prefix:
separator: "."