OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 28-Feb-2007 09:53:40
Branch: HEAD Handle: 2007022808534000
Modified files:
openpkg-src/git git.spec
Log:
add Guilt frontend
Summary:
Revision Changes Path
1.49 +23 -2 openpkg-src/git/git.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/git/git.spec
============================================================================
$ cvs diff -u -r1.48 -r1.49 git.spec
--- openpkg-src/git/git.spec 27 Feb 2007 07:29:59 -0000 1.48
+++ openpkg-src/git/git.spec 28 Feb 2007 08:53:40 -0000 1.49
@@ -26,6 +26,7 @@
%define V_git 1.5.0.2
%define V_cogito 0.18.2
%define V_stgit 0.12.1
+%define V_guilt 0.20
# package information
Name: git
@@ -38,12 +39,13 @@
Group: SCM
License: GPL
Version: %{V_git}
-Release: 20070227
+Release: 20070228
# list of sources
Source0: http://www.kernel.org/pub/software/scm/git/git-%{V_git}.tar.gz
Source1:
http://www.kernel.org/pub/software/scm/cogito/cogito-%{V_cogito}.tar.gz
Source2:
http://homepage.ntlworld.com/cmarinas/stgit/stgit-%{V_stgit}.tar.gz
+Source3:
http://www.kernel.org/pub/linux/kernel/people/jsipek/guilt/guilt-%{V_guilt}.tar.gz
Patch0: git.patch
# build information
@@ -65,7 +67,7 @@
server.
This package contains both the low-level GIT core components and the
- high-level GIT frontends Cogito and StGIT.
+ high-level GIT frontends Cogito, StGIT and Guilt.
%track
prog git:git = {
@@ -83,11 +85,17 @@
url = http://homepage.ntlworld.com/cmarinas/stgit/
regex = stgit-(__VER__)\.tar\.gz
}
+ prog git:guilt = {
+ version = %{V_guilt}
+ url =
http://www.kernel.org/pub/linux/kernel/people/jsipek/guilt/
+ regex = guilt-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
%setup -q -T -D -a 1
%setup -q -T -D -a 2
+ %setup -q -T -D -a 3
%patch -p0
%build
@@ -124,6 +132,13 @@
prefix=%{l_prefix}
) || exit $?
+ # install Guilt add-on
+ ( cd guilt-%{V_guilt}
+ %{l_shtool} subst \
+ -e 's;/bin/bash;%{l_prefix}/bin/bash;g' \
+ guilt*
+ ) || exit $?
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -174,6 +189,12 @@
--install-lib=%{l_prefix}/lib/git
) || exit $?
+ # install Guilt add-on
+ ( cd guilt-%{V_guilt}
+ %{l_make} %{l_mflags} install \
+ PREFIX=$RPM_BUILD_ROOT%{l_prefix}
+ ) || exit $?
+
# strip down installation
strip $RPM_BUILD_ROOT%{l_prefix}/bin/* >/dev/null 2>&1 || true
rm -rf $RPM_BUILD_ROOT%{l_prefix}/share/doc
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]