package init
This commit is contained in:
parent
9921ed779a
commit
09376c4b87
42
jboss-jaxrs-2.0-api.spec
Normal file
42
jboss-jaxrs-2.0-api.spec
Normal file
@ -0,0 +1,42 @@
|
||||
%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: 1
|
||||
Summary: JAX-RS 2.0: The Java API for RESTful Web Services
|
||||
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 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}
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%mvn_file :%{oname} %{name}
|
||||
%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
|
||||
* Thu Jul 23 2020 yanan li <liyanan032@huawei.com> - 1.0.0-8
|
||||
- Package init
|
||||
5
jboss-jaxrs-2.0-api.yaml
Normal file
5
jboss-jaxrs-2.0-api.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
git_url: https://github.com/jboss/jboss-jaxrs-api_spec.git
|
||||
version_control: github
|
||||
src_repo: jboss/jboss-jaxrs-api_spec
|
||||
tag_prefix: "jboss-jaxrs-api_2.0_spec-"
|
||||
seperator: "."
|
||||
BIN
jboss-jaxrs-api_2.0_spec-1.0.0.Final.tar.gz
Normal file
BIN
jboss-jaxrs-api_2.0_spec-1.0.0.Final.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user