2009-07-12 02:50:09 +00:00
|
|
|
#
|
2013-09-11 11:38:15 +00:00
|
|
|
# spec file for package netbeans-svnclientadapter
|
2009-07-12 02:50:09 +00:00
|
|
|
#
|
2024-02-21 21:20:13 +00:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2009-07-12 02:50:09 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-03-23 04:43:27 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-07-12 02:50:09 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2010-04-08 10:34:09 +00:00
|
|
|
%global __jar_repack %{nil}
|
|
|
|
%global nb_ netbeans
|
|
|
|
%global nb_org %{nb_}.org
|
|
|
|
%global nb_ver 6.7.1
|
|
|
|
%global svnCA svnClientAdapter
|
|
|
|
%global svnCA_ver 1.6.0
|
2009-07-12 02:50:09 +00:00
|
|
|
Name: netbeans-svnclientadapter
|
2010-04-08 10:34:09 +00:00
|
|
|
Version: %{nb_ver}
|
2014-07-08 10:54:17 +00:00
|
|
|
Release: 0
|
2009-07-12 02:50:09 +00:00
|
|
|
Summary: Subversion Client Adapter
|
2011-12-06 17:31:34 +00:00
|
|
|
License: Apache-2.0
|
2010-04-08 10:34:09 +00:00
|
|
|
Group: Development/Libraries/Java
|
2022-03-23 04:43:27 +00:00
|
|
|
URL: http://subclipse.tigris.org/svnClientAdapter.html
|
2009-07-12 02:50:09 +00:00
|
|
|
# The source for this package was pulled from upstream's vcs. Use the
|
|
|
|
# following commands to generate the tarball:
|
2010-04-08 10:34:09 +00:00
|
|
|
# svn export --force --username guest -r4383 \
|
|
|
|
# http://subclipse.tigris.org/svn/subclipse/trunk/svnClientAdapter/ \
|
|
|
|
# svnClientAdapter-1.6.0
|
|
|
|
# tar -czvf svnClientAdapter-1.6.0.tar.gz svnClientAdapter-1.6.0
|
|
|
|
Source0: %{svnCA}-%{svnCA_ver}.tar.bz2
|
|
|
|
Patch0: %{svnCA}-%{svnCA_ver}-build.patch
|
2009-07-12 02:50:09 +00:00
|
|
|
BuildRequires: ant
|
|
|
|
BuildRequires: ant-junit
|
2022-03-23 04:43:27 +00:00
|
|
|
BuildRequires: java-devel >= 1.8
|
2013-09-11 11:38:15 +00:00
|
|
|
BuildRequires: javapackages-tools
|
2009-07-12 02:50:09 +00:00
|
|
|
BuildRequires: subversion-javahl
|
2022-03-23 04:43:27 +00:00
|
|
|
Requires: java >= 1.8
|
2013-09-11 11:38:15 +00:00
|
|
|
Requires: javapackages-tools
|
2010-04-08 10:34:09 +00:00
|
|
|
Requires: subversion
|
2014-07-08 10:54:17 +00:00
|
|
|
BuildArch: noarch
|
2009-07-12 02:50:09 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
SVNClientAdapter is a high-level Java API for Subversion.
|
|
|
|
|
|
|
|
%prep
|
2010-04-08 10:34:09 +00:00
|
|
|
%setup -q -n %{svnCA}-%{svnCA_ver}
|
|
|
|
|
2009-07-12 02:50:09 +00:00
|
|
|
# remove all binary libs
|
2014-07-08 10:54:17 +00:00
|
|
|
find . -name "*.jar" -exec rm -f {} \;
|
2010-04-08 10:34:09 +00:00
|
|
|
|
2024-02-21 21:20:13 +00:00
|
|
|
%patch -P 0 -p1 -b .sav
|
2010-04-08 10:34:09 +00:00
|
|
|
|
2022-03-23 04:43:27 +00:00
|
|
|
ln -s -f $(find-jar svnkit-javahl) lib/svnjavahl.jar
|
2009-07-12 02:50:09 +00:00
|
|
|
|
|
|
|
%build
|
2022-03-23 04:43:27 +00:00
|
|
|
%{ant} \
|
2017-09-19 15:34:26 +00:00
|
|
|
-verbose \
|
2022-03-23 04:43:27 +00:00
|
|
|
-DtargetJvm=1.8 \
|
2017-09-19 15:34:26 +00:00
|
|
|
svnClientAdapter.jar
|
2009-07-12 02:50:09 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
# jar
|
2014-07-08 10:54:17 +00:00
|
|
|
install -d -m 755 %{buildroot}%{_javadir}
|
2022-03-23 04:43:27 +00:00
|
|
|
install -m 644 build/lib/svnClientAdapter.jar %{buildroot}%{_javadir}/%{name}.jar
|
2009-07-12 02:50:09 +00:00
|
|
|
|
|
|
|
%files
|
2022-03-23 04:43:27 +00:00
|
|
|
%license license.txt
|
|
|
|
%doc readme.txt
|
2009-07-12 02:50:09 +00:00
|
|
|
%{_javadir}/*
|
|
|
|
|
|
|
|
%changelog
|