48 lines
1.3 KiB
RPMSpec
48 lines
1.3 KiB
RPMSpec
%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
|