58 lines
1.9 KiB
RPMSpec
58 lines
1.9 KiB
RPMSpec
%global namedreltag .Final
|
|
%global namedversion %{version}%{?namedreltag}
|
|
%global pname jboss-jstl-api_spec
|
|
%global oname jboss-jstl-api_1.2_spec
|
|
Name: jboss-jstl-1.2-api
|
|
Version: 1.1.4
|
|
Release: 2
|
|
Summary: JSP Standard Template Library 1.2 API
|
|
License: ASL 2.0 and (CDDL-1.1 or GPLv2 with exceptions)
|
|
URL: https://github.com/jboss/jboss-jstl-api_spec
|
|
Source0: https://github.com/jboss/jboss-jstl-api_spec/archive/%{oname}-%{namedversion}.tar.gz
|
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
|
BuildRequires: mvn(org.easymock:easymock) mvn(org.jboss:jboss-parent:pom:)
|
|
BuildRequires: mvn(org.jboss.spec.javax.el:jboss-el-api_3.0_spec)
|
|
BuildRequires: mvn(org.jboss.spec.javax.servlet:jboss-servlet-api_3.1_spec)
|
|
BuildRequires: mvn(org.jboss.spec.javax.servlet.jsp:jboss-jsp-api_2.3_spec) mvn(xalan:xalan)
|
|
BuildArch: noarch
|
|
%description
|
|
Java Server Pages Standard Template Library 1.2 API.
|
|
|
|
%package help
|
|
Summary: Javadoc for %{name}
|
|
Provides: %{name}-javadoc = %{version}-%{release}
|
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
|
%description help
|
|
This package contains the API documentation for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{pname}-%{oname}-%{namedversion}
|
|
%pom_remove_plugin :maven-source-plugin
|
|
%mvn_file : %{name}
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%license LICENSE README
|
|
%doc CHANGES.txt README.md
|
|
|
|
%files help -f .mfiles-javadoc
|
|
%license LICENSE README
|
|
|
|
%changelog
|
|
* Thu Jun 30 2022 Chenyx <chenyixiong3@huawei.com> - 1.1.4-2
|
|
- License compliance rectification
|
|
|
|
* Thu May 26 2022 houyingchao <houyingchao@huawei.com> - 1.1.4-1
|
|
- Upgrade to 1.1.4 version
|
|
|
|
* Tue Sep 08 2020 lingsheng <lingsheng@huawei.com> - 1.1.2-2
|
|
- Remove unnecessary patch
|
|
|
|
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.1.2-1
|
|
- package init
|