forked from pool/libcbor
- Update to version 0.7.0
* Too many changes to list, see included CHANGELOG.md file OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcbor?expand=0&rev=9
This commit is contained in:
parent
7aacdc30e6
commit
e1a14af6f2
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9bbec94bb385bad3cd2f65482e5d343ddb97e9ffe261123ea0faa3bfea51d320
|
||||
size 719348
|
3
libcbor-0.7.0.tar.gz
Normal file
3
libcbor-0.7.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fb731afe0a9980581d85e4b8d4ef128b175f782d92e0cd898935f3d26dd3dde7
|
||||
size 266323
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 25 08:15:42 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
|
||||
|
||||
- Update to version 0.7.0
|
||||
* Too many changes to list, see included CHANGELOG.md file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 2 22:06:08 UTC 2020 - Torsten Gruner <t.gruner@katodev.de>
|
||||
|
||||
|
37
libcbor.spec
37
libcbor.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libcbor
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,10 +15,15 @@
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define sover 0
|
||||
%define lname libcbor%{sover}
|
||||
|
||||
%define socurrent 0
|
||||
%define sorevision 7
|
||||
%define soage 0
|
||||
|
||||
%define lname libcbor%{socurrent}_%{sorevision}
|
||||
|
||||
Name: libcbor
|
||||
Version: 0.5.0
|
||||
Version: 0.7.0
|
||||
Release: 0
|
||||
Summary: Library for parsing Concise Binary Object Representation (CBOR)
|
||||
License: MIT
|
||||
@ -26,15 +31,12 @@ Group: Development/Libraries/C and C++
|
||||
URL: http://libcbor.org
|
||||
Source0: https://github.com/PJK/libcbor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: cmake
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libcmocka-devel
|
||||
BuildRequires: ninja
|
||||
BuildRequires: python3-Sphinx
|
||||
BuildRequires: python3-Sphinx-doc
|
||||
BuildRequires: python3-breathe
|
||||
BuildRequires: python3-packaging
|
||||
BuildRequires: python3-sphinx_rtd_theme
|
||||
BuildRequires: python3-tools
|
||||
BuildRequires: python3-ujson
|
||||
BuildRequires: valgrind
|
||||
|
||||
%description
|
||||
@ -67,28 +69,33 @@ The libcbor-devel contains libraries and header files for libcbor.
|
||||
%prep
|
||||
%autosetup
|
||||
sed -i 's|${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig|${CMAKE_INSTALL_LIBDIR}/pkgconfig|' src/CMakeLists.txt
|
||||
2to3 -w doc/source/conf.py
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} -C doc man
|
||||
|
||||
%define __builder ninja
|
||||
%cmake .. -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON
|
||||
make %{?_smp_mflags}
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
|
||||
mkdir -p %{buildroot}%{_mandir}/man1
|
||||
cp doc/build/man/* %{buildroot}%{_mandir}/man1
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
# fuzz_test uses around ~30gb of memory
|
||||
#%check
|
||||
#%ctest
|
||||
|
||||
%post -n %{lname} -p /sbin/ldconfig
|
||||
%postun -n %{lname} -p /sbin/ldconfig
|
||||
|
||||
%files -n %{lname}
|
||||
%doc README.md
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE.md
|
||||
%{_mandir}/*/*
|
||||
%{_libdir}/libcbor.so.%{sover}
|
||||
%{_libdir}/libcbor.so.%{sover}.?.?
|
||||
%{_libdir}/libcbor.so.%{socurrent}.%{sorevision}
|
||||
%{_libdir}/libcbor.so.%{socurrent}.%{sorevision}.%{soage}
|
||||
|
||||
%files devel
|
||||
%{_includedir}/cbor.h
|
||||
|
Loading…
x
Reference in New Issue
Block a user