Name: lettuce Version: 2.3.3 Release: 1%{?dist} Summary: Scalable Java Redis client License: ASL 2.0 # Newer release available @ https://github.com/mp911de/lettuce URL: http://redis.paluch.biz/ Source0: https://github.com/wg/lettuce/archive/%{version}.tar.gz BuildRequires: maven-local BuildRequires: mvn(io.netty:netty:3) BuildRequires: mvn(junit:junit) BuildArch: noarch %description Lettuce is a scalable thread-safe Redis client providing both synchronous and asynchronous connections. Multiple threads may share one connection provided they avoid blocking and transactional operations such as BLPOP, and MULTI/EXEC. Multiple connections are efficiently managed by the netty NIO framework. %package javadoc Summary: Javadoc for %{name} %description javadoc This package contains javadoc for %{name}. %prep %setup -q find . -name "*.class" -print -delete find . -name "*.jar" -print -delete %pom_remove_plugin :maven-gpg-plugin %pom_xpath_set "pom:dependency[pom:artifactId = 'netty']/pom:version" 3 %mvn_file : %{name} %build # Tests disabled use "web connection". Caused by: java.net.ConnectException: Connection refused: localhost/127.0.0.1:6379 %mvn_build -f %install %mvn_install %files -f .mfiles %doc README %license LICENSE %files javadoc -f .mfiles-javadoc %license LICENSE %changelog * Thu Jun 12 2014 gil cattaneo 2.3.3-1 - initial rpm