takari-archiver/takari-archiver.spec

58 lines
1.6 KiB
RPMSpec
Raw Normal View History

2020-08-25 14:20:50 +08:00
Name: takari-archiver
Version: 0.1.19
Release: 1
Summary: Takari Archiver
# License information can be found in effective POM.
# For more info, see https://bugzilla.redhat.com/show_bug.cgi?id=1200768#c4
# Bundled FileMode.java is under BSD license, bundling was approved by
License: EPL and BSD
URL: http://takari.io
BuildArch: noarch
#wget https://github.com/takari/${NAME}/archive/${NAME}-${VERSION}.tar.gz
#tar xf ${NAME}-${VERSION}.tar.gz
#rm -f ${NAME}-${VERSION}.tar.gz
#mv ${NAME}-${NAME}-${VERSION} ${NAME}-${VERSION}
#rm -rf ${NAME}-${VERSION}/src/test/
#wget -O ${NAME}-${VERSION}/epl-v10.html http://www.eclipse.org/legal/epl-v10.html
#tar caf ${NAME}-${VERSION}-clean.tar.xz ${NAME}-${VERSION}
Source0: %{name}-%{version}-clean.tar.xz
BuildRequires: maven-local mvn(com.google.guava:guava:14.0.1)
BuildRequires: mvn(io.takari.maven.plugins:takari-lifecycle-plugin) mvn(io.takari:takari:pom:)
BuildRequires: mvn(javax.inject:javax.inject) mvn(org.apache.commons:commons-compress)
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
%description
Takari Archiver is replacement for Maven Archiver for use with Takari
Lifecycle Plugin.
%package javadoc
Summary: API documentation for %{name}
%description javadoc
This package provides %{summary}.
%prep
%setup -q
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%license epl-v10.html
%files javadoc -f .mfiles-javadoc
%license epl-v10.html
%changelog
* Mon Aug 17 2020 wangxiao <wangxiao65@huawei.com> - 0.1.19-1
- package init