43 lines
1.2 KiB
RPMSpec
43 lines
1.2 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
Name: jboss-servlet-2.5-api
|
|
Version: 1.0.1
|
|
Release: 2
|
|
Summary: Java Servlet 2.5 API
|
|
License: Apache-2.0 and W3C
|
|
Url: http://www.jboss.org
|
|
Source0: https://github.com/jboss/jboss-servlet-api_spec/archive/refs/tags/jboss-servlet-api_2.5_spec-1.0.1.Final.tar.gz
|
|
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.jboss.spec:jboss-specs-parent:pom:)
|
|
BuildArch: noarch
|
|
%description
|
|
The Java Servlet 2.5 API classes.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for jboss-servlet-2.5-api
|
|
%description javadoc
|
|
This package contains the API documentation for jboss-servlet-2.5-api.
|
|
|
|
%prep
|
|
%setup -q -n jboss-servlet-api_spec-jboss-servlet-api_2.5_spec-1.0.1.Final
|
|
%mvn_file : jboss-servlet-2.5-api
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE NOTICE
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE NOTICE
|
|
|
|
%changelog
|
|
* Thu Nov 10 2022 Ge Wang <wangge20@h-partners.com> - 1.0.1-2
|
|
- Bring source file into correspondence with descirbed in spec file
|
|
|
|
* Fri Aug 14 2020 yaokai <yaokai13@huawei.com> - 1.0.1-1
|
|
- Package init
|