package init
This commit is contained in:
parent
ca21841870
commit
742762e623
47
jsr-311.spec
Normal file
47
jsr-311.spec
Normal file
@ -0,0 +1,47 @@
|
||||
Name: jsr-311
|
||||
Version: 1.1.1
|
||||
Release: 18
|
||||
Summary: JAX-RS:Java API for RESTful Web Services
|
||||
License: CDDL-1.0
|
||||
URL: http://jsr311.java.net
|
||||
Source0: https://github.com/javaee/jsr311/archive/jsr311-api-1.1.1.tar.gz
|
||||
|
||||
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
||||
|
||||
Provides: javax.ws.rs
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
JAX-RS: Java API for RESTful Web Services
|
||||
|
||||
%package help
|
||||
Provides: %{name}-javadoc = %{version}-%{release}
|
||||
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||
Summary: Javadoc for jsr-311
|
||||
|
||||
%description help
|
||||
This package contains a java manual for introducing jsr-311.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%pom_remove_plugin :buildnumber-maven-plugin
|
||||
%pom_remove_plugin :maven-javadoc-plugin
|
||||
%pom_remove_plugin :maven-source-plugin
|
||||
%pom_xpath_remove "///pom:extensions/pom:extension[pom:artifactId='wagon-svn']"
|
||||
|
||||
%build
|
||||
%mvn_file :jsr311-api %{name} javax.ws.rs/%{name}
|
||||
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
||||
|
||||
%install
|
||||
%mvn_install
|
||||
|
||||
%files -f .mfiles
|
||||
%dir %{_javadir}/javax.ws.rs/
|
||||
|
||||
%files help -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Fri Dec 20 2019 yangjian<yangjian79@huawei.com> - 1.1.1-18
|
||||
- Package init
|
||||
BIN
jsr311-api-1.1.1.tar.gz
Normal file
BIN
jsr311-api-1.1.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user