init
This commit is contained in:
parent
26a9cbbd90
commit
feb99bbdad
47
jboss-interceptors-1.2-api.spec
Normal file
47
jboss-interceptors-1.2-api.spec
Normal 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
|
||||||
BIN
jboss-interceptors-api_1.2_spec-1.0.0.Final.tar.gz
Normal file
BIN
jboss-interceptors-api_1.2_spec-1.0.0.Final.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user