Blame SPECS/javaewah.spec

68d2ea
%{?scl:%scl_package javaewah}
68d2ea
%{!?scl:%global pkg_name %{name}}
913b46
68d2ea
%global commit c6a7fca48eb10572c57e8f644c11633456611d8f
68d2ea
%global shortcommit %(c=%{commit}; echo ${c:0:7})
68d2ea
913b46
%{?java_common_find_provides_and_requires}
913b46
68d2ea
Name:           %{?scl_prefix}javaewah
68d2ea
Version:        0.8.4
913b46
Release:        4%{?dist}
68d2ea
Summary:        A word-aligned compressed variant of the Java bitset class
68d2ea
68d2ea
Group:          Development/Libraries
68d2ea
License:        ASL 2.0
68d2ea
URL:            http://code.google.com/p/javaewah/
68d2ea
Source0:        https://github.com/lemire/%{pkg_name}/archive/%{commit}/%{pkg_name}-%{version}-%{shortcommit}.tar.gz
68d2ea
68d2ea
BuildArch:      noarch
68d2ea
913b46
BuildRequires: %{?scl_prefix_java_common}maven-local
913b46
BuildRequires: %{?scl_prefix_maven}maven-surefire-provider-junit
68d2ea
68d2ea
68d2ea
%description
68d2ea
JavaEWAH is a word-aligned compressed variant of the Java bitset class.
68d2ea
It uses a 64-bit run-length encoding (RLE) compression scheme.
68d2ea
68d2ea
The goal of word-aligned compression is not to achieve the best
68d2ea
compression, but rather to improve query processing time. Hence, we try
68d2ea
to save CPU cycles, maybe at the expense of storage. However, the EWAH
68d2ea
scheme we implemented is always more efficient storage-wise than an
68d2ea
uncompressed bitmap (implemented in Java as the BitSet class). Unlike
68d2ea
some alternatives, javaewah does not rely on a patented scheme.
68d2ea
68d2ea
%package javadoc
68d2ea
Group:          Documentation
913b46
Summary:        Javadoc for %{pkg_name}
68d2ea
68d2ea
%description javadoc
68d2ea
API documentation for %{pkg_name}.
68d2ea
68d2ea
68d2ea
%prep
68d2ea
%setup -qn %{pkg_name}-%{commit}
913b46
913b46
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
68d2ea
%pom_remove_plugin org.apache.maven.plugins:maven-gpg-plugin
913b46
%{?scl:EOF}
68d2ea
68d2ea
%build
913b46
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
68d2ea
%mvn_build
913b46
%{?scl:EOF}
68d2ea
68d2ea
%install
913b46
%{?scl:scl enable %{scl_maven} %{scl} - << "EOF"}
68d2ea
%mvn_install
913b46
%{?scl:EOF}
68d2ea
68d2ea
%files -f .mfiles
68d2ea
%doc CHANGELOG README.md LICENSE-2.0.txt
68d2ea
68d2ea
%files javadoc -f .mfiles-javadoc
68d2ea
%doc LICENSE-2.0.txt
68d2ea
68d2ea
%changelog
913b46
* Thu Jan 15 2015 Roland Grunberg <rgrunber@redhat.com> - 0.8.4-4
913b46
- SCL-ize.
913b46
913b46
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.4-3
913b46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
913b46
913b46
* Tue May 20 2014 Alexander Kurtakov <akurtako@redhat.com> 0.8.4-2
913b46
- Surefire junit provider is a single package now.
913b46
68d2ea
* Sat Mar 22 2014 Gerard Ryan <galileo@fedoraproject.org> - 0.8.4-1
68d2ea
- Update to upstream version 0.8.4
68d2ea
- Re-enable tests
68d2ea
68d2ea
* Sat Nov 16 2013 Gerard Ryan <galileo@fedoraproject.org> - 0.7.9-2
68d2ea
- Skip tests since they prevent building in koji
68d2ea
68d2ea
* Sat Nov 16 2013 Gerard Ryan <galileo@fedoraproject.org> - 0.7.9-1
68d2ea
- Update to 0.7.9 to fix license ambiguity
68d2ea
68d2ea
* Thu Oct 10 2013 Gerard Ryan <galileo@fedoraproject.org> - 0.7.8-1
68d2ea
- Update to latest upstream version
68d2ea
68d2ea
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.12-2
68d2ea
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
68d2ea
68d2ea
* Sun Jun 09 2013 Gerard Ryan <galileo@fedoraproject.org> - 0.6.12-1
68d2ea
- Initial package.