%global debug_package %{nil} # header only lib Name: cpp-jwt Version: 1.4 Release: 3%{?dist} Summary: JSON Web Token library for C++ License: MIT URL: https://github.com/arun11299/cpp-jwt Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: json-devel BuildRequires: openssl-devel BuildRequires: gtest-devel %global _description %{expand: JSON Web Token(JWT) is a JSON based standard (RFC- 7519) for creating assertions or access tokens that consists of some claims (encoded within the assertion). This assertion can be used in some kind of bearer authentication mechanism that the server will provide to clients, and the clients can make use of the provided assertion for accessing resources.} %description %{_description} %package devel Summary: %{summary} Provides: cpp-jwt-static %description devel %{_description} %prep %autosetup %build %cmake # -DCPP_JWT_BUILD_EXAMPLES=OFF %cmake_build %check %ctest %install %cmake_install %files devel %license LICENSE %doc README.md %{_includedir}/jwt/ # empty dir %exclude %{_includedir}/jwt/test # not needed %exclude %{_includedir}/jwt/json/test_json.cc # not needed %exclude %{_libdir}/cmake/%{name} %changelog * Wed Jul 19 2023 Fedora Release Engineering - 1.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Aug 20 2022 Jonathan Wright - 1.4-1 - Initial package build - rhbz#2120012