Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:packages
eclipse-swtbot
eclipse-swtbot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eclipse-swtbot.spec of Package eclipse-swtbot
# # spec file for package eclipse-swtbot # # Copyright (c) 2024 SUSE LLC # # 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. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: eclipse-swtbot Version: 3.0.0 Release: 0 Summary: UI and functional testing tool for SWT and Eclipse based applications License: EPL-1.0 URL: https://www.eclipse.org/swtbot/ Source: https://git.eclipse.org/c/swtbot/org.eclipse.swtbot.git/snapshot/org.eclipse.swtbot-%{version}.tar.xz Patch0: ant-1.10.10.patch Patch1: hamcrest-2.2.patch BuildRequires: cbi-plugins BuildRequires: eclipse-gef BuildRequires: eclipse-license BuildRequires: eclipse-nebula BuildRequires: eclipse-pde BuildRequires: fdupes BuildRequires: hamcrest BuildRequires: maven-local BuildRequires: tycho BuildConflicts: java >= 12 BuildConflicts: java-devel >= 12 BuildConflicts: java-headless >= 12 BuildArch: noarch # Upstream Eclipse no longer supports non-64bit arches ExcludeArch: s390 %{arm} %{ix86} #!BuildRequires: jgit %description SWTBot is a Java based UI/functional testing tool for testing SWT and Eclipse based applications. SWTBot provides APIs that are simple to read and write. The APIs also hide the complexities involved with SWT and Eclipse. This makes it suitable for UI/functional testing by everyone, not just developers. %prep %setup -q -n org.eclipse.swtbot-%{version} %patch -P 0 -p1 %patch -P 1 -p1 for j in $(find -name \*.jar); do if [ ! -L $j ] ; then rm -fr $j fi done %pom_xpath_remove "pom:build/pom:plugins/pom:plugin[pom:artifactId ='target-platform-configuration']" %pom_remove_plugin org.jacoco:jacoco-maven-plugin %pom_remove_plugin org.eclipse.tycho:tycho-packaging-plugin %pom_disable_module org.eclipse.swtbot.updatesite # Do not build tests, since we are not distributing them %pom_disable_module org.eclipse.swtbot.e4.finder.test %pom_disable_module org.eclipse.swtbot.eclipse.finder.test %pom_disable_module org.eclipse.swtbot.eclipse.test.junit %pom_disable_module org.eclipse.swtbot.eclipse.ui.test %pom_disable_module org.eclipse.swtbot.forms.finder.test %pom_disable_module org.eclipse.swtbot.generator.jdt.test %pom_disable_module org.eclipse.swtbot.generator.test %pom_disable_module org.eclipse.swtbot.swt.finder.test %pom_disable_module org.eclipse.swtbot.swt.finder.test.keyboards %pom_disable_module org.eclipse.swtbot.test %pom_disable_module org.eclipse.swtbot.nebula.nattable %pom_disable_module org.eclipse.swtbot.nebula.nattable.finder %pom_disable_module org.eclipse.swtbot.nebula.nattable.finder.test %{mvn_package} "::pom::" __noinstall %{mvn_package} ":*.test" __noinstall %{mvn_package} ":*.test.*" __noinstall %{mvn_package} ":*.{examples,demo}" __noinstall %{mvn_package} "::jar:sources:" %build %{mvn_build} -j -f -- \ -Dproject.build.outputTimestamp=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%%s)} +%%Y-%%m-%%dT%%H:%%M:%%SZ) %install %mvn_install # Remove uneeded extra symlinks # (these are optional deps of log4j, which we don't need at runtime) # Needed until fp-p2 can grow the features to make this possible in a better way sed -i -e '/\(geronimo\|mail\)/d' .mfiles %{buildroot}/%{_datadir}/eclipse/droplets/swtbot/fragment.info rm -f %{buildroot}/%{_datadir}/eclipse/droplets/swtbot/plugins/*{mail,geronimo}* %fdupes -s %{buildroot}%{_datadir}/eclipse %files -f .mfiles %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor