[gti] Initial import (#1008242).

Benedikt Schäfer ib54003 at fedoraproject.org
Mon Aug 11 13:27:10 UTC 2014


commit 308fabb6b6547f97926114484d4dd02ae8bcd2c0
Author: Benedikt Schäfer <ib54003 at fedoraproject.org>
Date:   Mon Aug 11 15:26:24 2014 +0200

    Initial import (#1008242).

 .gitignore              |    1 +
 gti-1.2.0-nostrip.patch |   11 +++++++++++
 gti.spec                |   31 +++++++++++++++++++++++++++++++
 sources                 |    1 +
 4 files changed, 44 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..7ce782e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/v1.2.0.tar.gz
diff --git a/gti-1.2.0-nostrip.patch b/gti-1.2.0-nostrip.patch
new file mode 100644
index 0000000..dc51386
--- /dev/null
+++ b/gti-1.2.0-nostrip.patch
@@ -0,0 +1,11 @@
+diff -up gti-1.2.0/Makefile.nostrip gti-1.2.0/Makefile
+--- gti-1.2.0/Makefile.nostrip	2014-08-08 11:14:29.215636970 +0200
++++ gti-1.2.0/Makefile	2014-08-08 11:14:50.594538927 +0200
+@@ -18,7 +18,6 @@ MANPAGE=gti.6.gz
+ 
+ $(PROG): *.c
+ 	$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $^
+-	-strip -s $@
+ 
+ $(MANPAGE): gti.6
+ 	gzip -9 -n -c gti.6 > gti.6.gz
diff --git a/gti.spec b/gti.spec
new file mode 100644
index 0000000..6270b62
--- /dev/null
+++ b/gti.spec
@@ -0,0 +1,31 @@
+Name:		gti		
+Version:	1.2.0
+Release:	1%{?dist}
+Summary:	Just a silly gti launcher
+Patch0:		gti-1.2.0-nostrip.patch
+		
+License:	MIT
+URL:		http://r-wos.org/hacks/%{name}
+Source0:	https://github.com/rwos/%{name}/archive/v%{version}.tar.gz
+
+%description
+Just a silly gti launcher, basically Inspired by sl. It displays a ASCII-art 
+animation to punish you for your typing error, after that it launches git.
+
+%prep
+%setup -q
+%patch0 -p1 -b .nostrip
+
+%build
+make %{?_smp_mflags}  CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" 
+
+%install
+make install DESTDIR=%{buildroot}
+
+%files
+%{_bindir}/%{name}
+%{_mandir}/man6/%{name}.6*
+
+%changelog
+* Thu Aug 07 2014 Benedikt Schaefer <ib54003 at fedoraproject.org> 1.2.0-1
+- initial version
diff --git a/sources b/sources
index e69de29..743c66d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+778844d82724893fbe5c0918f7782625  v1.2.0.tar.gz


More information about the scm-commits mailing list