- Update to version 1.7.3:
* Fix static initialization of null with Myers Singleton. * Fix other minor compiler and installation problems and warnings. * Fix amalgamated header. - Drop -doc subpackage OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jsoncpp?expand=0&rev=30
This commit is contained in:
parent
c94244f17a
commit
46e811d964
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:2179a7df19c1c6dc87e02c65b847efc914625a9b87df3e443d9610fc70c0f557
|
|
||||||
size 205391
|
|
3
jsoncpp-1.7.3.tar.gz
Normal file
3
jsoncpp-1.7.3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53
|
||||||
|
size 205738
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 30 08:46:23 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.7.3:
|
||||||
|
* Fix static initialization of null with Myers Singleton.
|
||||||
|
* Fix other minor compiler and installation problems and
|
||||||
|
warnings.
|
||||||
|
* Fix amalgamated header.
|
||||||
|
- Drop -doc subpackage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 2 09:40:09 UTC 2016 - mpluskal@suse.com
|
Sat Apr 2 09:40:09 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
31
jsoncpp.spec
31
jsoncpp.spec
@ -18,19 +18,16 @@
|
|||||||
|
|
||||||
%define libname lib%{name}1
|
%define libname lib%{name}1
|
||||||
Name: jsoncpp
|
Name: jsoncpp
|
||||||
Version: 1.7.2
|
Version: 1.7.3
|
||||||
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
|
Source0: https://github.com/open-source-parsers/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
BuildRequires: doxygen
|
|
||||||
BuildRequires: fdupes
|
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: python
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(pkg-config)
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,7 +42,7 @@ format to store user input files.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for %{name}
|
Summary: Development files for %{name}
|
||||||
Group: Development/Languages/C and C++
|
Group: Development/Languages/C and C++
|
||||||
Requires: %{libname} = %{version}-%{release}
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
JSON is a lightweight data-interchange format. It can represent numbers,
|
JSON is a lightweight data-interchange format. It can represent numbers,
|
||||||
@ -56,20 +53,6 @@ serialization and deserialization to and from strings. It can also preserve
|
|||||||
existing comment in unserialization/serialization steps, making it a convenient
|
existing comment in unserialization/serialization steps, making it a convenient
|
||||||
format to store user input files.
|
format to store user input files.
|
||||||
|
|
||||||
%package doc
|
|
||||||
Summary: Documentation for %{name}
|
|
||||||
Group: Documentation/HTML
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description doc
|
|
||||||
JSON is a lightweight data-interchange format. It can represent numbers,
|
|
||||||
strings, ordered sequences of values, and collections of name/value pairs.
|
|
||||||
|
|
||||||
JsonCpp is a C++ library that allows manipulating JSON values, including
|
|
||||||
serialization and deserialization to and from strings. It can also preserve
|
|
||||||
existing comment in unserialization/serialization steps, making it a convenient
|
|
||||||
format to store user input files.
|
|
||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Shared library for %{name}
|
Summary: Shared library for %{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -87,7 +70,6 @@ format to store user input files.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python doxybuild.py --doxygen=%{_bindir}/doxygen --open
|
|
||||||
%cmake \
|
%cmake \
|
||||||
-DJSONCPP_WITH_CMAKE_PACKAGE=ON
|
-DJSONCPP_WITH_CMAKE_PACKAGE=ON
|
||||||
# path needs to be exported otherwise unit tests will fail
|
# path needs to be exported otherwise unit tests will fail
|
||||||
@ -96,7 +78,6 @@ make %{?_smp_mflags}
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
%fdupes -s dist/doxygen
|
|
||||||
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
|
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
@ -115,8 +96,4 @@ rm -rf %{buildroot}%{_libdir}/lib%{name}.a
|
|||||||
%{_libdir}/lib%{name}.so
|
%{_libdir}/lib%{name}.so
|
||||||
%{_includedir}/json/
|
%{_includedir}/json/
|
||||||
|
|
||||||
%files doc
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc dist/doxygen/jsoncpp*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user