SHA256
1
0
forked from pool/tig

Accepting request 199572 from devel:tools:scm

- Use pristine upstream tarball

- change autogen.sh call to autoreconf

- convert asciidoc files to man pages

- update to 1.2.1
  * Incompatibilities:
    - Move manual and man pages to doc/ directory and rename AsciiDoc files
      to have .asciidoc as the extension to make them render on GitHub.
  * Improvements:
    - Show blob sizes in the tree view either as bytes or using binary unit
      prefixes. Example: `set show-file-size = units`. (GH #163)
    - Reduce main view memory usage and startup time, especially when revision
      graph rendering is disabled. (GH #160)
  * Bug fixes:
    - Fix submodule-related setup to check for non-zero return value from
      setenv(). (GH #188)

OBS-URL: https://build.opensuse.org/request/show/199572
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tig?expand=0&rev=28
This commit is contained in:
Stephan Kulow 2013-09-23 09:09:42 +00:00 committed by Git OBS Bridge
commit 23d17c7411
5 changed files with 49 additions and 11 deletions

3
tig-1.2.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b708d205f2a0432f03daaa945779bcac122662ec0760d4dabc6d8fd60ca32944
size 160039

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9bf8a8b83761634d8431cb38ef5a133371a5e09460750706e6de3813f06242a4
size 216724

View File

@ -1,6 +1,6 @@
--- Makefile 2011-08-28 15:42:39.000000000 -0700
+++ Makefile 2011-08-30 16:42:46.091484511 -0700
@@ -32,7 +32,7 @@
--- Makefile 2013-08-24 17:42:16.000000000 +0300
+++ Makefile 2013-09-03 10:23:28.826035738 +0300
@@ -36,7 +36,7 @@
RPM_VERSION = $(word 1,$(RPM_VERLIST))
RPM_RELEASE = $(word 2,$(RPM_VERLIST))$(if $(WTDIRTY),.dirty)
@ -8,4 +8,4 @@
+LDLIBS ?= -lncurses
CFLAGS ?= -Wall -O2
DFLAGS = -g -DDEBUG -Werror -O0
PROGS = tig
EXE = tig

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Wed Sep 18 11:55:49 UTC 2013 - speilicke@suse.com
- Use pristine upstream tarball
-------------------------------------------------------------------
Mon Sep 16 10:18:06 UTC 2013 - multyrealm@gmail.com
- change autogen.sh call to autoreconf
-------------------------------------------------------------------
Thu Sep 5 07:40:47 UTC 2013 - multyrealm@gmail.com
- convert asciidoc files to man pages
-------------------------------------------------------------------
Tue Sep 3 06:48:40 UTC 2013 - multyrealm@gmail.com
- update to 1.2.1
* Incompatibilities:
- Move manual and man pages to doc/ directory and rename AsciiDoc files
to have .asciidoc as the extension to make them render on GitHub.
* Improvements:
- Show blob sizes in the tree view either as bytes or using binary unit
prefixes. Example: `set show-file-size = units`. (GH #163)
- Reduce main view memory usage and startup time, especially when revision
graph rendering is disabled. (GH #160)
* Bug fixes:
- Fix submodule-related setup to check for non-zero return value from
setenv(). (GH #188)
-------------------------------------------------------------------
Sat Aug 10 17:30:31 UTC 2013 - pascal.bleser@opensuse.org

View File

@ -17,7 +17,7 @@
Name: tig
Version: 1.2
Version: 1.2.1
Release: 0
Summary: An ncurses-based text-mode interface for git
License: GPL-2.0+
@ -26,6 +26,9 @@ Url: http://jonas.nitro.dk/tig/
Source0: http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz
Patch0: tig-fix-build.diff
Patch1: tig-remove_build_timestamp.patch
BuildRequires: asciidoc
BuildRequires: automake
BuildRequires: libxslt-tools
BuildRequires: ncurses-devel
Requires: git-core
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -46,14 +49,18 @@ showing the commit with the log message, diffstat, and the diff.
%patch1
%build
autoreconf -vi -I contrib
%configure
make prefix=%{_prefix} mandir=%{_mandir}
%install
make DESTDIR=%{buildroot} prefix="%{_prefix}" mandir="%{_mandir}" install
install -D -m0644 tig.1 "%{buildroot}/%{_mandir}/man1/tig.1"
install -D -m0644 tigrc.5 "%{buildroot}/%{_mandir}/man5/tigrc.5"
install -D -m0644 tigmanual.7 "%{buildroot}/%{_mandir}/man7/tigmanual.7"
a2x -f manpage -D %{_tmppath} doc/tig.1.asciidoc
a2x -f manpage -D %{_tmppath} doc/tigrc.5.asciidoc
a2x -f manpage -D %{_tmppath} doc/tigmanual.7.asciidoc
install -D -m0644 %{_tmppath}/tig.1 "%{buildroot}/%{_mandir}/man1/tig.1"
install -D -m0644 %{_tmppath}/tigrc.5 "%{buildroot}/%{_mandir}/man5/tigrc.5"
install -D -m0644 %{_tmppath}/tigmanual.7 "%{buildroot}/%{_mandir}/man7/tigmanual.7"
%files
%defattr(-,root,root)