This commit is contained in:
compile_success 2019-12-17 09:45:56 +08:00
parent 26a9cbbd90
commit feb99bbdad
2 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,47 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
%global oname jboss-interceptors-api_1.2_spec
Name: jboss-interceptors-1.2-api
Version: 1.0.0
Release: 9
Summary: Java EE Interceptors 1.2 API
License: CDDL or GPLv2 with exceptions
URL: https://github.com/jboss/jboss-interceptors-api_spec
Source0: https://github.com/jboss/jboss-interceptors-api_spec/archive/jboss-interceptors-api_1.2_spec-%{namedversion}.tar.gz
BuildArch: noarch
BuildRequires: maven-plugin-bundle maven-source-plugin
BuildRequires: jboss-parent maven-local maven-enforcer-plugin
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description
The Java EE Interceptors 1.2 API classes from JSR 318.
%prep
%setup -q -n jboss-interceptors-api_spec-jboss-interceptors-api_1.2_spec-%{namedversion}
sed -i "s,59,51,;s,Temple Place,Franklin Street,;s,Suite 330,Fifth Floor,;s,02111-1307,02110-1301," LICENSE
%mvn_file :%{oname} %{name}
%build
%mvn_build
%install
%mvn_install
%files
%defattr(-,root,root)
%doc README
%license LICENSE
%{_datadir}/java/*
%{_datadir}/javadoc/*
%{_datadir}/maven-poms/*
%{_datadir}/maven-metadata/*
%changelog
* Sat Dec 7 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.0.0-9
- Package init

Binary file not shown.