Accepting request 105677 from devel:tools:scm

Factory beautification, please forward and supersede 105323  (forwarded request 105417 from saschpe)

OBS-URL: https://build.opensuse.org/request/show/105677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tig?expand=0&rev=20
This commit is contained in:
Stephan Kulow 2012-02-22 14:55:28 +00:00 committed by Git OBS Bridge
commit c1f73c7ab1
5 changed files with 57 additions and 35 deletions

View File

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

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

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

View File

@ -1,5 +1,5 @@
--- Makefile.orig 2011-03-07 11:17:14.000000000 +0100
+++ Makefile 2011-03-07 11:17:17.000000000 +0100
--- Makefile 2011-08-28 15:42:39.000000000 -0700
+++ Makefile 2011-08-30 16:42:46.091484511 -0700
@@ -32,7 +32,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 test-graph
PROGS = tig

View File

@ -1,3 +1,40 @@
-------------------------------------------------------------------
Thu Feb 16 13:24:36 UTC 2012 - saschpe@suse.de
- Add more detail about last version update
-------------------------------------------------------------------
Mon Feb 13 10:56:52 UTC 2012 - coolo@suse.com
- patch license to follow spdx.org standard
-------------------------------------------------------------------
Wed Aug 31 15:14:43 UTC 2011 - gregkh@suse.de
- remove test-graph from the spec file as it really isn't a program to ship.
-------------------------------------------------------------------
Tue Aug 30 23:07:32 UTC 2011 - gregkh@suse.de
- update to 0.18:
- Incompatibilities:
* Remove support for the deprecated TIG_{MAIN,DIFF,LOG,TREE,BLOB}_CMD environment variables.
- Improvements:
* Pressing enter on diff stat file lines will jump to files diff.
* Naïvely color blame IDs to distinguish lines.
* Document palette color options used for revision graph and blame IDs.
* Add support for blaming diff lines.
* Add diff-context option and bindings to increase the diff context in the diff and stage view.
* (GH-6) Make blame configurable via extra options passed from the command line and blame-options setting from ~/.tigrc. For example:
* set blame-options = -C -C -C
- Bug fixes:
* Expand browsing state variables for prompt. (LP #694780, Debian #635546)
* Fix segfault when sorting the branch view by author.
* Expand %(directory) to . for the root directory. (GH-3)
* Accept utf-8 for the line-graphics option as indicated in the docs.
* Use erasechar() to check for the correct backspace character.
-------------------------------------------------------------------
Mon Mar 7 10:28:43 UTC 2011 - pascal.bleser@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package tig
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -15,21 +15,18 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: tig
License: GPLv2+
Group: Development/Tools/Version Control
BuildRequires: ncurses-devel
Requires: git-core
Version: 0.17
Release: 1
Version: 0.18
Release: 0
Summary: An ncurses-based text-mode interface for git
License: GPL-2.0+
Group: Development/Tools/Version Control
Url: http://jonas.nitro.dk/tig/
# http://jonas.nitro.dk/tig/releases/tig-%{version}.tar.gz
Source0: tig-%{version}.tar.bz2
Patch0: tig-fix-build.diff
BuildRequires: ncurses-devel
Requires: git-core
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -42,38 +39,26 @@ When browsing repositories, tig uses the underlying git commands to
present the user with various views, such as summarized commit log and
showing the commit with the log message, diffstat, and the diff.
Authors:
--------
Jonas Fonseca <fonseca@diku.dk>
%prep
%setup
%setup -q
%patch0
%build
CC=gcc
CFLAGS="$RPM_OPT_FLAGS -Wall"
CFLAGS="%{optflags} -Wall"
export CFLAGS CC
%__make prefix=%{_prefix} mandir=%{_mandir}
make prefix=%{_prefix} mandir=%{_mandir}
%install
%__make DESTDIR="$RPM_BUILD_ROOT" prefix="%{_prefix}" mandir="%{_mandir}" install
%__install -D -m0644 tig.1 "$RPM_BUILD_ROOT/%{_mandir}/man1/tig.1"
%__install -D -m0644 tigrc.5 "$RPM_BUILD_ROOT/%{_mandir}/man5/tigrc.5"
%__install -D -m0644 tigmanual.7 "$RPM_BUILD_ROOT/%{_mandir}/man7/tigmanual.7"
%__mv "%{buildroot}%{_bindir}"/{test-graph,test-git-graph}
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
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"
%files
%defattr(-,root,root)
%doc BUGS COPYING NEWS README TODO
%{_bindir}/tig
%{_bindir}/test-git-graph
%doc %{_mandir}/man1/tig.1%{ext_man}
%doc %{_mandir}/man5/tigrc.5%{ext_man}
%doc %{_mandir}/man7/tigmanual.7%{ext_man}