diff --git a/.gitignore b/.gitignore index e69de29..434f819 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/jboss-jaxrs-api_2.0_spec-1.0.0.Final.tar.gz diff --git a/jboss-jaxrs-2.0-api.spec b/jboss-jaxrs-2.0-api.spec new file mode 100644 index 0000000..141b7b3 --- /dev/null +++ b/jboss-jaxrs-2.0-api.spec @@ -0,0 +1,55 @@ +%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: 2%{?dist} +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} + +%build + +%mvn_build + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog +* Tue Jun 07 2016 gil cattaneo 1.0.0-2 +- review fixes + +* Mon Jun 06 2016 gil cattaneo 1.0.0-1 +- initial rpm diff --git a/sources b/sources index e69de29..293d2dc 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ba34279b1793913af28999a4b3107378 jboss-jaxrs-api_2.0_spec-1.0.0.Final.tar.gz