%global debug_package %{nil} Name: cppcodec Version: 0.2 Release: 3%{?dist} Summary: Header-only C++11 library to encode/decode base64/base64url/base32/base32hex/hex License: MIT URL: https://github.com/tplgy/cppcodec Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake >= 2.8.5 BuildRequires: ninja-build BuildRequires: gcc-c++ BuildRequires: pkgconfig(catch2) %global _description \ Header-only C++11 library to encode/decode base64, base64url, base32, base32hex\ and hex (a.k.a. base16) as specified in RFC 4648, plus Crockford's base32.\ \ MIT licensed with consistent, flexible API. Supports raw pointers,\ std::string and (templated) character vectors without unnecessary allocations. %description %{_description} %package devel Summary: %{summary} Provides: %{name}-static = %{?epoch:%{epoch}:}%{version}-%{release} %description devel %{_description} %prep %autosetup -p1 # No bundled catch rm -vrf test/catch %build %cmake %{_vpath_srcdir} -B%{_vpath_builddir} -GNinja \ -DBUILD_TESTING=TRUE \ %{nil} %ninja_build -C %{_vpath_builddir} %install %ninja_install -C %{_vpath_builddir} %check %ninja_test -C %{_vpath_builddir} %files devel %license LICENSE %doc README.md %{_includedir}/%{name}/ %{_datadir}/pkgconfig/%{name}-1.pc %changelog * Wed Jul 24 2019 Fedora Release Engineering - 0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Nov 20 2018 Igor Gnatenko - 0.2-1 - Update to 0.2 * Mon Jul 23 2018 Tom Hughes - 0.1-3 - Patch for changes in catch2 pkg-config module name * Thu Jul 12 2018 Fedora Release Engineering - 0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sun Jul 08 2018 Igor Gnatenko - 0.1-1 - Update to 0.1 * Wed Feb 07 2018 Fedora Release Engineering - 0-0.20171003.git.65e512d - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Oct 02 2017 Igor Gnatenko - 0-0.20171002.git.65e512d - Update to latest snapshot * Tue Apr 04 2017 Igor Gnatenko - 0-0.20170404.git.61d9b04 - Initial package