Package init

This commit is contained in:
wang_yue111 2020-04-23 14:29:26 +08:00
parent f7c53729cd
commit fc7641c5f6
2 changed files with 43 additions and 0 deletions

43
jboss-jsp-2.2-api.spec Normal file
View File

@ -0,0 +1,43 @@
Name: jboss-jsp-2.2-api
Version: 1.0.1
Release: 19
Summary: JavaServer(TM) Pages 2.2 API
License: CDDL or GPLv2 with exceptions
URL: http://www.jboss.org/
Source0: https://github.com/jboss/jboss-jsp-api_spec/archive/jboss-jsp-api_2.2_spec-%{version}.Final.tar.gz
BuildRequires: maven-local maven-plugin-bundle jboss-parent
BuildRequires: jboss-el-2.2-api jboss-servlet-3.0-api
BuildArch: noarch
%description
JavaServer(TM) Pages 2.2 API
%package help
Summary: Help documentation for the %{name}
Provides: %{name}-javadoc = %version-%release
Obsoletes: %{name}-javadoc < %version-%release
%description help
API documentation for the %{name}.
%prep
%autosetup -n jboss-jsp-api_spec-jboss-jsp-api_2.2_spec-%{version}.Final -p1
%pom_remove_plugin :maven-source-plugin
%mvn_file : %{name}
%mvn_alias : javax.servlet.jsp:jsp-api
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc README LICENSE
%files help -f .mfiles-javadoc
%doc LICENSE
%changelog
* Sat Mar 14 2020 likexin <likexin4@huawei.com> - 1.0.1-19
- package init

Binary file not shown.