|
|
@ -1,6 +1,6 @@
|
|
|
|
Name: libcbor
|
|
|
|
Name: libcbor
|
|
|
|
Version: 0.11.0
|
|
|
|
Version: 0.7.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: A CBOR parsing library
|
|
|
|
Summary: A CBOR parsing library
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
@ -8,14 +8,12 @@ URL: http://libcbor.org
|
|
|
|
Source0: https://github.com/PJK/%{name}/archive/v%{version}.tar.gz
|
|
|
|
Source0: https://github.com/PJK/%{name}/archive/v%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: python3-breathe
|
|
|
|
BuildRequires: python3-breathe
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
|
|
|
BuildRequires: python3-sphinx_rtd_theme
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: pkgconfig(cmocka)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
libcbor is a C library for parsing and generating CBOR.
|
|
|
|
libcbor is a C library for parsing and generating CBOR.
|
|
|
@ -25,87 +23,47 @@ Summary: Development files for %{name}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
%{name}-devel contains development libraries and header files for %{name}.
|
|
|
|
The %{name}-devel contains libraries and header files for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cmake -DCMAKE_BUILD_TYPE=Release -DWITH_TESTS=ON
|
|
|
|
%cmake -B . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFFIX="/usr" ./
|
|
|
|
%cmake_build
|
|
|
|
%make_build cbor_shared
|
|
|
|
cd doc
|
|
|
|
cd doc
|
|
|
|
make man
|
|
|
|
make man
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
%make_install
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man3
|
|
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
|
|
cp doc/build/man/libcbor.3 %{buildroot}%{_mandir}/man3/
|
|
|
|
cp doc/build/man/* %{buildroot}%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%check
|
|
|
|
|
|
|
|
%ctest
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%license LICENSE.md
|
|
|
|
%license LICENSE.md
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%{_libdir}/libcbor.so.0.11{,.*}
|
|
|
|
%{_libdir}/libcbor.so.0*
|
|
|
|
|
|
|
|
%{_mandir}/man1/libcbor.1*
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/cbor.h
|
|
|
|
%{_includedir}/cbor.h
|
|
|
|
%{_includedir}/cbor
|
|
|
|
%{_includedir}/cbor/*.h
|
|
|
|
|
|
|
|
%{_includedir}/cbor/internal/*.h
|
|
|
|
%{_libdir}/libcbor.so
|
|
|
|
%{_libdir}/libcbor.so
|
|
|
|
%{_libdir}/pkgconfig/libcbor.pc
|
|
|
|
%{_libdir}/pkgconfig/libcbor.pc
|
|
|
|
%{_libdir}/cmake/libcbor
|
|
|
|
|
|
|
|
%{_mandir}/man3/libcbor.3{,.*}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.11.0-2
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.0-5
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
* Sun Feb 04 2024 Gary Buhrmaster <gary.buhrmaster@gmail.com> - 0.11.0-1
|
|
|
|
|
|
|
|
- Update version to 0.11.0 ( resolves: rhbz#2262592 )
|
|
|
|
|
|
|
|
- add running of unit tests
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-4
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Oct 30 2023 Gary Buhrmaster <gary.buhrmaster@gmail.com> - 0.10.2-3
|
|
|
|
|
|
|
|
- Move devel/api manpage to devel package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.2-2
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-9
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-7
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 15 2022 Davide Cavalca <dcavalca@fedoraproject.org> - 0.7.0-6
|
|
|
|
|
|
|
|
- Add missing BR for doxygen
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-5
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-4
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.7.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|