forked from pool/jsoncpp
- Update to version 1.7.4:
* Fix pkg-config OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jsoncpp?expand=0&rev=32
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1cfcad14054039ba97c22531888796cb9369e6353f257aacaad34fda956ada53
|
|
||||||
size 205738
|
|
3
jsoncpp-1.7.4.tar.gz
Normal file
3
jsoncpp-1.7.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:10dcd0677e80727e572a1e462193e51a5fde3e023b99e144b2ee1a469835f769
|
||||||
|
size 205752
|
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 23 07:33:16 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Update to version 1.7.4:
|
||||||
|
* Fix pkg-config
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 30 08:46:23 UTC 2016 - mpluskal@suse.com
|
Thu Jun 30 08:46:23 UTC 2016 - mpluskal@suse.com
|
||||||
|
|
||||||
|
18
jsoncpp.spec
18
jsoncpp.spec
@@ -16,9 +16,9 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define libname lib%{name}1
|
%define sover 1
|
||||||
Name: jsoncpp
|
Name: jsoncpp
|
||||||
Version: 1.7.3
|
Version: 1.7.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: C++ library that allows manipulating with JSON
|
Summary: C++ library that allows manipulating with JSON
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -42,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}
|
Requires: lib%{name}%{sover} = %{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,
|
||||||
@@ -53,11 +53,11 @@ 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 -n %{libname}
|
%package -n lib%{name}%{sover}
|
||||||
Summary: Shared library for %{name}
|
Summary: Shared library for %{name}
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n lib%{name}%{sover}
|
||||||
JSON is a lightweight data-interchange format. It can represent numbers,
|
JSON is a lightweight data-interchange format. It can represent numbers,
|
||||||
strings, ordered sequences of values, and collections of name/value pairs.
|
strings, ordered sequences of values, and collections of name/value pairs.
|
||||||
|
|
||||||
@@ -80,13 +80,13 @@ make %{?_smp_mflags}
|
|||||||
%cmake_install
|
%cmake_install
|
||||||
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
|
rm -rf %{buildroot}%{_libdir}/lib%{name}.a
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%post -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
%postun -n lib%{name}%{sover} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n lib%{name}%{sover}
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_libdir}/lib%{name}.so.*
|
%{_libdir}/lib%{name}.so.%{sover}*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
Reference in New Issue
Block a user