diff --git a/JavaEWAH-1.1.6.tar.gz b/JavaEWAH-1.1.6.tar.gz new file mode 100644 index 0000000..b4273b8 Binary files /dev/null and b/JavaEWAH-1.1.6.tar.gz differ diff --git a/javaewah.spec b/javaewah.spec new file mode 100644 index 0000000..0085d57 --- /dev/null +++ b/javaewah.spec @@ -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" "" + +%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 - 1.1.6-5 +- Package init