1 Star 0 Fork 3

李恬/json_simple

forked from src-openEuler/json_simple 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
json_simple.spec 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
Name: json_simple
Version: 1.1.1
Release: 2
Summary: Simple Java toolkit for JSON
License: ASL 2.0
URL: http://code.google.com/p/json-simple/
BuildArch: noarch
Source0: https://github.com/fangyidong/json-simple/archive/tag_release_1_1_1.tar.gz
Patch0: json-simple-hash-java-1.8.patch
BuildRequires: maven-local mvn(junit:junit) mvn(org.apache.felix:maven-bundle-plugin)
%description
JSON.simple is a simple Java toolkit for JSON. You can use JSON.simple
to encode or decode JSON text.
* Full compliance with JSON specification (RFC4627) and reliable
* Provides multiple functionalities such as encode, decode/parse
and escape JSON text while keeping the library lightweight
* Flexible, simple and easy to use by reusing Map and List interfaces
* Supports streaming output of JSON text
* Stoppable SAX-like interface for streaming input of JSON text
* Heap based parser
* High performance (see performance testing)
* No dependency on external libraries
* Both of the source code and the binary are JDK1.2 compatible
%package help
Summary: API documentation for %{name}
Provides: %{name}-javadoc = %{version}-%{release}
Obsoletes: %{name}-javadoc < %{version}-%{release}
%description help
This package contains %{summary}.
%prep
%setup -q -n json-simple-tag_release_1_1_1
find . -name '*.jar' -exec rm -f '{}' \;
find . -type f -exec %{__sed} -i 's/\r//' {} \;
%patch -P 0 -p1
%mvn_file : %{name}
%build
%mvn_build
%install
%mvn_install
%files -f .mfiles
%doc AUTHORS.txt ChangeLog.txt LICENSE.txt README.txt
%files help -f .mfiles-javadoc
%doc LICENSE.txt
%changelog
* Tue Dec 17 2024 litian <dev11105@linx-info.com> - 1.1.1-2
- fix %patchN is deprecated warning
* Mon Aug 24 2020 liyanan <liyanan32@huawei.com> - 1.1.1-1
- package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/litian_code/json_simple.git
git@gitee.com:litian_code/json_simple.git
litian_code
json_simple
json_simple
master

搜索帮助