Accepting request 66946 from devel:tools:scm

Accepted submit request 66946 from user dirkmueller

OBS-URL: https://build.opensuse.org/request/show/66946
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tig?expand=0&rev=17
This commit is contained in:
Ruediger Oertel 2011-04-21 11:48:50 +00:00 committed by Git OBS Bridge
parent 65415428f4
commit 5d0b6eaa5e
5 changed files with 40 additions and 29 deletions

View File

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

3
tig-0.17.tar.bz2 Normal file
View File

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

View File

@ -1,12 +1,6 @@
--- --- Makefile.orig 2011-03-07 11:17:14.000000000 +0100
Makefile | 2 +- +++ Makefile 2011-03-07 11:17:17.000000000 +0100
1 file changed, 1 insertion(+), 1 deletion(-) @@ -32,7 +32,7 @@
Index: tig-0.14.1/Makefile
===================================================================
--- tig-0.14.1.orig/Makefile
+++ tig-0.14.1/Makefile
@@ -32,7 +32,7 @@ RPM_VERLIST = $(filter-out g% dirty,$(su
RPM_VERSION = $(word 1,$(RPM_VERLIST)) RPM_VERSION = $(word 1,$(RPM_VERLIST))
RPM_RELEASE = $(word 2,$(RPM_VERLIST))$(if $(WTDIRTY),.dirty) RPM_RELEASE = $(word 2,$(RPM_VERLIST))$(if $(WTDIRTY),.dirty)
@ -14,4 +8,4 @@ Index: tig-0.14.1/Makefile
+LDLIBS ?= -lncurses +LDLIBS ?= -lncurses
CFLAGS ?= -Wall -O2 CFLAGS ?= -Wall -O2
DFLAGS = -g -DDEBUG -Werror -O0 DFLAGS = -g -DDEBUG -Werror -O0
PROGS = tig PROGS = tig test-graph

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Mar 7 10:28:43 UTC 2011 - pascal.bleser@opensuse.org
- spec file tidying
- update to 0.17:
* an ncurses 2.8 issue was fixed by passing a non-zero column size to newwin
* opening of diffs when browsing branches was improved
* a rewritten revision graph renderer was added; three modes are supported:
UTF-8, ncurses line graphics, and ASCII
* revision graph rendering is enabled by default
-------------------------------------------------------------------
Wed Dec 15 00:06:57 UTC 2010 - gregkh@suse.de
- update to 0.16.2
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jun 14 08:49:02 UTC 2010 - bernhard@bwalle.de Mon Jun 14 08:49:02 UTC 2010 - bernhard@bwalle.de

View File

@ -1,5 +1,5 @@
# #
# spec file for package tig (Version 0.16) # spec file for package tig (Version 0.17)
# #
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
@ -23,12 +23,12 @@ License: GPLv2+
Group: Development/Tools/Version Control Group: Development/Tools/Version Control
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
Requires: git-core Requires: git-core
AutoReqProv: on Version: 0.17
Version: 0.16
Release: 1 Release: 1
Summary: An ncurses-based text-mode interface for git Summary: An ncurses-based text-mode interface for git
Url: http://jonas.nitro.dk/tig/ Url: http://jonas.nitro.dk/tig/
Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.bz2 # http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz
Source0: tig-%{version}.tar.bz2
Patch0: tig-fix-build.diff Patch0: tig-fix-build.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -50,30 +50,32 @@ Authors:
%prep %prep
%setup %setup
%patch0 -p1 %patch0
%build %build
CC=gcc CC=gcc
CFLAGS="$RPM_OPT_FLAGS -Wall" CFLAGS="$RPM_OPT_FLAGS -Wall"
export CFLAGS CC export CFLAGS CC
make prefix=%{_prefix} mandir=%{_mandir} %__make prefix=%{_prefix} mandir=%{_mandir}
%install %install
make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} install %__make DESTDIR="$RPM_BUILD_ROOT" prefix="%{_prefix}" mandir="%{_mandir}" install
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 \ %__install -D -m0644 tig.1 "$RPM_BUILD_ROOT/%{_mandir}/man1/tig.1"
$RPM_BUILD_ROOT/%{_mandir}/man5 %__install -D -m0644 tigrc.5 "$RPM_BUILD_ROOT/%{_mandir}/man5/tigrc.5"
gzip tig.1 %__install -D -m0644 tigmanual.7 "$RPM_BUILD_ROOT/%{_mandir}/man7/tigmanual.7"
gzip tigrc.5
install -m 0644 tig.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1 %__mv "%{buildroot}%{_bindir}"/{test-graph,test-git-graph}
install -m 0644 tigrc.5.gz $RPM_BUILD_ROOT/%{_mandir}/man5
%clean %clean
rm -rf $RPM_BUILD_ROOT %{?buildroot:%__rm -rf "%{buildroot}"}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc BUGS COPYING NEWS README TODO
%{_bindir}/tig %{_bindir}/tig
%{_mandir}/man1/* %{_bindir}/test-git-graph
%{_mandir}/man5/* %doc %{_mandir}/man1/tig.1%{ext_man}
%doc %{_mandir}/man5/tigrc.5%{ext_man}
%doc %{_mandir}/man7/tigmanual.7%{ext_man}
%changelog %changelog