forked from pool/libcbor
Accepting request 639062 from home:jengelh:branches:devel:libraries:c_c++
OBS-URL: https://build.opensuse.org/request/show/639062 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libcbor?expand=0&rev=2
This commit is contained in:
parent
32ac5a46f9
commit
6fccd293c6
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 28 18:57:09 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Rename %SONAME to %sover to better reflect its use.
|
||||||
|
- Expand summary, compact and trim bias from description.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 26 08:55:27 UTC 2018 - t.gruner@katodev.de
|
Thu Apr 26 08:55:27 UTC 2018 - t.gruner@katodev.de
|
||||||
|
|
||||||
|
45
libcbor.spec
45
libcbor.spec
@ -15,14 +15,14 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
%define SONAME 0
|
%define sover 0
|
||||||
%define lname libcbor%{SONAME}
|
%define lname libcbor%{sover}
|
||||||
Name: libcbor
|
Name: libcbor
|
||||||
Version: 0.5.0
|
Version: 0.5.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A CBOR parsing library
|
Summary: Library for parsing Concise Binary Object Representation (CBOR)
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Productivity/Other
|
Group: Development/Libraries/C and C++
|
||||||
URL: http://libcbor.org
|
URL: http://libcbor.org
|
||||||
Source0: https://github.com/PJK/libcbor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/PJK/libcbor/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
@ -39,37 +39,22 @@ BuildRequires: python3-ujson
|
|||||||
BuildRequires: valgrind
|
BuildRequires: valgrind
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
|
libcbor is a C99 library for parsing and generating CBOR (RFC 7049),
|
||||||
|
a general-purpose schema-less binary data format.
|
||||||
|
|
||||||
Main features:
|
It supports flexible memory management, UTF-8, streams & incremental
|
||||||
- Complete RFC conformance
|
processing, and has a layered architecture.
|
||||||
- Robust portable C99 implementation
|
|
||||||
- Layered architecture offers both control and convenience
|
|
||||||
- Flexible memory management
|
|
||||||
- Proper handling of UTF-8
|
|
||||||
- Full support for streams & incremental processing
|
|
||||||
- Extensive documentation and test suite
|
|
||||||
- No runtime dependencies, small footprint
|
|
||||||
- Tested across architectures and operating systems
|
|
||||||
|
|
||||||
%package -n %{lname}
|
%package -n %{lname}
|
||||||
Summary: A CBOR parsing library
|
Summary: Library for parsing Concise Binary Object Representation (CBOR)
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n %{lname}
|
%description -n %{lname}
|
||||||
libcbor is a C library for parsing and generating CBOR, the general-purpose schema-less binary data format.
|
libcbor is a C99 library for parsing and generating CBOR (RFC 7049),
|
||||||
|
a general-purpose schema-less binary data format.
|
||||||
Main features:
|
|
||||||
- Complete RFC conformance
|
|
||||||
- Robust portable C99 implementation
|
|
||||||
- Layered architecture offers both control and convenience
|
|
||||||
- Flexible memory management
|
|
||||||
- Proper handling of UTF-8
|
|
||||||
- Full support for streams & incremental processing
|
|
||||||
- Extensive documentation and test suite
|
|
||||||
- No runtime dependencies, small footprint
|
|
||||||
- Tested across architectures and operating systems
|
|
||||||
|
|
||||||
|
It supports flexible memory management, UTF-8, streams & incremental
|
||||||
|
processing, and has a layered architecture.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for libcbor
|
Summary: Development files for libcbor
|
||||||
@ -103,8 +88,8 @@ cp doc/build/man/* %{buildroot}%{_mandir}/man1
|
|||||||
%files -n %{lname}
|
%files -n %{lname}
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%{_mandir}/*/*
|
%{_mandir}/*/*
|
||||||
%{_libdir}/libcbor.so.%{SONAME}
|
%{_libdir}/libcbor.so.%{sover}
|
||||||
%{_libdir}/libcbor.so.%{SONAME}.?.?
|
%{_libdir}/libcbor.so.%{sover}.?.?
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_includedir}/cbor.h
|
%{_includedir}/cbor.h
|
||||||
|
Loading…
x
Reference in New Issue
Block a user