Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37493806
en ru br
ALT Linux repositórios
S:4.2.1-alt1_4jpp11

Group :: Desenvolvimento/Java
RPM: stax2-api

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Group: Development/Java
BuildRequires: /proc rpm-build-java
BuildRequires: jpackage-11-compat
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name:             stax2-api
Version:          4.2.1
Release:          alt1_4jpp11
Summary:          Experimental API extending basic StAX implementation
License:          BSD

URL:              https://github.com/FasterXML/stax2-api
Source0:          %{url}/archive/%{name}-%{version}.tar.gz

BuildArch:        noarch

BuildRequires:    maven-local
BuildRequires:    mvn(com.fasterxml:oss-parent:pom:)
BuildRequires:    mvn(org.apache.felix:maven-bundle-plugin)
Source44: import.info

%description
StAX2 is an experimental API that is intended to extend
basic StAX specifications in a way that allows implementations
to experiment with features before they end up in the actual
StAX specification (if they do). As such, it is intended
to be freely implementable by all StAX implementations same way
as StAX, but without going through a formal JCP process.

%package          javadoc
Group: Development/Java
Summary:          API documentation for %{name}
BuildArch: noarch

%description      javadoc
This package contains the API documentation for %{name}.

%prep
%setup -q -n %{name}-%{name}-%{version}


%pom_xpath_remove pom:Import-Package

# javadoc generation fails due to strict doclint in JDK 8

%pom_remove_plugin :maven-javadoc-plugin
%pom_remove_plugin :moditect-maven-plugin

%build
%mvn_file :%{name} %{name}
%mvn_build -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 -Dmaven.javadoc.source=1.8 -Dmaven.compiler.release=8

%install
%mvn_install

%files -f .mfiles
%doc README.md

%files javadoc -f .mfiles-javadoc

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009