SPECS: tig.spec (NEW) - new

witekfl witekfl at pld-linux.org
Fri Jul 21 20:45:24 CEST 2006


Author: witekfl                      Date: Fri Jul 21 18:45:24 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   tig.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/tig.spec
diff -u /dev/null SPECS/tig.spec:1.1
--- /dev/null	Fri Jul 21 20:45:24 2006
+++ SPECS/tig.spec	Fri Jul 21 20:45:19 2006
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+Summary:	Text-mode interface for git-core
+Summary(pl):	Tekstowy interfejs do git-core
+Name:		tig
+Version:	0.4
+Release:	1
+License:	GPL v2
+Group:		Development/Tools
+Source0:	http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz
+# Source0-md5:	fc612d2b7c4551319beb4b5080ef9b90
+Patch0:		%{name}-ncurses.patch
+URL:		http://jonas.nitro.dk/tig/
+BuildRequires:	asciidoc
+BuildRequires:	ncurses-devel
+Requires:	git-core
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tig is a git-core 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.
+
+%description -l pl
+Tig jest przeglądarką repozytoriów git-core'a. Dodatkowo może działać
+jako pager dla różnych komend gita.
+
+Podczas przeglądania repozytoriów używa poleceń gita i pokazuje log,
+statystyki diffa i różnice między plikami.
+
+Używany jako pager będzie kolorował to co otrzyma ze standardowego
+wejścia.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__make} CC="%{__cc}" CFLAGS="%{rpmcflags} %{rpmldflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,5}}
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	prefix=%{_prefix}
+
+install tig.1 $RPM_BUILD_ROOT%{_mandir}/man1
+install tigrc.5 $RPM_BUILD_ROOT%{_mandir}/man5
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc TODO *.html
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man*/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/07/21 18:45:19  witekfl
+- new
+
+
================================================================


More information about the pld-cvs-commit mailing list