/tig.spec
Unknown | 158 lines | 108 code | 50 blank | 0 comment | 0 complexity | 9bdc724e68053961e1c917dda87ffa24 MD5 | raw file
Possible License(s): GPL-2.0
1Name: tig
2Version: 1.0
3Release: 2%{?dist}
4Summary: Text-mode interface for the git revision control system
5
6Group: Development/Tools
7License: GPLv2+
8URL: http://jonas.nitro.dk/tig
9Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz
10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
11
12BuildRequires: git
13BuildRequires: ncurses-devel
14BuildRequires: xmlto
15BuildRequires: asciidoc
16Requires: git
17
18%description
19Tig is a repository browser for the git revision control system that
20additionally can act as a pager for output from various git commands.
21
22When browsing repositories, it uses the underlying git commands to present the
23user with various views, such as summarized revision log and showing the commit
24with the log message, diffstat, and the diff.
25
26Using it as a pager, it will display input from stdin and colorize it.
27
28
29%prep
30%setup -q
31
32
33%build
34%configure
35make %{?_smp_mflags} all doc-man doc-html
36
37#Convert to unix line endings
38sed -i -e 's/\r//' *.html
39
40
41%install
42rm -rf $RPM_BUILD_ROOT
43make install install-doc-man DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} \
44 mandir=%{_mandir}
45
46# Remove test-graph binary
47rm -f $RPM_BUILD_ROOT%{_bindir}/test-graph
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52
53%files
54%defattr(-,root,root,-)
55%doc COPYING NEWS README SITES BUGS manual.txt *.html
56
57%{_bindir}/tig
58
59%{_mandir}/man1/tig.1*
60%{_mandir}/man5/tigrc.5*
61%{_mandir}/man7/tigmanual.7*
62
63
64%changelog
65* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-2
66- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
67
68* Fri May 11 2012 Jason L Tibbitts III <tibbs@math.uh.edu> - 1.0-1
69- Update to 1.0.
70
71* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-2
72- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
73
74* Fri Sep 02 2011 James Bowes <jbowes@redhat.com> 0.18-1
75- Update to 0.18
76
77* Thu Mar 10 2011 Todd Zullinger <tmz@pobox.com> - 0.17-1
78- Update to 0.17
79
80* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.16.2-3
81- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
82
83* Wed Sep 29 2010 jkeating - 0.16.2-2
84- Rebuilt for gcc bug 634757
85
86* Wed Sep 22 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.16.2-1
87- Update to 0.16.2
88
89* Mon Sep 20 2010 Jeffrey C. Ollie <jeff@ocjtech.us> - 0.16.1-1
90- Update to 0.16.1
91
92* Tue Apr 13 2010 James Bowes <jbowes@redhat.com> 0.15-2
93- Add tigmanual man page
94
95* Tue Apr 13 2010 James Bowes <jbowes@redhat.com> 0.15-1
96- tig-0.15
97
98* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.1-3
99- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
100
101* Tue Jul 14 2009 Todd Zullinger <tmz@pobox.com> - 0.14.1-2
102- Temporarily disable asciidoc's safe mode until bug 506953 is fixed
103
104* Fri Apr 03 2009 James Bowes <jbowes@redhat.com> 0.14.1-1
105- tig-0.14.1
106
107* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14-2
108- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
109
110* Sun Feb 08 2009 James Bowes <jbowes@redhat.com> 0.14-1
111- tig-0.14
112
113* Tue Dec 02 2008 James Bowes <jbowes@redhat.com> 0.12.1-1
114- tig-0.12.1
115
116* Sat Sep 27 2008 Todd Zullinger <tmz@pobox.com> 0.12-1
117- tig-0.12
118
119* Sun Apr 06 2008 James Bowes <jbowes@redhat.com> 0.11-1
120- tig-0.11
121
122* Tue Mar 25 2008 Todd Zullinger <tmz@pobox.com> 0.10.1-2
123- use %%configure so ncursesw is picked up for utf-8 support
124- BuildRequire git so configure finds git-config and git-repo-config
125- change Requires: git-core to git
126
127* Wed Mar 19 2008 James Bowes <jbowes@redhat.com> 0.10.1-1
128- tig-0.10.1
129
130* Mon Mar 17 2008 James Bowes <jbowes@redhat.com> 0.10-1
131- tig-0.10
132
133* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.1-2
134- Autorebuild for GCC 4.3
135
136* Sun Sep 30 2007 James Bowes <jbowes@redhat.com> - 0.9.1-1
137- tig-0.9.1
138
139* Thu Sep 20 2007 James Bowes <jbowes@redhat.com> - 0.9-1
140- tig-0.9
141
142* Thu Aug 23 2007 James Bowes <jbowes@redhat.com> - 0.8-2
143- Mark license as GPLv2+
144
145* Tue Jun 19 2007 James Bowes <jbowes@redhat.com> - 0.8-1
146- tig-0.8
147
148* Sat Jun 02 2007 James Bowes <jbowes@redhat.com> - 0.7-4
149- Ensure that the version string is set in the binary.
150
151* Fri Jun 01 2007 James Bowes <jbowes@redhat.com> - 0.7-3
152- Incorporate differences from jcollie's tig spec.
153
154* Fri Jun 01 2007 James Bowes <jbowes@redhat.com> - 0.7-2
155- Update spec file after review feedback.
156
157* Thu May 31 2007 James Bowes <jbowes@redhat.com> - 0.7-1
158- Initial packaging.