packages netbeans-svnclientadapter.spec
      Pages: < 1 >  DOWNLOAD      
%define        pkgver 1.6.0
Name:          netbeans-svnclientadapter
Version:       6.7.1
Release:       2mamba
Summary:       Subversion Client Adapter
Group:         Development/Libraries/Java
Distribution:  netbeans.6.7.1
Packager:      gil <puntogil@...>
# svn --username guest co svnClientAdapter-1.6.0
# tar -czvf svnClientAdapter-1.6.0.tar.gz svnClientAdapter-1.6.0
Source:        svnClientAdapter-%{pkgver}-src-svn.tar.gz
Patch0:        netbeans-6.7.1-svnclientadapter-1.6.0-build.patch
License:       Apache Software License Version 2.0
BuildRequires: apache-ant
BuildRequires: apache-ant-nodeps
BuildRequires: apache-ant-junit
BuildRequires: java-emma
BuildRequires: java-openjdk
BuildRequires: java-subversion
BuildRequires: jpackage-utils
Requires:      java-subversion
Requires:      jpackage-utils
Requires:      subversion
BuildRoot:     %{_tmppath}/%{name}-%{version}-root

SVNClientAdapter is a high-level Java API for Subversion.
This is a NetBeans forked version of SvnClientAdapter.


%setup -q -n svnClientAdapter

for j in $(find . -name "*.jar"); do
	mv $j $

%patch -p1

ln -sf %{_javadir}/svn-javahl.jar lib/svnjavahl.jar


export JAVA_HOME=/usr/lib/jvm/java
export CLASSPATH=$(build-classpath emma_ant emma ant/ant-nodeps ant/ant-junit)
ant -verbose svnClientAdapter.jar

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

mkdir -p %{buildroot}%{_javadir}

install -m 644 build/lib/svnClientAdapter.jar\

pushd %{buildroot}%{_javadir}
	ln -sf %{name}-%{version}.jar %{name}.jar

[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"

%doc license.txt readme.txt

* Fri Feb 25 2011 gil <puntogil@...> 6.7.1-2mamba
- rebuilt with OpenJDK support

* Tue Dec 15 2009 gil <puntogil@...> 6.7.1-1mamba
- update to 6.7.1

* Wed Apr 08 2009 gil <puntogil@...> 6.5-1mamba
- update to 6.5

* Mon Dec 22 2008 gil <puntogil@...> 6.1-1mamba
- package created by autospec