|
|
de3578 |
Name: libcbor
|
|
|
de3578 |
Version: 0.7.0
|
|
|
de3578 |
Release: 5%{?dist}
|
|
|
de3578 |
Summary: A CBOR parsing library
|
|
|
de3578 |
|
|
|
de3578 |
License: MIT
|
|
|
de3578 |
URL: http://libcbor.org
|
|
|
de3578 |
Source0: https://github.com/PJK/%{name}/archive/v%{version}.tar.gz
|
|
|
de3578 |
|
|
|
de3578 |
BuildRequires: cmake
|
|
|
de3578 |
BuildRequires: gcc
|
|
|
de3578 |
BuildRequires: gcc-c++
|
|
|
de3578 |
BuildRequires: python3-breathe
|
|
|
de3578 |
BuildRequires: python3-sphinx
|
|
|
de3578 |
BuildRequires: python3-sphinx_rtd_theme
|
|
|
de3578 |
BuildRequires: make
|
|
|
de3578 |
|
|
|
de3578 |
%description
|
|
|
de3578 |
libcbor is a C library for parsing and generating CBOR.
|
|
|
de3578 |
|
|
|
de3578 |
%package devel
|
|
|
de3578 |
Summary: Development files for %{name}
|
|
|
de3578 |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
de3578 |
|
|
|
de3578 |
%description devel
|
|
|
de3578 |
The %{name}-devel contains libraries and header files for %{name}.
|
|
|
de3578 |
|
|
|
de3578 |
%prep
|
|
|
de3578 |
%setup -q
|
|
|
de3578 |
|
|
|
de3578 |
|
|
|
de3578 |
%build
|
|
|
de3578 |
%cmake -B . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFFIX="/usr" ./
|
|
|
de3578 |
%make_build cbor_shared
|
|
|
de3578 |
cd doc
|
|
|
de3578 |
make man
|
|
|
de3578 |
|
|
|
de3578 |
|
|
|
de3578 |
%install
|
|
|
de3578 |
%make_install
|
|
|
de3578 |
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
de3578 |
cp doc/build/man/* %{buildroot}%{_mandir}/man1
|
|
|
de3578 |
|
|
|
de3578 |
%ldconfig_scriptlets
|
|
|
de3578 |
|
|
|
de3578 |
|
|
|
de3578 |
%files
|
|
|
de3578 |
%license LICENSE.md
|
|
|
de3578 |
%doc README.md
|
|
|
de3578 |
%{_libdir}/libcbor.so.0*
|
|
|
de3578 |
%{_mandir}/man1/libcbor.1*
|
|
|
de3578 |
|
|
|
de3578 |
%files devel
|
|
|
de3578 |
%{_includedir}/cbor.h
|
|
|
de3578 |
%{_includedir}/cbor/*.h
|
|
|
de3578 |
%{_includedir}/cbor/internal/*.h
|
|
|
de3578 |
%{_libdir}/libcbor.so
|
|
|
de3578 |
%{_libdir}/pkgconfig/libcbor.pc
|
|
|
de3578 |
|
|
|
de3578 |
%changelog
|
|
|
de3578 |
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.0-5
|
|
|
de3578 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
de3578 |
Related: rhbz#1991688
|
|
|
de3578 |
|
|
|
de3578 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.0-4
|
|
|
de3578 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
de3578 |
|
|
|
de3578 |
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
|
|
de3578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
de3578 |
|
|
|
de3578 |
* Sun Sep 20 2020 Kalev Lember <klember@redhat.com> - 0.7.0-2
|
|
|
de3578 |
- Avoid hardcoding man page extension
|
|
|
de3578 |
|
|
|
de3578 |
* Mon Sep 07 2020 Attila Lakatos <alakatos@redhat.com> - 0.7.0-1
|
|
|
de3578 |
- update to 0.7.0
|
|
|
de3578 |
Resolves: rhbz#1813738
|
|
|
de3578 |
Resolves: rhbz#1863978
|
|
|
de3578 |
|
|
|
de3578 |
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-9
|
|
|
de3578 |
- Second attempt - Rebuilt for
|
|
|
de3578 |
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
de3578 |
|
|
|
de3578 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-8
|
|
|
de3578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
de3578 |
|
|
|
de3578 |
* Sat Feb 29 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5.0-7
|
|
|
de3578 |
- Fix FTBFS, add version for soname, minor cleanups
|
|
|
de3578 |
|
|
|
de3578 |
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
|
|
|
de3578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
de3578 |
|
|
|
de3578 |
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-5
|
|
|
de3578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
de3578 |
|
|
|
de3578 |
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
|
|
|
de3578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
de3578 |
|
|
|
de3578 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
|
|
|
de3578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
de3578 |
|
|
|
de3578 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
de3578 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
de3578 |
|
|
|
de3578 |
* Wed Jul 19 2017 Marek Tamaskovic <mtamasko@redhat.com> 0.5.0-1
|
|
|
de3578 |
- Init package.
|
|
|
de3578 |
|