--- doxia-sitetools-1.1.1.orig/debian/build.properties +++ doxia-sitetools-1.1.1/debian/build.properties @@ -0,0 +1,4 @@ +javadoc.dir=build/api +maven.test.skip=true +classpath.compile = \ + ${basedir}/doxia-decoration-model/build/doxia-decoration-model-${version}.jar --- doxia-sitetools-1.1.1.orig/debian/rules +++ doxia-sitetools-1.1.1/debian/rules @@ -0,0 +1,48 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/ant.mk + +PACKAGE := $(DEB_SOURCE_PACKAGE) +VERSION := $(DEB_UPSTREAM_VERSION) +JAVA_HOME := /usr/lib/jvm/default-java +DEB_JARS := ant-nodeps classworlds doxia-core doxia-module-itext doxia-module-xhtml \ + doxia-sink-api doxia-logging-api doxia-module-fo itext1 plexus-classworlds plexus-container-default \ + plexus-i18n plexus-utils plexus-interpolation plexus-velocity velocity xalan2 \ + google-collections xbean-reflect fop +DEB_ANT_BUILD_TARGET := package +DEB_ANT_BUILDFILE := debian/build.xml +DEB_ANT_ARGS := -Dpackage=$(PACKAGE) -Dversion=$(VERSION) + +get-orig-source: + -uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename + +makebuilddir/lib$(PACKAGE)-java:: + set -e; for COMPONENT in doxia-decoration-model doxia-site-renderer; do \ + COMPONENT_FILE=debian/$$(echo $$COMPONENT | cut -d'/' -f2 -)-components.xml; \ + if [ -e $$COMPONENT_FILE ]; then \ + install -d $$COMPONENT/build/classes/META-INF/plexus; \ + install -m644 -T $$COMPONENT_FILE $$COMPONENT/build/classes/META-INF/plexus/components.xml; \ + fi \ + done + +binary-post-install/lib$(PACKAGE)-java:: + mh_installpoms -plib$(PACKAGE)-java + mh_installjar -plib$(PACKAGE)-java -l doxia-doc-renderer/pom.xml doxia-doc-renderer/build/doxia-doc-renderer-$(VERSION).jar + mh_installjar -plib$(PACKAGE)-java -l doxia-site-renderer/pom.xml doxia-site-renderer/build/doxia-site-renderer-$(VERSION).jar + mh_installjar -plib$(PACKAGE)-java -l doxia-decoration-model/pom.xml doxia-decoration-model/build/doxia-decoration-model-$(VERSION).jar + +clean:: + -rm -rf debian/tmp + +# Extract plexus components.xml files generated from a standard Maven build +PLEXUS_COMPONENTS=$(shell find . -name components.xml | grep "target/classes" | sed -re "s,.*/([a-z-]+)/target/.*,debian/\1-components.xml,") + +debian/%-components.xml: + # In $* + find . -type f -path *$*/target/classes/META-INF/plexus/components.xml -exec cp '{}' $@ \; + if [ -e $*/target/classes/META-INF/plexus/components.xml ]; then \ + cp $*/target/classes/META-INF/plexus/components.xml $@; \ + fi + +copy-plexus-components: $(PLEXUS_COMPONENTS) --- doxia-sitetools-1.1.1.orig/debian/orig-tar.sh +++ doxia-sitetools-1.1.1/debian/orig-tar.sh @@ -0,0 +1,16 @@ +#!/bin/sh -e + +TAR=../doxia-sitetools_$2.orig.tar.gz +DIR=doxia-sitetools-$2 +TAG=doxia-sitetools-$2 + +svn export http://svn.apache.org/repos/asf/maven/doxia/doxia-sitetools/tags/$TAG $DIR +tar -c -z -f $TAR $DIR +rm -rf $DIR ../$TAG + +# move to directory 'tarballs' +if [ -r .svn/deb-layout ]; then + . .svn/deb-layout + mv $TAR $origDir + echo "moved $TAR to $origDir" +fi --- doxia-sitetools-1.1.1.orig/debian/doxia-decoration-model-components.xml +++ doxia-sitetools-1.1.1/debian/doxia-decoration-model-components.xml @@ -0,0 +1,9 @@ + + + + org.apache.maven.doxia.site.decoration.inheritance.DecorationModelInheritanceAssembler + org.apache.maven.doxia.site.decoration.inheritance.DefaultDecorationModelInheritanceAssembler + Manage inheritance of the decoration model. + + + --- doxia-sitetools-1.1.1.orig/debian/libdoxia-sitetools-java.poms +++ doxia-sitetools-1.1.1/debian/libdoxia-sitetools-java.poms @@ -0,0 +1,5 @@ +pom.xml --no-parent +doxia-doc-renderer/pom.xml +doxia-site-renderer/pom.xml +doxia-decoration-model/pom.xml + --- doxia-sitetools-1.1.1.orig/debian/control +++ doxia-sitetools-1.1.1/debian/control @@ -0,0 +1,34 @@ +Source: doxia-sitetools +Section: java +Priority: optional +Maintainer: Debian Java Maintainers +Uploaders: Torsten Werner , Ludovic Claude , Michael Koch +Build-Depends-Indep: maven-repo-helper, maven-ant-helper (>> 4), ant, ant-optional, + libmodello-java, + libdoxia-java (>= 1.1.1), libplexus-containers-java, libplexus-i18n-java, libplexus-utils-java, + libitext1-java, libxalan2-java, libplexus-velocity-java, velocity, libcommons-collections-java, + fop +Build-Depends: debhelper (>= 7), cdbs, default-jdk +Standards-Version: 3.8.3 +Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/doxia-sitetools +Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/doxia-sitetools/ +Homepage: http://maven.apache.org/doxia/doxia-sitetools/ + +Package: libdoxia-sitetools-java +Architecture: all +Depends: ${misc:Depends}, libdoxia-java, libplexus-containers-java, libplexus-i18n-java, libplexus-utils-java +Recommends: libitext1-java, libxalan2-java, libplexus-velocity-java, velocity, libcommons-collections-java +Conflicts: libdoxia-java (<= 1.0-alpha-7-1) +Description: Extension package of the content generation framework Doxia + Doxia Sitetools generates sites, consisting of static and dynamic content that + was generated by Doxia. Doxia is a content generation framework which aims to + provide its users with powerful techniques for generating static and dynamic + content. + . + Doxia can be used to generate static sites in addition to being + incorporated into dynamic content generation systems like blogs, wikis + and content management systems. + . + Doxia is used exensively by Maven and it powers the entire + documentation system of Maven. It gives Maven the ability to take any + document that Doxia supports and output it any format. --- doxia-sitetools-1.1.1.orig/debian/compat +++ doxia-sitetools-1.1.1/debian/compat @@ -0,0 +1 @@ +7 --- doxia-sitetools-1.1.1.orig/debian/doxia-site-renderer-components.xml +++ doxia-sitetools-1.1.1/debian/doxia-site-renderer-components.xml @@ -0,0 +1,89 @@ + + + + + + + + org.codehaus.plexus.velocity.VelocityComponent + doxia-default + org.codehaus.plexus.velocity.DefaultVelocityComponent + + + + resource.loader + classpath,site + + + classpath.resource.loader.class + org.codehaus.plexus.velocity.ContextClassLoaderResourceLoader + + + site.resource.loader.class + org.codehaus.plexus.velocity.SiteResourceLoader + + + runtime.log.invalid.references + false + + + velocimacro.messages.on + false + + + resource.manager.logwhenfound + false + + + + velocimacro.permissions.allow.inline.to.replace.global + true + + + + + + + + org.apache.maven.doxia.siterenderer.Renderer + default + org.apache.maven.doxia.siterenderer.DefaultSiteRenderer + + + org.codehaus.plexus.velocity.VelocityComponent + velocity + doxia-default + + + org.apache.maven.doxia.module.site.manager.SiteModuleManager + siteModuleManager + + + org.apache.maven.doxia.Doxia + doxia + + + org.codehaus.plexus.i18n.I18N + i18n + + + + + --- doxia-sitetools-1.1.1.orig/debian/changelog +++ doxia-sitetools-1.1.1/debian/changelog @@ -0,0 +1,54 @@ +doxia-sitetools (1.1.1-1) unstable; urgency=low + + * New upstream release. + * Increased Build-Depends of libdoxia-java to >= 1.1.1. + * Added fop to Build-Depends. + * Build-Depends on debhelper >= 7. + * Added myself to Uploaders. + * Updated Standards-Version to 3.8.3. + + -- Michael Koch Mon, 05 Oct 2009 12:52:55 +0200 + +doxia-sitetools (1.1-3) unstable; urgency=low + + * Upload to unstable. + + -- Torsten Werner Sun, 09 Aug 2009 10:49:17 +0200 + +doxia-sitetools (1.1-2) experimental; urgency=low + + * Fix version of iText in the Maven POM dependencies + + -- Ludovic Claude Fri, 24 Jul 2009 21:00:18 +0100 + +doxia-sitetools (1.1-1) experimental; urgency=low + + * New upstream version, add myself to Uploaders + * Change section to java, bump up Standards-Version to 3.8.1 + * Add ${misc:Depends} to Depends to clear Lintian warnings + * Add the Maven POM to the package, + * Add a Build-Depends-Indep dependency on maven-repo-helper + * Use mh_installpom and mh_installjar to install the POM and the jar to the + Maven repository + * Add Depends: and Recommends: on the binary package + + -- Ludovic Claude Thu, 14 May 2009 18:27:59 +0100 + +doxia-sitetools (1.0-alpha-11-3) unstable; urgency=low + + * Add plexus component descriptors. + + -- Torsten Werner Tue, 16 Dec 2008 23:36:08 +0100 + +doxia-sitetools (1.0-alpha-11-2) unstable; urgency=low + + * Update for newest modello package. + * Run modello for doxia-decoration-model. + + -- Torsten Werner Mon, 15 Dec 2008 22:07:33 +0100 + +doxia-sitetools (1.0-alpha-11-1) unstable; urgency=low + + * Initial release. (Closes: #507082) + + -- Torsten Werner Thu, 27 Nov 2008 23:10:01 +0100 --- doxia-sitetools-1.1.1.orig/debian/maven.rules +++ doxia-sitetools-1.1.1/debian/maven.rules @@ -0,0 +1,3 @@ +commons-collections commons-collections jar s/3\..*/3.x/ +junit junit jar s/3\..*/3.x/ +com.lowagie itext jar 1.4 --- doxia-sitetools-1.1.1.orig/debian/watch +++ doxia-sitetools-1.1.1/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://svn.apache.org/repos/asf/maven/doxia/doxia-sitetools/tags/ \ + doxia-sitetools-(.*)/ debian debian/orig-tar.sh --- doxia-sitetools-1.1.1.orig/debian/build.xml +++ doxia-sitetools-1.1.1/debian/build.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + --- doxia-sitetools-1.1.1.orig/debian/copyright +++ doxia-sitetools-1.1.1/debian/copyright @@ -0,0 +1,30 @@ +This package was debianized by Torsten Werner . + +doxia-sitetools was downloaded from http://maven.apache.org/doxia/ + +Copyright: 2005-2007 The Apache Software Foundation. + +License: + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you 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. + +Please see `/usr/share/common-licenses/Apache-2.0' for the full text of +the license. + +The Debian packaging is (C) 2008, Torsten Werner and +is licensed under the GPL 3, see `/usr/share/common-licenses/GPL-3'.