|
|
3f6e99d |
Name: compress-lzf
|
|
|
3f6e99d |
Version: 0.9.8
|
|
|
c114645 |
Release: 3%{?dist}
|
|
|
3f6e99d |
Summary: Basic LZF codec, compatible with standard C LZF package
|
|
|
3f6e99d |
License: ASL 2.0
|
|
|
3f6e99d |
URL: https://github.com/ning/compress
|
|
|
3f6e99d |
Source0: https://github.com/ning/compress/archive/%{name}-%{version}.tar.gz
|
|
|
c114645 |
# thanks to bugproxy@us.ibm.com
|
|
|
c114645 |
# https://github.com/ning/compress/issues/37
|
|
|
c114645 |
Patch0: %{name}-0.9.8-UnsafeChunkEncoderBE_java.patch
|
|
|
3f6e99d |
|
|
|
3f6e99d |
# test deps
|
|
|
48065e9 |
BuildRequires: mvn(junit:junit)
|
|
|
3f6e99d |
BuildRequires: mvn(org.testng:testng)
|
|
|
3f6e99d |
|
|
|
3f6e99d |
BuildRequires: maven-local
|
|
|
3f6e99d |
BuildRequires: maven-enforcer-plugin
|
|
|
3f6e99d |
BuildRequires: maven-plugin-bundle
|
|
|
3f6e99d |
BuildRequires: maven-surefire-provider-testng
|
|
|
3f6e99d |
|
|
|
3f6e99d |
BuildArch: noarch
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%description
|
|
|
3f6e99d |
Compression codec for LZF encoding for particularly encoding/decoding,
|
|
|
3f6e99d |
with reasonable compression. Compressor is basic Lempel-Ziv codec,
|
|
|
3f6e99d |
without Huffman (deflate/gzip) or statistical post-encoding. See
|
|
|
3f6e99d |
"http://oldhome.schmorp.de/marc/liblzf.html" for more on
|
|
|
3f6e99d |
original LZF package.
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%package javadoc
|
|
|
3f6e99d |
Summary: Javadoc for %{name}
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%description javadoc
|
|
|
3f6e99d |
This package contains javadoc for %{name}.
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%prep
|
|
|
3f6e99d |
%setup -q -n compress-%{name}-%{version}
|
|
|
3f6e99d |
|
|
|
3f6e99d |
find . -name "*.class" -print -delete
|
|
|
3f6e99d |
find . -name "*.jar" -type f -print -delete
|
|
|
c114645 |
%patch0 -p0
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%pom_remove_plugin :maven-source-plugin
|
|
|
3f6e99d |
%pom_xpath_remove "pom:project/pom:build/pom:plugins/pom:plugin[pom:artifactId='maven-javadoc-plugin']/pom:executions"
|
|
|
3f6e99d |
|
|
|
48065e9 |
%pom_add_dep junit:junit::test
|
|
|
48065e9 |
|
|
|
3f6e99d |
%build
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%mvn_file : %{name}
|
|
|
3f6e99d |
%mvn_build -- -Poffline-testing
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%install
|
|
|
3f6e99d |
%mvn_install
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%files -f .mfiles
|
|
|
3f6e99d |
%doc LICENSE README.md VERSION.txt
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%files javadoc -f .mfiles-javadoc
|
|
|
3f6e99d |
%doc LICENSE
|
|
|
3f6e99d |
|
|
|
3f6e99d |
%changelog
|
|
|
c114645 |
* Wed Jul 02 2014 gil cattaneo <puntogil@libero.it> 0.9.8-3
|
|
|
c114645 |
- fix SUID issue in LZF compression rhbz#1115264
|
|
|
c114645 |
|
|
|
0272097 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.8-2
|
|
|
0272097 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
0272097 |
|
|
|
3f6e99d |
* Wed Aug 14 2013 gil cattaneo <puntogil@libero.it> 0.9.8-1
|
|
|
3f6e99d |
- initial rpm
|