diff --git a/noggit-0.7.tar.gz b/noggit-0.7.tar.gz new file mode 100644 index 0000000..41a4843 Binary files /dev/null and b/noggit-0.7.tar.gz differ diff --git a/noggit.spec b/noggit.spec new file mode 100644 index 0000000..e06b5b5 --- /dev/null +++ b/noggit.spec @@ -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 - 0.7-1 +- package init diff --git a/noggit.yaml b/noggit.yaml new file mode 100644 index 0000000..2740e6f --- /dev/null +++ b/noggit.yaml @@ -0,0 +1,5 @@ +git_url: https://github.com/yonik/noggit +version_control: github +src_repo: yonik/noggit +tag_prefix: "^noggit-" +seperator: "."