debian/0000755000000000000000000000000012207275237007175 5ustar debian/maven.cleanIgnoreRules0000644000000000000000000000150112207173465013463 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.ignoreRules0000644000000000000000000000037512207173465012530 0ustar org.apache.maven.plugins maven-assembly-plugin * * * * org.apache.maven.plugins maven-eclipse-plugin * * * * org.apache.maven.plugins maven-release-plugin * * * * org.apache.maven.plugins maven-source-plugin * * * * org.sonatype.oss oss-parent * * * * debian/maven.publishedRules0000644000000000000000000000164212207173465013222 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/ debian/libgoogle-gson-java.poms0000644000000000000000000000317312207173465013727 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.rules0000644000000000000000000000160412207173465011360 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/ junit junit jar s/3\..*/3.x/ * * debian/libgoogle-gson-java-doc.install0000644000000000000000000000006712207173465015161 0ustar target/apidocs/* usr/share/doc/libgoogle-gson-java/api debian/watch0000644000000000000000000000026312207173465010227 0ustar version=3 http://code.google.com/p/google-gson/downloads/list?can=1 \ .*/google-gson-(\d[\d\.]*)-release\.(?:zip|tgz|tbz2|txz|tar\.gz|tar\.bz2|tar\.xz) debian debian/orig-tar.sh debian/rules0000755000000000000000000000036012207173465010254 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/maven.mk JAVA_HOME := /usr/lib/jvm/default-java get-orig-source: uscan --force-download --download-version $(DEB_UPSTREAM_VERSION) --rename debian/changelog0000644000000000000000000000257012207173465011053 0ustar libgoogle-gson-java (2.2.4-1) unstable; urgency=low * New upstream release * debian/control: - Use canonical URLs for the Vcs-* fields - Updated Standards-Version to 3.9.4 (no changes) - Removed the build dependency on libmaven-cobertura-plugin-java - Removed the build dependency on libmaven-assembly-plugin-java - Removed the explicit build dependency on libmaven-compiler-plugin-java - Removed the explicit build dependency on maven-repo-helper - Removed the unused build dependency on javahelper * Removed custom-build.patch and use Maven rules to ignore the unused dependencies * Register the Javadoc with doc-base * debian/rules: Added a get-orig-source target * debian/copyright: Updated the Format URI to 1.0 * Added debian/orig-tar.sh to build the tarball from the upstream SVN repository and documented the process in debian/README.source -- Emmanuel Bourg Tue, 27 Aug 2013 15:30:05 +0200 libgoogle-gson-java (2.1-2) unstable; urgency=low * Team upload. * Modify d/poms file for m-d-h behavior change. (Closes: #670658) * Bump Standards-Version to 3.9.3 (no changes). -- tony mancill Fri, 27 Apr 2012 13:55:49 -0700 libgoogle-gson-java (2.1-1) unstable; urgency=low * Initial release. (Closes: #654949) -- Jakub Adam Thu, 05 Jan 2012 23:13:41 +0100 debian/orig-tar.sh0000755000000000000000000000043412207173465011261 0ustar #!/bin/sh set -e PACKAGE=libgoogle-gson-java VERSION=$2 TAR=../${PACKAGE}_${VERSION}.orig.tar.gz DIR=google-gson SVNROOT=http://google-gson.googlecode.com/svn/tags/gson-$VERSION rm $3 svn export $SVNROOT $DIR GZIP=--best tar --exclude $DIR/docs/javadocs -zcf $TAR $DIR rm -rf $DIR debian/source/0000755000000000000000000000000012207173465010475 5ustar debian/source/format0000644000000000000000000000001412207173465011703 0ustar 3.0 (quilt) debian/README.source0000644000000000000000000000066512207173465011363 0ustar Information about libgoogle-gson-java ------------------------------------- Upstream doesn't provide a tarball containing a buildable source tree. The zip files monitored by the watch file contains a source jar with no build script. To work around this issue the debian/orig-tar.sh has been added to fetch the sources from the upstream SVN repository. This script is to be invoked by calling the get-orig-source target of debian/rules. debian/compat0000644000000000000000000000000212207173465010373 0ustar 8 debian/copyright0000644000000000000000000000100412207173465011123 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Google Gson Upstream-Authors: Inderjeet Singh, Trymph Inc. Joel Leitch, Google Inc. Jesse Wilson, Google Inc. Files: * Copyright: 2008-2013, Google Inc License: Apache-2.0 Files: debian/* Copyright: 2012, Debian Java Maintainers License: Apache-2.0 License: Apache-2.0 For full text of Apache 2.0 license agreement see /usr/share/common-licenses/Apache-2.0 debian/libgoogle-gson-java-doc.doc-base0000644000000000000000000000034012207173465015162 0ustar Document: libgoogle-gson-java Title: Javadoc for the Google Gson API Author: Google Section: Programming Format: HTML Index: /usr/share/doc/libgoogle-gson-java/api/index.html Files: /usr/share/doc/libgoogle-gson-java/api/* debian/control0000644000000000000000000000460512207173465010605 0ustar Source: libgoogle-gson-java Priority: optional Section: java Maintainer: Debian Java Maintainers Uploaders: Jakub Adam , Emmanuel Bourg Build-Depends: debhelper (>= 8~), cdbs, default-jdk, libmaven-javadoc-plugin-java, maven-debian-helper Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/pkg-java/libgoogle-gson-java.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/libgoogle-gson-java.git Homepage: http://code.google.com/p/google-gson/ Package: libgoogle-gson-java Architecture: all Depends: ${maven:Depends}, ${misc:Depends} Recommends: ${maven:OptionalDepends} Suggests: libgoogle-gson-java-doc Description: Converts Java objects into their JSON representation Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. . Gson Goals . * Provide simple toJson() and fromJson() methods to convert Java objects to JSON and vice-versa * Allow pre-existing unmodifiable objects to be converted to and from JSON * Extensive support of Java Generics * Allow custom representations for objects * Support arbitrarily complex objects (with deep inheritance hierarchies and extensive use of generic types) Package: libgoogle-gson-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Suggests: libgoogle-gson-java Description: Documentation for libgoogle-gson-java Gson is a Java library that can be used to convert Java Objects into their JSON representation. It can also be used to convert a JSON string to an equivalent Java object. Gson can work with arbitrary Java objects including pre-existing objects that you do not have source-code of. . Gson Goals . * Provide simple toJson() and fromJson() methods to convert Java objects to JSON and vice-versa * Allow pre-existing unmodifiable objects to be converted to and from JSON * Extensive support of Java Generics * Allow custom representations for objects * Support arbitrarily complex objects (with deep inheritance hierarchies and extensive use of generic types) . This package contains the Javadoc API documentation.