%define name tig %define version 0.11 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: Text-mode interface for the git revision control system Group: Development/Other License: GPLv2+ URL: http://jonas.nitro.dk/tig Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: git-core BuildRequires: ncurses-devel BuildRequires: xmlto BuildRequires: asciidoc Requires: git-core %description Tig is a repository browser for the git revision control system 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. %prep %setup -q %build %configure make %{?_smp_mflags} all doc-man doc-html #Convert to unix line endings sed -i -e 's/\r//' *.html %install rm -rf %{buildroot} make install install-doc-man DESTDIR=%{buildroot} prefix=%{_prefix} \ mandir=%{_mandir} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc COPYING README SITES BUGS manual.txt *.html %{_bindir}/tig %{_mandir}/man1/tig.1* %{_mandir}/man5/tigrc.5* %changelog * Sun Aug 01 2008 roudoudou 0.11-1mdv2009.0 - Initial Mandriva rpm package (based on fedora package) * Sun Apr 06 2008 James Bowes 0.11-1 - tig-0.11 * Tue Mar 25 2008 Todd Zullinger 0.10.1-2 - use %%configure so ncursesw is picked up for utf-8 support - BuildRequire git so configure finds git-config and git-repo-config - change Requires: git-core to git * Wed Mar 19 2008 James Bowes 0.10.1-1 - tig-0.10.1 * Mon Mar 17 2008 James Bowes 0.10-1 - tig-0.10 * Tue Feb 19 2008 Fedora Release Engineering - 0.9.1-2 - Autorebuild for GCC 4.3 * Sun Sep 30 2007 James Bowes - 0.9.1-1 - tig-0.9.1 * Thu Sep 20 2007 James Bowes - 0.9-1 - tig-0.9 * Thu Aug 23 2007 James Bowes - 0.8-2 - Mark license as GPLv2+ * Tue Jun 19 2007 James Bowes - 0.8-1 - tig-0.8 * Sat Jun 02 2007 James Bowes - 0.7-4 - Ensure that the version string is set in the binary. * Fri Jun 01 2007 James Bowes - 0.7-3 - Incorporate differences from jcollie's tig spec. * Fri Jun 01 2007 James Bowes - 0.7-2 - Update spec file after review feedback. * Thu May 31 2007 James Bowes - 0.7-1 - Initial packaging.