package init

This commit is contained in:
jeff200902 2020-09-01 11:17:25 +08:00
parent 1aa7710920
commit bbd9deaf2c
3 changed files with 45 additions and 0 deletions

40
jeromq.spec Normal file
View File

@ -0,0 +1,40 @@
Name: jeromq
Version: 0.3.6
Release: 1
Summary: Pure Java implementation of libzmq
License: MPLv2.0
URL: https://github.com/zeromq/jeromq
BuildArch: noarch
Source0: https://github.com/zeromq/%{name}/archive/v%{version}.tar.gz
BuildRequires: maven-local mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
BuildRequires: mvn(org.sonatype.oss:oss-parent:pom:)
%description
Pure Java implementation of libzmq.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains the API documentation for %{name}.
%prep
%setup -q
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :maven-javadoc-plugin
%build
%mvn_build -f
%install
%mvn_install
%files -f .mfiles
%doc README.md CHANGELOG.md AUTHORS
%license LICENSE
%files javadoc -f .mfiles-javadoc
%license LICENSE
%changelog
* Mon Jul 27 2020 Jeffery.Gao <gaojianxing@huawei.com> - 0.3.6-1
- Package init

5
jeromq.yaml Normal file
View File

@ -0,0 +1,5 @@
git_url: https://github.com/zeromq/jeromq
version_control: github
src_repo: zeromq/jeromq
tag_prefix: "^v"
seperator: "."

BIN
v0.3.6.tar.gz Normal file

Binary file not shown.