!1 package javaewah init
Merge pull request !1 from jackie_wu123/master
This commit is contained in:
commit
b1b23783b8
BIN
JavaEWAH-1.1.6.tar.gz
Normal file
BIN
JavaEWAH-1.1.6.tar.gz
Normal file
Binary file not shown.
52
javaewah.spec
Normal file
52
javaewah.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
Name: javaewah
|
||||||
|
Version: 1.1.6
|
||||||
|
Release: 5
|
||||||
|
Summary: JavaEWAH is a word-aligned compressed variant of the Java bitset class
|
||||||
|
License: ASL 2.0
|
||||||
|
URL: https://github.com/lemire/javaewah
|
||||||
|
Source0: https://github.com/lemire/javaewah/archive/JavaEWAH-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin) mvn(org.sonatype.oss:oss-parent:pom:)
|
||||||
|
|
||||||
|
%description
|
||||||
|
The bit array data structure is implemented in Java as BitSet class.
|
||||||
|
Unfortunately, this fails to scale without compression.JavaEWAH is a
|
||||||
|
word-aligned compressed variant of the Java bitset class.It uses a
|
||||||
|
64-bit run-length encoding (RLE) compression scheme. The goal of
|
||||||
|
word-aligned compression is not to achieve the best compression,
|
||||||
|
but rather to improve query processing time. Hence, we try to save
|
||||||
|
CPU cycles, maybe at the expense of storage.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Help documents for javaewah package
|
||||||
|
Provides: %{name}-javadoc = %{version}-%{release}
|
||||||
|
Obsoletes: %{name}-javadoc < %{version}-%{release}
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Help documents for javaewah package.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n javaewah-JavaEWAH-%{version} -p1
|
||||||
|
|
||||||
|
%pom_remove_plugin :maven-gpg-plugin
|
||||||
|
%pom_remove_plugin :maven-javadoc-plugin
|
||||||
|
%pom_remove_plugin :animal-sniffer-maven-plugin
|
||||||
|
%pom_remove_plugin :jacoco-maven-plugin
|
||||||
|
%pom_xpath_inject "pom:project/pom:properties" "<argLine/>"
|
||||||
|
|
||||||
|
%build
|
||||||
|
%mvn_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%mvn_install
|
||||||
|
|
||||||
|
%files -f .mfiles
|
||||||
|
%license LICENSE-2.0.txt
|
||||||
|
|
||||||
|
%files help -f .mfiles-javadoc
|
||||||
|
%doc CHANGELOG README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Dec 12 2019 wutao <wutao61@huawei.com> - 1.1.6-5
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user