41 lines
1.0 KiB
RPMSpec
41 lines
1.0 KiB
RPMSpec
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
|