Name: RoaringBitmap Version: 0.4.10 Release: 1%{?dist} Summary: A better compressed bitset in Java License: ASL 2.0 URL: https://github.com/lemire/RoaringBitmap Source0: https://github.com/lemire/RoaringBitmap/archive/%{name}-%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(com.google.guava:guava) BuildRequires: mvn(junit:junit) BuildRequires: mvn(org.apache.commons:commons-lang3) BuildRequires: mvn(org.apache.felix:maven-bundle-plugin) BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:) BuildArch: noarch %description Roaring bitmaps are compressed bitmaps (also called bitsets) which tend to outperform conventional compressed bitmaps such as WAH or Concise. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{name}-%{version} find . -name "*.class" -print -delete find . -name "*.jar" -print -delete # Unneeded tasks %pom_remove_plugin :maven-dependency-plugin %pom_remove_plugin :maven-deploy-plugin %pom_remove_plugin :maven-gpg-plugin %pom_remove_plugin :maven-javadoc-plugin %pom_remove_plugin :maven-release-plugin %pom_remove_plugin :maven-source-plugin %pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-jar-plugin' ]/pom:configuration/pom:archive/pom:manifest/pom:classpathPrefix" %pom_xpath_set "pom:plugin[pom:artifactId = 'maven-jar-plugin' ]/pom:configuration/pom:archive/pom:manifest/pom:addClasspath" false %mvn_file : %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc CHANGELOG README.md %license LICENSE LICENSE-2.0.txt %files javadoc -f .mfiles-javadoc %license LICENSE LICENSE-2.0.txt %changelog * Fri Jul 31 2015 gil cattaneo 0.4.10-1 - initial rpm