Projects
Mega:24.03:SP1:Everything
os-maven-plugin
_service:tar_scm:os-maven-plugin.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:os-maven-plugin.spec of Package os-maven-plugin
%global vertag Final Name: os-maven-plugin version: 1.5.0 Release: 2 Summary: Maven plugin for generating platform-dependent properties License: ASL 2.0 URL: https://github.com/trustin/os-maven-plugin/ BuildArch: noarch Source0: https://github.com/trustin/%{name}/archive/refs/tags/%{name}-%{version}.Final.tar.gz Patch0: 0001-Port-to-current-plexus-utils.patch Patch1: 0002-Add_support_for_RISC-V_arch.patch Patch2: 0003-add-loongarch64-support-for-os-maven-plugin.patch BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.maven:maven-core) BuildRequires: mvn(org.apache.maven:maven-plugin-api) BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin) BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations) BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata) BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(org.sonatype.oss:oss-parent:pom:) BuildRequires: mvn(com.google.code.findbugs:jsr305) %description os-maven-plugin is a Maven extension/plugin that generates various useful platform-dependent project properties normalized from ${os.name} and ${os.arch}. ${os.name} and ${os.arch} are often subtly different between JVM and operating system versions or they sometimes contain machine-unfriendly characters such as whitespaces. This plugin tries to remove such fragmentation so that you can determine the current operating system and architecture reliably. %package javadoc Summary: API documentation for %{name} %description javadoc This package provides %{summary}. %prep %setup -n %{name}-%{name}-%{version}.%{vertag} %patch0 -p1 %patch1 -p1 %patch2 -p1 # Remove Eclipse plugin (not needed in Fedora) %pom_remove_dep org.eclipse:ui %pom_remove_plugin :maven-jar-plugin %pom_remove_plugin org.codehaus.mojo:animal-sniffer-maven-plugin %pom_add_dep com.google.code.findbugs:jsr305:3.0.2 find -name EclipseStartup.java -delete find -name plugin.xml -delete %build %mvn_build %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %dir %{_mavenpomdir}/%{name} %doc LICENSE.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt %changelog * Wed Mar 27 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.5.0-2 - fix build error for loongarch64 * Mon Feb 05 2024 Ge Wang <wang__ge@126.com> - 1.5.0-1 - Update to version 1.5.0 * Mon Jun 26 2023 xiaoqian lv <xiaoqian@nj.iscas.ac.cn> - 1.2.3-3 - Add support for RISC-V arch * Thu Mar 9 2023 Wenlong Zhang<zhangwenlong@loongson.cn> - 1.2.3-2 - add loongarch64 support for os-maven-plugin * Wed Jul 29 2020 wangxiao <wangxiao65@huawei.com> - 1.2.3-1 - package init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2