%global namedreltag .Final %global namedversion %{version}%{?namedreltag} %global oname jboss-jaxrs-api_2.0_spec Name: jboss-jaxrs-2.0-api Version: 1.0.0 Release: %mkrel 5 Epoch: 1 Group: Development/Java Summary: JAX-RS 2.0: The Java API for RESTful Web Services # ASL 2.0 src/main/java/javax/ws/rs/core/GenericEntity.java License: (CDDL or GPLv2 with exceptions) and ASL 2.0 URL: https://github.com/jboss/jboss-jaxrs-api_spec Source0: https://github.com/jboss/jboss-jaxrs-api_spec/archive/%{oname}-%{namedversion}.tar.gz BuildRequires: maven-local BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.jboss:jboss-parent:pom:) BuildArch: noarch %description JSR 339: JAX-RS 2.0: The Java API for RESTful Web Services. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n jboss-jaxrs-api_spec-%{oname}-%{namedversion} # Unneeded plugin %pom_remove_plugin :maven-source-plugin %mvn_file :%{oname} %{name} # remove after upgrading narayana %mvn_alias ":jboss-jaxrs-api_2.0_spec" "org.jboss.resteasy:jaxrs-api" %build %mvn_build %install %mvn_install %files -f .mfiles %license LICENSE %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Tue Sep 18 2018 umeabot <umeabot> 1:1.0.0-5.mga7 (not released yet) + Revision: 1262694 - Mageia 7 Mass Rebuild * Fri May 19 2017 neoclust <neoclust> 1:1.0.0-4.mga6 + Revision: 1103264 - Revert to fedora version - Second rebuild of the java stack * Tue Feb 23 2016 neoclust <neoclust> 1.0.1-2.mga6 + Revision: 976486 - First rebuild of the java stack - sync package jboss-jaxrs-2.0-api with fedora