Blame SPECS/javaewah.spec

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