Name: high-scale-lib Version: 1.1.4 Release: 1%{?dist} Summary: A collection of Concurrent and Highly Scalable Utilities # Might want to address with upstream to adjust because # http://creativecommons.org/licenses/publicdomain/ # is considered "retired" in place for some other public domain license # opened: https://github.com/stephenc/high-scale-lib/issues/4 # Thanks to Timothy St. Clair tstclair@redhat.com License: Public Domain URL: https://github.com/stephenc/high-scale-lib/ Source0: https://github.com/stephenc/high-scale-lib/archive/%{name}-parent-%{version}.tar.gz BuildRequires: java-devel BuildRequires: maven-local BuildRequires: maven-enforcer-plugin BuildRequires: maven-surefire-provider-junit4 BuildArch: noarch %description A collection of Concurrent and Highly Scalable Utilities. These are intended as direct replacements for the java.util.* or java.util.concurrent.* collections but with better performance when many CPUs are using the collection concurrently. This package contains a Mavenized fork of http://high-scale-lib.sourceforge.net/ %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q -n %{name}-%{name}-parent-%{version} find . -name "*.bat" -delete %pom_remove_plugin :maven-shade-plugin %pom_remove_plugin :maven-shade-plugin java_util_concurrent_chm %pom_remove_plugin :maven-shade-plugin java_util_hashtable sed -i 's/\r//' README %build %mvn_build %install %mvn_install %files -f .mfiles %dir %{_javadir}/%{name} %doc LICENSE README %files javadoc -f .mfiles-javadoc %doc LICENSE %changelog * Wed Aug 14 2013 gil cattaneo 1.1.4-1 - initial rpm