debian/0000755000000000000000000000000011741025531007165 5ustar debian/source/0000755000000000000000000000000011741025531010465 5ustar debian/source/format0000644000000000000000000000001411741022112011663 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000211741022113010354 0ustar 8 debian/get-orig-source0000755000000000000000000000102211741022113012112 0ustar #!/bin/sh set -ex PACKAGE=net-luminis-build-plugin VERSION=${VERSION:-$2} TARFILE=${TARFILE:-$3} if [ -z ${VERSION}]; then VERSION=`dpkg-parsechangelog | sed -n -e 's/^Version: \(.*\)-[^-]*$/\1/p'` fi REVISION=`echo $VERSION | sed -e 's/^.*svn//g'` if [ -z ${TARFILE}]; then TARFILE=${PACKAGE}_${VERSION}.orig.tar.gz fi FOLDER=${PACKAGE}-${VERSION} svn export -r 1321 https://opensource.luminis.net/svn/BUNDLES/releases/build-plugin-0.2.0/ ${FOLDER} GZIP="--best --no-name" tar czf ${TARFILE} ${FOLDER} rm -rf ${FOLDER} debian/control0000644000000000000000000000173611741022764010604 0ustar Source: net-luminis-build-plugin Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Mathieu Malaterre Build-Depends: debhelper (>= 8), javahelper (>= 0.25) Build-Depends-Indep: default-jdk, ant, bnd Standards-Version: 3.9.3 Homepage: https://opensource.luminis.net/wiki/display/SITE/OSGi+Bundle+Ant+Task Vcs-Svn: svn://svn.debian.org/pkg-java/trunk/net-luminis-build-plugin Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/net-luminis-build-plugin/ Package: libnet-luminis-build-plugin-java Architecture: all Depends: ${java:Depends}, ${misc:Depends} Recommends: ${java:Recommends} Description: Wrapper around Bnd to allow easy bundle creation from ant builds. The OSGi bundle ant task is a wrapper around Bnd to allow easy bundle creation from ant builds. . Creates an OSGi bundle. Computes OSGi headers (most notably the importPackage and exportPackage) from class analysis. debian/changelog0000644000000000000000000000026111741023003011026 0ustar net-luminis-build-plugin (0.2.0-1) unstable; urgency=low * Initial Debian Upload (Closes: #641295) -- Mathieu Malaterre Tue, 10 Apr 2012 14:22:21 +0200 debian/watch0000644000000000000000000000012011741022113010200 0ustar # TODO # https://opensource.luminis.net/wiki/display/SITE/OSGi+Bundle+Ant+Task debian/rules0000755000000000000000000000040011741022113010230 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 JAVA_HOME=/usr/lib/jvm/default-java export CLASSPATH=/usr/share/java/bnd.jar #DEB_ANT_BUILD_TARGET := dist %: dh $@ --with javahelper override_dh_auto_build: ant dist get-orig-source: ./debian/get-orig-source debian/patches/0000755000000000000000000000000011741025531010614 5ustar debian/patches/fixbuildxml.patch0000644000000000000000000000431211741022113014155 0ustar Taken from: http://www.spinics.net/lists/fedora-package-review/msg213801.html Index: net-luminis-build-plugin-0.2.0/build.xml =================================================================== --- net-luminis-build-plugin-0.2.0.orig/build.xml 2011-09-07 19:11:28.000000000 +0200 +++ net-luminis-build-plugin-0.2.0/build.xml 2011-09-07 19:11:51.000000000 +0200 @@ -1,17 +1,30 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - debian/patches/remove_headers.patch0000644000000000000000000000142311741022113014616 0ustar Index: net-luminis-build-plugin-0.2.0/src/net/luminis/build/plugin/bnd/BuildTask.java =================================================================== --- net-luminis-build-plugin-0.2.0.orig/src/net/luminis/build/plugin/bnd/BuildTask.java 2011-09-12 14:57:52.000000000 +0200 +++ net-luminis-build-plugin-0.2.0/src/net/luminis/build/plugin/bnd/BuildTask.java 2011-09-12 14:57:55.000000000 +0200 @@ -338,8 +338,8 @@ * task attribute. */ public void setIncludeIncludeResourceHeader(boolean include) { - if (! include) - m_instructions.put(Analyzer.REMOVE_HEADERS, Analyzer.INCLUDE_RESOURCE); + //if (! include) + // m_instructions.put(Analyzer.REMOVE_HEADERS, Analyzer.INCLUDE_RESOURCE); // default is do include } debian/patches/series0000644000000000000000000000004711741022113012023 0ustar fixbuildxml.patch remove_headers.patch debian/libnet-luminis-build-plugin-java.jlibs0000644000000000000000000000001311741022113016440 0ustar dist/*.jar debian/copyright0000644000000000000000000000340011741024075011117 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: OSGi Bundle Ant Task Source: http://opensource.luminis.net/wiki/display/SITE/OSGi+Bundle+Ant+Task Files: * Copyright: © 2006, 2007 luminis License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - 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. - Neither the name of the Luminis nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 COPYRIGHT OWNER OR CONTRIBUTORS 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. Files: debian/* Copyright: © 2012 Mathieu Malaterre License: BSD Same as above