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