--- maven-file-management-1.2.orig/debian/changelog +++ maven-file-management-1.2/debian/changelog @@ -0,0 +1,5 @@ +maven-file-management (1.2-1) unstable; urgency=low + + * Initial release. (Closes: #508012) + + -- Torsten Werner Thu, 04 Dec 2008 19:29:26 +0100 --- maven-file-management-1.2.orig/debian/control +++ maven-file-management-1.2/debian/control @@ -0,0 +1,37 @@ +Source: maven-file-management +Section: devel +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Torsten Werner +Build-Depends: ant, debhelper (>= 5), cdbs, default-jdk, maven-ant-helper, + libmaven-shared-io-java, libplexus-classworlds-java, libmodello-java, + libgoogle-collections-java, libxbean-java, libplexus-utils-java, + libplexus-containers-java, maven2 +Standards-Version: 3.8.0 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/maven-file-management +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/maven-file-management/ +Homepage: http://maven.apache.org/shared/file-management/ + +Package: libmaven-file-management-java +Architecture: all +Section: devel +Depends: ${misc:Depends}, default-jre | java2-runtime, libmaven-shared-io-java, + libplexus-classworlds-java, libplexus-containers-java +Description: Maven File Management API + Maven is a software project management and comprehension tool. Based on the + concept of a project object model (POM), Maven can manage a project's build, + reporting and documentation from a central piece of information. + . + Maven's primary goal is to allow a developer to comprehend the complete + state of a development effort in the shortest period of time. In order to + attain this goal there are several areas of concern that Maven attempts + to deal with: + . + * Making the build process easy + * Providing a uniform build system + * Providing quality project information + * Providing guidelines for best practices development + * Allowing transparent migration to new features + . + The Maven File Management API provides an API to collect files from a given + directory using several include/exclude rules. --- maven-file-management-1.2.orig/debian/compat +++ maven-file-management-1.2/debian/compat @@ -0,0 +1 @@ +5 --- maven-file-management-1.2.orig/debian/watch +++ maven-file-management-1.2/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://svn.apache.org/repos/asf/maven/shared/tags/ \ + file-management-(.*)/ debian debian/orig-tar.sh --- maven-file-management-1.2.orig/debian/build.properties +++ maven-file-management-1.2/debian/build.properties @@ -0,0 +1,3 @@ +javadoc.dir=build/api +build.directory=target +build.outputDirectory=target/classes --- maven-file-management-1.2.orig/debian/copyright +++ maven-file-management-1.2/debian/copyright @@ -0,0 +1,32 @@ +This package was debianized by Torsten Werner . + +The Debian packaging is Copyright (c) 2008 Torsten Werner and is +licensed under the GNU General Public License version 3. On Debian +systems, the complete text of the GNU General Public License can be +found in '/usr/share/common-licenses/GPL'. + +The package was downloaded from . + +Copyright: 2006-2007 The Apache Software Foundation. + +License: + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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-licenes/Apache-2.0'. --- maven-file-management-1.2.orig/debian/orig-tar.sh +++ maven-file-management-1.2/debian/orig-tar.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e + +TAR=../maven-file-management_$2.orig.tar.gz +DIR=maven-file-management-$2 +TAG=file-management-$2 + +svn export http://svn.apache.org/repos/asf/maven/shared/tags/$TAG $DIR +tar -c -z -f $TAR $DIR +rm -rf $DIR ../$TAG + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi --- maven-file-management-1.2.orig/debian/rules +++ maven-file-management-1.2/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +PACKAGE := file-management +VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | sed 's/Version: \(.*\)-.*/\1/') +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := maven2 maven-shared-io maven-ant-helper plexus-utils \ + plexus-container-default-1.0 plexus-classworlds google-collect xbean-reflect +DEB_ANT_BUILD_TARGET := package #javadoc +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_ARGS := -Dversion=$(VERSION) +API_DOCS := build/api + +get-orig-source: + uscan --force-download + +binary-post-install/libmaven-$(PACKAGE)-java:: + dh_install -plibmaven-$(PACKAGE)-java target/$(PACKAGE)-$(VERSION).jar /usr/share/java + dh_link -plibmaven-$(PACKAGE)-java /usr/share/java/$(PACKAGE)-$(VERSION).jar /usr/share/java/$(PACKAGE).jar --- maven-file-management-1.2.orig/debian/build.xml +++ maven-file-management-1.2/debian/build.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +