!1 package init

Merge pull request !1 from yaokai13/master
This commit is contained in:
openeuler-ci-bot 2020-08-29 16:30:33 +08:00 committed by Gitee
commit 08d8c95437
3 changed files with 49 additions and 0 deletions

Binary file not shown.

45
jboss-vfs.spec Normal file
View File

@ -0,0 +1,45 @@
%global namedreltag .Final
%global namedversion %{version}%{?namedreltag}
Name: jboss-vfs
Version: 3.2.12
Release: 1
Summary: JBoss Virtual File System
License: ASL 2.0
URL: https://github.com/jbossas/jboss-vfs/
Source0: https://github.com/jbossas/jboss-vfs/archive/jboss-vfs-%{namedversion}.tar.gz
BuildArch: noarch
BuildRequires: maven-local mvn(junit:junit) mvn(org.jboss:jboss-parent:pom:)
BuildRequires: mvn(org.jboss.logging:jboss-logging)
BuildRequires: mvn(org.jboss.logging:jboss-logging-annotations)
BuildRequires: mvn(org.jboss.logging:jboss-logging-processor)
%description
This package contains the JBoss Virtual File System.
%package javadoc
Summary: Javadoc for jboss-vfs
%description javadoc
This package contains the API documentation for jboss-vfs.
%prep
%setup -q -n jboss-vfs-jboss-vfs-%{namedversion}
find . -name "*.ear" -type f -print -delete
find . -name "*.jar" -type f -print -delete
find . -name "*.war" -type f -print -delete
find . -name "*.zip" -type f -print -delete
%pom_remove_plugin :maven-checkstyle-plugin
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Thu Aug 20 2020 yaokai <yaokai13@huawei.com> - 3.2.12-1
- Package init

4
jboss-vfs.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: jbossas/jboss-vfs
tag_pattern: "jboss-vfs-(.*?).Final"
seperator: "."