6 Star 0 Fork 0

OpenCloudOS Stream/cpp-jwt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
cpp-jwt.spec 1.41 KB
一键复制 编辑 原始数据 按行查看 历史
ocs-bot 提交于 2024-05-06 16:14 . package init
%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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/opencloudos-stream/cpp-jwt.git
git@gitee.com:opencloudos-stream/cpp-jwt.git
opencloudos-stream
cpp-jwt
cpp-jwt
master

搜索帮助