!1 Package init

Merge pull request !1 from jeff200902/master
This commit is contained in:
openeuler-ci-bot 2020-08-31 10:02:13 +08:00 committed by Gitee
commit 9793d2326a
3 changed files with 49 additions and 0 deletions

BIN
lettuce-2.3.3.tar.gz Normal file

Binary file not shown.

44
lettuce.spec Normal file
View File

@ -0,0 +1,44 @@
Name: lettuce
Version: 2.3.3
Release: 1
Summary: Scalable Java Redis client
License: ASL 2.0
URL: http://redis.paluch.biz/
Source0: https://github.com/wg/lettuce/archive/lettuce-%{version}.tar.gz
BuildRequires: maven-local mvn(io.netty:netty:3) 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
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc README
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
* Tue Aug 25 2020 Jeffery.Gao <gaojianxing@huawei.com> - 2.3.3-1
- Package init

5
lettuce.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/wg/lettuce
version_control: github
src_repo: wg/lettuce
tag_prefix: ""
seperator: "."