Browse Source

new: tig

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@6836 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 11 years ago
parent
commit
931f23ad92
1 changed files with 84 additions and 0 deletions
  1. 84 0
      t/tig/tig-vl.spec

+ 84 - 0
t/tig/tig-vl.spec

@@ -0,0 +1,84 @@
+%define ver 1.0
+%define rel 1
+
+Summary: Text-mode interface for Git
+Summary: Git のためのテキストモード インターフェース
+Name: tig
+Version: %{ver}
+Release: %{rel}%{?_dist_release}
+License: GPLv2+
+Group: Development/Tools
+URL: http://jonas.nitro.dk/tig/
+
+Distribution: Vine Linux
+Vendor: Project Vine
+Packager: iwaim
+
+Source: http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: autoconf
+BuildRequires: asciidoc >= 8.4
+BuildRequires: docbook-style-xsl
+BuildRequires: docbook-utils
+BuildRequires: ncurses-devel
+BuildRequires: xmlto
+Requires: git
+
+%description
+Tig allows you to browse changes in a git repository and can additionally act
+as a pager for output of various git commands. When used as a pager, it will
+display input from stdin and colorize it.
+
+When browsing repositories, tig uses the underlying git commands to present the
+user with various views, such as summarized commit log and showing the commit
+with the log message, diffstat, and the diff.
+
+%prep
+%setup
+
+%build
+%configure
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install install-doc DESTDIR="%{buildroot}"
+
+# bash completion
+%{__install} -m0755 -d %{buildroot}%{_sysconfdir}/bash_completion.d/
+%{__install} -m0644 contrib/tig-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/tig
+
+# stupid install-doc
+%{__install} -m0755 -d tigdocs
+%{__mv} %{buildroot}%{_docdir}/tig/* tigdocs/
+%{__rm} -rf %{buildroot}%{_docdir}/tig
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc BUGS COPYING INSTALL NEWS* README* SITES contrib/ tigdocs/
+%doc %{_mandir}/man?/*
+%{_bindir}/*
+%{_sysconfdir}/bash_completion.d/tig
+
+%changelog
+* Thu Aug 30 2012 IWAI, Masaharu <iwai@alib.jp> - 1.0-1
+- first build for Vine Linux: from Repoforge
+
+* Mon May 21 2012 Yury V. Zaytsev <yury@shurup.com> - 1.0-1
+- Updated to version 1.0.
+
+* Tue Aug 30 2011 Steve Huff <shuff@vecna.org> - 0.18-1
+- Updated to version 0.18.
+
+* Thu Apr 21 2011 Steve Huff <shuff@vecna.org> - 0.17-1
+- Updated to version 0.17.
+
+* Thu Dec 23 2010 Steve Huff <shuff@vecna.org> - 0.16.2-2
+- Gah, wrong path for bash-completion support :(
+
+* Mon Nov 08 2010 Steve Huff <shuff@vecna.org> - 0.16.2-1
+- Initial package.