debian/0000775000000000000000000000000012336356215007176 5ustar debian/manifest/0000775000000000000000000000000012334705351011001 5ustar debian/manifest/core.mf0000664000000000000000000000067112334705351012261 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.3.0";core=split;mandatory:=cor e,org.hamcrest.core;version="1.3.0",org.hamcrest.internal;version="1. 3.0";x-internal:=true Bundle-Version: 1.3.0 Bundle-ManifestVersion: 2 debian/manifest/generator.mf0000664000000000000000000000155512334705351013321 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.3.0",org.hamcrest.ge nerator.config;version="1.3.0" Bundle-Version: 1.3.0 Bundle-ManifestVersion: 2 Import-Package: com.thoughtworks.qdox;version="1.12",com.thoughtworks. qdox.ant;version="1.12",com.thoughtworks.qdox.directorywalker;version ="1.12",com.thoughtworks.qdox.junit;version="1.12",com.thoughtworks.q dox.model;version="1.12",com.thoughtworks.qdox.model.util;versio n="1 .12",com.thoughtworks.qdox.parser;version="1.12",com.thoughtworks.qdo x.parser.impl;version="1.12",com.thoughtworks.qdox.parser.structs;ver sion="1.12",com.thoughtworks.qdox.tools;version="1.12" debian/manifest/integration.mf0000664000000000000000000000112512334705351013647 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.3.0" Export-Package: org.hamcrest;integration=split;mandatory:=integration; version="1.3.0",org.hamcrest.integration;version="1.3.0" Bundle-Version: 1.3.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.mf0000664000000000000000000000120212334705351012764 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.3.0" Export-Package: org.hamcrest;version="1.3.0";library=split;mandatory:= library,org.hamcrest.beans;version="1.3.0",org.hamcrest.collection;ve rsion="1.3.0",org.hamcrest.number;version="1.3.0",org.hamcrest.object ;version="1.3.0",org.hamcrest.text;version="1.3.0",org.hamcrest.xml;v ersion="1.3.0" Bundle-Version: 1.3.0 Bundle-ManifestVersion: 2 debian/patches/0000775000000000000000000000000012336355501010622 5ustar debian/patches/001-build.patch0000664000000000000000000001223612334705351013244 0ustar Description: Fixes some classpaths and makes the javadoc link against system installed javadocs. Author: Ludovic Claude Forwarded: not-needed --- a/build.xml +++ b/build.xml @@ -14,13 +14,13 @@ + classpath="/usr/share/java/qdox.jar"/> - + - + @@ -93,14 +93,17 @@ - - - + + + + + + @@ -152,7 +155,7 @@ + windowtitle="Hamcrest" source="1.6" failonerror="no" overview="overview.html"> @@ -166,8 +169,8 @@ - - + + @@ -286,10 +289,13 @@ - - - + + + + + + @@ -317,7 +323,7 @@ - + debian/patches/002-fix-random-compilation-failure.patch0000664000000000000000000000102712334705351020147 0ustar Description: Fixes a random compilation failure Author: Emmanuel Bourg Forwarded: yes Bug-Debian: https://bugs.debian.org/738789 --- a/build.xml +++ b/build.xml @@ -36,7 +36,7 @@ fork="yes" failonerror="yes" classpath=" - build/hamcrest-core-${version}.jar; + build/temp/hamcrest-core-${version}.jar.contents; build/hamcrest-generator-${version}.jar; "> debian/patches/series0000664000000000000000000000012312336351350012031 0ustar 001-build.patch 002-fix-random-compilation-failure.patch disable-integration.patch debian/patches/disable-integration.patch0000664000000000000000000001046312336355501015573 0ustar --- a/build.xml +++ b/build.xml @@ -84,18 +84,16 @@ build/hamcrest-library-${version}.jar"/> - + - @@ -109,6 +107,7 @@ + @@ -122,7 +121,7 @@ build/hamcrest-integration-${version}.jar"/> - @@ -136,13 +135,11 @@ - - @@ -150,7 +147,6 @@ - - - debian/source/0000775000000000000000000000000012334705351010473 5ustar debian/source/format0000664000000000000000000000001412334705351011701 0ustar 3.0 (quilt) debian/changelog0000664000000000000000000001260412336356215011053 0ustar libhamcrest-java (1.3-5ubuntu1) utopic; urgency=medium * Drop integration component, removing dependency on easymock and associated dependency chain which pulls Maven into main: - d/rules: Don't install the integration jar. - d/p/disable-integration.patch: Drop integration classes from bigjar target and general compilation. - d/control: Drop BD on libeasymock-java. - d/rules: Rename EasyMock dependent files during package build. -- James Page Mon, 19 May 2014 11:27:15 +0100 libhamcrest-java (1.3-5) unstable; urgency=medium * Fixed a random build failure (Closes: #738789) -- Emmanuel Bourg Wed, 26 Mar 2014 10:09:07 +0100 libhamcrest-java (1.3-4) unstable; urgency=medium * Removed the unused build dependency on testng * Standards-Version updated to 3.9.5 (no changes) * Switch to debhelper level 9 -- Emmanuel Bourg Tue, 24 Dec 2013 00:06:49 +0100 libhamcrest-java (1.3-3) unstable; urgency=low * Install hamcrest-unit-test.jar in /usr/share/java (Closes: #724950) * Use canonical URLs for the Vcs-* fields -- Emmanuel Bourg Wed, 16 Oct 2013 13:05:07 +0200 libhamcrest-java (1.3-2) unstable; urgency=low * Team upload. * Upload to unstable. -- tony mancill Wed, 22 May 2013 22:14:58 -0700 libhamcrest-java (1.3-1) experimental; urgency=low * Team upload. * New upstream release * Refreshed the patch * The poms from the original source are used instead of those in debian/poms * Added the hamcrest-all.jar to the jars deployed in /usr/share/java * Removed the manifest for the hamcrest-text.jar (no longer used since 1.1) * Updated the OSGi metadata * debian/control: Updated the homepage * debian/control: Removed the deprecated DMUA flag * debian/control: Bumped Standards-Version to 3.9.4 (no changes) * debian/watch: Fixed the version pattern to exclude the PHP versions * debian/copyright: Updated the format URI to the 1.0 version -- Emmanuel Bourg Wed, 10 Apr 2013 14:46:32 +0200 libhamcrest-java (1.2-2) unstable; urgency=low [ by sponsor Steffen Moeller ] * Transition from eperimental (two months with no complaint) to unstable (Closes: #548144). * Removed Michael Koch from uploaders (Closes: #654068) -- Brian Thomason Sat, 04 Feb 2012 14:36:14 +0100 libhamcrest-java (1.2-1) experimental; urgency=low * New upstream release * Bumped Standards-Version to 3.9.2 (no changes) [ by sponsor Steffen Moeller ] * Added Brian to uploaders. * Added DMUA flag. * Added test on existance of file prior to jar generation. -- 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/compat0000664000000000000000000000000212334705351010371 0ustar 9 debian/ant.properties0000664000000000000000000000102312334705351012067 0ustar project.name=libhamcrest-java class.dir=classes source.dir=src/main/java haltonfailure=false hamcrest-core.dir=hamcrest-core hamcrest-integration.dir=hamcrest-integration hamcrest-generator.dir=hamcrest-generator hamcrest-library.dir=hamcrest-library hamcrest-text.dir=hamcrest-text hamcrest-core.jar=hamcrest-core.jar hamcrest-integration.jar=hamcrest-integration.jar hamcrest-generator.jar=hamcrest-generator.jar hamcrest-library.jar=hamcrest-library.jar hamcrest-text.jar=hamcrest-text.jar qdox.jar=/usr/share/java/qdox.jar debian/copyright0000664000000000000000000000355312334705351011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ 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'. debian/libhamcrest-java-doc.install0000664000000000000000000000013012334705351014534 0ustar build/temp/hamcrest-all-1.3-javadoc.jar.contents/* /usr/share/doc/libhamcrest-java/api/ debian/watch0000664000000000000000000000036312334705351010226 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-([\d\.]+).tgz&.* debian debian/orig-tar.sh debian/libhamcrest-java-doc.doc-base0000664000000000000000000000044512334705351014554 0ustar Document: libhamcrest-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/libhamcrest-java/api/index.html Files: /usr/share/doc/libhamcrest-java/api/* debian/orig-tar.sh0000775000000000000000000000077212334705351011264 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/README.source0000664000000000000000000000061312334705351011352 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/control0000664000000000000000000000334012334706043010575 0ustar Source: libhamcrest-java Section: java Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Java Maintainers Uploaders: Varun Hiremath , Damien Raude-Morvan , Brian Thomason , Emmanuel Bourg Build-Depends: cdbs, debhelper (>= 9), ant, ant-optional, default-jdk, maven-repo-helper Build-Depends-Indep: libqdox-java, libjmock-java, libjarjar-java, default-jdk-doc, junit-doc, junit4-doc, junit, junit4 Standards-Version: 3.9.5 Vcs-Svn: svn://anonscm.debian.org/pkg-java/trunk/libhamcrest-java Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-java/trunk/libhamcrest-java Homepage: http://hamcrest.org Package: libhamcrest-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: libhamcrest-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/integration-unit-tests0000664000000000000000000000036212336353405013560 0ustar hamcrest-unit-test/src/main/java/org/hamcrest/JavaLangMatcherAssertTest.java hamcrest-unit-test/src/main/java/org/hamcrest/integration/EasyMock2AdapterTest.java hamcrest-unit-test/src/main/java/org/hamcrest/integration/JMock1AdapterTest.java debian/rules0000775000000000000000000000355712336353616010272 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 := bigjar unit-test javadoc DEB_JARS := jmock qdox ant-junit ANT_OPTS := -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 -Dversion=$(DEB_UPSTREAM_VERSION) POMS := core generator library all DEST_DIR = $(DEB_DESTDIR)/usr/share/java binary-post-install/libhamcrest-java:: # Add OSGi-metadata to the manifests. # This is needed for eclipse. for manifest in debian/manifest/*.mf ; do \ base=`basename $$manifest .mf` ; \ f=`ls build/hamcrest-$$base-$(DEB_UPSTREAM_VERSION).jar` ; \ if [ -n "$$f" ]; then \ echo `basename "$$f"` "[ok]" ; \ jar umf $$manifest $$f ; \ else \ echo "No file like 'build/hamcrest-$$base-$(DEB_UPSTREAM_VERSION).jar' existing." ; \ fi ; \ done for pom in $(POMS); do \ pomfile=hamcrest-$$pom-$(DEB_UPSTREAM_VERSION).pom; \ mh_installpom -o -e$(DEB_UPSTREAM_VERSION) \ -plibhamcrest-java $$pomfile; \ mh_installjar -l -e$(DEB_UPSTREAM_VERSION) -j$(DEB_UPSTREAM_VERSION) \ -plibhamcrest-java $$pomfile build/hamcrest-$$pom-$(DEB_UPSTREAM_VERSION).jar; \ done dh_install -plibhamcrest-java build/hamcrest-unit-test-$(DEB_UPSTREAM_VERSION).jar usr/share/java dh_link -plibhamcrest-java usr/share/java/hamcrest-unit-test-$(DEB_UPSTREAM_VERSION).jar usr/share/java/hamcrest-unit-test.jar clean:: rm -fr debian/.mh/ rm -f *.jar mkdir -p lib/integration for f in `cat debian/integration-unit-tests`; do \ i_f=$${f}.ignore; \ [ -f $$i_f ] && mv $$i_f $$f || : ;\ done pre-build:: for f in `cat debian/integration-unit-tests`; do \ i_f=$${f}.ignore; \ [ -f $$f ] && mv $$f $$i_f || : ;\ done get-orig-source: -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --debug --rename