-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
133 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
README for backend-ircbot | ||
========================= | ||
|
||
This package is a quick and dirty hack to provide | ||
the backend-ircbot project as a Debian package | ||
for usage on the http://jenkins-ci.org/ | ||
infrastructure. | ||
|
||
The build process doesn't use maven-debian-helper | ||
but instead calls the main maven tool itself. | ||
|
||
To build the binary Debian package you might want | ||
to run something like: | ||
|
||
yes | debuild -uc -us -I\.git | ||
|
||
on your Debian system. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
backend-ircbot (1.0~SNAPSHOT+20120809-1) unstable; urgency=low | ||
|
||
* Initial release. | ||
|
||
-- Michael Prokop <github@michael-prokop.at> Thu, 09 Aug 2012 01:22:06 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Source: backend-ircbot | ||
Section: java | ||
Priority: extra | ||
Maintainer: Michael Prokop <github@michael-prokop.at> | ||
Build-Depends: debhelper (>= 5), openjdk-6-jdk, maven2 | ||
Standards-Version: 3.9.3 | ||
Homepage: https://github.com/jenkinsci/backend-ircbot | ||
|
||
Package: backend-ircbot | ||
Architecture: all | ||
Depends: default-jre-headless | openjdk-6-jre-headless, | ||
${misc:Depends}, | ||
${shlibs:Depends} | ||
Description: Jenkins IRCbot | ||
This package provides the Jenkins IRCbot for | ||
usage on jenkins-ci.org infrastructure. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: backend-ircbot | ||
Upstream-Contact: Kohsuke Kawaguchi <kk@kohsuke.org> | ||
Source: https://github.com/jenkinsci/backend-ircbot | ||
|
||
Files: * | ||
Copyright: 2009-2012 Kohsuke Kawaguchi <kk@kohsuke.org> | ||
License: TODO | ||
|
||
Files: debian/* | ||
Copyright: 2012 Michael Prokop <github@michael-prokop.at> | ||
License: BSD | ||
|
||
License: BSD | ||
Copyright (c) 2012 Michael Prokop <github@michael-prokop.at> | ||
All rights reserved. | ||
. | ||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions | ||
are met: | ||
1. Redistributions of source code must retain the above copyright | ||
notice, this list of conditions and the following disclaimer. | ||
2. Redistributions in binary form must reproduce the above copyright | ||
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
3. The name of the author may not be used to endorse or promote products | ||
derived from this software without specific prior written permission. | ||
. | ||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
backend-ircbot: binary-without-manpage usr/bin/ircbot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
#!/usr/bin/make -f | ||
|
||
# Uncomment this to turn on verbose mode. | ||
# export DH_VERBOSE=1 | ||
|
||
JAVA_HOME := /usr/lib/jvm/default-java | ||
|
||
build: build-arch build-indep | ||
build-arch: build-stamp | ||
build-indep: build-stamp | ||
|
||
build-stamp: | ||
dh_testdir | ||
mvn install | ||
touch build-stamp | ||
|
||
clean: | ||
dh_testdir | ||
dh_testroot | ||
dh_clean | ||
rm -f build-stamp | ||
rm -rf debian/backend-ircbot/ | ||
rm -rf target/ | ||
|
||
install: build | ||
dh_testdir | ||
dh_testroot | ||
dh_prep | ||
dh_installdirs usr/share/ircbot/ usr/bin | ||
cp -a target/ircbot-*-*-bin/* debian/backend-ircbot/usr/share/ircbot/ | ||
printf "#!/bin/sh\njava -jar /usr/share/ircbot/ircbot-*.jar \"\$$@\"\n" > debian/backend-ircbot/usr/bin/ircbot | ||
|
||
# Build architecture-dependent files here. | ||
binary-arch: build install | ||
# We have nothing to do by default. | ||
|
||
# Build architecture-independent files here. | ||
binary-indep: build install | ||
dh_testdir | ||
dh_testroot | ||
dh_installchangelogs | ||
dh_installdocs | ||
dh_installman | ||
dh_compress | ||
mkdir -p debian/backend-ircbot/usr/share/lintian/overrides/ | ||
cp -av debian/overrides debian/backend-ircbot/usr/share/lintian/overrides/backend-ircbot | ||
dh_fixperms | ||
dh_installdeb | ||
dh_shlibdeps | ||
dh_gencontrol | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
binary: binary-indep binary-arch | ||
.PHONY: build clean binary-indep binary-arch binary install |