PageRenderTime 42ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/tig.spec

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