debian/0000755000000000000000000000000011770375437007204 5ustar debian/README.source0000644000000000000000000000130411770374325011354 0ustar Information about felix-framework ------------------------------ The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. Bootstrapping felix-framework ------------------------------------ Since libfelix-framework-java Build-Depends on libmaven-bundle-plugin-java and libmaven-bundle-plugin-java also Build-Depends on libfelix-framework-java we need a way to bootstrap this. To build felix-framework without bundle metadata : 1) d/control: Drop Build-Depends on libmaven-bundle-plugin-java 2) d/patches/series: Decomment bootstrap_packaging_jar.diff patch 3) d/maven.ignoreRules: Decomment maven-bundle-plugin dependency debian/changelog0000644000000000000000000000454111770375344011057 0ustar felix-framework (4.0.1-2) unstable; urgency=low * Team upload. * Explicitly set encoding of Java files to fix FTBFS with Java7. * Add missing --java-lib to the poms file. -- Niels Thykier Wed, 20 Jun 2012 18:31:28 +0200 felix-framework (4.0.1-1) unstable; urgency=low [ Andres Mejia ] * Update to my @debian.org email. [ Damien Raude-Morvan ] * New upstream release. * Build-Depends on libosgi-core-java instead of libequinox-osgi-java. * d/watch: fix for upstream tarball new name. * d/patches/exclude_servletapi.diff: Dropped, not needed anymore. * d/maven.ignoreRules: Ignore apache-rat-plugin instead of rat-maven- plugin -- Damien Raude-Morvan Sat, 05 Nov 2011 14:37:59 +0100 felix-framework (2.0.5-2) unstable; urgency=low * Bump Standards-Version to 3.9.2: no changes needed. * Use Maven build-system, as upstream: - d/{build.xml,MANIFEST.MF, default.properties, *.install, *.links}: Drop. - d/control: Switch from debhelper to cdbs, add Build-Depends on some Maven plugins. - d/maven.rules,d/maven.ignoreRules: Add handling of pom.xml replace rules. - d/rules: Everything is handled by maven.mk. - d/README.source,d/patches/bootstrap.diff: Add a way to bootstrap without maven-bundle-plugin. * Install Javadoc API to /usr/share/doc/libfelix-framework-java/api/. -- Damien Raude-Morvan Sat, 14 May 2011 19:22:28 +0200 felix-framework (2.0.5-1) unstable; urgency=low [ Andres Mejia ] * Upload for Debian. (Closes: #610921) * Add Debian Java team as maintainer, Yulia and myself as Uploaders. * Bump to Standards-Version 3.9.1. * Convert to pure dh with javahelper. * Add VCS entries. [ Damien Raude-Morvan ] * Add myself as Uploaders. * d/copyright: Update to DEP-5 r166 format. * d/control: Drop Depends: ${shlib:Depends} as useless for Java package. * d/control: Drop Depends: default-jre-headless | java2-runtime-headless as a Java library don't need to depends on runtime (Java Policy). * d/control, d/rules: Use mh_clean and B-D on maven-repo-helper (>= 1.1) -- Damien Raude-Morvan Mon, 24 Jan 2011 23:23:03 +0100 felix-framework (2.0.5-0ubuntu1) maverick; urgency=low * Initial release. (LP: #608699) -- Yulia Novozhilova Tue, 20 Jul 2010 15:49:04 +0400 debian/compat0000644000000000000000000000000211770374325010375 0ustar 7 debian/control0000644000000000000000000000273511770374325010611 0ustar Source: felix-framework Section: java Priority: optional Maintainer: Debian Java Maintainers Uploaders: Yulia Novozhilova , Andres Mejia , Damien Raude-Morvan Build-Depends: cdbs, debhelper (>= 7), default-jdk, libmaven-bundle-plugin-java, libmaven-javadoc-plugin-java, libosgi-compendium-java, libosgi-core-java, maven-debian-helper (>= 1.4) Standards-Version: 3.9.2 Homepage: http://felix.apache.org/site/apache-felix-framework.html Vcs-Git: git://git.debian.org/git/pkg-java/felix-framework.git Vcs-Browser: http://git.debian.org/?p=pkg-java/felix-framework.git Package: libfelix-framework-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libfelix-framework-java-doc Description: The Felix Framework subproject The Felix Framework subproject is an implementation of the OSGi R4.2 core framework specification. Package: libfelix-framework-java-doc Architecture: all Section: doc Depends: ${maven:DocDepends}, ${misc:Depends} Recommends: ${maven:DocOptionalDepends} Description: Javadoc API documentation for the Felix Framework subproject The Felix Framework subproject is an implementation of the OSGi R4.2 core framework specification. This package contains Javadoc API documentation. debian/copyright0000644000000000000000000000120611770374325011131 0ustar Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=166 Upstream-Name: felix-framework Source: http://felix.apache.org/site/downloads.cgi Files: * Copyright: Copyright 2010 The Apache Software Foundation License: Apache-2.0 Files: debian/* Copyright: 2008-2010, Yulia Novozhilova License: GPL-2 License: Apache-2.0 On Debian systems, the complete text of the Apache License Version 2.0, can be found in /usr/share/common-licenses/Apache-2.0. License: GPL-2 On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2. debian/libfelix-framework-java-doc.doc-base0000644000000000000000000000037511770374325016056 0ustar Document: felix-framework Title: Apache Felix Framework Author: The Apache Software Foundation Section: Programming/Java Format: HTML Index: /usr/share/doc/libfelix-framework-java/api/index.html Files: /usr/share/doc/libfelix-framework-java/api/*.html debian/libfelix-framework-java-doc.install0000644000000000000000000000007511770374325016044 0ustar target/apidocs/* /usr/share/doc/libfelix-framework-java/api/ debian/libfelix-framework-java.poms0000644000000000000000000000317311770375153014613 0ustar # List of POM files for the package # Format of this file is: # [option]* # where option can be: # --ignore: ignore this POM and its artifact if any # --ignore-pom: don't install the POM. To use on POM files that are created # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms] # --no-parent: remove the tag from the POM # --package=: an alternative package to use when installing this POM # and its artifact # --has-package-version: to indicate that the original version of the POM is the same as the upstream part # of the version for the package. # --keep-elements=: a list of XML elements to keep in the POM # during a clean operation with mh_cleanpom or mh_installpom # --artifact=: path to the build artifact associated with this POM, # it will be installed when using the command mh_install. [mh_install] # --java-lib: install the jar into /usr/share/java to comply with Debian # packaging guidelines # --usj-name=: name to use when installing the library in /usr/share/java # --usj-version=: version to use when installing the library in /usr/share/java # --no-usj-versionless: don't install the versionless link in /usr/share/java # --dest-jar=: the destination for the real jar. # It will be installed with mh_install. [mh_install] # --classifier=: Optional, the classifier for the jar. Empty by default. # --site-xml=: Optional, the location for site.xml if it needs to be installed. # Empty by default. [mh_install] # pom.xml --no-parent --java-lib debian/maven.ignoreRules0000644000000000000000000000143611770375153012531 0ustar # Maven ignore rules - ignore some Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM # junit junit jar s/3\..*/3.x/ org.apache.rat apache-rat-plugin * * * * debian/maven.properties0000644000000000000000000000016511770374634012430 0ustar # Include here properties to pass to Maven during the build. maven.test.skip=true project.build.sourceEncoding=UTF-8 debian/maven.rules0000644000000000000000000000154211770375153011363 0ustar # Maven rules - transform Maven dependencies and plugins # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\..*/3.x/ debian/orig-tar.sh0000755000000000000000000000044511770374325011265 0ustar #!/bin/sh set -x # called by uscan with '--upstream-version' package=`dpkg-parsechangelog | sed -n 's/^Source: //p'` TAR=../"$package"_$2.orig.tar.gz DIR=$package-$2.orig tar xfz $3 mv org.apache.felix.framework-$2 $DIR GZIP=--best tar -c -z -f $TAR $DIR rm -rf $DIR $3 debian/patches/0000755000000000000000000000000011770374325010626 5ustar debian/patches/bootstrap_packaging_jar.diff0000644000000000000000000000116411770374325016337 0ustar Description: pom.xml, change packaging type from bundle to jar. Since this library is a dependency of maven-bundle-plugin we should use default "jar" packaging type to allow a first bootstrap build. Forwarded: not-needed Author: Damien Raude-Morvan Last-Update: 2011-05-11 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ ../pom/pom.xml 4.0.0 - bundle + jar Apache Felix Framework org.apache.felix.framework 2.0.5 debian/patches/series0000644000000000000000000000006711770374325012046 0ustar # Only for bootstrapping #bootstrap_packaging_jar.diff debian/rules0000755000000000000000000000047011770374325010260 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk VERSION := $(DEB_UPSTREAM_VERSION) JAVA_HOME := /usr/lib/jvm/default-java get-orig-source: uscan \ --no-symlink \ --upstream-version $(VERSION) \ --download-version $(VERSION) \ --force-download debian/source/0000755000000000000000000000000011770374325010477 5ustar debian/source/format0000644000000000000000000000001411770374325011705 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000017611770374325010234 0ustar version=3 http://www.apache.org/dist/felix/ org.apache.felix.framework-(.+)-source-release\.tar\.gz debian debian/orig-tar.sh debian/maven.cleanIgnoreRules0000644000000000000000000000150011770375153013464 0ustar # Maven clean ignore rules - ignore some Maven dependencies and plugins # during the clean phase of a Maven build # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., this dependency is then removed # from the POM before mvn clean is called # junit junit jar s/3\..*/3.x/ debian/maven.publishedRules0000644000000000000000000000164111770375153013223 0ustar # Maven published rules - additional rules to publish, to help # the packaging work of Debian maintainers using mh_make # Format of this file is: # [group] [artifact] [type] [version] [classifier] [scope] # where each element can be either # - the exact string, for example org.apache for the group, or 3.1 # for the version. In this case, the element is simply matched # and left as it is # - * (the star character, alone). In this case, anything will # match and be left as it is. For example, using * on the # position of the artifact field will match any artifact id # - a regular expression of the form s/match/replace/ # in this case, elements that match are transformed using # the regex rule. # All elements much match before a rule can be applied # Example rule: match jar with groupid= junit, artifactid= junit # and version starting with 3., replacing the version with 3.x # junit junit jar s/3\..*/3.x/