Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
abe68ef044
!7 Update version to 0.10.2
From: @fuowang 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2024-02-27 09:48:57 +00:00
wangshuo
ab5403e1ab Update version to 0.10.2 2024-02-27 06:25:54 +00:00
openeuler-ci-bot
947104957d
!5 【轻量级 PR】:修正yaml格式问题
From: @licihua 
Reviewed-by: @zhujianwei001 
Signed-off-by: @zhujianwei001
2023-01-16 12:59:30 +00:00
Monday
024c664e50
修正yaml格式问题
Signed-off-by: Monday <licihua@huawei.com>
2023-01-16 12:56:28 +00:00
openeuler-ci-bot
40d91eadcb
!4 add to master
From: @huyab 
Reviewed-by: @dillon_chen 
Signed-off-by: @dillon_chen
2022-12-19 10:06:45 +00:00
huyab
d658d5460e add to master 2022-12-19 08:12:55 +00:00
openeuler-ci-bot
2a147edf68
!3 add yaml file
From: @dillon_chen 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-06-24 06:30:58 +00:00
dillon_chen
85822217b0 add libcbor.yaml 2022-06-22 16:22:08 +08:00
openeuler-ci-bot
71766aeff6
!2 Package Init
From: @yangchen_guang 
Reviewed-by: @overweight 
Signed-off-by: @overweight
2022-06-22 08:08:53 +00:00
yangchenguang
ca7a5c21ae Package Init 2022-05-11 15:05:22 +08:00
3 changed files with 60 additions and 0 deletions

49
libcbor.spec Normal file
View File

@ -0,0 +1,49 @@
Name: libcbor
Version: 0.10.2
Release: 1
Summary: A CBOR parsing library
License: MIT
URL: http://libcbor.org
Source0: https://github.com/PJK/%{name}/archive/v%{version}.tar.gz
BuildRequires: cmake gcc-c++ make libcmocka-devel
%description
libcbor is a C library for parsing and generating CBOR.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel contains libraries and header files for %{name}.
%prep
%autosetup -n %{name}-%{version}
sed -i 's|${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}/pkgconfig|${CMAKE_INSTALL_LIBDIR}/pkgconfig|' src/CMakeLists.txt
%build
%cmake . -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON
%make_build
%install
%make_install
%files
%license LICENSE.md
%doc README.md
%{_libdir}/libcbor.so.0*
%files devel
%{_includedir}/cbor.h
%{_includedir}/cbor/*.h
%{_includedir}/cbor/internal/*.h
%{_libdir}/libcbor.so
%{_libdir}/pkgconfig/libcbor.pc
%changelog
* Tue Feb 27 2024 wangshuo <wangshuo@kylinos.cn> - 0.10.2-1
- Update version to 0.10.2
* Wed May 11 2022 yangchenguang <yangchenguang@uniontech.com> - 0.9.0-1
- Package Init

11
libcbor.yaml Normal file
View File

@ -0,0 +1,11 @@
version_control: github
src_repo: PJK/libcbor
tag_prefix: "^"
separator: "."
git_url: https://github.com/PJK/libcbor.git
name: libcbor
source_dir: factory
destination_dir: master
obs_from:openEuler: Factory
obs_to:openEuler: Mainline
data: "2022.12.16"

BIN
v0.10.2.tar.gz Normal file

Binary file not shown.