44 lines
1.2 KiB
RPMSpec
44 lines
1.2 KiB
RPMSpec
Name: lzma-java
|
|
Version: 1.3
|
|
Release: 1
|
|
Summary: LZMA library for Java
|
|
License: ASL 2.0 and Public Domain
|
|
URL: http://jponge.github.io/lzma-java/
|
|
Source0: https://github.com/jponge/lzma-java/archive/lzma-java-%{version}.tar.gz
|
|
BuildRequires: maven-local mvn(commons-io:commons-io) mvn(junit:junit)
|
|
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
|
|
Provides: bundled(lzma-sdk-java) = 16.02
|
|
BuildArch: noarch
|
|
%description
|
|
This library is based on the Java LZMA SDK by Igor Pavlov.
|
|
It brings many improvements, including Java conventions and
|
|
a Java I/O streaming API.
|
|
|
|
%package javadoc
|
|
Summary: Javadoc for %{name}
|
|
%description javadoc
|
|
This package contains javadoc for %{name}.
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
%pom_remove_plugin :maven-assembly-plugin
|
|
%pom_remove_plugin :maven-release-plugin
|
|
%mvn_file com.github.jponge:%{name} %{name}
|
|
|
|
%build
|
|
%mvn_build
|
|
|
|
%install
|
|
%mvn_install
|
|
|
|
%files -f .mfiles
|
|
%doc README.md
|
|
%license LICENSE
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
%license LICENSE
|
|
|
|
%changelog
|
|
* Wed Jul 29 2020 wangchong <wangchong56@huawei.com> - 1.3-1
|
|
- package init
|