debian/0000755000000000000000000000000012254314716007173 5ustar debian/changelog0000644000000000000000000000106512254115332011040 0ustar epubcheck (3.0.1-1) unstable; urgency=low * New upstream release 3.0.1 (Closes: #701229) * Used maven-debian-helper for packaging * Dropped old patches -- Eugene Zhukov Tue, 17 Dec 2013 13:34:27 +0000 epubcheck (1.2-2) unstable; urgency=low * Switch Arch: any to Arch: all * Run test suite -- Mathieu Malaterre Sun, 17 Feb 2013 17:50:43 +0100 epubcheck (1.2-1) unstable; urgency=low * Initial Debian Upload (Closes: #602780) -- Mathieu Malaterre Tue, 18 Dec 2012 14:07:03 +0100 debian/epubcheck.manpages0000644000000000000000000000002312254030610012620 0ustar debian/epubcheck.1 debian/maven.ignoreRules0000644000000000000000000000014712254314267012524 0ustar org.apache.maven.plugins maven-assembly-plugin * * * * org.codehaus.mojo license-maven-plugin * * * * debian/patches/0000755000000000000000000000000012254032076010616 5ustar debian/patches/pom.patch0000644000000000000000000000150412254030610012422 0ustar Description: pom.xml changes for Debian * classpath fixed for Debian Author: Eugene Zhukov Last-Update: 2013-07-17 --- a/pom.xml +++ b/pom.xml @@ -224,7 +224,8 @@ true - lib/ + custom + /usr/share/java/${artifact.artifactId}.${artifact.extension} com.adobe.epubcheck.tool.Checker ${project.build.directory}/classes/META-INF/MANIFEST.MF debian/patches/series0000644000000000000000000000002512254030610012020 0ustar test.patch pom.patch debian/patches/test.patch0000644000000000000000000000106512254030610012610 0ustar Description: Fixed failing test * Bug in upstream #279 Author: Eugene Zhukov Last-Update: 2013-06-11 --- a/src/test/java/com/adobe/epubcheck/api/Epub20CheckTest.java +++ b/src/test/java/com/adobe/epubcheck/api/Epub20CheckTest.java @@ -164,7 +164,7 @@ public void testMissingFullpathAttributeIssue236() { //container.xml missing @full-path attribute or @full-path is empty // issue 95 / issue 236 - testValidateDocument("invalid/issue236.epub", 2, 0); + testValidateDocument("invalid/Issue236.epub", 2, 0); } @Test debian/rules0000755000000000000000000000106612254116126010251 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 install/epubcheck:: chmod +x debian/epubcheck/usr/share/java/epubcheck.jar VER_FULL = $(shell dpkg-parsechangelog | grep '^Version' | cut -d' ' -f2 | cut -f1 -d-) debian/epubcheck.1: debian/epubcheck.1.in help2man --include=$< --output=$@ \ --no-info --help-option="-help" `basename $@ .1` --version-string=$(VER_FULL) get-orig-source: uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename debian/compat0000644000000000000000000000000212254030610010355 0ustar 9 debian/source/0000755000000000000000000000000012254030543010464 5ustar debian/source/format0000644000000000000000000000001412254030610011665 0ustar 3.0 (quilt) debian/maven.rules0000644000000000000000000000065612254314267011365 0ustar com.google.guava guava bundle s/.*/debian/ * * com.google.guava guava s/jar/bundle/ s/.*/debian/ * * junit junit jar s/4\..*/4.x/ * * net.sf.saxon Saxon-HE jar s/9\..*/9.x/ * * org.idpf epubcheck jar s/3\..*/3.x/ * * s/com.google.code.google-collections/com.google.guava/ s/google-collect/guava/ s/jar/bundle/ s/.*/debian/ * * s/com.google.collections/com.google.guava/ s/google-collections/guava/ s/jar/bundle/ s/.*/debian/ * * debian/maven.cleanIgnoreRules0000644000000000000000000000000112254314267013454 0ustar debian/watch0000644000000000000000000000024112254030610010205 0ustar version=3 opts=dversionmangle=s/(\d)[\+\.](?:dfsg|debian|ds)\.?\d*$/$1/ \ https://github.com/IDPF/epubcheck/tags \ .*/archive/v(\d\S*)\.tar\.gz debian jh_repack debian/maven.publishedRules0000644000000000000000000000005112254314267013212 0ustar org.idpf epubcheck jar s/3\..*/3.x/ * * debian/maven.properties0000644000000000000000000000014412254030610012402 0ustar # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true debian/epubcheck.poms0000644000000000000000000000322112254314267012023 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 --has-package-version --java-lib debian/copyright0000644000000000000000000000413012254030610011110 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: epubcheck Upstream-Contact: Peter Sorotokin, Garth Conboy, Markus Gylling, Piotr Kula, Paul Norton Source: http://code.google.com/p/epubcheck/ Files: * Copyright: 2007 Adobe Systems Incorporated License: New BSD License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Files: src/com/adobe/epubcheck/dtd/svg11.dtd Copyright: 2001, 2002 World Wide Web Consortium (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). License: Permission to use, copy, modify and distribute the SVG DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. . It is provided "as is" without expressed or implied warranty. Files: debian/* Copyright: 2013 Mathieu Malaterre , Eugene Zhukov License: New BSD License Same as above debian/epubcheck.links0000644000000000000000000000005712254030610012154 0ustar usr/share/java/epubcheck.jar usr/bin/epubcheck debian/epubcheck.10000644000000000000000000000426312254030610011177 0ustar .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.43.3. .TH EPUBCHECK "1" "July 2013" "epubcheck 3.0.1" "User Commands" .SH NAME epubcheck \- Validation tool for EPUB .SH SYNOPSIS epubcheck file.epub .SH DESCRIPTION All detected errors are simply printed to stderr .PP When running this tool, the first argument should be the name (with the path) of the file to check. If checking a non\-epub file, the epub version of the file must be specified using \fB\-v\fR and the type of the file using \fB\-mode\fR. The default version is: 3.0. .PP Modes and versions supported: \fB\-mode\fR opf \fB\-v\fR 2.0 // For single OPF file validation (EPUB 2) \fB\-mode\fR opf \fB\-v\fR 3.0 // For single OPF file validation (EPUB 3) \fB\-mode\fR xhtml \fB\-v\fR 2.0 // For single XHTML file validation (EPUB 2) \fB\-mode\fR xhtml \fB\-v\fR 3.0 // For single XHTML file validation (EPUB 3) \fB\-mode\fR svg \fB\-v\fR 2.0 // For single SVG file validation (EPUB 2) \fB\-mode\fR svg \fB\-v\fR 3.0 // For single SVG file validation (EPUB 3) \fB\-mode\fR nav \fB\-v\fR 3.0 // For single 'Navigation Document' validation \fB\-mode\fR mo \fB\-v\fR 3.0 // For single 'Media Overlays' validation \fB\-mode\fR exp // For validating expanded EPUB archives .PP This tool also accepts the following flags: \fB\-save\fR = saves the epub created from the expanded epub (\fB\-mode\fR exp) \fB\-quiet\fR = no message sent to stdout, only errors in stderr \fB\-out\fR = output an assessment XML document in file (experimental) \-? or \fB\-help\fR = displays this help message .PP Epubcheck Version 3.0.1 .SH AUTHOR .IP \[bu] 2 Peter Sorotokin .IP \[bu] Garth Conboy .IP \[bu] Markus Gylling .IP \[bu] Piotr Kula .IP \[bu] Paul Norton .IP \[bu] Jessica Hekman .IP \[bu] George Bina .IP \[bu] Bogdan Iordache .IP \[bu] Ionut-Maxim Margelatu .IP \[bu] Romain Deltour Most of the EpubCheck functionality comes from the schema validation tool Jing and schemas that were developed by IDPF and DAISY. Initial EpubCheck development was largely done at Adobe Systems. This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system, but may be used by others. debian/README.source0000644000000000000000000000044512254030610011341 0ustar Information about epubcheck ------------------------------ This package was debianized using the mh_make command from the maven-debian-helper package. The build system uses Maven but prevents it from downloading anything from the Internet, making the build compliant with the Debian policy. debian/epubcheck.1.in0000644000000000000000000000133112254030610011575 0ustar [NAME] epubcheck \- Validation tool for EPUB [SYNOPSIS] epubcheck file.epub [DESCRIPTION] All detected errors are simply printed to stderr [AUTHOR] .IP \[bu] 2 Peter Sorotokin .IP \[bu] Garth Conboy .IP \[bu] Markus Gylling .IP \[bu] Piotr Kula .IP \[bu] Paul Norton .IP \[bu] Jessica Hekman .IP \[bu] George Bina .IP \[bu] Bogdan Iordache .IP \[bu] Ionut-Maxim Margelatu .IP \[bu] Romain Deltour Most of the EpubCheck functionality comes from the schema validation tool Jing and schemas that were developed by IDPF and DAISY. Initial EpubCheck development was largely done at Adobe Systems. This manual page was written by Mathieu Malaterre for the Debian GNU/Linux system, but may be used by others. debian/control0000644000000000000000000000226112254260736010601 0ustar Source: epubcheck Section: text Priority: optional Maintainer: Debian XML/SGML Group Uploaders: Eugene Zhukov , Mathieu Malaterre Build-Depends: debhelper (>= 9), cdbs, default-jdk, maven-debian-helper (>= 1.5) Build-Depends-Indep: libmaven-bundle-plugin-java, libxml-maven-plugin-java, libcommons-compress-java, libguava-java, libjing-java (>= 20131210+dfsg+1), libsac-java, libsaxonhe-java, junit4 Standards-Version: 3.9.5 Vcs-Browser: http://anonscm.debian.org/viewvc/debian-xml-sgml/packages/epubcheck/ Vcs-Svn: svn://alioth.debian.org/debian-xml-sgml/packages/epubcheck/ Homepage: https://github.com/IDPF/epubcheck Package: epubcheck Architecture: all Depends: ${misc:Depends}, ${maven:Depends}, jarwrapper Recommends: ${maven:OptionalDepends} Description: Validation Tool for EPUB EpubCheck is a tool to validate IDPF EPUB files. It can detect many types of errors in EPUB. OCF container structure, OPF and OPS mark-up, and internal reference consistency are checked. EpubCheck can be run as a standalone command-line tool, installed as a Java server-side web application or used as a Java library.