Compare commits

..

No commits in common. "abe68ef04417ef6ffa90d53c838466619dd6002c" and "0cdd48919051087ce5a174cb39ab86e67a1370dd" have entirely different histories.

3 changed files with 0 additions and 60 deletions

View File

@ -1,49 +0,0 @@
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

View File

@ -1,11 +0,0 @@
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"

Binary file not shown.