--- bcel-5.2.orig/debian/maven.rules +++ bcel-5.2/debian/maven.rules @@ -0,0 +1 @@ +org.apache.bcel bcel jar s/5\..*/5.x/ --- bcel-5.2.orig/debian/copyright +++ bcel-5.2/debian/copyright @@ -0,0 +1,25 @@ +This package was debianized by Takashi Okamoto on +Sun, 5 Aug 2001 10:22:10 +0900. + +The source code was downloaded from http://jakarta.apache.org/bcel/ + +Upstream Authors: + Markus Dahm + Jason van Zyl + +Copyright 2001-2004 The Apache Software Foundation. + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +The full text of the license can be found in +`/usr/share/common-licenses/Apache-2.0'. --- bcel-5.2.orig/debian/libbcel-java.dirs +++ bcel-5.2/debian/libbcel-java.dirs @@ -0,0 +1 @@ +usr/share/java --- bcel-5.2.orig/debian/pom.xml +++ bcel-5.2/debian/pom.xml @@ -0,0 +1,21 @@ + + + + 4.0.0 + + org.apache.bcel + bcel + jar + 5.2 + + + + jakarta-regexp + jakarta-regexp + 1.4 + + + + --- bcel-5.2.orig/debian/maven.publishedRules +++ bcel-5.2/debian/maven.publishedRules @@ -0,0 +1 @@ +s/bcel/org.apache.bcel/ bcel jar s/5\..*/5.x/ --- bcel-5.2.orig/debian/rules +++ bcel-5.2/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f +# debian/rules file for libbcel-java (uses cdbs) + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := $(ANT_HOME)/lib/ant-launcher.jar xmlParserAPIs xercesImpl regexp +DEB_ANT_BUILD_TARGET := dist + +install/lib$(PACKAGE)-java:: + mh_installpoms -plib$(PACKAGE)-java + mh_installjar -plib$(PACKAGE)-java -l debian/pom.xml target/bcel-$(VERSION).jar usr/share/ant/lib/bcel.jar + +clean:: + rm -rf target dist + -rm -rf debian/tmp + +get-orig-pom: + wget -O debian/pom.xml http://repository.sonatype.org/service/local/repositories/central/content/org/apache/bcel/bcel/$(VERSION)/bcel-$(VERSION).pom + --- bcel-5.2.orig/debian/changelog +++ bcel-5.2/debian/changelog @@ -0,0 +1,162 @@ +bcel (5.2-6) unstable; urgency=low + + * Upload to unstable. + + -- Torsten Werner Sun, 09 Aug 2009 10:27:53 +0200 + +bcel (5.2-5) experimental; urgency=low + + * Add the Maven POM to the package + * Add a Build-Depends-Indep dependency on maven-repo-helper + * Add ${misc:Depends} to Depends to clear Lintian warnings + * Drop the dependency on libxerces2-java-doc on the + libbcel-java-doc package as xerces2 is not a runtime dependency + for bcel, in fact xerces is not used at all in bcel's code. + It caused lots of confusion in Ubuntu for nothing - see LP #190247. + * Add libbcel-java-doc.docs to ship to real docs for a change. + * Move the API docs to /usr/share/java/libbcel-java/api + * Remove the link to bcel.jar installed in /usr/share/ant/lib, modify + ant at the same time to install by itself this link + + -- Ludovic Claude Wed, 22 Jul 2009 17:53:47 +0100 + +bcel (5.2-4) unstable; urgency=low + + [ Matthias Klose ] + * Build-depend on default-jdk instead of java-gcj-compat-dev. (Closes: + #517840, #526277) + + [ Torsten Werner ] + * Add myself to Uploaders. + * Do no longer quote the full text of the Apache-2.0 license. + * Switch to debhelper compat level 5. + * Update Standards-Version: 3.8.2: + - Fix Homepage header. + - Add Vcs headers. + - Move package to Section: java. + * Prefer openjdk-6-doc as Depends for the -doc package. + + -- Torsten Werner Thu, 30 Jul 2009 17:41:12 +0200 + +bcel (5.2-3) unstable; urgency=low + + * Added link from /usr/share/ant/lib/bcel.jar to /usr/share/java/bcel.jar + (Closes: #440000). + + -- Michael Koch Sat, 01 Sep 2007 10:44:44 +0200 + +bcel (5.2-2) unstable; urgency=low + + * Migrate experimental version to unstable. + * Remove downloading of a Jar from build.xml. + + -- Paul Cager Sun, 15 Apr 2007 21:49:05 +0100 + +bcel (5.2-1) experimental; urgency=low + + * New upstream release (Closes: #349779) + * Upstream now uses Apache Software License version 2 + * Upgraded to standards version 3.7.2 + * Bumped debhelper to version 5 + * Added myself to co-maintainers + * Uses java-gcj compiler, rather than kaffe + * Moved ant / cdbs from build-depends-indep to build-depends as + required by java-policy (and lintian) + * Corrected dependencies (removed Java runtime as specified in Java policy) + * Patched build.xml to remove actions (which are no supported in + all JDKs), and to add a to classpath-doc in the Javadoc target + * Created watch file + * Created "install" and "links" files for both binary packages + * Moved API docs to /usr/share/doc/libbcel-java/api (as required + by draft Java policy) + * Added a doc-base + + -- Paul Cager Sat, 13 Jan 2007 23:04:12 +0000 + +bcel (5.1-6) unstable; urgency=low + + * kaffe compiler transition + * Removed Takashi from uploaders to reflect current maintainers + * Bumped debhelper version to fix linda error + + -- Wolfgang Baer Mon, 16 Jan 2006 13:52:14 +0100 + +bcel (5.1-5) unstable; urgency=low + + * libant1.6-java to ant transition + * Changed xerces dependency to xerces2 + * Removed explicit dependencies on gjdoc, jikes + * Added myself to uploaders + * Standards-Version 3.6.2 + + -- Wolfgang Baer Sun, 25 Sep 2005 00:09:17 +0200 + +bcel (5.1-4) unstable; urgency=low + + * Reupload with orig tarball (Closes: #301507). + * Removed trailing line in debian/compat and debian/libjava-bcel-doc.docs. + + -- Michael Koch Mon, 28 Mar 2005 10:02:02 +0000 + +bcel (5.1-3) unstable; urgency=low + + * Move all packages to main. + * Fixed Depends and Suggests. + + -- Michael Koch Sat, 12 Mar 2005 23:13:25 +0000 + +bcel (5.1-2) unstable; urgency=low + + * Moved to main. + * Ported to CDBS. + * Use Debian Java Packagers as Maintainer. + * Added Takashi, Arnaud, myself to Uploaders. + * Build-Depend and use kaffe and libant1.6-java. + * Standards-Version: 3.6.1 (no changes required). + + -- Michael Koch Wed, 9 Mar 2005 17:02:28 +0000 + +bcel (5.1-1mkoch1) unstable; urgency=low + + * New upstream release + + This version is compatible with JDK 1.4 (closes: #174977) + * Added myself to Uploaders + * Standards-Version: 3.6.0 (no changes required) + + Don't use Ant in the clean target to avoid Build-Depends: + * Build with debhelper >= 4.1.0 to get rid of /usr/doc compatibility + symlinks + * Updated long description and added a link to the home page. + * Fixed build dependencies (closes: #174980) + * Build using j2sdk1.4 + * Moved libbcel-java-doc from contrib/libs to contrib/doc + * Updated download location and upstream authors debian/copyright + * Fixed package dependencies according to the Java policy (closes: #174984) + * Only build the API documentation, building the real documentaion requires + addisional files from the Jakarta project + + -- Stefan Gybas Mon, 14 Jul 2003 20:43:51 +0200 + +bcel (5.0-1) unstable; urgency=low + + * New upstream release. (Cleses #137459 request new package) + + -- Takashi Okamoto Fri, 5 Jul 2002 18:18:18 +0900 + +bcel (4.3.1-3) unstable; urgency=low + + * fixed bcel.jar was invalid (Closes: #136352) + + -- Takashi Okamoto Sat, 2 Mar 2002 10:18:27 +0900 + +bcel (4.3.1-2) unstable; urgency=low + + * remove ant dependeny (Closes: #133066) + * move to new Java Policy + + -- Takashi Okamoto Sat, 9 Feb 2002 19:13:48 +0900 + +bcel (4.3.1-1) unstable; urgency=low + + * Initial Release. + + -- Takashi Okamoto Sun, 5 Aug 2001 10:22:10 +0900 --- bcel-5.2.orig/debian/watch +++ bcel-5.2/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://archive.apache.org/dist/jakarta/bcel/source/bcel-([0-9]+\.[0-9]+)-src.tar.gz --- bcel-5.2.orig/debian/libbcel-java.poms +++ bcel-5.2/debian/libbcel-java.poms @@ -0,0 +1 @@ +debian/pom.xml --no-parent --- bcel-5.2.orig/debian/control +++ bcel-5.2/debian/control @@ -0,0 +1,38 @@ +Source: bcel +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Stefan Gybas , Arnaud Vandyck , Michael Koch , Wolfgang Baer , Paul Cager , Torsten Werner +Build-Depends-Indep: maven-repo-helper, default-jdk, libregexp-java, libxerces2-java, openjdk-6-doc +Build-Depends: ant (>= 1.6.5), cdbs (>= 0.4.5.3), debhelper (>= 5) +Standards-Version: 3.8.2 +Homepage: http://jakarta.apache.org/bcel/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/bcel +Vcs-Browser: http://wsvn.debian.org/svn/pkg-java/trunk/bcel/ + +Package: libbcel-java +Architecture: all +Depends: libregexp-java, ${misc:Depends} +Suggests: libbcel-java-doc +Description: Analyze, create, and manipulate (binary) Java class files + The Byte Code Engineering Library is intended to give users a convenient + possibility to analyze, create, and manipulate (binary) Java class files + (those ending with .class). Classes are represented by objects which contain + all the symbolic information of the given class: methods, fields and byte + code instructions, in particular. + . + Such objects can be read from an existing file, be transformed by a program + (e.g. a class loader at run-time) and dumped to a file again. An even more + interesting application is the creation of classes from scratch at run-time. + The Byte Code Engineering Library (BCEL) may be also useful if you want to + learn about the Java Virtual Machine (JVM) and the format of Java .class + files. + +Package: libbcel-java-doc +Architecture: all +Section: doc +Depends: ${misc:Depends}, openjdk-6-doc | classpath-doc +Suggests: libbcel-java +Description: Documentation for Byte Code Engineering Library (BCEL) + Documentation for the BCEL Java library which is used to manipulate Java + bytecode. --- bcel-5.2.orig/debian/libbcel-java-doc.install +++ bcel-5.2/debian/libbcel-java-doc.install @@ -0,0 +1 @@ +dist/docs/api usr/share/doc/libbcel-java --- bcel-5.2.orig/debian/libbcel-java-doc.doc-base +++ bcel-5.2/debian/libbcel-java-doc.doc-base @@ -0,0 +1,9 @@ +Document: libbcel-java +Title: API Javadoc for BCEL +Author: BCEL developers +Abstract: This is the API Javadoc provided by the BCEL library. +Section: Programming + +Format: HTML +Index: /usr/share/doc/libbcel-java/api/index.html +Files: /usr/share/doc/libbcel-java/api/* --- bcel-5.2.orig/debian/compat +++ bcel-5.2/debian/compat @@ -0,0 +1 @@ +5 --- bcel-5.2.orig/debian/libbcel-java-doc.docs +++ bcel-5.2/debian/libbcel-java-doc.docs @@ -0,0 +1 @@ +dist/docs/api --- bcel-5.2.orig/debian/patches/build.xml.patch +++ bcel-5.2/debian/patches/build.xml.patch @@ -0,0 +1,23 @@ +--- build.xml 2006-06-03 04:48:22.000000000 +0100 ++++ build.xml.patched 2007-01-09 11:12:59.000000000 +0000 +@@ -108,10 +108,4 @@ + + + +- +- +- +- +- +- + +--- build.xml 2007-01-14 22:11:59.000000000 +0000 ++++ build.xml.patched 2007-01-14 22:21:35.000000000 +0000 +@@ -105,6 +105,7 @@ + + + ++ + + + --- bcel-5.2.orig/debian/patches/manifest.patch +++ bcel-5.2/debian/patches/manifest.patch @@ -0,0 +1,14 @@ +--- manifest.txt.new 1970-01-01 00:00:00.000000000 +0000 ++++ manifest.txt 2005-03-09 17:14:22.000000000 +0000 +@@ -0,0 +1,11 @@ ++Manifest-Version: 1.0 ++Package: org.apache.bcel ++ ++Name: org.apache.bcel ++Specification-Title: bcel ++Specification-Version: 5.1 ++Specification-Vendor: Apache Software Foundation ++Implementation-Title: org.apache.bcel ++Implementation-Version: 5.1 ++Implementation-Vendor: Apache Software Foundation ++