Blob Blame History Raw
Name:          compress-lzf
Version:       0.9.8
Release:       3%{?dist}
Summary:       Basic LZF codec, compatible with standard C LZF package
License:       ASL 2.0
# thanks to
Patch0:        %{name}-0.9.8-UnsafeChunkEncoderBE_java.patch

# test deps
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.testng:testng)

BuildRequires: maven-local
BuildRequires: maven-enforcer-plugin
BuildRequires: maven-plugin-bundle
BuildRequires: maven-surefire-provider-testng

BuildArch:     noarch

Compression codec for LZF encoding for particularly encoding/decoding,
with reasonable compression. Compressor is basic Lempel-Ziv codec,
without Huffman (deflate/gzip) or statistical post-encoding. See
"" for more on
original LZF package.

%package javadoc
Summary:       Javadoc for %{name}

%description javadoc
This package contains javadoc for %{name}.

%setup -q -n compress-%{name}-%{version}

find . -name "*.class" -print -delete
find . -name "*.jar" -type f -print -delete
%patch0 -p0

%pom_remove_plugin :maven-source-plugin
%pom_xpath_remove "pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions"

%pom_add_dep junit:junit::test


%mvn_file : %{name}
%mvn_build -- -Poffline-testing


%files -f .mfiles

%files javadoc -f .mfiles-javadoc

* Wed Jul 02 2014 gil cattaneo <> 0.9.8-3
- fix SUID issue in LZF compression rhbz#1115264

* Sat Jun 07 2014 Fedora Release Engineering <> - 0.9.8-2
- Rebuilt for

* Wed Aug 14 2013 gil cattaneo <> 0.9.8-1
- initial rpm