56 lines
1.8 KiB
RPMSpec
56 lines
1.8 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: jboss-el-3.0-api
|
|
Version: 1.0.13
|
|
Release: 3
|
|
Summary: JSR-341 Expression Language 3.0 API
|
|
License: GPL-2.0-only and Apache-2.0
|
|
Url: https://github.com/jboss/jboss-el-api_spec
|
|
Source0: https://github.com/jboss/jboss-el-api_spec/archive/jboss-el-api_3.0_spec-%{namedversion}.tar.gz
|
|
Source1: http://www.apache.org/licenses/LICENSE-2.0.txt
|
|
Source2: http://repository.jboss.org/licenses/cddl.txt
|
|
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.jboss:jboss-parent:pom:)
|
|
BuildRequires: glassfish-el
|
|
BuildArch: noarch
|
|
%description
|
|
The JSR-341 Expression Language 3.0 API classes.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
%description javadoc
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n jboss-el-api_spec-jboss-el-api_3.0_spec-%{namedversion}
|
|
cp %{SOURCE1} .
|
|
cp %{SOURCE2} .
|
|
%pom_remove_plugin :maven-source-plugin
|
|
sed -i "s,59 Temple Place,51 Franklin Street,;s,Suite 330,Fifth Floor,;s,02111-1307,02110-1301," LICENSE
|
|
|
|
%build
|
|
%mvn_build -- -Dmaven.test.failure.ignore=true
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README
|
|
%license LICENSE cddl.txt LICENSE-2.0.txt
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE cddl.txt LICENSE-2.0.txt
|
|
|
|
%changelog
|
|
* Tue Jun 07 2022 houyingchao <houyingchao@h-partners.com> - 1.0.13-3
|
|
- Fix compilation failed
|
|
|
|
* Wed May 11 2022 liyanan <liyanan32@h-partners.com> - 1.0.13-2
|
|
- License compliance rectification
|
|
|
|
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.0.13-1
|
|
- Upgrade to version 1.0.13
|
|
|
|
* Mon Aug 17 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 1.0.5-1
|
|
- Package init
|