debian/0000755000000000000000000000000011715137046007173 5ustar debian/libhamcrest1.2-java-doc.install0000644000000000000000000000007011715136201014750 0ustar build/javadoc/* /usr/share/doc/libhamcrest1.2-java/api/ debian/manifest/0000755000000000000000000000000011666214560011003 5ustar debian/manifest/core.mf0000644000000000000000000000067311304340217012251 0ustar Manifest-Version: 1.0 Bundle-Vendor: Hamcrest Bundle-ActivationPolicy: lazy Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-Name: Hamcrest Core Bundle-SymbolicName: org.hamcrest.core Export-Package: org.hamcrest;version="1.1.0";core=split;mandatory:=cor e,org.hamcrest.core;version="1.1.0",org.hamcrest.internal;version="1. 1.0";x-internal:=true Bundle-Version: 1.1.0 Bundle-ManifestVersion: 2 debian/manifest/integration.mf0000644000000000000000000000112511304340217013635 0ustar Manifest-Version: 1.0 Bundle-Vendor: Hamcrest Bundle-ActivationPolicy: lazy Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-Name: Hamcrest Integration Bundle-SymbolicName: org.hamcrest.integration Require-Bundle: org.hamcrest.core;bundle-version="1.1.0" Export-Package: org.hamcrest;integration=split;mandatory:=integration; version="1.1.0",org.hamcrest.integration;version="1.1.0" Bundle-Version: 1.1.0 Bundle-ManifestVersion: 2 Import-Package: org.easymock;version="2.4.0";resolution:=optional,org. jmock.core;version="1.10";resolution:=optional debian/manifest/library.mf0000644000000000000000000000120211304340217012752 0ustar Manifest-Version: 1.0 Bundle-Vendor: Hamcrest Bundle-ActivationPolicy: lazy Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-Name: Hamcrest Library Bundle-SymbolicName: org.hamcrest.library Require-Bundle: org.hamcrest.core;bundle-version="1.1.0" Export-Package: org.hamcrest;version="1.1.0";library=split;mandatory:= library,org.hamcrest.beans;version="1.1.0",org.hamcrest.collection;ve rsion="1.1.0",org.hamcrest.number;version="1.1.0",org.hamcrest.object ;version="1.1.0",org.hamcrest.text;version="1.1.0",org.hamcrest.xml;v ersion="1.1.0" Bundle-Version: 1.1.0 Bundle-ManifestVersion: 2 debian/manifest/generator.mf0000644000000000000000000000156611304340217013311 0ustar Manifest-Version: 1.0 Bundle-Vendor: Hamcrest Bundle-ActivationPolicy: lazy Bundle-Localization: plugin Bundle-RequiredExecutionEnvironment: J2SE-1.5 Bundle-Name: Hamcrest Generator Bundle-SymbolicName: org.hamcrest.generator Export-Package: org.hamcrest.generator;version="1.1.0",org.hamcrest.ge nerator.config;version="1.1.0" Bundle-Version: 1.1.0 Bundle-ManifestVersion: 2 Import-Package: com.thoughtworks.qdox;version="1.6.3",com.thoughtworks .qdox.ant;version="1.6.3",com.thoughtworks.qdox.directorywalker;versi on="1.6.3",com.thoughtworks.qdox.junit;version="1.6.3",com.thoughtwor ks.qdox.model;version="1.6.3",com.thoughtworks.qdox.model.util;versio n="1.6.3",com.thoughtworks.qdox.parser;version="1.6.3",com.thoughtwor ks.qdox.parser.impl;version="1.6.3",com.thoughtworks.qdox.parser.stru cts;version="1.6.3",com.thoughtworks.qdox.tools;version="1.6.3" debian/compat0000644000000000000000000000000211256611134010364 0ustar 7 debian/README.source0000644000000000000000000000061311347206221011343 0ustar Information about libhamcrest ----------------------------- REPACKAGING The upstream supplied source package contains binary jar files, and hence upstream sources have been repackaged. Please use the get-orig-source target from debian/rules to create the orig.tar.gz used for Debian packaging. For more details on repackaging of upstream sources please see the debian/orig-tar.sh file. debian/orig-tar.sh0000755000000000000000000000077211401272424011254 0ustar #!/bin/sh -e # called by uscan with '--upstream-version' VERSION=$2 TAR=../libhamcrest-java_$VERSION.orig.tar.gz SOURCE=$(dpkg-parsechangelog | sed -ne 's,Source: \(.*\),\1,p') DIR=${SOURCE}-$2 # clean up the upstream tarball tar -z -x -f $3 rm $3 mv hamcrest-$2 $DIR GZIP=--best tar -c -z -f $TAR --exclude '*.jar' --exclude '*/lib/*' $DIR rm -rf $DIR # move to directory 'tarballs' if [ -r .svn/deb-layout ]; then . .svn/deb-layout mv $3 $origDir echo "moved $3 to $origDir" fi debian/control0000644000000000000000000000331611715104632010574 0ustar Source: libhamcrest1.2-java Section: java Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Michael Koch , Damien Raude-Morvan Build-Depends: cdbs, debhelper (>= 7), ant, default-jdk, maven-repo-helper Build-Depends-Indep: libqdox-java, libeasymock-java, libjmock-java, libjarjar-java, default-jdk-doc, junit-doc, junit4-doc, junit, junit4, testng Standards-Version: 3.9.2 Homepage: http://code.google.com/p/hamcrest/ Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/libhamcrest-java Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/libhamcrest-java Package: libhamcrest1.2-java Architecture: all Depends: ${misc:Depends} Description: library of matchers for building test expressions Provides a library of matcher objects (also known as constraints or predicates) allowing 'match' rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rules. Package: libhamcrest1.2-java-doc Architecture: all Section: doc Depends: ${misc:Depends} Recommends: default-jdk-doc, junit-doc, junit4-doc Suggests: libhamcrest-java Description: library of matchers for building test expressions - documentation Provides a library of matcher objects (also known as constraints or predicates) allowing 'match' rules to be defined declaratively, to be used in other frameworks. Typical scenarios include testing frameworks, mocking libraries and UI validation rules. . This package contains Javadoc API documentation of Hamcrest. debian/rules0000755000000000000000000000267511715136540010263 0ustar #!/usr/bin/make -f include /usr/share/cdbs/1/class/ant.mk include /usr/share/cdbs/1/rules/debhelper.mk JAVA_HOME := /usr/lib/jvm/default-java DEB_ANT_BUILDFILE := build.xml DEB_ANT_BUILD_TARGET := core generator integration library javadoc DEB_JARS := easymock jmock qdox ANT_OPTS := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 -Dversion=$(DEB_UPSTREAM_VERSION) POMS := core generator integration library DEST_DIR = $(DEB_DESTDIR)/usr/share/java binary-post-install/libhamcrest1.2-java:: # Add OSGi-metadata to the manifests. # This is needed for eclipse. for manifest in debian/manifest/*.mf ; do \ base=`basename $$manifest .mf` ; \ jar umf $$manifest build/hamcrest-$$base-*.jar ; \ done for pom in $(POMS); do \ pomfile=debian/poms/$$pom.xml; \ mh_installpom -o -e$(DEB_UPSTREAM_VERSION) \ -plibhamcrest1.2-java $$pomfile; \ mh_installjar -s -l -e$(DEB_UPSTREAM_VERSION) -j$(DEB_UPSTREAM_VERSION) \ -plibhamcrest1.2-java $$pomfile build/hamcrest-$$pom-$(DEB_UPSTREAM_VERSION).jar; \ done #remove "debian" version as it will collide with default hamcrest package for LIBNAME in core generator integration library; do\ rm -rf $(CURDIR)/debian/libhamcrest1.2-java/usr/share/maven-repo/org/hamcrest/hamcrest-$$LIBNAME/debian;\ done clean:: rm -fr debian/.mh/ rm -f *.jar mkdir -p lib/integration get-orig-source: -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --debug --rename debian/watch0000644000000000000000000000035611401272424010220 0ustar version=3 opts="downloadurlmangle=s|.*(hamcrest-.*\.tgz).*|http://hamcrest.googlecode.com/files/$1|,filenamemangle=s/.*=(.*)/$1/" \ http://code.google.com/p/hamcrest/downloads/list .*?name=hamcrest-(.*).tgz&.* debian debian/orig-tar.sh debian/changelog0000644000000000000000000000570611715104602011045 0ustar libhamcrest1.2-java (1.2-0ubuntu1) precise; urgency=low * New upstream release * Bumped Standards-Version to 3.9.2 (no changes) * Versioned package name as junit still fails to build against version 1.2. -- Brian Thomason Fri, 02 Dec 2011 17:55:55 +0000 libhamcrest-java (1.1-8) unstable; urgency=low * Team upload. * Re-added OSGi-metadata to the jar files. * Removed depends on JRE; which is no longer needed per the Java Policy. * Removed some B-D-I that appeared twice. * Added missing description to a patch. * Fixed clean target - it forgot to remvoe some maven-helper files. -- Niels Thykier Sun, 27 Jun 2010 17:29:24 +0200 libhamcrest-java (1.1-7) unstable; urgency=low * Update watch file * Use upstream build.xml with necessary patches for the build, delete debian/build.xml * Add Build-Depends on libjarjar-java, default-jdk-doc, junit-doc junit4-doc, junit, junit4, libeasymock-java, libjmock-java, testng * Add documentation package containing the javadoc for the package -- Ludovic Claude Fri, 28 May 2010 23:34:45 +0200 libhamcrest-java (1.1-6) unstable; urgency=low [ Gabriele Giacone ] * Added Maven support. - added poms taken from upstream svn trunk - added d/copyright section for debian/poms - added maven-repo-helper to Build-Depends [ Damien Raude-Morvan ] * Upload to unstable -- Damien Raude-Morvan Fri, 19 Mar 2010 22:42:34 +0100 libhamcrest-java (1.1-5) unstable; urgency=low [ Gabriele Giacone ] * Added generation of one class with all static imports (Matchers.class). * Standards-Version to 3.8.4. * Source format 3.0 (quilt). * d/copyright converted to DEP-5 format. * Repackaging info moved from d/copyright to d/README.source [ Damien Raude-Morvan ] * Upload to unstable -- Damien Raude-Morvan Sun, 14 Mar 2010 22:18:34 +0100 libhamcrest-java (1.1-4) unstable; urgency=low [ Thierry Carrez ] * Set minimal dependency to java5-runtime-headless since we build Java5 code [ Damien Raude-Morvan ] * Add myself to Uploaders * Add debian/manifest/*.mf for OSGi metadata (Closes: #558185) -- Damien Raude-Morvan Sun, 29 Nov 2009 01:07:12 +0100 libhamcrest-java (1.1-3) unstable; urgency=low * (Build-)Depends on default-jdk. * Build-Depends on debhelper >= 7. * Put package into section 'java'. * Added Depends ${misc:Depends}. * Added myself to Uploaders. * Updated Standards-Version to 3.8.3. -- Michael Koch Thu, 24 Sep 2009 08:04:44 +0200 libhamcrest-java (1.1-2) unstable; urgency=low * Fix java bytecode / java runtime version mismatch (Closes: #503799) -- Varun Hiremath Sat, 01 Nov 2008 03:21:49 -0400 libhamcrest-java (1.1-1) unstable; urgency=low * Initial release (Closes: #470523) -- Varun Hiremath Tue, 15 Jul 2008 22:24:09 +0530 debian/libhamcrest1.2-java-doc.doc-base0000644000000000000000000000045611715137041014772 0ustar Document: libhamcrest1.2-javadoc Title: API Javadoc for Hamcrest Author: Hamcrest developers Abstract: This is the API Javadoc provided by the Hamcrest library. Section: Programming Format: HTML Index: /usr/share/doc/libhamcrest1.2-java/api/index.html Files: /usr/share/doc/libhamcrest1.2-java/api/* debian/source/0000755000000000000000000000000011671702567010502 5ustar debian/source/format0000644000000000000000000000001411347206221011672 0ustar 3.0 (quilt) debian/ant.properties0000644000000000000000000000067211666213437012104 0ustar project.name=libhamcrest-java class.dir=classes source.dir=src/main/java hamcrest-core.dir=hamcrest-core hamcrest-integration.dir=hamcrest-integration hamcrest-generator.dir=hamcrest-generator hamcrest-library.dir=hamcrest-library hamcrest-core.jar=hamcrest-core.jar hamcrest-integration.jar=hamcrest-integration.jar hamcrest-generator.jar=hamcrest-generator.jar hamcrest-library.jar=hamcrest-library.jar qdox.jar=/usr/share/java/qdox.jar debian/patches/0000755000000000000000000000000011671703215010620 5ustar debian/patches/001-build.patch0000600000000000000000000000653511671703204013235 0ustar Description: Fixes some classpaths and makes the javadoc link against system installed javadocs. Author: Ludovic Claude --- libhamcrest-java-1.2.orig/build.xml +++ libhamcrest-java-1.2/build.xml @@ -26,17 +26,17 @@ + classpath="/usr/share/java/jarjar.jar"/> - + @@ -94,6 +94,18 @@ classpath="build/hamcrest-core-${version}.jar"/> + + @@ -196,19 +208,27 @@ - + + + + + + + + - + + debian/patches/series0000644000000000000000000000002011671703215012025 0ustar 001-build.patch debian/poms/0000755000000000000000000000000011715106514010145 5ustar debian/poms/library.xml0000644000000000000000000000126211347302100012322 0ustar 4.0.0 org.hamcrest hamcrest-parent 1.2-SNAPSHOT hamcrest-library jar Hamcrest Library ${pom.groupId} hamcrest-core ${pom.version} debian/poms/generator.xml0000644000000000000000000000126611347302100012650 0ustar 4.0.0 org.hamcrest hamcrest-parent 1.2-SNAPSHOT hamcrest-generator jar Hamcrest Generator ${pom.groupId} hamcrest-core ${pom.version} debian/poms/core.xml0000644000000000000000000000075111347302100011610 0ustar 4.0.0 org.hamcrest hamcrest-parent 1.2-SNAPSHOT hamcrest-core jar Hamcrest Core debian/poms/integration.xml0000644000000000000000000000127211347302100013202 0ustar 4.0.0 org.hamcrest hamcrest-parent 1.2-SNAPSHOT hamcrest-integration jar Hamcrest Integration ${pom.groupId} hamcrest-core ${pom.version} debian/copyright0000644000000000000000000000351211671704716011134 0ustar Format: http://dep.debian.net/deps/dep5/ Source: http://code.google.com/p/hamcrest/ Files: * Copyright: 2000-2006, www.hamcrest.org License: BSD Copyright (c) The Regents of the University of California. All rights reserved. . Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2008, Varun Hiremath License: GPL On Debian systems, the complete text of the GPL License can be found in `/usr/share/common-licenses/GPL'.