3f6e99d
Name:          compress-lzf
19f301a
Version:       1.0.3
fd6880c
Release:       4%{?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
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
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
4b6d7bf
%mvn_file : %{name}
4b6d7bf
3f6e99d
%build
3f6e99d
3f6e99d
%mvn_build -- -Poffline-testing
3f6e99d
3f6e99d
%install
3f6e99d
%mvn_install
3f6e99d
3f6e99d
%files -f .mfiles
4b6d7bf
%doc README.md VERSION.txt
4b6d7bf
%license LICENSE
3f6e99d
3f6e99d
%files javadoc -f .mfiles-javadoc
4b6d7bf
%license LICENSE
3f6e99d
3f6e99d
%changelog
fd6880c
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
fd6880c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
fd6880c
b9dcb4c
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.3-3
b9dcb4c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b9dcb4c
4b6d7bf
* Fri Jan 30 2015 gil cattaneo <puntogil@libero.it> 1.0.3-2
4b6d7bf
- introduce license macro
4b6d7bf
19f301a
* Mon Nov 03 2014 gil cattaneo <puntogil@libero.it> 1.0.3-1
19f301a
- update to 1.0.3
19f301a
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
19f301a
- initial rpm