commit
0495ac013a
BIN
lzma-java-1.3.tar.gz
Normal file
BIN
lzma-java-1.3.tar.gz
Normal file
Binary file not shown.
43
lzma-java.spec
Normal file
43
lzma-java.spec
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
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
|
||||||
4
lzma-java.yaml
Normal file
4
lzma-java.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version-control: github
|
||||||
|
src_repo: jponge/lzma-java
|
||||||
|
tag_prefix: lzma-java-
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user