Commit b34b1eaf authored by Steffen Möller's avatar Steffen Möller

Introducing lintian-clean packaging of jbzip2.

parents
libjbzip2-java for Debian
-------------------------
This package is community maintained by pkg-java. It is provided as
a build dependency. Anybody with a particular interest in jbzip2 is
cordially invited to adopt the package.
-- Steffen Moeller <moeller@debian.org> Tue, 24 Apr 2012 21:08:28 +0200
libjbzip2-java for Debian
-------------------------
Source code was retrieved from
http://jbzip2.googlecode.com/svn/tags/release-0.9.1/, .svn directories
removed.
libjbzip2-java (0.9.1-1) unstable; urgency=low
* Initial release (Closes: #670314).
-- Steffen Moeller <moeller@debian.org> Tue, 24 Apr 2012 21:08:28 +0200
Source: libjbzip2-java
Section: java
Priority: extra
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Steffen Moeller <moeller@debian.org>
Build-Depends: debhelper (>= 8.0.0), default-jdk
Standards-Version: 3.9.3
Homepage: http://jbzip2.googlecode.com
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libjbib2-java
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libjbib2-java
Package: libjbzip2-java
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: bzip2 compression/decompression library
jbzip2 is a Java bzip2 compression/decompression library. It can be used
as a replacement for the Apache CBZip2InputStream / CBZip2OutputStream
classes. It is expected comparably fast as a compressor but 5% to 10%
faster as a decompressor.
Format: http://dep.debian.net/deps/dep5
Upstream-Name: libjbzip2-java
Source: http://code.google.com/p/jbzip2/source/checkout
Files: *
Copyright: 2010 Matthew J. Francis <mjay.francis@gmail.com>
and Contributors of the jbzip2 Project
License:
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Files: debian/*
Copyright: 2012 Steffen Moeller <moeller@debian.org>
License: GPL-2+
This package is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
.
This package is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
.
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
Index: libjbzip2-java-0.9.1/Makefile
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ libjbzip2-java-0.9.1/Makefile 2012-04-24 21:33:33.537806918 +0200
@@ -0,0 +1,20 @@
+
+SOURCES=$(shell find org -name "*.java")
+CLASSFILES=$(SOURCES:.java=.class)
+
+
+all: src/jbzip2.jar
+
+
+src/jbzip2.jar: $(SOURCES)
+ cd src && javac `find org -name "*.java"`
+ cd src && jar cf jbzip2.jar `find org -name "*.class"`
+
+DESTDIR=
+PREFIX=/usr
+
+install: all
+ mkdir -p $(DESTDIR)$(PREFIX)/share/java
+ cp src/jbzip2.jar $(DESTDIR)$(PREFIX)/share/java
+
+.PHONY: all install
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
%:
dh $@
get-orig-source:
svn co http://jbzip2.googlecode.com/svn/tags/release-0.9.1/ libbzip2-java-0.9.1
find libbzip2-java-0.9.1 -name .svn | xargs -r rm -r
GZIP=-9n tar czvf libbzip2-java_0.9.1 libbzip2-java-0.9.1
version=3
# some good soul please correct the watch file for me
http://jbzip2.googlecode.com/svn/tags/release-([0-9.]+)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment