jboss-servlet-3.1-api/jboss-servlet-3.1-api.spec
2022-06-30 07:25:11 +00:00

50 lines
1.5 KiB
RPMSpec

%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-servlet-3.1-api
Version: 1.0.2
Release: 2
Summary: Java Servlet 3.1 API
License: (CDDL-1.0 or GPLv2 with exceptions) and ASL 2.0
Url: http://www.jboss.org
Source0: https://github.com/jboss/jboss-servlet-api_spec/archive/jboss-servlet-api_3.1_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.jboss:jboss-parent:pom:)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildArch: noarch
%description
The Java Servlet 3.1 API classes.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jboss-servlet-api_spec-jboss-servlet-api_3.1_spec-%{namedversion}
cp %{SOURCE1} .
cp %{SOURCE2} .
%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
* Thu Jun 30 2022 Chenyx <chenyixiong3@huawei.com> - 1.0.2-2
- License compliance rectification
* Thu May 26 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 1.0.2-1
- Update to 1.0.2
* Sat Aug 1 2020 yanan li <liyanan032@huawei.com> - 1.0.0-1
- Package init