[jchardet] 02/02: Initial debianization
Eugenio Cano-Manuel
zero123-guest at alioth.debian.org
Mon Sep 2 15:30:10 UTC 2013
This is an automated email from the git hooks/post-receive script.
zero123-guest pushed a commit to branch master
in repository jchardet.
commit e1071a605b3e26935b989913b3167f92d1c418ee
Author: Eugenio Cano-Manuel <eugeniocanom at gmail.com>
Date: Thu Aug 29 18:58:02 2013 +0200
Initial debianization
---
debian/changelog | 5 ++++
debian/compat | 1 +
debian/control | 42 +++++++++++++++++++++++++++++
debian/copyright | 58 +++++++++++++++++++++++++++++++++++++++++
debian/libjchardet-java.jlibs | 1 +
debian/libjchardet-java.poms | 2 ++
debian/pom.xml | 38 +++++++++++++++++++++++++++
debian/rules | 10 +++++++
debian/source/format | 1 +
debian/watch | 2 ++
10 files changed, 160 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d510b14
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+jchardet (1.1-1) unstable; urgency=low
+
+ * Initial release. (Closes: #721624)
+
+ -- Eugenio Cano-Manuel Mendoza <eugeniocanom at gmail.com> Thu, 29 Aug 2013 13:21:42 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..601138a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,42 @@
+Source: jchardet
+Section: java
+Priority: optional
+Maintainer: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
+Uploaders: Eugenio Cano-Manuel Mendoza <eugeniocanom at gmail.com>
+Build-Depends:
+ debhelper (>= 9),
+ default-jdk,
+ javahelper (>= 0.43),
+ ant,
+ maven-repo-helper (>= 1.5)
+Standards-Version: 3.9.4
+Vcs-Git: git://anonscm.debian.org/pkg-java/jchardet.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/jchardet.git
+Homepage: http://jchardet.sourceforge.net/
+
+Package: libjchardet-java
+Architecture: all
+Depends:
+ ${java:Depends},
+ ${misc:Depends}
+Recommends: ${java:Recommends}
+Description: Java port of Mozilla charset detector
+ jchardet is a Java port of the source from mozilla's automatic charset
+ detection algorithm originally written by Frank Tang. It can detect the
+ following charsets:
+ .
+ * Big5
+ * windows-1252
+ * EUC-JP
+ * EUC-KR
+ * x-euc-tw
+ * GB18030
+ * GB2312
+ * HZ-GB-2312
+ * ISO-2022-CN
+ * ISO-2022-JP
+ * ISO-2022-KR
+ * Shift_JIS
+ * UTF-16BE
+ * UTF-16LE
+ * UTF-8
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..6e31485
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,58 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: jchardet
+Source: http://jchardet.sourceforge.net/
+Comment: The author of this library is vdoss however this library is a port
+ of the Mozilla Charset Detector which belongs to Netscape Communications
+ Corporation (C) 1998. See src/* for more info.
+
+Files: *
+Copyright: vdoss <i18nfaq at users.sourceforge.net>
+License: MPL-1.1 or GPL-2.0 or LGPL-2.1
+
+Files: debian/*
+Copyright: 2013 Eugenio Cano-Manuel Mendoza <eugeniocanom at gmail.com>
+License: MPL-1.1 or GPL-2.0 or LGPL-2.1
+
+License: MPL-1.1
+ The complete text of the Mozilla Public License can be found in
+ the `MPL' file in the same directory as this file.
+
+License: GPL-2.0
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ On Debian systems the full text of the GNU General Public License
+ can be found in the file `/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2.1
+ This program is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this program; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
+ USAv
+ .
+ On Debian systems the full text of the GNU Lesser General Public
+ License can can be found in the file
+ `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/libjchardet-java.jlibs b/debian/libjchardet-java.jlibs
new file mode 100644
index 0000000..c157e88
--- /dev/null
+++ b/debian/libjchardet-java.jlibs
@@ -0,0 +1 @@
+dist/lib/jchardet.jar
diff --git a/debian/libjchardet-java.poms b/debian/libjchardet-java.poms
new file mode 100644
index 0000000..71607e7
--- /dev/null
+++ b/debian/libjchardet-java.poms
@@ -0,0 +1,2 @@
+debian/pom.xml --usj-name=jchardet
+
diff --git a/debian/pom.xml b/debian/pom.xml
new file mode 100644
index 0000000..c8c01f2
--- /dev/null
+++ b/debian/pom.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0"?><project>
+ <modelVersion>4.0.0</modelVersion>
+ <groupId>net.sourceforge.jchardet</groupId>
+ <artifactId>jchardet</artifactId>
+ <name>Java port of Mozilla charset detector</name>
+ <version>1.1</version>
+ <description>Java port of Mozilla's automatic charset detection algorithm.
+ See... <a href=\"http://www.mozilla.org/projects/intl/chardet.html\">
+ http://www.mozilla.org/projects/intl/chardet.html </a>for
+ the details of the orginal code and Author.</description>
+ <url>http://maven.apache.org</url>
+ <licenses>
+ <license>
+ <name>Mozilla Public License 1.1 (MPL 1.1)</name>
+ <url>http://www.mozilla.org/MPL/MPL-1.1.html</url>
+ <distribution>repo</distribution>
+ </license>
+ </licenses>
+ <scm>
+ <connection>scm:cvs:pserver:anonymous at jchardet.cvs.sourceforge.net:/cvsroot/jchardet</connection>
+ <url>http://jchardet.cvs.sourceforge.net/jchardet/</url>
+ </scm>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>2.0.2</version>
+ <configuration>
+ <source>1.4</source>
+ <target>1.4</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ <distributionManagement>
+ <status>deployed</status>
+ </distributionManagement>
+</project>
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..49251e9
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+export JAVA_HOME=/usr/lib/jvm/default-java
+
+%:
+ dh $@ --with javahelper,jh_maven_repo_helper
+
+override_jh_installlibs:
+ mv dist/lib/chardet.jar dist/lib/jchardet.jar
+ jh_installlibs
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..2a7e2ce
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/jchardet/jchardet-(.+)\.zip
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jchardet.git
More information about the pkg-java-commits
mailing list