This commit is contained in:
commit
7524195389
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
tig-0.6.tar.gz
Normal file
3
tig-0.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8bb77b76a60e3a0bd2b6042ec266309498d6ef7e5cf1a01e1659be04f126b20
|
||||
size 57397
|
15
tig-fix-build.diff
Normal file
15
tig-fix-build.diff
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
Makefile | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -4,7 +4,7 @@ mandir = $(prefix)/man
|
||||
docdir = $(prefix)/share/doc
|
||||
# DESTDIR=
|
||||
|
||||
-LDLIBS = -lcurses
|
||||
+LDLIBS = -lncurses
|
||||
CFLAGS = -Wall -O2
|
||||
DFLAGS = -g -DDEBUG -Werror
|
||||
PROGS = tig
|
6
tig.changes
Normal file
6
tig.changes
Normal file
@ -0,0 +1,6 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun May 13 21:35:04 CEST 2007 - bwalle@suse.de
|
||||
|
||||
- initial package
|
||||
|
||||
-------------------------------------------------------------------
|
73
tig.spec
Normal file
73
tig.spec
Normal file
@ -0,0 +1,73 @@
|
||||
#
|
||||
# spec file for package tig (Version 0.6)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: tig
|
||||
License: GNU General Public License (GPL)
|
||||
Group: Development/Tools/Version Control
|
||||
BuildRequires: ncurses-devel
|
||||
Requires: git-core
|
||||
Autoreqprov: on
|
||||
Version: 0.6
|
||||
Release: 1
|
||||
Summary: A Program to Generate Tag Files for Use with vi and Other Editors
|
||||
URL: http://jonas.nitro.dk/tig/
|
||||
Source0: http://jonas.nitro.dk/tig/releases/%{name}-%{version}.tar.gz
|
||||
Patch0: tig-fix-build.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Tig is a git repository browser that additionally can act as a pager
|
||||
for output rom various git commands.
|
||||
|
||||
When browsing repositories, it uses the underlying git commands to
|
||||
present the user with various views, such as summarized revision log
|
||||
and showing the commit with the log message, diffstat, and the diff.
|
||||
|
||||
Using it as a pager, it will display input from stdin and colorize it.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Jonas Fonseca <fonseca@diku.dk>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
CC=gcc
|
||||
CFLAGS="$RPM_OPT_FLAGS -Wall"
|
||||
export CFLAGS CC
|
||||
make prefix=%{_prefix} mandir=%{_mandir}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} mandir=%{_mandir} install
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man1 \
|
||||
$RPM_BUILD_ROOT/%{_mandir}/man5
|
||||
gzip tig.1
|
||||
gzip tigrc.5
|
||||
install -m 0644 tig.1.gz $RPM_BUILD_ROOT/%{_mandir}/man1
|
||||
install -m 0644 tigrc.5.gz $RPM_BUILD_ROOT/%{_mandir}/man5
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/tig
|
||||
%{_mandir}/man1/*
|
||||
%{_mandir}/man5/*
|
||||
|
||||
%changelog
|
||||
* Sun May 13 2007 - bwalle@suse.de
|
||||
- initial package
|
Loading…
x
Reference in New Issue
Block a user