|
|
506bfc |
%{?scl:%scl_package eclipse-swtbot}
|
|
|
506bfc |
%{!?scl:%global pkg_name %{name}}
|
|
|
f986f1 |
%{?java_common_find_provides_and_requires}
|
|
|
506bfc |
|
|
|
506bfc |
Name: %{?scl_prefix}eclipse-swtbot
|
|
|
506bfc |
Version: 2.2.1
|
|
|
f986f1 |
Release: 6.2%{?dist}
|
|
|
506bfc |
Summary: UI and functional testing tool for SWT and Eclipse based applications
|
|
|
506bfc |
|
|
|
506bfc |
License: EPL
|
|
|
506bfc |
URL: http://www.eclipse.org/swtbot/
|
|
|
506bfc |
Source0: http://git.eclipse.org/c/swtbot/org.eclipse.swtbot.git/snapshot/org.eclipse.swtbot-%{version}.tar.bz2
|
|
|
506bfc |
Patch0: drop-source-bundles.patch
|
|
|
506bfc |
# Temporary patch required because hamcrest 1.3 is supplying hamcrest 1.1
|
|
|
f986f1 |
Patch1: eclipse-swtbot-hamcrest.patch
|
|
|
f986f1 |
BuildRequires: %{?scl_prefix}tycho
|
|
|
f986f1 |
BuildRequires: %{?scl_prefix}tycho-extras
|
|
|
506bfc |
BuildRequires: %{?scl_prefix}eclipse-gef
|
|
|
506bfc |
BuildRequires: %{?scl_prefix}eclipse-pde
|
|
|
506bfc |
BuildRequires: %{?scl_prefix}cbi-plugins
|
|
|
506bfc |
BuildRequires: %{?scl_prefix}eclipse-license
|
|
|
f986f1 |
BuildRequires: %{?scl_prefix_java_common}log4j
|
|
|
506bfc |
BuildArch: noarch
|
|
|
506bfc |
|
|
|
506bfc |
%description
|
|
|
506bfc |
SWTBot is a Java based UI/functional testing tool for testing SWT and Eclipse
|
|
|
506bfc |
based applications. SWTBot provides APIs that are simple to read and write.
|
|
|
506bfc |
The APIs also hide the complexities involved with SWT and Eclipse. This makes
|
|
|
506bfc |
it suitable for UI/functional testing by everyone, not just developers.
|
|
|
506bfc |
|
|
|
506bfc |
%prep
|
|
|
506bfc |
%setup -q -n org.eclipse.swtbot-%{version}
|
|
|
506bfc |
|
|
|
f986f1 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
506bfc |
for j in $(find -name \*.jar); do
|
|
|
506bfc |
if [ ! -L $j ] ; then
|
|
|
506bfc |
rm -fr $j
|
|
|
506bfc |
fi
|
|
|
506bfc |
done
|
|
|
506bfc |
%patch0
|
|
|
506bfc |
%patch1
|
|
|
506bfc |
%pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId ='target-platform-configuration']"
|
|
|
506bfc |
%pom_remove_plugin org.jacoco:jacoco-maven-plugin
|
|
|
506bfc |
%pom_remove_plugin org.eclipse.tycho:tycho-packaging-plugin
|
|
|
506bfc |
|
|
|
f986f1 |
%mvn_package ":*.test" __noinstall
|
|
|
f986f1 |
%mvn_package ":*.test.*" __noinstall
|
|
|
f986f1 |
%mvn_package ":*.examples" __noinstall
|
|
|
f986f1 |
%mvn_package "::jar:sources:"
|
|
|
f986f1 |
%{?scl:EOF}
|
|
|
506bfc |
|
|
|
506bfc |
%build
|
|
|
f986f1 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
f986f1 |
%mvn_build -j -f
|
|
|
f986f1 |
%{?scl:EOF}
|
|
|
506bfc |
|
|
|
506bfc |
%install
|
|
|
f986f1 |
%{?scl:scl enable %{scl_maven} %{scl} - <<"EOF"}
|
|
|
f986f1 |
%mvn_install
|
|
|
f986f1 |
%{?scl:EOF}
|
|
|
506bfc |
|
|
|
f986f1 |
%files -f .mfiles
|
|
|
506bfc |
|
|
|
f986f1 |
%changelog
|
|
|
f986f1 |
* Fri Jan 16 2015 Mat Booth <mat.booth@redhat.com> - 2.2.1-6.2
|
|
|
f986f1 |
- Rebuilt to regenerate provides/requires
|
|
|
506bfc |
|
|
|
f986f1 |
* Wed Jan 14 2015 Mat Booth <mat.booth@redhat.com> - 2.2.1-6.1
|
|
|
f986f1 |
- Resolves: rhbz#1175105 - Import into DTS 3.1
|
|
|
506bfc |
|
|
|
f986f1 |
* Wed Dec 3 2014 Alexander Kurtakov <akurtako@redhat.com> 2.2.1-3
|
|
|
f986f1 |
- Build with xmvn.
|
|
|
f986f1 |
|
|
|
f986f1 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.1-2
|
|
|
f986f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
f986f1 |
|
|
|
f986f1 |
* Wed Jun 4 2014 Alexander Kurtakov <akurtako@redhat.com> 2.2.1-1
|
|
|
f986f1 |
- Update to upstream 2.2.1 release.
|
|
|
f986f1 |
|
|
|
f986f1 |
* Mon Aug 12 2013 Alexander Kurtakov <akurtako@redhat.com> 2.1.1-1
|
|
|
f986f1 |
- Update to latest upstream version.
|
|
|
f986f1 |
|
|
|
f986f1 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.0-2
|
|
|
f986f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
f986f1 |
|
|
|
f986f1 |
* Fri Apr 19 2013 Alexander Kurtakov <akurtako@redhat.com> 2.1.0-1
|
|
|
f986f1 |
- Update to the official release.
|
|
|
506bfc |
|
|
|
f986f1 |
* Tue Feb 26 2013 Alexander Kurtakov <akurtako@redhat.com> 2.1.0-0.2.20130226git
|
|
|
f986f1 |
- New snapshot removing org.junit4 references.
|
|
|
506bfc |
|
|
|
f986f1 |
* Tue Feb 26 2013 Alexander Kurtakov <akurtako@redhat.com> 2.1.0-0.1.20130225git
|
|
|
f986f1 |
- Update to 2.1.0 prerelease - compatible with kepler platform.
|
|
|
506bfc |
|
|
|
f986f1 |
* Wed Feb 20 2013 Alexander Kurtakov <akurtako@redhat.com> 2.0.5-4.20120802git
|
|
|
f986f1 |
- Skip tycho version check.
|
|
|
506bfc |
|
|
|
f986f1 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.5-3.20120802git
|
|
|
f986f1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
506bfc |
|
|
|
f986f1 |
* Mon Aug 6 2012 Alexander Kurtakov <akurtako@redhat.com> 2.0.5-2.20120802git
|
|
|
f986f1 |
- Fix review comments.
|
|
|
506bfc |
|
|
|
f986f1 |
* Thu Aug 2 2012 Alexander Kurtakov <akurtako@redhat.com> 2.0.5-1.gita95f41b7ae6d7790dab36bca982d4b833fd2662d
|
|
|
f986f1 |
- Initial package
|