[gettext-ant-tasks] 01/12: Debianization

Markus Koschany apo-guest at moszumanska.debian.org
Fri Dec 6 09:23:20 UTC 2013


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

apo-guest pushed a commit to branch master
in repository gettext-ant-tasks.

commit 8ce8b585ff4e79784aeb8f66d9e243fe2760e576
Author: David Paleino <dapal at debian.org>
Date:   Fri Mar 12 23:12:53 2010 +0100

    Debianization
---
 debian/changelog     |  5 +++++
 debian/compat        |  1 +
 debian/control       | 27 +++++++++++++++++++++++++++
 debian/copyright     | 32 ++++++++++++++++++++++++++++++++
 debian/install       |  1 +
 debian/links         |  1 +
 debian/rules         | 32 ++++++++++++++++++++++++++++++++
 debian/source/format |  1 +
 debian/watch         |  4 ++++
 9 files changed, 104 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..e41338f
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+gettext-ant-tasks (0.9.7~svn203-1) unstable; urgency=low
+
+  * Initial release (Closes: #573611)
+
+ -- David Paleino <dapal at debian.org>  Fri, 12 Mar 2010 23:05:53 +0100
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..832a3ec
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: gettext-ant-tasks
+Section: java
+Priority: optional
+Maintainer: David Paleino <dapal at debian.org>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ ant,
+ javahelper (>= 0.20),
+ default-jdk
+Standards-Version: 3.8.4
+Homepage: http://code.google.com/p/gettext-commons/
+Vcs-Git: git://git.debian.org/git/collab-maint/gettext-ant-tasks.git
+Vcs-Browser: http://git.debian.org/?p=collab-maint/gettext-ant-tasks.git
+
+Package: libgettext-ant-tasks-java
+Architecture: all
+Depends:
+ ${misc:Depends},
+ ${java:Depends}
+Recommends: ant
+Description: Java classes for internationalization (i18n) - Ant tasks
+ Lightweight library combining the power of the unix-style gettext tools
+ with the widely used Java ResourceBundles.
+ This makes it possible to use the original text instead of arbitrary property
+ keys, which is less cumbersome and makes programs easier to read.
+ .
+ This package contains tasks to be used with the Ant build system.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..06a3adb
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format-Specification: http://dep.debian.net/deps/dep5
+
+Files: debian/*
+Copyright: © 2010, David Paleino <dapal at debian.org>
+License: Apache-2.0
+
+Files: src/test/resources/org/xnap/commons/ant/gettext/de.po
+Copyright: © 2005, Steffen Pingel <steffenp at gmx.de>
+License: Apache-2.0
+
+Files: src/test/resources/org/xnap/commons/ant/gettext/fr.po
+Copyright: © 2005, Canonical Ltd, and Rosetta Contributors
+License: Apache-2.0
+
+Files: *
+Copyright: © 2006, Felix Berger
+License: Apache-2.0
+
+License: Apache-2.0
+ 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.
+X-Comment: in Debian systems, the complete text of the Apache version 2.0
+ license can be found in /usr/share/common-licenses/Apache-2.0.
diff --git a/debian/install b/debian/install
new file mode 100644
index 0000000..282db61
--- /dev/null
+++ b/debian/install
@@ -0,0 +1 @@
+gettext-ant-tasks-0.9.7.jar		/usr/share/java/
diff --git a/debian/links b/debian/links
new file mode 100644
index 0000000..ae85ce1
--- /dev/null
+++ b/debian/links
@@ -0,0 +1 @@
+usr/share/java/gettext-ant-tasks-0.9.7.jar		usr/share/java/gettext-ant-tasks.jar
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..046f10a
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,32 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export JAVA_HOME=/usr/lib/jvm/default-java
+
+FULLVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\  -f2 | cut -d- -f1 )
+UPVER   := $(shell echo $(FULLVER) | cut -d~ -f1 )
+SVNREV  := $(shell echo $(FULLVER) | awk -F"~svn" '{print $$2}' )
+
+override_dh_auto_build:
+	ant compile
+	ant jar
+	mv gettext-ant-tasks.jar gettext-ant-tasks-$(UPVER).jar
+
+override_dh_auto_clean:
+	dh_auto_clean
+	rm -rf target *.jar
+
+get-orig-source:
+	svn -r $(SVNREV) checkout \
+		http://gettext-commons.googlecode.com/svn/gettext-ant-tasks/trunk \
+		gettext-ant-tasks
+	find gettext-ant-tasks -type d -name ".svn" | xargs rm -rf
+	tar zcf gettext-ant-tasks_$(FULLVER).orig.tar.gz \
+		gettext-ant-tasks/
+	rm -rf gettext-ant-tasks/
+
+%:
+	dh --with javahelper $@
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..2f58b72
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+version=3
+# not usable for tarballs, just for the version number
+http://code.google.com/p/gettext-commons/downloads/list /
+	http://gettext-commons.googlecode.com/files/gettext-ant-tasks-(\d+.*)\.jar

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gettext-ant-tasks.git



More information about the pkg-java-commits mailing list