[Jpackage-commits] rpms/free/svnkit svnkit-1.3.0.pom, NONE, 1.1 svnkit-cli-1.3.0.pom, NONE, 1.1 svnkit-javahl-1.3.0.pom, NONE, 1.1 svnkit-jpp-depmap.xml, NONE, 1.1 svnkit-jsvn-script, NONE, 1.1 svnkit-jsvnadmin-script, NONE, 1.1 svnkit-jsvnlook-script, NONE, 1.1 svnkit-jsvnsync-script, NONE, 1.1 svnkit-settings.xml, NONE, 1.1 svnkit.spec, NONE, 1.1

jpackage jpackage at ryu.zarb.org
Wed Jul 15 17:13:07 CEST 2009


Update of /home/projects/jpackage/cvs/rpms/free/svnkit
In directory ryu.zarb.org:/tmp/qgLFgWKgOP/rpms/free/svnkit

Added Files:
	svnkit-1.3.0.pom svnkit-cli-1.3.0.pom svnkit-javahl-1.3.0.pom 
	svnkit-jpp-depmap.xml svnkit-jsvn-script 
	svnkit-jsvnadmin-script svnkit-jsvnlook-script 
	svnkit-jsvnsync-script svnkit-settings.xml svnkit.spec 
Log Message:
1.3.0-1.jpp6

--- NEW FILE: svnkit-cli-1.3.0.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<project 
  xmlns="http://maven.apache.org/POM/4.0.0" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.svnkit</groupId>
  <artifactId>svnkit-cli</artifactId>
  <version>1.3.0</version>
  <name>SVNKit cli</name>
  <description>The only pure Java Subversion library in the world, formerly known as JavaSVN</description>
  <url>http://svnkit.com/</url>
  <licenses>
    <license>
      <url>http://svnkit.com/license.html</url>        
    </license>
  </licenses>
  <distributionManagement>
    <downloadUrl>http://svnkit.com/download/index.php</downloadUrl>
  </distributionManagement>
  <dependencies>
    <dependency>
      <groupId>com.svnkit</groupId>
      <artifactId>svnkit</artifactId>
      <version>${project.version}</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: svnkit-jpp-depmap.xml ---
<dependencies>
<!--
 <dependency>
   <maven>
     <groupId>apache-log4j</groupId>
     <artifactId>log4j</artifactId>
     <version>1.2.14</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>log4j</artifactId>
     <version>1.2.14</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>apache-xerces</groupId>
     <artifactId>xercesImpl</artifactId>
     <version>2.9.1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>xerces-j2</artifactId>
     <version>2.7.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>apache-xerces</groupId>
     <artifactId>xml-apis</artifactId>
     <version>2.9.1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>xml-commons-jaxp-1.3-apis</artifactId>
     <version>1.3.03</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>sun-jaxb</groupId>
     <artifactId>jaxb-api</artifactId>
     <version>2.1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>jaxb_2_1_api</artifactId>
     <version>2.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>slide</groupId>
     <artifactId>slide-webdavlib</artifactId>
     <version>2.1</version>
   </maven>
   <jpp>
     <groupId>JPP/slide</groupId>
     <artifactId>slide-webdavlib</artifactId>
     <version>2.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>wutka-dtdparser</groupId>
     <artifactId>dtdparser121</artifactId>
     <version>1.2.1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>dtdparser</artifactId>
     <version>1.2.1</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>oswego-concurrent</groupId>
     <artifactId>concurrent</artifactId>
     <version>1.3.4-jboss-update1</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>concurrent</artifactId>
     <version>1.3.4</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>jboss.profiler.jvmti</groupId>
     <artifactId>jboss-profiler-jvmti</artifactId>
     <version>1.0.0.CR5</version>
   </maven>
   <jpp>
     <groupId>JPP/jboss-profiler</groupId>
     <artifactId>jboss-profiler-jvmti</artifactId>
     <version>1.0.0</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>javassist</groupId>
     <artifactId>javassist</artifactId>
     <version>3.9.0.GA</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>javassist</artifactId>
     <version>3.8.0</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>trove</groupId>
     <artifactId>trove</artifactId>
     <version>1.0.2</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>gnu-trove</artifactId>
     <version>1.0.2</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>stax</groupId>
     <artifactId>stax-api</artifactId>
     <version>1.0</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>stax_1_0_api</artifactId>
     <version>1.0</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>jboss.web</groupId>
     <artifactId>stax-api</artifactId>
     <version>2.1.3.GA</version>
   </maven>
   <jpp>
     <groupId>JPP</groupId>
     <artifactId>servlet_2_5_api</artifactId>
     <version>2.5</version>
   </jpp>
 </dependency>

 <dependency>
   <maven>
     <groupId>org.jboss.ws.native</groupId>
     <artifactId>jbossws-native-jaxrpc</artifactId>
     <version>3.1.2.GA</version>
   </maven>

   <jpp>
     <groupId>JPP/jbossws</groupId>
     <artifactId>jboss-jaxrpc</artifactId>
     <version>3.0.1</version>
   </jpp>
 </dependency>
-->

<!--
-->

</dependencies>

--- NEW FILE: svnkit-jsvn-script ---
#!/bin/sh
# 
# svnkit script
# JPackage Project <http://www.jpackage.org/>
# $Id: svnkit-jsvn-script,v 1.1 2009/07/15 15:13:05 jpackage Exp $

# Source functions library
. /usr/share/java-utils/java-functions

# Source system prefs
if [ -f /etc/svnkit.conf ] ; then 
  . /etc/svnkit.conf
fi

# Source user prefs
if [ -f $HOME/.svnkitrc ] ; then 
  . $HOME/.svnkitrc
fi

# Configuration
MAIN_CLASS=org.tmatesoft.svn.cli.svn.SVN
#BASE_JARS="trilead-ssh2 svn-javahl svnkit svnkit-cli"
BASE_JARS="trilead-ssh2 svnkit svnkit-cli"

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"

--- NEW FILE: svnkit-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>
				<repository>
					<id>local</id>
					<layout>jpp</layout>
					<url>__MAVENREPO_DIR_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>
				<pluginRepository>
					<id>plugins-maven</id>
					<name>plugins-maven</name>
					<layout>jpp</layout>
					<url>__MAVENDIR_PLUGIN_PLACEHOLDER__</url>
				</pluginRepository>
			</pluginRepositories>
		</profile>
	</profiles>
	<activeProfiles>
		<activeProfile>JPP</activeProfile>
	</activeProfiles>
</settings>

--- NEW FILE: svnkit-jsvnsync-script ---
#!/bin/sh
# 
# svnkit script
# JPackage Project <http://www.jpackage.org/>
# $Id: svnkit-jsvnsync-script,v 1.1 2009/07/15 15:13:05 jpackage Exp $

# Source functions library
. /usr/share/java-utils/java-functions

# Source system prefs
if [ -f /etc/svnkit.conf ] ; then 
  . /etc/svnkit.conf
fi

# Source user prefs
if [ -f $HOME/.svnkitrc ] ; then 
  . $HOME/.svnkitrc
fi

# Configuration
MAIN_CLASS=org.tmatesoft.svn.cli.svnsync.SVNSync
#BASE_JARS="trilead-ssh2 svn-javahl svnkit svnkit-cli"
BASE_JARS="trilead-ssh2 svnkit svnkit-cli"

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"

--- NEW FILE: svnkit-javahl-1.3.0.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<project
  xmlns="http://maven.apache.org/POM/4.0.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.svnkit</groupId>
  <artifactId>svnkit-javahl</artifactId>
  <version>1.3.0</version>
  <name>SVNKit javahl</name>
  <description>The only pure Java Subversion library in the world, formerly known as JavaSVN</description>
  <url>http://svnkit.com/</url>
  <licenses>
    <license>
      <url>http://svnkit.com/license.html</url>
    </license>
  </licenses>
  <distributionManagement>
    <downloadUrl>http://svnkit.com/download/index.php</downloadUrl>
  </distributionManagement>
  <dependencies>
    <dependency>
      <groupId>com.svnkit</groupId>
      <artifactId>svnkit</artifactId>
      <version>${project.version}</version>
    </dependency>
  </dependencies></project>

--- NEW FILE: svnkit-jsvnadmin-script ---
#!/bin/sh
# 
# svnkit script
# JPackage Project <http://www.jpackage.org/>
# $Id: svnkit-jsvnadmin-script,v 1.1 2009/07/15 15:13:05 jpackage Exp $

# Source functions library
. /usr/share/java-utils/java-functions

# Source system prefs
if [ -f /etc/svnkit.conf ] ; then 
  . /etc/svnkit.conf
fi

# Source user prefs
if [ -f $HOME/.svnkitrc ] ; then 
  . $HOME/.svnkitrc
fi

# Configuration
MAIN_CLASS=org.tmatesoft.svn.cli.svnadmin.SVNAdmin
#BASE_JARS="trilead-ssh2 svn-javahl svnkit svnkit-cli"
BASE_JARS="trilead-ssh2 svnkit svnkit-cli"

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"

--- NEW FILE: svnkit-jsvnlook-script ---
#!/bin/sh
# 
# svnkit script
# JPackage Project <http://www.jpackage.org/>
# $Id: svnkit-jsvnlook-script,v 1.1 2009/07/15 15:13:05 jpackage Exp $

# Source functions library
. /usr/share/java-utils/java-functions

# Source system prefs
if [ -f /etc/svnkit.conf ] ; then 
  . /etc/svnkit.conf
fi

# Source user prefs
if [ -f $HOME/.svnkitrc ] ; then 
  . $HOME/.svnkitrc
fi

# Configuration
MAIN_CLASS=org.tmatesoft.svn.cli.svnlook.SVNLook
#BASE_JARS="trilead-ssh2 svn-javahl svnkit svnkit-cli"
BASE_JARS="trilead-ssh2 svnkit svnkit-cli"

# Set parameters
set_jvm
set_classpath $BASE_JARS
set_flags $BASE_FLAGS
set_options $BASE_OPTIONS

# Let's start
run "$@"

--- NEW FILE: svnkit-1.3.0.pom ---
<?xml version="1.0" encoding="UTF-8"?>
<project 
  xmlns="http://maven.apache.org/POM/4.0.0" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.svnkit</groupId>
  <artifactId>svnkit</artifactId>
  <version>1.3.0</version>
  <name>SVNKit</name>
  <description>The only pure Java Subversion library in the world, formerly known as JavaSVN</description>
  <url>http://svnkit.com/</url>
  <licenses>
    <license>
      <url>http://svnkit.com/license.html</url>        
    </license>
  </licenses>
  <distributionManagement>
    <downloadUrl>http://svnkit.com/download/index.php</downloadUrl>
  </distributionManagement>
  <dependencies>
    <dependency>
      <groupId>com.trilead</groupId>
      <artifactId>trilead-ssh2</artifactId>
      <version>build213</version>
    </dependency>
  </dependencies>
</project>

--- NEW FILE: svnkit.spec ---
# Copyright (c) 2000-2009, 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 section free

Name:           svnkit
Version:        1.3.0
Release:        1%{?dist}
Epoch:          0
Summary:        Pure Java Subversion client library
License:        BSD
Group:          Development/Java
URL:            http://www.svnkit.com/
# svn -q export http://svn.svnkit.com/repos/svnkit/tags/1.3.0/ svnkit-1.3.0 && tar cjf svnkit-1.3.0.tar.bz2 svnkit-1.3.0
Source0:        svnkit-1.3.0.tar.bz2
Source1:        svnkit-jpp-depmap.xml
Source2:        svnkit-settings.xml
Source3:        svnkit-1.3.0.pom
Source4:        svnkit-cli-1.3.0.pom
Source5:        svnkit-javahl-1.3.0.pom
Source10:       svnkit-jsvn-script
Source20:       svnkit-jsvnadmin-script
Source30:       svnkit-jsvnlook-script
Source40:       svnkit-jsvnsync-script
BuildArch:      noarch
Requires(post): jpackage-utils >= 0:1.7.3
Requires(postun): jpackage-utils >= 0:1.7.3
#Requires:       jna
#Requires:       trilead-ssh2
BuildRequires:  ant
BuildRequires:  jpackage-utils >= 0:1.7.3
BuildRequires:  java-devel >= 0:1.5.0
#BuildRequires:  jna
BuildRequires:  trilead-ssh2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root

%description
Use SVNKit for
- Subversion clients and IDE integrations
  SVNKit supports all standard Subversion operations, both
  on working copies and repository. It is compatible with all
  versions of Subversion, works over HTTP, SSH, SVN and
  FILE protocols.
- Arbitrary object model versioning
  SVNKit provides API to version virtually any object model
  with standard Subversion repository; there is no need to
  keep anything in the filesystem.
- Server side applications
  SVNKit works with local repositories as well as with remote
  ones - your web application will benefit from direct access
  to repository and will grind data stored in repository in
  the way you need it.

%package javadoc
Summary:        Javadoc for %{name}
Group:          Development/Documentation

%description javadoc
%{summary}.

%prep
%setup -q
pushd contrib
# FIXME: (dwalluck): removing javahl and jna could result in native dependencies that we don't want
#rm -r javahl/*
#rm -r jna/*
rm -r junit/*
# FIXME: (dwalluck): where does this come from?
#rm -r sequence/*
rm -r trilead/*
#ln -s $(build-classpath jna) jna/jna.jar
ln -s $(build-classpath junit) junit/junit.jar
ln -s $(build-classpath trilead-ssh2) trilead/trilead.jar
popd

%build
export OPT_JAR_LIST=:
#export CLASSPATH=$(build-classpath svn-javahl)
export CLASSPATH=
%{ant} build-library build-cli build-doc

%install
rm -rf $RPM_BUILD_ROOT

# jars
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
install -p -m 644 build/lib/svnkit.jar $RPM_BUILD_ROOT%{_javadir}/svnkit-%{version}.jar
%add_to_maven_depmap com.svnkit %{name} %{version} JPP %{name}
install -p -m 644 build/lib/svnkit-cli.jar $RPM_BUILD_ROOT%{_javadir}/svnkit-cli-%{version}.jar
%add_to_maven_depmap com.svnkit %{name}-cli %{version} JPP %{name}-cli
install -p -m 644 build/lib/svnkit-javahl.jar $RPM_BUILD_ROOT%{_javadir}/svnkit-javahl-%{version}.jar
%add_to_maven_depmap com.svnkit %{name}-javahl %{version} JPP %{name}-javahl
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)

# poms
install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
%add_to_maven_depmap com.svnkit svnkit %{version} JPP %{name}
install -p -m 644 %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}-cli.pom
%add_to_maven_depmap com.svnkit svnkit-cli %{version} JPP %{name}-cli
install -p -m 644 %{SOURCE5} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}-javahl.pom
%add_to_maven_depmap com.svnkit svnkit-javahl %{version} JPP %{name}-javahl

# javadoc
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr build/doc/javadoc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}

%{__mkdir} %{buildroot}%{_bindir}
%{__cp} -p %{SOURCE10} %{buildroot}%{_bindir}/jsvn
%{__cp} -p %{SOURCE20} %{buildroot}%{_bindir}/jsvnadmin
%{__cp} -p %{SOURCE30} %{buildroot}%{_bindir}/jsvnlook
%{__cp} -p %{SOURCE40} %{buildroot}%{_bindir}/jsvnsync

%clean
rm -rf $RPM_BUILD_ROOT

%post
%update_maven_depmap

%postun
%update_maven_depmap

%files
%defattr(0644,root,root,0755)
%doc build/lib/{README.txt,SEQUENCE-LICENSE,changelog.txt} doc/examples
%attr(0755,root,root) %{_bindir}/jsvn
%attr(0755,root,root) %{_bindir}/jsvnadmin
%attr(0755,root,root) %{_bindir}/jsvnlook
%attr(0755,root,root) %{_bindir}/jsvnsync
%{_javadir}/svnkit-%{version}.jar
%{_javadir}/svnkit.jar
%{_javadir}/svnkit-cli-%{version}.jar
%{_javadir}/svnkit-cli.jar
%{_javadir}/svnkit-javahl-%{version}.jar
%{_javadir}/svnkit-javahl.jar
%{_datadir}/maven2/poms/JPP-%{name}.pom
%{_datadir}/maven2/poms/JPP-%{name}-cli.pom
%{_datadir}/maven2/poms/JPP-%{name}-javahl.pom
%{_mavendepmapfragdir}/%{name}

%files javadoc
%defattr(0644,root,root,0755)
%{_javadocdir}/%{name}-%{version}
%{_javadocdir}/%{name}

%changelog
* Tue Jul 14 2009 David Walluck <dwalluck at redhat.com> 0:1.3.0-1
- 1.3.0
- use external svn-javahl
- add poms

* Wed Jun 17 2009 Ralph Apel <r.apel at r-apel.de> - 0:1.1.4-1.jpp5
- first release




More information about the JPackage-commits mailing list