commit 3e8577e58f393543f78e4bc94bcd52aaa36c0f14 Author: MSVSphere Packaging Team Date: Wed Mar 15 17:57:49 2023 +0300 import libcbor-0.7.0-5.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6941207 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/v0.7.0.tar.gz diff --git a/.libcbor.metadata b/.libcbor.metadata new file mode 100644 index 0000000..6a6c798 --- /dev/null +++ b/.libcbor.metadata @@ -0,0 +1 @@ +56247fcfc7c49d4deafe71a3043415bbc282a5b9 SOURCES/v0.7.0.tar.gz diff --git a/SPECS/libcbor.spec b/SPECS/libcbor.spec new file mode 100644 index 0000000..5651212 --- /dev/null +++ b/SPECS/libcbor.spec @@ -0,0 +1,109 @@ +Name: libcbor +Version: 0.7.0 +Release: 5%{?dist} +Summary: A CBOR parsing library + +License: MIT +URL: http://libcbor.org +Source0: https://github.com/PJK/%{name}/archive/v%{version}.tar.gz + +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: python3-breathe +BuildRequires: python3-sphinx +BuildRequires: python3-sphinx_rtd_theme +BuildRequires: make + +%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 +The %{name}-devel contains libraries and header files for %{name}. + +%prep +%setup -q + + +%build +%cmake -B . -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFFIX="/usr" ./ +%make_build cbor_shared +cd doc +make man + + +%install +%make_install +mkdir -p %{buildroot}%{_mandir}/man1 +cp doc/build/man/* %{buildroot}%{_mandir}/man1 + +%ldconfig_scriptlets + + +%files +%license LICENSE.md +%doc README.md +%{_libdir}/libcbor.so.0* +%{_mandir}/man1/libcbor.1* + +%files devel +%{_includedir}/cbor.h +%{_includedir}/cbor/*.h +%{_includedir}/cbor/internal/*.h +%{_libdir}/libcbor.so +%{_libdir}/pkgconfig/libcbor.pc + +%changelog +* Wed Mar 15 2023 MSVSphere Packaging Team - 0.7.0-5 +- Rebuilt for MSVSphere 9.1. + +* Mon Aug 09 2021 Mohan Boddu - 0.7.0-5 +- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags + Related: rhbz#1991688 + +* Fri Apr 16 2021 Mohan Boddu - 0.7.0-4 +- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937 + +* Tue Jan 26 2021 Fedora Release Engineering - 0.7.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Sep 20 2020 Kalev Lember - 0.7.0-2 +- Avoid hardcoding man page extension + +* Mon Sep 07 2020 Attila Lakatos - 0.7.0-1 +- update to 0.7.0 +Resolves: rhbz#1813738 +Resolves: rhbz#1863978 + +* Sat Aug 01 2020 Fedora Release Engineering - 0.5.0-9 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 0.5.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Feb 29 2020 Peter Robinson - 0.5.0-7 +- Fix FTBFS, add version for soname, minor cleanups + +* Wed Jan 29 2020 Fedora Release Engineering - 0.5.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jul 25 2019 Fedora Release Engineering - 0.5.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 0.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 0.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Wed Feb 07 2018 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jul 19 2017 Marek Tamaskovic 0.5.0-1 +- Init package. +