diff --git a/jboss-vfs-3.2.12.Final.tar.gz b/jboss-vfs-3.2.12.Final.tar.gz new file mode 100644 index 0000000..23a78ea Binary files /dev/null and b/jboss-vfs-3.2.12.Final.tar.gz differ diff --git a/jboss-vfs.spec b/jboss-vfs.spec new file mode 100644 index 0000000..1476d5a --- /dev/null +++ b/jboss-vfs.spec @@ -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 - 3.2.12-1 +- Package init diff --git a/jboss-vfs.yaml b/jboss-vfs.yaml new file mode 100644 index 0000000..33405d6 --- /dev/null +++ b/jboss-vfs.yaml @@ -0,0 +1,4 @@ +version_control: github +src_repo: jbossas/jboss-vfs +tag_pattern: "jboss-vfs-(.*?).Final" +seperator: "."