[geronimo-validation-1.1-spec] 01/24: initial debianization

Emmanuel Bourg ebourg-guest at moszumanska.debian.org
Thu Sep 28 21:39:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

ebourg-guest pushed a commit to branch master
in repository geronimo-validation-1.1-spec.

commit 4161f600a3d1cf26de0f053487fbd29a84280533
Author: Miguel Landaeta <miguel at miguel.cc>
Date:   Tue May 25 22:48:34 2010 -0430

    initial debianization
---
 debian/changelog                                   |  5 +++
 debian/clean                                       |  1 +
 debian/compat                                      |  1 +
 debian/control                                     | 50 ++++++++++++++++++++++
 debian/copyright                                   | 13 ++++++
 ...ibgeronimo-validation-1.0-spec-java-doc.javadoc |  1 +
 debian/libgeronimo-validation-1.0-spec-java.jlibs  |  1 +
 debian/orig-tar.sh                                 | 18 ++++++++
 debian/rules                                       | 19 ++++++++
 debian/source/format                               |  1 +
 debian/watch                                       |  3 ++
 11 files changed, 113 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..93c5067
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+geronimo-validation-1.0-spec (1.1-1) UNRELEASED; urgency=low
+
+  * Initial release. (Closes: #581844).
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Tue, 25 May 2010 22:33:19 -0430
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..89b2fb7
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+geronimo-validation.jar
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..79a30f9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,50 @@
+Source: geronimo-validation-1.0-spec
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Miguel Landaeta <miguel at miguel.cc>
+Section: java
+Priority: optional
+Build-Depends: debhelper (>= 7.0.50), default-jdk, javahelper,
+ libgeronimo-osgi-support-java
+Standards-Version: 3.8.4
+Vcs-Git: git://git.debian.org/git/pkg-java/geronimo-validation-1.0-spec.git
+Vcs-Browser: http://git.debian.org/?p=pkg-java/geronimo-validation-1.0-spec.git
+
+Package: libgeronimo-validation-1.0-spec-java
+Architecture: all
+Depends: libgeronimo-osgi-support-java, ${misc:Depends}
+Recommends: libgeronimo-validation-1.0-spec-java-doc (= ${binary:Version})
+Description: Geronimo JSR-303 Bean Validation Spec API
+ Apache Geronimo implementation of the JSR-303 Bean Validation Spec API.
+ .
+ JSR 303 defines a metadata model and API for JavaBean validation.
+ The default metadata source is annotations, with the ability to override and
+ extend the meta-data through the use of XML validation descriptors. The
+ API is not tied to a specific application tier or programming model.
+ .
+ It is specifically not tied to either the web tier or the persistence tier,
+ and is available for both server-side application programming,
+ as well as rich client Swing application developer.
+ .
+ This package contains only API of JSR-303 spec. Hibernate Validator is the
+ reference implementation of this spec.
+
+Package: libgeronimo-validation-1.0-spec-java-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: libgeronimo-validation-1.0-spec-java (= ${binary:Version})
+Description: Documentation for libgeronimo-validation-1.0-spec-java
+ Documentation for the Apache Geronimo implementation of the JSR-303 Bean
+ Validation Spec API.
+ .
+ JSR 303 defines a metadata model and API for JavaBean validation.
+ The default metadata source is annotations, with the ability to override and
+ extend the meta-data through the use of XML validation descriptors. The
+ API is not tied to a specific application tier or programming model.
+ .
+ It is specifically not tied to either the web tier or the persistence tier,
+ and is available for both server-side application programming,
+ as well as rich client Swing application developer.
+ .
+ This package contains only API of JSR-303 spec. Hibernate Validator is the
+ reference implementation of this spec.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5984194
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+The sources where downloaded from http://svn.apache.org/repos/asf/geronimo/specs/tags/geronimo-validation_1.0_spec-1.1/.
+
+Files: *
+Copyright: © 2010 Apache Software Foundation (ASF)
+License: Apache-2.0
+ The full text of the Apache 2.0 license is distributed in
+ /usr/share/common-licenses/Apache-2.0 on Debian systems.
+
+Files: debian/*
+Copyright: © 2010 Miguel Landaeta <miguel at miguel.cc>
+License: Apache-2.0
+ The full text of the Apache 2.0 license is distributed in
+ /usr/share/common-licenses/Apache-2.0 on Debian systems.
diff --git a/debian/libgeronimo-validation-1.0-spec-java-doc.javadoc b/debian/libgeronimo-validation-1.0-spec-java-doc.javadoc
new file mode 100644
index 0000000..ae2d3b2
--- /dev/null
+++ b/debian/libgeronimo-validation-1.0-spec-java-doc.javadoc
@@ -0,0 +1 @@
+internal  /usr/share/doc/libgeronimo-validation-1.0-spec-java/api
diff --git a/debian/libgeronimo-validation-1.0-spec-java.jlibs b/debian/libgeronimo-validation-1.0-spec-java.jlibs
new file mode 100644
index 0000000..89b2fb7
--- /dev/null
+++ b/debian/libgeronimo-validation-1.0-spec-java.jlibs
@@ -0,0 +1 @@
+geronimo-validation.jar
diff --git a/debian/orig-tar.sh b/debian/orig-tar.sh
new file mode 100755
index 0000000..dad28ca
--- /dev/null
+++ b/debian/orig-tar.sh
@@ -0,0 +1,18 @@
+#!/bin/sh 
+
+set -e
+
+# called by uscan with '--upstream-version' <version> <file>
+echo "version $2"
+package=`dpkg-parsechangelog | sed -n 's/^Source: //p'`
+version=$2
+tarball=$3
+TAR=${package}_${version}.orig.tar.gz
+DIR=${package}-${version}.orig
+upstream_package="$(echo $package | sed 's/-1\.0-spec/_1.0_spec/')"
+REPO="http://svn.apache.org/repos/asf/geronimo/specs/tags/${upstream_package}-${version}/"
+
+svn export $REPO $DIR
+GZIP=--best tar --numeric --group 0 --owner 0 -c -v -z -f $TAR $DIR
+
+rm -rf $tarball $DIR
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..59474c8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,19 @@
+#!/usr/bin/make -f
+
+export JAVA_HOME=/usr/lib/jvm/default-java
+export CLASSPATH=/usr/share/java/geronimo-osgi-locator.jar
+
+%:
+	dh --with javahelper $@
+
+override_jh_build:
+	jh_build geronimo-validation.jar src/main
+
+get-orig-source:
+	cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
+	uscan \
+		--verbose \
+		--no-symlink \
+		--destdir $(CURDIR)      \
+		--watchfile debian/watch \
+		--force-download
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..683dae7
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://svn.apache.org/repos/asf/geronimo/specs/tags/ \
+geronimo-validation_1.0_spec-(.*)/ debian debian/orig-tar.sh

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/geronimo-validation-1.1-spec.git



More information about the pkg-java-commits mailing list