代码拉取完成,页面将自动刷新
%global debug_package %{nil}
Name: cpp-jwt
Version: 1.4
Release: 1%{?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
Patch0: cmake-project-version.patch
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}
Recommends: cmake
Provides: %{name}-static = %{version}-%{release}
%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/
%exclude %{_includedir}/jwt/test
%exclude %{_includedir}/jwt/json/test_json.cc
%{_libdir}/cmake/%{name}
%changelog
* Fri Apr 12 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 1.4-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。