Name: json_simple Version: 1.1.1 Release: 17%{?dist} Summary: Simple Java toolkit for JSON License: ASL 2.0 URL: http://code.google.com/p/json-simple/ BuildArch: noarch # svn export http://json-simple.googlecode.com/svn/tags/tag_release_1_1_1/ json-simple-1.1.1 # tar czf json-simple-1.1.1-src-svn.tar.gz json-simple-1.1.1 Source0: json-simple-1.1.1-src-svn.tar.gz #https://code.google.com/p/json-simple/issues/detail?id=97 Patch0: json-simple-hash-java-1.8.patch BuildRequires: maven-local BuildRequires: mvn(junit:junit) BuildRequires: 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 javadoc Summary: API documentation for %{name} %description javadoc This package contains %{summary}. %prep %setup -q -n json-simple-%{version} find . -name '*.jar' -exec rm -f '{}' \; # All the files have dos line endings, remove them. find . -type f -exec %{__sed} -i 's/\r//' {} \; %patch0 -p1 %mvn_file : %{name} %build %mvn_build %install %mvn_install %files -f .mfiles %doc AUTHORS.txt ChangeLog.txt LICENSE.txt README.txt %files javadoc -f .mfiles-javadoc %doc LICENSE.txt %changelog * Fri Jul 13 2018 Fedora Release Engineering - 1.1.1-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 1.1.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.1.1-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.1.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Jun 15 2016 Mikolaj Izdebski - 1.1.1-13 - Add missing build-requires * Thu Feb 04 2016 Fedora Release Engineering - 1.1.1-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Sep 16 2014 Mikolaj Izdebski - 1.1.1-10 - Update to current packaging guidelines - Resolves: rhbz#1126522 * Tue Jul 22 2014 Steve Traylen - 1.1.1-9 - Skip hash tests for now bug #97 * Mon Jul 21 2014 Steve Traylen - 1.1.1-8 - BR junit4 -> junit. * Sun Jun 08 2014 Fedora Release Engineering - 1.1.1-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Fri Mar 28 2014 Michael Simacek - 1.1.1-6 - Use Requires: java-headless rebuild (#1067528) * Sat Aug 03 2013 Fedora Release Engineering - 1.1.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Feb 06 2013 Java SIG - 1.1.1-3 - Update for https://fedoraproject.org/wiki/Fedora_19_Maven_Rebuild - Replace maven BuildRequires with maven-local * Thu Jul 19 2012 Fedora Release Engineering - 1.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Apr 20 2012 gil cattaneo 1.1.1-1 - update to 1.1.1 - Removed gcj bits - adapt to current guideline - add sub package javadoc * Fri Jan 13 2012 Fedora Release Engineering - 1.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Wed Feb 09 2011 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Oct 15 2009 Steve Traylen - 1.1-2 - Add AUTHORS.txt and README.txt files. * Tue Sep 8 2009 Steve Traylen - 1.1-1 - Initial build.