2017-10-05 07:11:32 +00:00
|
|
|
Name: libcbor
|
2023-03-07 15:21:10 +00:00
|
|
|
Version: 0.10.2
|
|
|
|
Release: 1%{?dist}
|
2017-10-05 07:11:32 +00:00
|
|
|
Summary: A CBOR parsing library
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
URL: http://libcbor.org
|
2020-09-07 08:50:18 +00:00
|
|
|
Source0: https://github.com/PJK/%{name}/archive/v%{version}.tar.gz
|
2017-10-05 07:11:32 +00:00
|
|
|
|
2020-02-29 13:03:08 +00:00
|
|
|
BuildRequires: cmake
|
2022-07-15 22:06:03 +00:00
|
|
|
BuildRequires: doxygen
|
2020-02-29 13:03:08 +00:00
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: python3-breathe
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
2022-11-29 02:32:55 +00:00
|
|
|
BuildRequires: make
|
2017-10-05 07:11:32 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
libcbor is a C library for parsing and generating CBOR.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
2022-11-29 02:32:55 +00:00
|
|
|
%{name}-devel contains development libraries and header files for %{name}.
|
2017-10-05 07:11:32 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
2022-11-29 02:32:55 +00:00
|
|
|
%cmake -DCMAKE_BUILD_TYPE=Release
|
|
|
|
%cmake_build
|
2017-10-05 07:11:32 +00:00
|
|
|
cd doc
|
|
|
|
make man
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
2022-11-29 02:32:55 +00:00
|
|
|
%cmake_install
|
2023-03-07 15:21:10 +00:00
|
|
|
mkdir -p %{buildroot}%{_mandir}/man3
|
|
|
|
cp doc/build/man/* %{buildroot}%{_mandir}/man3/
|
2017-10-05 07:11:32 +00:00
|
|
|
|
|
|
|
|
|
|
|
%files
|
2020-02-29 13:03:08 +00:00
|
|
|
%license LICENSE.md
|
2017-10-05 07:11:32 +00:00
|
|
|
%doc README.md
|
2023-03-07 15:21:10 +00:00
|
|
|
%{_libdir}/libcbor.so.0.10{,.*}
|
|
|
|
%{_mandir}/man3/libcbor.3{,.*}
|
2017-10-05 07:11:32 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/cbor.h
|
2022-11-29 02:32:55 +00:00
|
|
|
%{_includedir}/cbor
|
2017-10-05 07:11:32 +00:00
|
|
|
%{_libdir}/libcbor.so
|
|
|
|
%{_libdir}/pkgconfig/libcbor.pc
|
|
|
|
|
|
|
|
%changelog
|
2023-03-07 15:21:10 +00:00
|
|
|
* Tue Mar 07 2023 Gary Buhrmaster <gary.buhrmaster@gmail.com> - 0.10.2-1
|
|
|
|
- Update to version 0.10.2 ( resolves: rhbz#1880885 )
|
|
|
|
- Revise specs per packaging guidelines for globs of soname
|
|
|
|
|
2023-01-19 15:57:20 +00:00
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-11-29 02:32:55 +00:00
|
|
|
* Mon Nov 28 2022 Gary Buhrmaster <gary.buhrmaster@gmail.com> - 0.7.0-8
|
|
|
|
- Update license to SPDX format
|
|
|
|
- spec file tidy/modernization
|
|
|
|
- use modern cmake build and install
|
|
|
|
- properly own include directories in the devel package
|
|
|
|
- de-glob some files to follow packaging guidelines
|
|
|
|
|
2022-07-21 17:25:54 +00:00
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-15 22:06:03 +00:00
|
|
|
* Fri Jul 15 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 0.7.0-6
|
|
|
|
- Add missing BR for doxygen
|
|
|
|
|
2022-01-20 15:52:20 +00:00
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-22 11:03:24 +00:00
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-01-26 16:45:41 +00:00
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-09-20 12:53:03 +00:00
|
|
|
* Sun Sep 20 2020 Kalev Lember <klember@redhat.com> - 0.7.0-2
|
|
|
|
- Avoid hardcoding man page extension
|
|
|
|
|
2020-09-07 08:50:18 +00:00
|
|
|
* Mon Sep 07 2020 Attila Lakatos <alakatos@redhat.com> - 0.7.0-1
|
|
|
|
- update to 0.7.0
|
|
|
|
Resolves: rhbz#1813738
|
|
|
|
Resolves: rhbz#1863978
|
|
|
|
|
2020-08-01 03:52:21 +00:00
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-9
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-28 04:20:33 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-02-29 13:03:08 +00:00
|
|
|
* Sat Feb 29 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 0.5.0-7
|
|
|
|
- Fix FTBFS, add version for soname, minor cleanups
|
|
|
|
|
2020-01-29 08:42:55 +00:00
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-25 12:54:35 +00:00
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-01 06:47:10 +00:00
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-13 07:52:59 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-07 21:18:04 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-10-05 07:11:32 +00:00
|
|
|
* Wed Jul 19 2017 Marek Tamaskovic <mtamasko@redhat.com> 0.5.0-1
|
|
|
|
- Init package.
|
|
|
|
|