package init

This commit is contained in:
wangchong1995924 2020-08-25 11:41:25 +08:00
parent 5b2e05a540
commit a423440ef7
3 changed files with 47 additions and 0 deletions

BIN
lzma-java-1.3.tar.gz Normal file

Binary file not shown.

43
lzma-java.spec Normal file
View 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
View File

@ -0,0 +1,4 @@
version-control: github
src_repo: jponge/lzma-java
tag_prefix: lzma-java-
seperator: .