!1 package init

Merge pull request !1 from wang_yue111/master
This commit is contained in:
openeuler-ci-bot 2020-08-27 21:58:41 +08:00 committed by Gitee
commit de47f56439
3 changed files with 45 additions and 0 deletions

BIN
noggit-0.7.tar.gz Normal file

Binary file not shown.

40
noggit.spec Normal file
View File

@ -0,0 +1,40 @@
Name: noggit
Version: 0.7
Release: 1
Summary: JSON streaming parser
License: ASL 2.0
URL: https://github.com/yonik/noggit
Source0: https://github.com/yonik/noggit/archive/%{name}-%{version}.tar.gz
BuildRequires: maven-local mvn(junit:junit) mvn(org.sonatype.oss:oss-parent:pom:)
BuildArch: noarch
%description
Fast streaming JSON parser for Java.
%package javadoc
Summary: Javadoc for %{name}
%description javadoc
This package contains javadoc for %{name}.
%prep
%setup -q -n %{name}-%{name}-%{version}
find -name '*.class' -print -delete
find -name '*.jar' -print -delete
chmod 644 LICENSE.txt README.txt
%mvn_file : %{name}
%build
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
%install
%mvn_install
%files -f .mfiles
%doc README.txt
%license LICENSE.txt
%files javadoc -f .mfiles-javadoc
%license LICENSE.txt
%changelog
* Wed Aug 19 2020 wangyue <wangyue92@huawei.com> - 0.7-1
- package init

5
noggit.yaml Normal file
View File

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