jboss-vfs/jboss-vfs.spec
2020-08-25 11:53:42 +08:00

46 lines
1.4 KiB
RPMSpec

%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