diff --git a/lzma-java-1.3.tar.gz b/lzma-java-1.3.tar.gz new file mode 100644 index 0000000..04fd4b2 Binary files /dev/null and b/lzma-java-1.3.tar.gz differ diff --git a/lzma-java.spec b/lzma-java.spec new file mode 100644 index 0000000..726e48d --- /dev/null +++ b/lzma-java.spec @@ -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 - 1.3-1 +- package init diff --git a/lzma-java.yaml b/lzma-java.yaml new file mode 100644 index 0000000..5c53560 --- /dev/null +++ b/lzma-java.yaml @@ -0,0 +1,4 @@ +version-control: github +src_repo: jponge/lzma-java +tag_prefix: lzma-java- +seperator: .