Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP4:Update
hawtjni-maven-plugin
hawtjni-maven-plugin.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File hawtjni-maven-plugin.spec of Package hawtjni-maven-plugin
# # spec file for package hawtjni-maven-plugin # # Copyright (c) 2022 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: hawtjni-maven-plugin Version: 1.18 Release: 0 Summary: Use HawtJNI from a maven plugin License: Apache-2.0 AND EPL-1.0 AND BSD-3-Clause URL: https://github.com/fusesource/hawtjni Source0: https://github.com/fusesource/hawtjni/archive/hawtjni-project-%{version}.tar.gz Patch0: use-commons-lang3.patch BuildRequires: fdupes BuildRequires: maven-local BuildRequires: mvn(commons-cli:commons-cli) BuildRequires: mvn(org.apache.commons:commons-lang3) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven:maven-archiver) BuildRequires: mvn(org.apache.maven:maven-artifact) BuildRequires: mvn(org.apache.maven:maven-artifact-manager) BuildRequires: mvn(org.apache.maven:maven-compat) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven:maven-project) BuildRequires: mvn(org.apache.xbean:xbean-finder) BuildRequires: mvn(org.codehaus.plexus:plexus-archiver) BuildRequires: mvn(org.codehaus.plexus:plexus-interpolation) BuildRequires: mvn(org.codehaus.plexus:plexus-io) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) BuildRequires: mvn(org.fusesource.hawtjni:hawtjni-generator) >= %{version} BuildRequires: mvn(org.fusesource:fusesource-pom:pom:) BuildRequires: mvn(org.ow2.asm:asm) BuildRequires: mvn(org.ow2.asm:asm-commons) BuildArch: noarch %description HawtJNI is a code generator that produces the JNI code needed to implement java native methods. It is based on the jnigen code generator that is part of the SWT Tools project which is used to generate all the JNI code which powers the eclipse platform. This package allows to use HawtJNI from a maven plugin. %package javadoc Summary: Javadocs for %{name} %description javadoc This package contains the API documentation for %{name}. %prep %setup -q -n hawtjni-hawtjni-project-%{version} %patch0 -p1 # We build only the maven plugin in this one %pom_disable_module hawtjni-example %pom_disable_module hawtjni-generator %pom_disable_module hawtjni-runtime %pom_remove_plugin -r :maven-eclipse-plugin %pom_add_dep org.apache.maven:maven-compat:\${mavenVersion}: hawtjni-maven-plugin %{mvn_package} :hawtjni-project __noinstall %{mvn_alias} :hawtjni-maven-plugin :maven-hawtjni-plugin %build %{mvn_build} -f \ %if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} -- -Dmaven.compiler.release=8 %endif %install %mvn_install %fdupes -s %{buildroot}%{_javadocdir} %files -f .mfiles %license license.txt %doc readme.md changelog.md %files javadoc -f .mfiles-javadoc %license license.txt %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