- Update to version 1.9.1:

* This release contains some minor build fixes.
- Changes for version 1.9.0:
  * Build optimizations and updates. Now needs at least Meson
    0.50.0, bot support for VS 2013 dropped in favor of VS 2017
  * Lots of bug fixes
  * Lots of enhancements
  * Lots of cleanup

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jsoncpp?expand=0&rev=51
This commit is contained in:
Martin Pluskal 2019-08-13 10:46:48 +00:00 committed by Git OBS Bridge
parent cc8184ff3a
commit 5a7cc3d2fe
4 changed files with 29 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c49deac9e0933bcb7044f08516861a2d560988540b23de2ac1ad443b219afdb6
size 200226

3
jsoncpp-1.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7b40f5605dd972108f503f031b20186f5e5bca2b65cd4b8bd6c3e4ba8126697
size 203067

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Tue Aug 13 10:37:46 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- Update to version 1.9.1:
* This release contains some minor build fixes.
- Changes for version 1.9.0:
* Build optimizations and updates. Now needs at least Meson
0.50.0, bot support for VS 2013 dropped in favor of VS 2017
* Lots of bug fixes
* Lots of enhancements
* Lots of cleanup
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Dec 23 00:09:57 UTC 2017 - avindra@opensuse.org Sat Dec 23 00:09:57 UTC 2017 - avindra@opensuse.org

View File

@ -1,7 +1,7 @@
# #
# spec file for package jsoncpp # spec file for package jsoncpp
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -12,22 +12,23 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%define sover 19 %define sover 21
Name: jsoncpp Name: jsoncpp
Version: 1.8.4 Version: 1.9.1
Release: 0 Release: 0
Summary: C++ library that allows manipulating with JSON Summary: C++ library that allows manipulating with JSON
License: MIT License: MIT
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: https://github.com/open-source-parsers/jsoncpp URL: https://github.com/open-source-parsers/jsoncpp
Source0: https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.1
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: meson >= 0.50.0
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python3-base
%description %description
JSON is a lightweight data-interchange format. It can represent numbers, JSON is a lightweight data-interchange format. It can represent numbers,
@ -69,32 +70,26 @@ format to store user input files.
%setup -q %setup -q
%build %build
%cmake \ %meson \
-DBUILD_STATIC_LIBS=OFF \ %meson_build
-DJSONCPP_WITH_CMAKE_PACKAGE=ON \
-DJSONCPP_WITH_POST_BUILD_UNITTEST=OFF
%make_jobs
%install %install
%cmake_install %meson_install
%check %check
# path needs to be exported otherwise unit tests will fail %meson_test
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:%{buildroot}%{_libdir}
./build/src/test_lib_json/jsoncpp_test
%post -n lib%{name}%{sover} -p /sbin/ldconfig %post -n lib%{name}%{sover} -p /sbin/ldconfig
%postun -n lib%{name}%{sover} -p /sbin/ldconfig %postun -n lib%{name}%{sover} -p /sbin/ldconfig
%files -n lib%{name}%{sover} %files -n lib%{name}%{sover}
%doc LICENSE %license LICENSE
%{_libdir}/lib%{name}.so.%{sover}* %{_libdir}/lib%{name}.so.%{sover}*
%{_libdir}/lib%{name}.so.%{version}
%files devel %files devel
%doc AUTHORS LICENSE README.md %license LICENSE
%doc AUTHORS README.md
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%{_libdir}/cmake/%{name}
%{_libdir}/lib%{name}.so %{_libdir}/lib%{name}.so
%{_includedir}/json/ %{_includedir}/json/