package init

This commit is contained in:
lyn1001 2020-08-19 14:24:04 +08:00
parent 63e449c9c5
commit 18b2c066d3
4 changed files with 65 additions and 0 deletions

View File

@ -0,0 +1,13 @@
diff --git a/LICENSE b/LICENSE
index b40a0f4..2a9d428 100644
--- a/LICENSE
+++ b/LICENSE
@@ -3,7 +3,7 @@ The GNU General Public License (GPL)
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
-59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies of this license
document, but changing it is not allowed.

47
jboss-jsf-2.1-api.spec Normal file
View File

@ -0,0 +1,47 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-jsf-2.1-api
Version: 2.0.2
Release: 1
Summary: JavaServer Faces 2.1 API
License: CDDL or GPLv2 with exceptions
URL: http://www.jboss.org
Source0: https://github.com/jboss/jboss-jsf-api_spec/archive/jboss-jsf-api_2.1_spec-%{namedversion}.tar.gz
Patch0: %{name}-fix-fsf-address.patch
BuildRequires: mvn(javax.validation:validation-api) mvn(org.jboss:jboss-parent:pom:)
BuildRequires: mvn(org.jboss.spec.javax.el:jboss-el-api_2.2_spec)
BuildRequires: mvn(org.jboss.spec.javax.servlet.jsp:jboss-jsp-api_2.2_spec)
BuildRequires: mvn(org.jboss.spec.javax.servlet.jstl:jboss-jstl-api_1.2_spec) maven-local
BuildRequires: maven-plugin-bundle objenesis
BuildArch: noarch
%description
JavaServer Faces API classes based on Version 2.1 of Specification.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q -n jboss-jsf-api_spec-jboss-jsf-api_2.1_spec-%{namedversion}
%patch0 -p1
%mvn_file :jboss-jsf-api_2.1_spec %{name}
%mvn_alias :jboss-jsf-api_2.1_spec javax.faces:jsf-api
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%license LICENSE
%doc README
%files javadoc -f .mfiles-javadoc
%license LICENSE
%doc README
%changelog
* Sat Aug 1 2020 yanan li <liyanan032@huawei.com> - 2.0.2-1
- Package init

5
jboss-jsf-2.1-api.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/jboss/jboss-jsf-api_spec.git
version_control: github
src_repo: jboss/jboss-jsf-api_spec
tag_prefix: "jboss-jsf-api_2.1_spec-"
seperator: "."

Binary file not shown.