rpms/plexus-mail-sender/devel import.log, NONE, 1.1 maven2-settings.xml, NONE, 1.1 plexus-mail-sender-clarifylicense.patch, NONE, 1.1 plexus-mail-sender-jpp-depmap.xml, NONE, 1.1 plexus-mail-sender-mapdeps.xsl, NONE, 1.1 plexus-mail-sender.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Andrew Overholt
overholt at fedoraproject.org
Fri Aug 21 18:34:55 UTC 2009
Author: overholt
Update of /cvs/pkgs/rpms/plexus-mail-sender/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23399/devel
Modified Files:
.cvsignore sources
Added Files:
import.log maven2-settings.xml
plexus-mail-sender-clarifylicense.patch
plexus-mail-sender-jpp-depmap.xml
plexus-mail-sender-mapdeps.xsl plexus-mail-sender.spec
Log Message:
Initial import (review bug #518650).
--- NEW FILE import.log ---
plexus-mail-sender-1_0-0_a2_9_fc11:HEAD:plexus-mail-sender-1.0-0.a2.9.fc11.src.rpm:1250879578
--- NEW FILE maven2-settings.xml ---
<settings>
<profiles>
<profile>
<id>JPP</id>
<repositories>
<repository>
<id>internal</id>
<layout>jpp</layout>
<url>__JPP_URL_PLACEHOLDER__</url>
</repository>
<repository>
<id>external</id>
<layout>jpp</layout>
<url>__JAVADIR_PLACEHOLDER__</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>plugins-internal</id>
<name>plugins-internal</name>
<layout>jpp</layout>
<url>__JPP_URL_PLACEHOLDER__</url>
</pluginRepository>
<pluginRepository>
<id>plugins-external</id>
<name>plugins-external</name>
<layout>jpp</layout>
<url>__JAVADIR_PLACEHOLDER__</url>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
<activeProfiles>
<activeProfile>JPP</activeProfile>
</activeProfiles>
</settings>
plexus-mail-sender-clarifylicense.patch:
DateFormatUtils.java | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
--- NEW FILE plexus-mail-sender-clarifylicense.patch ---
Index: archive/plexus-components/plexus-mail-sender/plexus-mail-sender-api/src/main/java/org/codehaus/plexus/mailsender/util/DateFormatUtils.java
===================================================================
diff -u -N -r7637 -r8336
--- archive/plexus-components/plexus-mail-sender/plexus-mail-sender-api/src/main/java/org/codehaus/plexus/mailsender/util/DateFormatUtils.java (.../DateFormatUtils.java) (revision 7637)
+++ archive/plexus-components/plexus-mail-sender/plexus-mail-sender-api/src/main/java/org/codehaus/plexus/mailsender/util/DateFormatUtils.java (.../DateFormatUtils.java) (revision 8336)
@@ -1,7 +1,27 @@
package org.codehaus.plexus.mailsender.util;
/*
- * LICENSE
+ * The MIT License
+ *
+ * Copyright (c) 2005, The Codehaus
+ *
+ * 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.
*/
import java.text.SimpleDateFormat;
@@ -10,7 +30,7 @@
/**
* @author <a href="mailto:trygvis at inamo.no">Trygve Laugstøl</a>
- * @version $Id: DateFormatUtils.java 2338 2005-07-19 10:17:07Z evenisse $
+ * @version $Id: DateFormatUtils.java 8336 2009-08-12 14:19:22Z bentmann $
*/
public class DateFormatUtils
{
--- NEW FILE plexus-mail-sender-jpp-depmap.xml ---
<dependencies>
<dependency>
<maven>
<groupId>plexus</groupId>
<artifactId>plexus-mail-sender-test</artifactId>
<version>1.0-alpha-2</version>
</maven>
<jpp>
<groupId>plexus</groupId>
<artifactId>plexus-mail-sender-test</artifactId>
<version>1.0-alpha-2</version>
</jpp>
</dependency>
<dependency>
<maven>
<groupId>dumbster</groupId>
<artifactId>dumbster</artifactId>
<version>1.5</version>
</maven>
<jpp>
<groupId>JPP</groupId>
<artifactId>dumbster</artifactId>
<version>1.5</version>
</jpp>
</dependency>
<dependency>
<maven>
<groupId>javax.activation</groupId>
<artifactId>activation</artifactId>
<version>1.0.2</version>
</maven>
<jpp>
<groupId>JPP</groupId>
<artifactId>jaf</artifactId>
<version>1.0.2</version>
</jpp>
</dependency>
<dependency>
<maven>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.3.2</version>
</maven>
<jpp>
<groupId>JPP</groupId>
<artifactId>javamail</artifactId>
<version>1.3.2</version>
</jpp>
</dependency>
<dependency>
<maven>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</maven>
<jpp>
<groupId>JPP</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
</jpp>
</dependency>
<dependency>
<maven>
<groupId>plexus</groupId>
<artifactId>plexus-container-default</artifactId>
<version>1.0-alpha-5</version>
</maven>
<jpp>
<groupId>JPP/plexus</groupId>
<artifactId>container-default</artifactId>
<version>1.0-alpha-5</version>
</jpp>
</dependency>
<dependency>
<maven>
<groupId>plexus</groupId>
<artifactId>plexus-utils</artifactId>
<version>1.0.1</version>
</maven>
<jpp>
<groupId>JPP/plexus</groupId>
<artifactId>utils</artifactId>
<version>1.0.1</version>
</jpp>
</dependency>
<dependency>
<maven>
<groupId>classworlds</groupId>
<artifactId>classworlds</artifactId>
<version>1.1-alpha-2</version>
</maven>
<jpp>
<groupId>JPP</groupId>
<artifactId>classworlds</artifactId>
<version>1.1-alpha-2</version>
</jpp>
</dependency>
</dependencies>
--- NEW FILE plexus-mail-sender-mapdeps.xsl ---
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:param name="map" />
<xsl:output method="xml" indent="yes" omit-xml-declaration="no"/>
<xsl:strip-space elements="*"/>
<xsl:template match="/*[name()='project']" >
<xsl:element name="project">
<!-- Replace artifact/group/version/etc. for current project -->
<xsl:variable name="artifact" select="./*[name()='artifactId']"/>
<xsl:variable name="group" select="./*[name()='groupId']"/>
<xsl:variable name="parentGroup" select="./*[name()='parent']/*[name()='groupId']"/>
<xsl:choose>
<xsl:when test="(document($map)//dependency/maven[(./artifactId/text() = $artifact) and (./groupId/text() = $group)])">
<xsl:for-each select="document($map)//dependency/maven[(./artifactId/text() = $artifact) and (./groupId/text() = $group)][1]">
<xsl:if test="../jpp">
<xsl:copy-of select="../jpp/*"/>
</xsl:if>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<!-- Maybe parent group matches? -->
<xsl:when test="(document($map)//dependency/maven[(./artifactId/text() = $artifact) and (./groupId/text() = $parentGroup)])">
<xsl:for-each select="document($map)//dependency/maven[(./artifactId/text() = $artifact) and (./groupId/text() = $parentGroup)][1]">
<xsl:if test="../jpp">
<xsl:copy-of select="../jpp/*"/>
</xsl:if>
</xsl:for-each>
</xsl:when>
<!-- Nothing matched -->
<xsl:otherwise>
<xsl:copy-of select="*[name() = 'artifactId']"/>
<xsl:copy-of select="*[name() = 'groupId']"/>
<xsl:copy-of select="*[name() = 'id']"/>
<xsl:copy-of select="*[name() = 'version']"/>
</xsl:otherwise>
</xsl:choose>
</xsl:otherwise>
</xsl:choose>
<!-- In the parent, replace groupid/artifactid/version-->
<xsl:for-each select="./*[name()='parent']">
<xsl:apply-templates select="."/>
</xsl:for-each>
<!-- Copy rest -->
<xsl:for-each select="./*">
<xsl:if test="(name() != 'dependencies') and (name() != 'dependencyManagement') and (name() != 'modelVersion') and (name() != 'parent') and (name() != 'build') and (name() != 'profiles') and (name() != 'artifactId') and (name() != 'groupId') and (name() != 'id') and (name() != 'version')">
<xsl:copy-of select="." />
</xsl:if>
</xsl:for-each>
<!-- If no dependencies exist, add just the <add> items -->
<xsl:if test="not(./*[name()='dependencies'])">
<xsl:element name="dependencies">
<xsl:for-each select="document($map)//add/dependency">
<xsl:copy-of select="." />
</xsl:for-each>
</xsl:element>
</xsl:if>
<!-- Do not remove this! Maven code has a string match for
"<modelVersion>4.0.0" which fails if the line below is
removed (because without it, the ns attribute would be
added to the modelVersion tag) -->
<xsl:for-each select="./*[name()='modelVersion']">
<xsl:element name="{name()}">
<xsl:value-of select="text()" />
</xsl:element>
</xsl:for-each>
<!-- Apply templates to rest -->
<xsl:apply-templates select="*[name()='build']"/>
<xsl:apply-templates select="*[name()='profiles']"/>
<xsl:apply-templates select="*[name()='dependencies']"/>
<xsl:element name="dependencyManagement">
<xsl:for-each select="*[name()='dependencyManagement']">
<xsl:apply-templates select="*[name()='dependencies']"/>
</xsl:for-each>
</xsl:element>
</xsl:element>
</xsl:template>
<!-- In each of the dependencies, update groupid/artifactid/version -->
<xsl:template match="*[name()='dependencies']">
<xsl:element name="dependencies">
<xsl:for-each select="*[name()='dependency']">
<xsl:if test="*[name()='artifactId']">
<xsl:call-template name="replace">
<xsl:with-param name="artifact" select="*[name()='artifactId']/text()"/>
<xsl:with-param name="group" select="*[name()='groupId']/text()"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="*[name()='id']">
<xsl:choose>
<xsl:when test="substring-after(*[name()='id']/text(),':') != ''">
<xsl:call-template name="replace">
<xsl:with-param name="artifact" select="substring-after(*[name()='id']/text(),':')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="replace">
<xsl:with-param name="artifact" select="*[name()='id']/text()"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:for-each>
<xsl:for-each select="document($map)//add/dependency">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:element>
</xsl:template>
<!-- Standard replacement template for dependencies -->
<xsl:template name="replace">
<xsl:param name="artifact"/>
<xsl:param name="group"/>
<xsl:variable name="this" select="."/>
<xsl:choose>
<xsl:when test="(document($map)//dependency/maven[(./artifactId/text() = $artifact) and (./groupId/text() = $group)])">
<xsl:for-each select="document($map)//dependency/maven[(./artifactId/text() = $artifact) and (./groupId/text() = $group)][1]">
<xsl:if test="../jpp">
<xsl:element name="dependency">
<xsl:copy-of select="../jpp/*"/>
<xsl:for-each select="$this/*">
<xsl:if test="(name() != 'groupId') and (name() != 'artifactId') and (name() != 'id') and (name() != 'version')">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:for-each>
</xsl:element>
</xsl:if>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:element name="dependency">
<xsl:copy-of select="./*"/>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
<xsl:if test="document($map)//dependency/maven[./artifactId/text() = $artifact]">
<xsl:for-each select="document($map)//dependency/maven[./artifactId/text() = $artifact][1]">
<xsl:for-each select="../add/dependency">
<xsl:element name="dependency">
<xsl:copy-of select="./*"/>
</xsl:element>
</xsl:for-each>
</xsl:for-each>
</xsl:if>
</xsl:template>
<!-- In the parent, replace groupid/artifactid/version-->
<xsl:template match="*[name()='parent']">
<xsl:element name="parent">
<xsl:for-each select=".">
<xsl:if test="*[name()='artifactId']">
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="*[name()='artifactId']/text()"/>
<xsl:with-param name="group" select="*[name()='groupId']/text()"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="*[name()='id']">
<xsl:choose>
<xsl:when test="substring-after(*[name()='id']/text(),':') != ''">
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="substring-after(*[name()='id']/text(),':')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="*[name()='id']/text()"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:for-each>
</xsl:element>
</xsl:template>
<!-- In build element, replace plugin and extension groupid/artifactid/version -->
<xsl:template match="*[name()='build']">
<xsl:element name="build">
<xsl:for-each select="./*">
<xsl:choose>
<xsl:when test="(name() != 'plugins') and (name() != 'extensions')">
<xsl:copy-of select="." />
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="."/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:element>
</xsl:template>
<!-- Go through profiles and apply build replacement templates -->
<xsl:template match="*[name()='profiles']">
<xsl:element name="profiles">
<xsl:for-each select="./*">
<xsl:choose>
<xsl:when test="name() != 'profile'">
<xsl:copy-of select="." />
</xsl:when>
<xsl:otherwise>
<xsl:element name="profile">
<xsl:for-each select="./*">
<xsl:choose>
<xsl:when test="name() != 'build'">
<xsl:copy-of select="." />
</xsl:when>
<xsl:otherwise>
<xsl:apply-templates select="."/>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:for-each>
</xsl:element>
</xsl:template>
<!-- In plugin info, update groupid/artifactid/version -->
<xsl:template match="*[name()='plugins']">
<xsl:element name="plugins">
<xsl:for-each select="*[name()='plugin']">
<xsl:element name="plugin">
<xsl:if test="*[name()='artifactId']">
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="*[name()='artifactId']/text()"/>
<xsl:with-param name="group" select="*[name()='groupId']/text()"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="*[name()='id']">
<xsl:choose>
<xsl:when test="substring-after(*[name()='id']/text(),':') != ''">
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="substring-after(*[name()='id']/text(),':')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="*[name()='id']/text()"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:element>
</xsl:for-each>
<xsl:for-each select="*[name()!='plugin']">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:element>
</xsl:template>
<!-- In extension info, update groupid/artifactid/version -->
<xsl:template match="*[name()='extensions']">
<xsl:element name="extensions">
<xsl:for-each select="*[name()='extension']">
<xsl:element name="extension">
<xsl:if test="*[name()='artifactId']">
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="*[name()='artifactId']/text()"/>
<xsl:with-param name="group" select="*[name()='groupId']/text()"/>
</xsl:call-template>
</xsl:if>
<xsl:if test="*[name()='id']">
<xsl:choose>
<xsl:when test="substring-after(*[name()='id']/text(),':') != ''">
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="substring-after(*[name()='id']/text(),':')"/>
</xsl:call-template>
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="replaceNonDep">
<xsl:with-param name="artifact" select="*[name()='id']/text()"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:if>
</xsl:element>
</xsl:for-each>
<xsl:for-each select="*[name()!='extension']">
<xsl:copy-of select="."/>
</xsl:for-each>
</xsl:element>
</xsl:template>
<!-- Standard template for replacing items that are not <dependency> items -->
<xsl:template name="replaceNonDep">
<xsl:param name="artifact"/>
<xsl:param name="group"/>
<xsl:variable name="this" select="."/>
<xsl:choose>
<xsl:when test="(document($map)//dependency/maven[(./artifactId/text() = $artifact) and (./groupId/text() = $group)])">
<xsl:for-each select="document($map)//dependency/maven[(./artifactId/text() = $artifact) and (./groupId/text() = $group)][1]">
<xsl:if test="../jpp">
<xsl:copy-of select="../jpp/*"/>
<xsl:for-each select="$this/*">
<xsl:if test="(name() != 'groupId') and (name() != 'artifactId') and (name() != 'id') and (name() != 'version')">
<xsl:copy-of select="."/>
</xsl:if>
</xsl:for-each>
</xsl:if>
</xsl:for-each>
</xsl:when>
<xsl:otherwise>
<xsl:copy-of select="./*"/>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
</xsl:stylesheet>
--- NEW FILE plexus-mail-sender.spec ---
# Copyright (c) 2000-2007, JPackage Project
# 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 JPackage Project 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 COPYRIGHT HOLDERS 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 COPYRIGHT
# OWNER 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.
#
%define namedversion 1.0-alpha-2
Name: plexus-mail-sender
Version: 1.0
Release: 0.a2.9%{?dist}
Epoch: 0
Summary: Plexus Mail Sender
License: MIT and ASL 1.1
Group: Development/Tools
URL: http://plexus.codehaus.org/
# svn export http://svn.codehaus.org/plexus/tags/PLEXUS_MAIL_SENDER_1_0_ALPHA_2/
# Note: Exported revision 8188.
# mv PLEXUS_MAIL_SENDER_1_0_ALPHA_2/ plexus-mail-sender-1.0-a2
# tar czf plexus-mail-sender-1.0-a2-src.tar.gz plexus-mail-sender-1.0-a2
Source0: plexus-mail-sender-%{version}-a2-src.tar.gz
Source1: %{name}-mapdeps.xsl
Source2: %{name}-jpp-depmap.xml
Source3: maven2-settings.xml
# http://jira.codehaus.org/browse/PLX-417
# http://fisheye.codehaus.org/rdiff/plexus?csid=8336&u&N
Patch0: %{name}-clarifylicense.patch
BuildRequires: jpackage-utils >= 0:1.6
BuildRequires: maven2 >= 0:2.0.4
BuildRequires: dumbster
BuildRequires: saxon
BuildRequires: saxon-scripts
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
The Plexus project seeks to create end-to-end developer tools for
writing applications. At the core is the container, which can be
embedded or for a full scale application server. There are many
reusable components for hibernate, form processing, jndi, i18n,
velocity, etc. Plexus also includes an application server which
is like a J2EE application server, without all the baggage. This
Plexus component provides SMTP transport.
%package javadoc
Summary: Javadoc for %{name}
Group: Documentation
%description javadoc
Javadoc for %{name}.
%prep
%setup -q -n %{name}-%{version}-a2
%patch0 -p3
%build
mkdir external_repo
ln -s %{_javadir} external_repo/JPP
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
mkdir -p $MAVEN_REPO_LOCAL
mvn-jpp \
-e \
-Dmaven2.jpp.depmap.file="%{SOURCE2}" \
-Dmaven.repo.local=$MAVEN_REPO_LOCAL \
-Dmaven.test.skip=true \
install
# Bug in javadoc plugin makes this necessary for now
for pom in `find -name pom.xml`; do
pushd `dirname $pom`
mvn-jpp -e -Dmaven2.jpp.depmap.file="%{SOURCE2}" \
-Dmaven.repo.local=$MAVEN_REPO_LOCAL javadoc:javadoc
popd
done
%install
rm -rf $RPM_BUILD_ROOT
# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}/plexus
install -pm 644 \
plexus-mail-senders/plexus-mail-sender-javamail/target/%{name}-javamail-%{namedversion}-SNAPSHOT.jar \
$RPM_BUILD_ROOT%{_javadir}/plexus/mail-sender-javamail-%{version}.jar
install -pm 644 \
plexus-mail-senders/plexus-mail-sender-simple/target/%{name}-simple-%{namedversion}-SNAPSHOT.jar \
$RPM_BUILD_ROOT%{_javadir}/plexus/mail-sender-simple-%{version}.jar
install -pm 644 \
plexus-mail-senders/plexus-mail-sender-test/target/%{name}-test-%{namedversion}-SNAPSHOT.jar \
$RPM_BUILD_ROOT%{_javadir}/plexus/mail-sender-test-%{version}.jar
install -pm 644 \
plexus-mail-sender-api/target/%{name}-api-%{namedversion}-SNAPSHOT.jar \
$RPM_BUILD_ROOT%{_javadir}/plexus/mail-sender-api-%{version}.jar
(cd $RPM_BUILD_ROOT%{_javadir}/plexus && for jar in *-%{version}*; do \
ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/api
cp -pr plexus-mail-sender-api/target/site/apidocs/* \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/api
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/test
cp -pr plexus-mail-senders/plexus-mail-sender-test/target/site/apidocs/* \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/test
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/simple
cp -pr plexus-mail-senders/plexus-mail-sender-simple/target/site/apidocs/* \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/simple
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/javamail
cp -pr plexus-mail-senders/plexus-mail-sender-javamail/target/site/apidocs/* \
$RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}/javamail
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_javadir}/*
%files javadoc
%defattr(-,root,root,-)
%doc %{_javadocdir}/*
%changelog
* Fri Aug 21 2009 Andrew Overholt <overholt at redhat.com> 0:1.0-0.a2.9
- Remove gcj support
- Remove javadoc post scriplet
- Add patch to clarify license (http://jira.codehaus.org/browse/PLX-417)
- Fix license
- Use tarball with versioned directory
* Sun May 17 2009 Fernando Nasser <fnasser at redhat.com> - 0:1.0-0.a2.8
- Fix license
* Tue Apr 30 2009 Yong Yang <yyang at redhat.com> - 0:1.0-0.a2.7
- Don't run the tests as they reqyuire access to the net
- Add BRs maven-doxia*
- Rebuild with new maven2 2.0.8 built in non-bootstrap mode
* Tue Mar 17 2009 Yong Yang <yyang at redhat.com> - 0:1.0-0.a2.6
- rebuild with new maven2 2.0.8 built in bootstrap mode
* Thu Feb 05 2009 Yong Yang <yyang at redhat.com> - 0:1.0-0.a2.5
- Fix release tag
* Wed Jan 14 2009 Yong Yang <yyang at redhat.com> - 0:1.0-0.a2.4jpp
- Import from dbhole's maven packages, initial building
* Tue May 15 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a2.3jpp
- Make Vendor, Distribution based on macro
* Thu Mar 15 2007 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a2.2jpp
- Add dumbster BR
* Wed Sep 13 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.0-0.a2.1jpp
- First JPP-1.7 release
- Add post/postun Requires for javadoc
- Add gcj_support option
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/plexus-mail-sender/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore 21 Aug 2009 18:19:39 -0000 1.1
+++ .cvsignore 21 Aug 2009 18:34:55 -0000 1.2
@@ -0,0 +1 @@
+plexus-mail-sender-1.0-a2-src.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/plexus-mail-sender/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources 21 Aug 2009 18:19:39 -0000 1.1
+++ sources 21 Aug 2009 18:34:55 -0000 1.2
@@ -0,0 +1 @@
+63da09d21db964ea41ce7a46a0605bb3 plexus-mail-sender-1.0-a2-src.tar.gz
More information about the fedora-extras-commits
mailing list