debian/0000755000000000000000000000000012217622023007163 5ustar debian/control0000644000000000000000000000270612217565455010612 0ustar Source: json-simple Section: java Priority: extra Maintainer: Debian Java maintainers Uploaders: Gilles Filippini Build-Depends: debhelper (>= 7.0.50~), javahelper, default-jdk, ant, default-jdk-doc, maven-repo-helper (>= 1.6~) Standards-Version: 3.9.4 Homepage: http://code.google.com/p/json-simple/ Vcs-Git: git://anonscm.debian.org/pkg-java/json-simple.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-java/json-simple.git;a=summary Package: libjson-simple-java Architecture: all Depends: ${java:Depends}, ${misc:Depends} Suggests: libjson-simple-doc Description: Simple, lightweight and efficient JSON toolkit for Java While full featured and fully compliant with the JSON specification (RFC4627), JSON.simple aims to be as simple and efficient as possible. . It supports encoding, decoding and escaping JSON data and streams, and features a stoppable SAX-like interface to process JSON input. . It has been run through profiling tools to ensure high performance processing. . Targeted at JDK 6, JSON.simple is also compatible with JDK 1.2 and doesn't depend on any other Java library. Package: libjson-simple-doc Section: doc Architecture: all Depends: ${misc:Depends} Recommends: default-jdk-doc Description: documentation for libjson-simple-java This package contains the javadoc API documentation for libjson-simple-java, a simple, lightweight and efficient JSON toolkit for Java. debian/README.Debian0000644000000000000000000000101512217617250011227 0ustar Jar file name change starting with release 1.1.1 ------------------------------------------------ Up to release 1.1, the jar filename was 'json_simple.jar'. Starting with release 1.1.1 it is 'json-simple.jar'. The symbolic link: /usr/share/java/json_simple.jar -> json-simple.jar is provided for convenience in this package, but will be removed in a next upload. Packages build depending on libjson-simple-java must be adapted to use the new name. -- Gilles Filippini Sun, 22 Sep 2013 18:42:47 +0200 debian/libjson-simple-java.poms0000644000000000000000000000003712217611365013740 0ustar pom.xml --usj-name=json-simple debian/libjson-simple-doc.doc-base0000644000000000000000000000067012217553256014272 0ustar Document: libjson-simple-java Title: Programmer API for json-simple Author: Yidong Fang Chris Nokleberg Dave Hughes Abstract: Javadocs for json-simple, a simple, lightweight and efficient JSON toolkit for Java Section: Programming/Java Format: HTML Index: /usr/share/doc/libjson-simple-java/api/index.html Files: /usr/share/doc/libjson-simple-java/api/*.html debian/orig-tar.sh0000755000000000000000000000174012217125400011245 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' SOURCE_NAME=json-simple VERSION=$2 EXCLUDE_FILE="$(dirname "$0")/$(basename "$0" .sh).exclude" if [ -f "${EXCLUDE_FILE}" ]; then DEBIAN_VERSION=$VERSION+dfsg1 else DEBIAN_VERSION=$VERSION fi DEBIAN_SOURCE_DIR=${SOURCE_NAME}-$DEBIAN_VERSION TAR=${USCAN_DESTDIR:-..}/${SOURCE_NAME}_$DEBIAN_VERSION.orig.tar.bz2 FLAG_FILE="$3" # Mandatory cleanup clean () { rm -fr ${DEBIAN_SOURCE_DIR} ${FLAG_FILE} } trap 'clean' EXIT INT QUIT KILL ABRT # Get the source tree from SVN svn export http://json-simple.googlecode.com/svn/tags/tag_release_$(echo $VERSION | sed 's/\./_/g') ${DEBIAN_SOURCE_DIR} # Build orig tarball if [ -f "${EXCLUDE_FILE}" ]; then tar -c -j -X debian/orig-tar.exclude -f $TAR ${DEBIAN_SOURCE_DIR}/ echo "${SOURCE_NAME}: Applied DFSG removals and set up tarball to `basename ${TAR}`" else tar -c -j -f $TAR ${DEBIAN_SOURCE_DIR}/ echo "${SOURCE_NAME}: Set up tarball to `basename ${TAR}`" fi debian/copyright0000644000000000000000000000343712217553337011140 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: json-simple Source: http://code.google.com/p/json-simple/ JAR files removed from upstream ZIP archive. Files: * Copyright: 2006-2012, Yidong Fang 2006-2012, Chris Nokleberg 2012, Dave Hughes License: Apache-2.0 Files: debian/* Copyright: 2011 Gilles Filippini License: GPL-3+ 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. . On Debian systems the full text of the Apache license version 2.0 can be found in the `/usr/share/common-licenses/Apache-2.0' file. License: GPL-3+ 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 3 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. . On Debian systems the full text of the GNU General Public License version 3 can be found in the `/usr/share/common-licenses/GPL-3' file. debian/compat0000644000000000000000000000000211533270320010360 0ustar 7 debian/libjson-simple-java.links0000644000000000000000000000007612217614424014104 0ustar usr/share/java/json-simple.jar usr/share/java/json_simple.jar debian/changelog0000644000000000000000000000340012217621302011031 0ustar json-simple (1.1.1-1) unstable; urgency=low [ Gilles Filippini ] * New upstream release (closes: #723048): + Supports OSGi + Accepts a java.util.Map parameter in constructor of JSONObject + Maven support * Fetch the source tarball directly from upstream SVN (no upstream tarball to download for this release) * No more need to exclude jar files from the source tree * Drop debian/pom.xml no needed anymore * debian/rules, debian/libjson-simple-java.jlibs, debian/libjson-simple-java.poms: fix paths * debian/copyright, debian/libjson-simple-doc.doc-base: add Dave Hughes to authors * debian/control: + Maintainer: Debian Java Maintainers + Fix VCS fields to use anonscm.debian.org + Bump Standards-Version to 3.9.4 (no changes needed) * Add a temporary convenience symbolic link to workaround the jar filename change from json_simple.jar to json-simple.jar. This should prevent FTBFSs for packages build depending on libjson-simple-java until they are fixed. [ Andrew Ross ] * debian/rules: fix clean target to match the new source tree * debian/libjson-simple-java.poms: add --usj-name option to allow linking to jar in /u/s/j -- Gilles Filippini Sun, 22 Sep 2013 19:02:54 +0200 json-simple (1.1-dfsg1-2) unstable; urgency=low * Install Maven artifacts into /usr/share/maven-repo (thanks to Thomas Koch ; closes: #681947) * d/copyright: upgrade to machine-readable format 1.0 * d/control: bump Standards-Version to 3.9.3 -- Gilles Filippini Mon, 23 Jul 2012 12:55:11 +0200 json-simple (1.1-dfsg1-1) unstable; urgency=low * Initial release. (Closes: #614688) -- Gilles Filippini Mon, 14 Mar 2011 22:19:25 +0100 debian/libjson-simple-java.jlibs0000644000000000000000000000003512217265022014056 0ustar target/json-simple-1.1.1.jar debian/libjson-simple-doc.install0000644000000000000000000000005511537474143014261 0ustar docs/* usr/share/doc/libjson-simple-java/api debian/rules0000755000000000000000000000136512217611365010257 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 # This has to be exported to make some magic below work. export DH_OPTIONS export JAVA_HOME=/usr/lib/jvm/default-java %: dh $@ --with javahelper --with jh_maven_repo_helper override_dh_auto_build: dh_auto_build javadoc -windowtitle "Javadoc of json-simple" \ -sourcepath src/main/java -d docs \ -link /usr/share/doc/default-jdk-doc/api \ org.json.simple override_dh_auto_clean: [ ! -d target ] || dh_auto_clean rm -fr docs get-orig-source: destdir=$(CURDIR) && \ cd $(shell dirname $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))/.. && \ USCAN_DESTDIR=$$destdir uscan --noconf --force-download --rename debian/source/0000755000000000000000000000000011533270373010472 5ustar debian/source/format0000644000000000000000000000001411533270373011700 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000073512217121153010217 0ustar version=3 #opts="dversionmangle=s/-dfsg\d+$//" \ #http://code.google.com/p/json-simple/downloads/list .*/json_simple-(.*)-all\.zip \ #debian debian/orig-tar.sh opts="uversionmangle=s/_/./g;s/\/.*//,filenamemangle=s/\///;s/tag_release_/json-simple-/;s/_/./g;s/$/.svn/" \ http://json-simple.googlecode.com/svn/tags/tag_release_(\d\S*) \ debian debian/orig-tar.sh #http://code.google.com/p//downloads/list .*/-(\d\S*)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))