commit 52304f3ed188eef6eacad4e3ac72cb7667f3c0dad0f41c3b515b79ac72864ed6 Author: Fridrich Strba Date: Sun Jun 4 12:34:34 2023 +0000 Accepting request 1090697 from home:urbic:java Submitting a new package OBS-URL: https://build.opensuse.org/request/show/1090697 OBS-URL: https://build.opensuse.org/package/show/Java:packages/json-iterator-java?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/0.9.23.tar.gz b/0.9.23.tar.gz new file mode 100644 index 0000000..fadf420 --- /dev/null +++ b/0.9.23.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6893c0a38839fb9ec300e5dd8181234b9894ec3f1d05abf69e4d1338b338a98 +size 198190 diff --git a/json-iterator-java.changes b/json-iterator-java.changes new file mode 100644 index 0000000..872c20e --- /dev/null +++ b/json-iterator-java.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu May 4 13:46:26 UTC 2023 - Anton Shvetz + +- Initial packaging with v0.9.23 diff --git a/json-iterator-java.spec b/json-iterator-java.spec new file mode 100644 index 0000000..354af14 --- /dev/null +++ b/json-iterator-java.spec @@ -0,0 +1,66 @@ +# +# spec file for package json-iterator-java +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: json-iterator-java +Version: 0.9.23 +Release: 0 +Summary: Fast and flexible JSON parser available in Java +License: MIT +Group: Development/Libraries/Java +URL: http://jsoniter.com/ +Source0: https://github.com/json-iterator/java/archive/refs/tags/%{version}.tar.gz +BuildRequires: maven-local +BuildRequires: mvn(com.fasterxml.jackson.core:jackson-annotations) +BuildRequires: mvn(com.fasterxml.jackson.core:jackson-databind) +BuildRequires: mvn(com.google.code.gson:gson) +BuildRequires: mvn(org.javassist:javassist) +BuildArch: noarch + +%description +jsoniter (json-iterator) is fast and flexible JSON parser available in Java. + +%package javadoc +Summary: API documentation for %{name} +Group: Documentation/HTML + +%description javadoc +API documentation for %{name}. + +%prep +%setup -q -n java-%{version} + +%pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin +%pom_remove_plugin :maven-source-plugin + +%build +%{mvn_build} -f -- -Dsource=8 \ +%if %{?pkg_vcmp:%pkg_vcmp java-devel >= 9}%{!?pkg_vcmp:0} + -Dmaven.compiler.release=8 \ +%endif + +%install +%mvn_install + +%files -f .mfiles +%license LICENSE +%doc {CHANGELOG,README}.md + +%files javadoc -f .mfiles-javadoc +%license LICENSE + +%changelog