jboss-el-3.0-api/jboss-el-3.0-api.spec

50 lines
1.6 KiB
RPMSpec
Raw Normal View History

2020-08-28 15:16:55 +08:00
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-el-3.0-api
Version: 1.0.13
2020-08-28 15:16:55 +08:00
Release: 1
Summary: JSR-341 Expression Language 3.0 API
License: GPLv2 and ASL 2.0
2020-08-28 15:16:55 +08:00
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
2020-08-28 15:16:55 +08:00
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
%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 Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.0.13-1
- Upgrade to version 1.0.13
2020-08-28 15:16:55 +08:00
* Mon Aug 17 2020 Shaoqiang Kang <kangshaoqiang1@huawei.com> - 1.0.5-1
- Package init