Blame SPECS/libcbor.spec

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