Package init
This commit is contained in:
parent
6c1f0f6e8e
commit
62fadf19d0
BIN
lettuce-2.3.3.tar.gz
Normal file
BIN
lettuce-2.3.3.tar.gz
Normal file
Binary file not shown.
44
lettuce.spec
Normal file
44
lettuce.spec
Normal 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
5
lettuce.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
git_url: https://github.com/wg/lettuce
|
||||||
|
version_control: github
|
||||||
|
src_repo: wg/lettuce
|
||||||
|
tag_prefix: ""
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user