Skip to content

Commit 96e3e3f

Browse files
committed
Merged pull request nvie#120 from kiall/develop.
Add debian/ubuntu packaging
2 parents a7a89cd + 6fc1323 commit 96e3e3f

File tree

8 files changed

+88
-1
lines changed

8 files changed

+88
-1
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
debian/files
2+
debian/*.substvars
3+
debian/*.debhelper.log
4+
debian/*/*

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@
2626
# those of the authors and should not be interpreted as representing official
2727
# policies, either expressed or implied, of Vincent Driessen.
2828
#
29-
prefix=/usr/local
29+
30+
# Determine if we're inside a debian build ..
31+
ifdef DEB_BUILD_ARCH
32+
prefix=$(DESTDIR)/usr/
33+
else
34+
prefix=/usr/local
35+
endif
3036

3137
# files that need mode 755
3238
EXEC_FILES=git-flow

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
gitflow (0.4.1) unstable; urgency=low
2+
3+
* Initial Debian Packaging
4+
5+
-- Kiall Mac Innes <[email protected]> Mon, 25 Apr 2011 23:51:42 +0100

debian/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7

debian/control

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Source: gitflow
2+
Section: vcs
3+
Priority: optional
4+
Maintainer: Kiall Mac Innes <[email protected]>
5+
Build-Depends: debhelper (>= 7.0.50~), git
6+
Standards-Version: 3.9.1
7+
Homepage: http://nvie.com/posts/a-successful-git-branching-model/
8+
Vcs-Git: https://github.com/nvie/gitflow.git
9+
Vcs-Browser: https://github.com/nvie/gitflow
10+
11+
Package: gitflow
12+
Architecture: all
13+
Depends: ${shlibs:Depends}, ${misc:Depends}, git
14+
Description: Git extensions to provide high-level repository operations for Vincent Driessen's branching model

debian/copyright

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
Format: http://dep.debian.net/deps/dep5
2+
Upstream-Name: gitflow
3+
Source: <url://example.com>
4+
5+
Files: *
6+
Copyright: <years> <put author's name and email here>
7+
<years> <likewise for another author>
8+
License: BSD-3-Clause
9+
10+
Files: debian/*
11+
Copyright: 2011 Kiall <[email protected]>
12+
License: BSD-3-Clause
13+
14+
License: BSD-3-Clause
15+
Redistribution and use in source and binary forms, with or without
16+
modification, are permitted provided that the following conditions
17+
are met:
18+
1. Redistributions of source code must retain the above copyright
19+
notice, this list of conditions and the following disclaimer.
20+
2. Redistributions in binary form must reproduce the above copyright
21+
notice, this list of conditions and the following disclaimer in the
22+
documentation and/or other materials provided with the distribution.
23+
3. Neither the name of the University nor the names of its contributors
24+
may be used to endorse or promote products derived from this software
25+
without specific prior written permission.
26+
.
27+
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
28+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
29+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
30+
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
31+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
32+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
33+
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
34+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
35+
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
36+
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
37+
SUCH DAMAGE.
38+
39+
# Please also look if there are files or directories which have a
40+
# different copyright/license attached and list them here.

debian/docs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
README.mdown

debian/rules

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/make -f
2+
# -*- makefile -*-
3+
# Sample debian/rules that uses debhelper.
4+
# This file was originally written by Joey Hess and Craig Small.
5+
# As a special exception, when this file is copied by dh-make into a
6+
# dh-make output file, you may use that output file without restriction.
7+
# This special exception was added by Craig Small in version 0.37 of dh-make.
8+
9+
# Uncomment this to turn on verbose mode.
10+
#export DH_VERBOSE=1
11+
12+
override_dh_testdir:
13+
dh_testdir
14+
git submodule init && git submodule update
15+
%:
16+
dh $@

0 commit comments

Comments
 (0)