Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
eclipse-egit
eclipse-egit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eclipse-egit.spec of Package eclipse-egit
# # spec file for package eclipse-egit # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # 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/ # %global gittag 5.1.3.201810200350-r %bcond_with mylyn Name: eclipse-egit Version: 5.1.3 Release: 0 Summary: Eclipse Git Integration License: EPL-2.0 Group: Development/Libraries/Java URL: http://www.eclipse.org/egit # Use github mirror for now, see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=522144 Source0: https://github.com/eclipse/egit/archive/v%{gittag}/egit-v%{gittag}.tar.gz BuildRequires: eclipse-jdt-bootstrap BuildRequires: eclipse-jgit >= %{version} BuildRequires: eclipse-license2 BuildRequires: eclipse-platform-bootstrap >= 4.6.0 BuildRequires: maven-antrun-plugin BuildRequires: tycho #!BuildIgnore: eclipse-platform tycho-bootstrap jgit-bootstrap eclipse-jdt %if 0 Requires: eclipse-jgit >= %{version} Requires: eclipse-platform >= 4.6.0 %endif BuildConflicts: java-devel >= 9 #!BuildRequires: log4j eclipse-emf-core eclipse-ecf-core BuildArch: noarch %if %{with mylyn} BuildRequires: eclipse-mylyn %endif %description The eclipse-egit package contains Eclipse plugins for interacting with Git repositories. %if %{with mylyn} %package mylyn Summary: Git integration for mylyn. Group: Development/Libraries/Java %description mylyn Git integration for mylyn. %endif %prep %setup -q -n egit-%{gittag} # Fix license req sed -i -e '/license-feature-version/s/2.0.0/0.0.0/' */feature.xml # Disable unnecessary plugins for RPM builds %pom_remove_plugin :maven-enforcer-plugin %pom_xpath_remove "pom:repositories" %pom_xpath_remove "pom:dependencies" %pom_xpath_remove "pom:profiles" %pom_xpath_remove "pom:build/pom:plugins/pom:plugin/pom:configuration/pom:target" %pom_xpath_remove "*[local-name() ='plugin' and (child::*[text()='tycho-packaging-plugin'])]" %pom_xpath_remove "pom:dependencies" org.eclipse.egit.doc/pom.xml %pom_disable_module org.eclipse.egit.repository %pom_disable_module org.eclipse.egit.source-feature %pom_disable_module org.eclipse.egit.target %if %{without mylyn} %pom_disable_module org.eclipse.egit.mylyn.ui %pom_disable_module org.eclipse.egit.mylyn-feature %endif # Disable tests for now %pom_disable_module org.eclipse.egit.core.test %pom_disable_module org.eclipse.egit.ui.test %pom_disable_module org.eclipse.egit.ui.importer.tests %pom_disable_module org.eclipse.egit.gitflow.test %pom_disable_module org.eclipse.egit.mylyn.ui.test %{mvn_package} "::pom::" __noinstall %if %{with mylyn} %{mvn_package} :*mylyn* mylyn %endif %{mvn_package} :* egit %build %{mvn_build} -j -f %install %mvn_install %files -f .mfiles-egit %license LICENSE %doc README.md %if %{with mylyn} %files mylyn -f .mfiles-mylyn %license LICENSE %doc README.md %endif %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