8
0
Files
jwt_verify_lib/jwt_verify_lib.spec
Michał Rostecki 4683045504 Accepting request 765232 from home:mrostecki:branches:devel:kubic
- Update to version 20191024:
  * Add support for ES384 and ES512
  * Add HS384 and HS512 support
  * Clear openssl error queue if HMAC() fails
  * Add HS256 support
- Add source package, remove lib* and devel package - now it's not
  possible to build jwt_verify_lib outside envoy-proxy's source
  tree.
- Remove Maistra sources:
  * jwt-verify-lib-openssl-20190806.tar.xz
- Add patch which adds compatibility with OpenSSL:
  * jwt_verify-make-compatible-with-openssl.patch

OBS-URL: https://build.opensuse.org/request/show/765232
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/jwt_verify_lib?expand=0&rev=13
2020-01-17 12:06:42 +00:00

63 lines
1.8 KiB
RPMSpec

#
# spec file for package jwt_verify_lib
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define src_install_dir /usr/src/%{name}
Name: jwt_verify_lib
Version: 20191024
Release: 0
Summary: JSON Web Tokens verification library for C++
License: Apache-2.0
Group: Development/Libraries/C and C++
Url: https://github.com/google/%{name}
Source0: %{name}-%{version}.tar.xz
Patch0: jwt_verify-make-compatible-with-openssl.patch
BuildRequires: fdupes
BuildArch: noarch
%description
jwt_verify_lib is a library which verifies JSON Web Tokens. It does not provide
any other features like signing or advanced checks.
%package source
Summary: Source code of jwt_verify_lib
Group: Development/Sources
%description source
jwt_verify_lib is a library which verifies JSON Web Tokens. It does not provide
any other features like signing or advanced checks.
This package contains source code of jwt_verify_lib.
%prep
%autosetup -p1
%build
%install
mkdir -p %{buildroot}%{src_install_dir}
cp -r * %{buildroot}%{src_install_dir}
%fdupes %{buildroot}%{src_install_dir}
%files source
%license LICENSE
%doc README.md
%{src_install_dir}
%changelog